File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ import (
8
8
)
9
9
10
10
type CustomObjectRecord struct {
11
- Url string `json:"url"`
12
- Name string `json:"name"`
13
- ID string `json:"id"`
11
+ Url string `json:"url,omitempty "`
12
+ Name string `json:"name,omitempty "`
13
+ ID string `json:"id,omitempty "`
14
14
CustomObjectKey string `json:"custom_object_key"`
15
15
CustomObjectFields map [string ]interface {} `json:"custom_object_fields" binding:"required"`
16
- CreatedByUserID string `json:"created_by_user_id"`
17
- UpdatedByUserID string `json:"updated_by_user_id"`
18
- CreatedAt time.Time `json:"created_at"`
19
- UpdatedAt time.Time `json:"updated_at"`
20
- ExternalID string `json:"external_id"`
16
+ CreatedByUserID string `json:"created_by_user_id,omitempty "`
17
+ UpdatedByUserID string `json:"updated_by_user_id,omitempty "`
18
+ CreatedAt time.Time `json:"created_at,omitempty "`
19
+ UpdatedAt time.Time `json:"updated_at,omitempty "`
20
+ ExternalID string `json:"external_id,omitempty "`
21
21
}
22
22
23
23
// CustomObjectAPI an interface containing all custom object related methods
You can’t perform that action at this time.
0 commit comments