@@ -16,8 +16,6 @@ type PatchTableRequestDataAttributes struct {
1616 FileMetadata * PatchTableRequestDataAttributesFileMetadata `json:"file_metadata,omitempty"`
1717 // Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
1818 Schema * PatchTableRequestDataAttributesSchema `json:"schema,omitempty"`
19- // Whether this table is synced automatically.
20- SyncEnabled * bool `json:"sync_enabled,omitempty"`
2119 // Tags for organizing and filtering reference tables.
2220 Tags []string `json:"tags,omitempty"`
2321 // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
@@ -126,34 +124,6 @@ func (o *PatchTableRequestDataAttributes) SetSchema(v PatchTableRequestDataAttri
126124 o .Schema = & v
127125}
128126
129- // GetSyncEnabled returns the SyncEnabled field value if set, zero value otherwise.
130- func (o * PatchTableRequestDataAttributes ) GetSyncEnabled () bool {
131- if o == nil || o .SyncEnabled == nil {
132- var ret bool
133- return ret
134- }
135- return * o .SyncEnabled
136- }
137-
138- // GetSyncEnabledOk returns a tuple with the SyncEnabled field value if set, nil otherwise
139- // and a boolean to check if the value has been set.
140- func (o * PatchTableRequestDataAttributes ) GetSyncEnabledOk () (* bool , bool ) {
141- if o == nil || o .SyncEnabled == nil {
142- return nil , false
143- }
144- return o .SyncEnabled , true
145- }
146-
147- // HasSyncEnabled returns a boolean if a field has been set.
148- func (o * PatchTableRequestDataAttributes ) HasSyncEnabled () bool {
149- return o != nil && o .SyncEnabled != nil
150- }
151-
152- // SetSyncEnabled gets a reference to the given bool and assigns it to the SyncEnabled field.
153- func (o * PatchTableRequestDataAttributes ) SetSyncEnabled (v bool ) {
154- o .SyncEnabled = & v
155- }
156-
157127// GetTags returns the Tags field value if set, zero value otherwise.
158128func (o * PatchTableRequestDataAttributes ) GetTags () []string {
159129 if o == nil || o .Tags == nil {
@@ -197,9 +167,6 @@ func (o PatchTableRequestDataAttributes) MarshalJSON() ([]byte, error) {
197167 if o .Schema != nil {
198168 toSerialize ["schema" ] = o .Schema
199169 }
200- if o .SyncEnabled != nil {
201- toSerialize ["sync_enabled" ] = o .SyncEnabled
202- }
203170 if o .Tags != nil {
204171 toSerialize ["tags" ] = o .Tags
205172 }
@@ -216,15 +183,14 @@ func (o *PatchTableRequestDataAttributes) UnmarshalJSON(bytes []byte) (err error
216183 Description * string `json:"description,omitempty"`
217184 FileMetadata * PatchTableRequestDataAttributesFileMetadata `json:"file_metadata,omitempty"`
218185 Schema * PatchTableRequestDataAttributesSchema `json:"schema,omitempty"`
219- SyncEnabled * bool `json:"sync_enabled,omitempty"`
220186 Tags []string `json:"tags,omitempty"`
221187 }{}
222188 if err = datadog .Unmarshal (bytes , & all ); err != nil {
223189 return datadog .Unmarshal (bytes , & o .UnparsedObject )
224190 }
225191 additionalProperties := make (map [string ]interface {})
226192 if err = datadog .Unmarshal (bytes , & additionalProperties ); err == nil {
227- datadog .DeleteKeys (additionalProperties , & []string {"description" , "file_metadata" , "schema" , "sync_enabled" , " tags" })
193+ datadog .DeleteKeys (additionalProperties , & []string {"description" , "file_metadata" , "schema" , "tags" })
228194 } else {
229195 return err
230196 }
@@ -236,7 +202,6 @@ func (o *PatchTableRequestDataAttributes) UnmarshalJSON(bytes []byte) (err error
236202 hasInvalidField = true
237203 }
238204 o .Schema = all .Schema
239- o .SyncEnabled = all .SyncEnabled
240205 o .Tags = all .Tags
241206
242207 if len (additionalProperties ) > 0 {
0 commit comments