Skip to content

Commit

Permalink
Add json tag to AdditionalProperties (#2613)
Browse files Browse the repository at this point in the history
* add json tag to AdditionalProperties

* pre-commit fixes

---------

Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
skarimo and ci.datadog-api-spec authored Aug 5, 2024
1 parent 5adc7d0 commit 3a1221d
Show file tree
Hide file tree
Showing 1,777 changed files with 1,777 additions and 1,777 deletions.
2 changes: 1 addition & 1 deletion .generator/src/generator/templates/model_simple.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type {{ name }} struct {
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
{%- if model.additionalProperties is not false %}
AdditionalProperties map[string]{{ get_type(model.get("additionalProperties", True)) }}
AdditionalProperties map[string]{{ get_type(model.get("additionalProperties", True)) }} `json:"-"`
{%- endif %}
{%- endif %}
}
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_add_signal_to_incident_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type AddSignalToIncidentRequest struct {
Version *int64 `json:"version,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAddSignalToIncidentRequest instantiates a new AddSignalToIncidentRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_alert_graph_widget_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type AlertGraphWidgetDefinition struct {
VizType WidgetVizType `json:"viz_type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAlertGraphWidgetDefinition instantiates a new AlertGraphWidgetDefinition object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_alert_value_widget_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type AlertValueWidgetDefinition struct {
Unit *string `json:"unit,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAlertValueWidgetDefinition instantiates a new AlertValueWidgetDefinition object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_api_error_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type APIErrorResponse struct {
Errors []string `json:"errors"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAPIErrorResponse instantiates a new APIErrorResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_api_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type ApiKey struct {
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApiKey instantiates a new ApiKey object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_api_key_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ApiKeyListResponse struct {
ApiKeys []ApiKey `json:"api_keys,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApiKeyListResponse instantiates a new ApiKeyListResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_api_key_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ApiKeyResponse struct {
ApiKey *ApiKey `json:"api_key,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApiKeyResponse instantiates a new ApiKeyResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_apm_stats_query_column_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type ApmStatsQueryColumnType struct {
Order *WidgetSort `json:"order,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApmStatsQueryColumnType instantiates a new ApmStatsQueryColumnType object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_apm_stats_query_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type ApmStatsQueryDefinition struct {
Service string `json:"service"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApmStatsQueryDefinition instantiates a new ApmStatsQueryDefinition object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_application_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type ApplicationKey struct {
Owner *string `json:"owner,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApplicationKey instantiates a new ApplicationKey object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_application_key_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ApplicationKeyListResponse struct {
ApplicationKeys []ApplicationKey `json:"application_keys,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApplicationKeyListResponse instantiates a new ApplicationKeyListResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_application_key_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ApplicationKeyResponse struct {
ApplicationKey *ApplicationKey `json:"application_key,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewApplicationKeyResponse instantiates a new ApplicationKeyResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_authentication_validation_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type AuthenticationValidationResponse struct {
Valid *bool `json:"valid,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAuthenticationValidationResponse instantiates a new AuthenticationValidationResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type AWSAccount struct {
SecretAccessKey *string `json:"secret_access_key,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSAccount instantiates a new AWSAccount object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_account_and_lambda_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AWSAccountAndLambdaRequest struct {
LambdaArn string `json:"lambda_arn"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSAccountAndLambdaRequest instantiates a new AWSAccountAndLambdaRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_account_create_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type AWSAccountCreateResponse struct {
ExternalId *string `json:"external_id,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSAccountCreateResponse instantiates a new AWSAccountCreateResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_account_delete_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AWSAccountDeleteRequest struct {
RoleName *string `json:"role_name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSAccountDeleteRequest instantiates a new AWSAccountDeleteRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_account_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type AWSAccountListResponse struct {
Accounts []AWSAccount `json:"accounts,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSAccountListResponse instantiates a new AWSAccountListResponse object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type AWSEventBridgeAccountConfiguration struct {
Tags []string `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeAccountConfiguration instantiates a new AWSEventBridgeAccountConfiguration object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_event_bridge_create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type AWSEventBridgeCreateRequest struct {
Region *string `json:"region,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeCreateRequest instantiates a new AWSEventBridgeCreateRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_event_bridge_create_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type AWSEventBridgeCreateResponse struct {
Status *AWSEventBridgeCreateStatus `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeCreateResponse instantiates a new AWSEventBridgeCreateResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_event_bridge_delete_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AWSEventBridgeDeleteRequest struct {
Region *string `json:"region,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeDeleteRequest instantiates a new AWSEventBridgeDeleteRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_event_bridge_delete_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type AWSEventBridgeDeleteResponse struct {
Status *AWSEventBridgeDeleteStatus `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeDeleteResponse instantiates a new AWSEventBridgeDeleteResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_event_bridge_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSEventBridgeListResponse struct {
IsInstalled *bool `json:"isInstalled,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeListResponse instantiates a new AWSEventBridgeListResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_event_bridge_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSEventBridgeSource struct {
Region *string `json:"region,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSEventBridgeSource instantiates a new AWSEventBridgeSource object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_logs_async_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSLogsAsyncError struct {
Message *string `json:"message,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSLogsAsyncError instantiates a new AWSLogsAsyncError object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_logs_async_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSLogsAsyncResponse struct {
Status *string `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSLogsAsyncResponse instantiates a new AWSLogsAsyncResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_logs_lambda.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type AWSLogsLambda struct {
Arn *string `json:"arn,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSLogsLambda instantiates a new AWSLogsLambda object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_logs_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AWSLogsListResponse struct {
Services []string `json:"services,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSLogsListResponse instantiates a new AWSLogsListResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_logs_list_services_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSLogsListServicesResponse struct {
Label *string `json:"label,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSLogsListServicesResponse instantiates a new AWSLogsListServicesResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_logs_services_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AWSLogsServicesRequest struct {
Services []string `json:"services"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSLogsServicesRequest instantiates a new AWSLogsServicesRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_tag_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSTagFilter struct {
TagFilterStr *string `json:"tag_filter_str,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSTagFilter instantiates a new AWSTagFilter object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_tag_filter_create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AWSTagFilterCreateRequest struct {
TagFilterStr *string `json:"tag_filter_str,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSTagFilterCreateRequest instantiates a new AWSTagFilterCreateRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_tag_filter_delete_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type AWSTagFilterDeleteRequest struct {
Namespace *AWSNamespace `json:"namespace,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSTagFilterDeleteRequest instantiates a new AWSTagFilterDeleteRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_aws_tag_filter_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type AWSTagFilterListResponse struct {
Filters []AWSTagFilter `json:"filters,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAWSTagFilterListResponse instantiates a new AWSTagFilterListResponse object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_azure_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type AzureAccount struct {
TenantName *string `json:"tenant_name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAzureAccount instantiates a new AzureAccount object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_azure_account_metrics_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type AzureAccountMetricsConfig struct {
ExcludedResourceProviders []string `json:"excluded_resource_providers,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewAzureAccountMetricsConfig instantiates a new AzureAccountMetricsConfig object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_cancel_downtimes_by_scope_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type CancelDowntimesByScopeRequest struct {
Scope string `json:"scope"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewCancelDowntimesByScopeRequest instantiates a new CancelDowntimesByScopeRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_canceled_downtimes_ids.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type CanceledDowntimesIds struct {
CancelledIds []int64 `json:"cancelled_ids,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewCanceledDowntimesIds instantiates a new CanceledDowntimesIds object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_change_widget_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ChangeWidgetDefinition struct {
Type ChangeWidgetDefinitionType `json:"type"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewChangeWidgetDefinition instantiates a new ChangeWidgetDefinition object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_change_widget_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type ChangeWidgetRequest struct {
ShowPresent *bool `json:"show_present,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewChangeWidgetRequest instantiates a new ChangeWidgetRequest object.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV1/model_check_can_delete_monitor_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type CheckCanDeleteMonitorResponse struct {
Errors map[string][]string `json:"errors,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewCheckCanDeleteMonitorResponse instantiates a new CheckCanDeleteMonitorResponse object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type CheckCanDeleteMonitorResponseData struct {
Ok []int64 `json:"ok,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{}
AdditionalProperties map[string]interface{} `json:"-"`
}

// NewCheckCanDeleteMonitorResponseData instantiates a new CheckCanDeleteMonitorResponseData object.
Expand Down
Loading

0 comments on commit 3a1221d

Please sign in to comment.