diff --git a/services/observability/model_alert.go b/services/observability/model_alert.go index e35cc0844..8aad44b56 100644 --- a/services/observability/model_alert.go +++ b/services/observability/model_alert.go @@ -102,9 +102,9 @@ type Alert struct { Global AlertGetGlobalAttributeType `json:"global,omitempty"` InhibitRules AlertGetInhibitRulesAttributeType `json:"inhibitRules,omitempty"` // REQUIRED - Receivers AlertGetReceiversAttributeType `json:"receivers"` + Receivers AlertGetReceiversAttributeType `json:"receivers" required:"true"` // REQUIRED - Route AlertGetRouteAttributeType `json:"route"` + Route AlertGetRouteAttributeType `json:"route" required:"true"` } type _Alert Alert diff --git a/services/observability/model_alert_config_receivers_response.go b/services/observability/model_alert_config_receivers_response.go index 5dd45a2c4..a32a15cae 100644 --- a/services/observability/model_alert_config_receivers_response.go +++ b/services/observability/model_alert_config_receivers_response.go @@ -61,9 +61,9 @@ type AlertConfigReceiversResponseGetMessageRetType = string // AlertConfigReceiversResponse struct for AlertConfigReceiversResponse type AlertConfigReceiversResponse struct { // REQUIRED - Data AlertConfigReceiversResponseGetDataAttributeType `json:"data"` + Data AlertConfigReceiversResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message AlertConfigReceiversResponseGetMessageAttributeType `json:"message"` + Message AlertConfigReceiversResponseGetMessageAttributeType `json:"message" required:"true"` } type _AlertConfigReceiversResponse AlertConfigReceiversResponse diff --git a/services/observability/model_alert_config_route_response.go b/services/observability/model_alert_config_route_response.go index e4d7346d2..4986ca3e3 100644 --- a/services/observability/model_alert_config_route_response.go +++ b/services/observability/model_alert_config_route_response.go @@ -61,9 +61,9 @@ type AlertConfigRouteResponseGetMessageRetType = string // AlertConfigRouteResponse struct for AlertConfigRouteResponse type AlertConfigRouteResponse struct { // REQUIRED - Data AlertConfigRouteResponseGetDataAttributeType `json:"data"` + Data AlertConfigRouteResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message AlertConfigRouteResponseGetMessageAttributeType `json:"message"` + Message AlertConfigRouteResponseGetMessageAttributeType `json:"message" required:"true"` } type _AlertConfigRouteResponse AlertConfigRouteResponse diff --git a/services/observability/model_alert_group.go b/services/observability/model_alert_group.go index 2dc38a167..099b7ecf3 100644 --- a/services/observability/model_alert_group.go +++ b/services/observability/model_alert_group.go @@ -83,9 +83,9 @@ func setAlertGroupGetRulesAttributeType(arg *AlertGroupGetRulesAttributeType, va type AlertGroup struct { Interval AlertGroupGetIntervalAttributeType `json:"interval,omitempty"` // REQUIRED - Name AlertGroupGetNameAttributeType `json:"name"` + Name AlertGroupGetNameAttributeType `json:"name" required:"true"` // REQUIRED - Rules AlertGroupGetRulesAttributeType `json:"rules"` + Rules AlertGroupGetRulesAttributeType `json:"rules" required:"true"` } type _AlertGroup AlertGroup diff --git a/services/observability/model_alert_group_response.go b/services/observability/model_alert_group_response.go index 7a440fd1d..e3f5eaced 100644 --- a/services/observability/model_alert_group_response.go +++ b/services/observability/model_alert_group_response.go @@ -61,9 +61,9 @@ type AlertGroupResponseGetMessageRetType = string // AlertGroupResponse struct for AlertGroupResponse type AlertGroupResponse struct { // REQUIRED - Data AlertGroupResponseGetDataAttributeType `json:"data"` + Data AlertGroupResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message AlertGroupResponseGetMessageAttributeType `json:"message"` + Message AlertGroupResponseGetMessageAttributeType `json:"message" required:"true"` } type _AlertGroupResponse AlertGroupResponse diff --git a/services/observability/model_alert_groups_response.go b/services/observability/model_alert_groups_response.go index e312f518a..b1022c16b 100644 --- a/services/observability/model_alert_groups_response.go +++ b/services/observability/model_alert_groups_response.go @@ -61,9 +61,9 @@ type AlertGroupsResponseGetMessageRetType = string // AlertGroupsResponse struct for AlertGroupsResponse type AlertGroupsResponse struct { // REQUIRED - Data AlertGroupsResponseGetDataAttributeType `json:"data"` + Data AlertGroupsResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message AlertGroupsResponseGetMessageAttributeType `json:"message"` + Message AlertGroupsResponseGetMessageAttributeType `json:"message" required:"true"` } type _AlertGroupsResponse AlertGroupsResponse diff --git a/services/observability/model_alert_rule.go b/services/observability/model_alert_rule.go index c7b4150b0..8f52c25cb 100644 --- a/services/observability/model_alert_rule.go +++ b/services/observability/model_alert_rule.go @@ -123,10 +123,10 @@ func setAlertRuleGetLabelsAttributeType(arg *AlertRuleGetLabelsAttributeType, va // AlertRule struct for AlertRule type AlertRule struct { // REQUIRED - Alert AlertRuleGetAlertAttributeType `json:"alert"` + Alert AlertRuleGetAlertAttributeType `json:"alert" required:"true"` Annotations AlertRuleGetAnnotationsAttributeType `json:"annotations,omitempty"` // REQUIRED - Expr AlertRuleGetExprAttributeType `json:"expr"` + Expr AlertRuleGetExprAttributeType `json:"expr" required:"true"` For AlertRuleGetForAttributeType `json:"for,omitempty"` Labels AlertRuleGetLabelsAttributeType `json:"labels,omitempty"` } diff --git a/services/observability/model_alert_rule_record.go b/services/observability/model_alert_rule_record.go index 77ce53be8..b3fcd4d75 100644 --- a/services/observability/model_alert_rule_record.go +++ b/services/observability/model_alert_rule_record.go @@ -146,7 +146,7 @@ type AlertRuleRecord struct { Alert AlertRuleRecordGetAlertAttributeType `json:"alert,omitempty"` Annotations AlertRuleRecordGetAnnotationsAttributeType `json:"annotations,omitempty"` // REQUIRED - Expr AlertRuleRecordGetExprAttributeType `json:"expr"` + Expr AlertRuleRecordGetExprAttributeType `json:"expr" required:"true"` For AlertRuleRecordGetForAttributeType `json:"for,omitempty"` Labels AlertRuleRecordGetLabelsAttributeType `json:"labels,omitempty"` Record AlertRuleRecordGetRecordAttributeType `json:"record,omitempty"` diff --git a/services/observability/model_alert_rules_response.go b/services/observability/model_alert_rules_response.go index 015ac24ed..00548cf68 100644 --- a/services/observability/model_alert_rules_response.go +++ b/services/observability/model_alert_rules_response.go @@ -61,9 +61,9 @@ type AlertRulesResponseGetMessageRetType = string // AlertRulesResponse struct for AlertRulesResponse type AlertRulesResponse struct { // REQUIRED - Data AlertRulesResponseGetDataAttributeType `json:"data"` + Data AlertRulesResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message AlertRulesResponseGetMessageAttributeType `json:"message"` + Message AlertRulesResponseGetMessageAttributeType `json:"message" required:"true"` } type _AlertRulesResponse AlertRulesResponse diff --git a/services/observability/model_basic_auth.go b/services/observability/model_basic_auth.go index 26d69d54d..a07e802c0 100644 --- a/services/observability/model_basic_auth.go +++ b/services/observability/model_basic_auth.go @@ -62,9 +62,9 @@ type BasicAuthGetUsernameRetType = string // BasicAuth struct for BasicAuth type BasicAuth struct { // REQUIRED - Password BasicAuthGetPasswordAttributeType `json:"password"` + Password BasicAuthGetPasswordAttributeType `json:"password" required:"true"` // REQUIRED - Username BasicAuthGetUsernameAttributeType `json:"username"` + Username BasicAuthGetUsernameAttributeType `json:"username" required:"true"` } type _BasicAuth BasicAuth diff --git a/services/observability/model_create_alert_config_receiver_payload.go b/services/observability/model_create_alert_config_receiver_payload.go index 873bef0a7..ad74c17ac 100644 --- a/services/observability/model_create_alert_config_receiver_payload.go +++ b/services/observability/model_create_alert_config_receiver_payload.go @@ -104,7 +104,7 @@ type CreateAlertConfigReceiverPayload struct { EmailConfigs CreateAlertConfigReceiverPayloadGetEmailConfigsAttributeType `json:"emailConfigs,omitempty"` // `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- // REQUIRED - Name CreateAlertConfigReceiverPayloadGetNameAttributeType `json:"name"` + Name CreateAlertConfigReceiverPayloadGetNameAttributeType `json:"name" required:"true"` // Configuration for ops genie. OpsgenieConfigs CreateAlertConfigReceiverPayloadGetOpsgenieConfigsAttributeType `json:"opsgenieConfigs,omitempty"` WebHookConfigs CreateAlertConfigReceiverPayloadGetWebHookConfigsAttributeType `json:"webHookConfigs,omitempty"` diff --git a/services/observability/model_create_alert_config_route_payload.go b/services/observability/model_create_alert_config_route_payload.go index 3e5727550..587c3608b 100644 --- a/services/observability/model_create_alert_config_route_payload.go +++ b/services/observability/model_create_alert_config_route_payload.go @@ -239,7 +239,7 @@ type CreateAlertConfigRoutePayload struct { Matchers CreateAlertConfigRoutePayloadGetMatchersAttributeType `json:"matchers,omitempty"` // Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers // REQUIRED - Receiver CreateAlertConfigRoutePayloadGetReceiverAttributeType `json:"receiver"` + Receiver CreateAlertConfigRoutePayloadGetReceiverAttributeType `json:"receiver" required:"true"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). `Additional Validators:` * must be a valid time format RepeatInterval CreateAlertConfigRoutePayloadGetRepeatIntervalAttributeType `json:"repeatInterval,omitempty"` // Zero or more child routes. diff --git a/services/observability/model_create_alertgroups_payload.go b/services/observability/model_create_alertgroups_payload.go index 3807058f0..9e45886dd 100644 --- a/services/observability/model_create_alertgroups_payload.go +++ b/services/observability/model_create_alertgroups_payload.go @@ -85,10 +85,10 @@ type CreateAlertgroupsPayload struct { Interval CreateAlertgroupsPayloadGetIntervalAttributeType `json:"interval,omitempty"` // The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- // REQUIRED - Name CreateAlertgroupsPayloadGetNameAttributeType `json:"name"` + Name CreateAlertgroupsPayloadGetNameAttributeType `json:"name" required:"true"` // rules for the alert group // REQUIRED - Rules CreateAlertgroupsPayloadGetRulesAttributeType `json:"rules"` + Rules CreateAlertgroupsPayloadGetRulesAttributeType `json:"rules" required:"true"` } type _CreateAlertgroupsPayload CreateAlertgroupsPayload diff --git a/services/observability/model_create_alertrules_payload.go b/services/observability/model_create_alertrules_payload.go index 734b512b3..c374b394a 100644 --- a/services/observability/model_create_alertrules_payload.go +++ b/services/observability/model_create_alertrules_payload.go @@ -124,12 +124,12 @@ func setCreateAlertrulesPayloadGetLabelsAttributeType(arg *CreateAlertrulesPaylo type CreateAlertrulesPayload struct { // The name of the alert. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- // REQUIRED - Alert CreateAlertrulesPayloadGetAlertAttributeType `json:"alert"` + Alert CreateAlertrulesPayloadGetAlertAttributeType `json:"alert" required:"true"` // map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters Annotations CreateAlertrulesPayloadGetAnnotationsAttributeType `json:"annotations,omitempty"` // The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. // REQUIRED - Expr CreateAlertrulesPayloadGetExprAttributeType `json:"expr"` + Expr CreateAlertrulesPayloadGetExprAttributeType `json:"expr" required:"true"` // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string For CreateAlertrulesPayloadGetForAttributeType `json:"for,omitempty"` // map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters diff --git a/services/observability/model_create_credentials_response.go b/services/observability/model_create_credentials_response.go index 14e1fd996..8f1cec3a1 100644 --- a/services/observability/model_create_credentials_response.go +++ b/services/observability/model_create_credentials_response.go @@ -61,9 +61,9 @@ type CreateCredentialsResponseGetMessageRetType = string // CreateCredentialsResponse struct for CreateCredentialsResponse type CreateCredentialsResponse struct { // REQUIRED - Credentials CreateCredentialsResponseGetCredentialsAttributeType `json:"credentials"` + Credentials CreateCredentialsResponseGetCredentialsAttributeType `json:"credentials" required:"true"` // REQUIRED - Message CreateCredentialsResponseGetMessageAttributeType `json:"message"` + Message CreateCredentialsResponseGetMessageAttributeType `json:"message" required:"true"` } type _CreateCredentialsResponse CreateCredentialsResponse diff --git a/services/observability/model_create_instance_payload.go b/services/observability/model_create_instance_payload.go index bc18bb53e..9ba0aa4ea 100644 --- a/services/observability/model_create_instance_payload.go +++ b/services/observability/model_create_instance_payload.go @@ -87,7 +87,7 @@ type CreateInstancePayload struct { Parameter CreateInstancePayloadGetParameterAttributeType `json:"parameter,omitempty"` // uuid of the plan to create/update // REQUIRED - PlanId CreateInstancePayloadGetPlanIdAttributeType `json:"planId"` + PlanId CreateInstancePayloadGetPlanIdAttributeType `json:"planId" required:"true"` } type _CreateInstancePayload CreateInstancePayload diff --git a/services/observability/model_create_instance_response.go b/services/observability/model_create_instance_response.go index c7b4dcf95..b78381798 100644 --- a/services/observability/model_create_instance_response.go +++ b/services/observability/model_create_instance_response.go @@ -83,11 +83,11 @@ type CreateInstanceResponseGetMessageRetType = string // CreateInstanceResponse struct for CreateInstanceResponse type CreateInstanceResponse struct { // REQUIRED - DashboardUrl CreateInstanceResponseGetDashboardUrlAttributeType `json:"dashboardUrl"` + DashboardUrl CreateInstanceResponseGetDashboardUrlAttributeType `json:"dashboardUrl" required:"true"` // REQUIRED - InstanceId CreateInstanceResponseGetInstanceIdAttributeType `json:"instanceId"` + InstanceId CreateInstanceResponseGetInstanceIdAttributeType `json:"instanceId" required:"true"` // REQUIRED - Message CreateInstanceResponseGetMessageAttributeType `json:"message"` + Message CreateInstanceResponseGetMessageAttributeType `json:"message" required:"true"` } type _CreateInstanceResponse CreateInstanceResponse diff --git a/services/observability/model_create_logs_alertgroups_payload.go b/services/observability/model_create_logs_alertgroups_payload.go index f4f02e157..9ceb65a64 100644 --- a/services/observability/model_create_logs_alertgroups_payload.go +++ b/services/observability/model_create_logs_alertgroups_payload.go @@ -85,10 +85,10 @@ type CreateLogsAlertgroupsPayload struct { Interval CreateLogsAlertgroupsPayloadGetIntervalAttributeType `json:"interval,omitempty"` // The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- // REQUIRED - Name CreateLogsAlertgroupsPayloadGetNameAttributeType `json:"name"` + Name CreateLogsAlertgroupsPayloadGetNameAttributeType `json:"name" required:"true"` // rules for the alert group // REQUIRED - Rules CreateLogsAlertgroupsPayloadGetRulesAttributeType `json:"rules"` + Rules CreateLogsAlertgroupsPayloadGetRulesAttributeType `json:"rules" required:"true"` } type _CreateLogsAlertgroupsPayload CreateLogsAlertgroupsPayload diff --git a/services/observability/model_create_scrape_config_payload.go b/services/observability/model_create_scrape_config_payload.go index 5df8de2b2..1fcff0cde 100644 --- a/services/observability/model_create_scrape_config_payload.go +++ b/services/observability/model_create_scrape_config_payload.go @@ -460,7 +460,7 @@ type CreateScrapeConfigPayload struct { HttpSdConfigs CreateScrapeConfigPayloadGetHttpSdConfigsAttributeType `json:"httpSdConfigs,omitempty"` // The job name assigned to scraped metrics by default. `Additional Validators:` * must be unique * key and values should only include the characters: a-zA-Z0-9- // REQUIRED - JobName CreateScrapeConfigPayloadGetJobNameAttributeType `json:"jobName"` + JobName CreateScrapeConfigPayloadGetJobNameAttributeType `json:"jobName" required:"true"` // The HTTP resource path on which to fetch metrics from targets. E.g. /metrics MetricsPath CreateScrapeConfigPayloadGetMetricsPathAttributeType `json:"metricsPath,omitempty"` // List of metric relabel configurations @@ -472,16 +472,16 @@ type CreateScrapeConfigPayload struct { SampleLimit CreateScrapeConfigPayloadGetSampleLimitAttributeType `json:"sampleLimit,omitempty"` // Configures the protocol scheme used for requests. https or http // REQUIRED - Scheme CreateScrapeConfigPayloadGetSchemeAttributeType `json:"scheme"` + Scheme CreateScrapeConfigPayloadGetSchemeAttributeType `json:"scheme" required:"true"` // How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s // REQUIRED - ScrapeInterval CreateScrapeConfigPayloadGetScrapeIntervalAttributeType `json:"scrapeInterval"` + ScrapeInterval CreateScrapeConfigPayloadGetScrapeIntervalAttributeType `json:"scrapeInterval" required:"true"` // Per-scrape timeout when scraping this job. `Additional Validators:` * must be a valid time format* must be smaller than scrapeInterval // REQUIRED - ScrapeTimeout CreateScrapeConfigPayloadGetScrapeTimeoutAttributeType `json:"scrapeTimeout"` + ScrapeTimeout CreateScrapeConfigPayloadGetScrapeTimeoutAttributeType `json:"scrapeTimeout" required:"true"` // A list of scrape configurations. // REQUIRED - StaticConfigs CreateScrapeConfigPayloadGetStaticConfigsAttributeType `json:"staticConfigs"` + StaticConfigs CreateScrapeConfigPayloadGetStaticConfigsAttributeType `json:"staticConfigs" required:"true"` TlsConfig CreateScrapeConfigPayloadGetTlsConfigAttributeType `json:"tlsConfig,omitempty"` } diff --git a/services/observability/model_create_scrape_config_payload_http_sd_configs_inner.go b/services/observability/model_create_scrape_config_payload_http_sd_configs_inner.go index 9f2fe03f1..369b532df 100644 --- a/services/observability/model_create_scrape_config_payload_http_sd_configs_inner.go +++ b/services/observability/model_create_scrape_config_payload_http_sd_configs_inner.go @@ -128,7 +128,7 @@ type CreateScrapeConfigPayloadHttpSdConfigsInner struct { TlsConfig CreateScrapeConfigPayloadHttpSdConfigsInnerGetTlsConfigAttributeType `json:"tlsConfig,omitempty"` // URL from which the targets are fetched. // REQUIRED - Url CreateScrapeConfigPayloadHttpSdConfigsInnerGetUrlAttributeType `json:"url"` + Url CreateScrapeConfigPayloadHttpSdConfigsInnerGetUrlAttributeType `json:"url" required:"true"` } type _CreateScrapeConfigPayloadHttpSdConfigsInner CreateScrapeConfigPayloadHttpSdConfigsInner diff --git a/services/observability/model_create_scrape_config_payload_http_sd_configs_inner_oauth2.go b/services/observability/model_create_scrape_config_payload_http_sd_configs_inner_oauth2.go index 9d93e466a..87d1edcad 100644 --- a/services/observability/model_create_scrape_config_payload_http_sd_configs_inner_oauth2.go +++ b/services/observability/model_create_scrape_config_payload_http_sd_configs_inner_oauth2.go @@ -124,16 +124,16 @@ type CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetTokenUrlRetType = strin type CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2 struct { // clientId // REQUIRED - ClientId CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetClientIdAttributeType `json:"clientId"` + ClientId CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetClientIdAttributeType `json:"clientId" required:"true"` // clientSecret // REQUIRED - ClientSecret CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetClientSecretAttributeType `json:"clientSecret"` + ClientSecret CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetClientSecretAttributeType `json:"clientSecret" required:"true"` // The URL to fetch the token from. Scopes CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetScopesAttributeType `json:"scopes,omitempty"` TlsConfig CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetTlsConfigAttributeType `json:"tlsConfig,omitempty"` // The URL to fetch the token from. // REQUIRED - TokenUrl CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetTokenUrlAttributeType `json:"tokenUrl"` + TokenUrl CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2GetTokenUrlAttributeType `json:"tokenUrl" required:"true"` } type _CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2 CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2 diff --git a/services/observability/model_create_scrape_config_payload_static_configs_inner.go b/services/observability/model_create_scrape_config_payload_static_configs_inner.go index 36e798e37..c6b557a66 100644 --- a/services/observability/model_create_scrape_config_payload_static_configs_inner.go +++ b/services/observability/model_create_scrape_config_payload_static_configs_inner.go @@ -63,7 +63,7 @@ type CreateScrapeConfigPayloadStaticConfigsInner struct { Labels CreateScrapeConfigPayloadStaticConfigsInnerGetLabelsAttributeType `json:"labels,omitempty"` // The targets specified by the static config. // REQUIRED - Targets CreateScrapeConfigPayloadStaticConfigsInnerGetTargetsAttributeType `json:"targets"` + Targets CreateScrapeConfigPayloadStaticConfigsInnerGetTargetsAttributeType `json:"targets" required:"true"` } type _CreateScrapeConfigPayloadStaticConfigsInner CreateScrapeConfigPayloadStaticConfigsInner diff --git a/services/observability/model_credentials.go b/services/observability/model_credentials.go index 271d3a16b..c086b405b 100644 --- a/services/observability/model_credentials.go +++ b/services/observability/model_credentials.go @@ -62,9 +62,9 @@ type CredentialsGetUsernameRetType = string // Credentials struct for Credentials type Credentials struct { // REQUIRED - Password CredentialsGetPasswordAttributeType `json:"password"` + Password CredentialsGetPasswordAttributeType `json:"password" required:"true"` // REQUIRED - Username CredentialsGetUsernameAttributeType `json:"username"` + Username CredentialsGetUsernameAttributeType `json:"username" required:"true"` } type _Credentials Credentials diff --git a/services/observability/model_credentials_remote_write_config.go b/services/observability/model_credentials_remote_write_config.go index b5895367e..16d214ef5 100644 --- a/services/observability/model_credentials_remote_write_config.go +++ b/services/observability/model_credentials_remote_write_config.go @@ -81,11 +81,11 @@ type CredentialsRemoteWriteConfigGetMessageRetType = string // CredentialsRemoteWriteConfig struct for CredentialsRemoteWriteConfig type CredentialsRemoteWriteConfig struct { // REQUIRED - CredentialsMaxLimit CredentialsRemoteWriteConfigGetCredentialsMaxLimitAttributeType `json:"credentialsMaxLimit"` + CredentialsMaxLimit CredentialsRemoteWriteConfigGetCredentialsMaxLimitAttributeType `json:"credentialsMaxLimit" required:"true"` // REQUIRED - MaxLimit CredentialsRemoteWriteConfigGetMaxLimitAttributeType `json:"maxLimit"` + MaxLimit CredentialsRemoteWriteConfigGetMaxLimitAttributeType `json:"maxLimit" required:"true"` // REQUIRED - Message CredentialsRemoteWriteConfigGetMessageAttributeType `json:"message"` + Message CredentialsRemoteWriteConfigGetMessageAttributeType `json:"message" required:"true"` } type _CredentialsRemoteWriteConfig CredentialsRemoteWriteConfig diff --git a/services/observability/model_credentials_remote_write_delete_response.go b/services/observability/model_credentials_remote_write_delete_response.go index 7f536f059..819bb43bc 100644 --- a/services/observability/model_credentials_remote_write_delete_response.go +++ b/services/observability/model_credentials_remote_write_delete_response.go @@ -61,9 +61,9 @@ type CredentialsRemoteWriteDeleteResponseGetMessageRetType = string // CredentialsRemoteWriteDeleteResponse struct for CredentialsRemoteWriteDeleteResponse type CredentialsRemoteWriteDeleteResponse struct { // REQUIRED - MaxLimit CredentialsRemoteWriteDeleteResponseGetMaxLimitAttributeType `json:"maxLimit"` + MaxLimit CredentialsRemoteWriteDeleteResponseGetMaxLimitAttributeType `json:"maxLimit" required:"true"` // REQUIRED - Message CredentialsRemoteWriteDeleteResponseGetMessageAttributeType `json:"message"` + Message CredentialsRemoteWriteDeleteResponseGetMessageAttributeType `json:"message" required:"true"` } type _CredentialsRemoteWriteDeleteResponse CredentialsRemoteWriteDeleteResponse diff --git a/services/observability/model_delete_scrape_config_response.go b/services/observability/model_delete_scrape_config_response.go index f87c603de..8eb83c23b 100644 --- a/services/observability/model_delete_scrape_config_response.go +++ b/services/observability/model_delete_scrape_config_response.go @@ -61,9 +61,9 @@ type DeleteScrapeConfigResponseGetMessageRetType = string // DeleteScrapeConfigResponse struct for DeleteScrapeConfigResponse type DeleteScrapeConfigResponse struct { // REQUIRED - Data DeleteScrapeConfigResponseGetDataAttributeType `json:"data"` + Data DeleteScrapeConfigResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message DeleteScrapeConfigResponseGetMessageAttributeType `json:"message"` + Message DeleteScrapeConfigResponseGetMessageAttributeType `json:"message" required:"true"` } type _DeleteScrapeConfigResponse DeleteScrapeConfigResponse diff --git a/services/observability/model_email_config.go b/services/observability/model_email_config.go index f96e311da..dbc9ae30c 100644 --- a/services/observability/model_email_config.go +++ b/services/observability/model_email_config.go @@ -172,7 +172,7 @@ type EmailConfig struct { SendResolved EmailConfiggetSendResolvedAttributeType `json:"sendResolved,omitempty"` Smarthost EmailConfigGetSmarthostAttributeType `json:"smarthost,omitempty"` // REQUIRED - To EmailConfigGetToAttributeType `json:"to"` + To EmailConfigGetToAttributeType `json:"to" required:"true"` } type _EmailConfig EmailConfig diff --git a/services/observability/model_error.go b/services/observability/model_error.go index c6ea1e2e1..9d9dd017a 100644 --- a/services/observability/model_error.go +++ b/services/observability/model_error.go @@ -62,7 +62,7 @@ type ErrorGetMessageRetType = string type Error struct { Errors ErrorGetErrorsAttributeType `json:"errors,omitempty"` // REQUIRED - Message ErrorGetMessageAttributeType `json:"message"` + Message ErrorGetMessageAttributeType `json:"message" required:"true"` } type _Error Error diff --git a/services/observability/model_get_alert_configs_response.go b/services/observability/model_get_alert_configs_response.go index a9e81c1ec..caf2e1914 100644 --- a/services/observability/model_get_alert_configs_response.go +++ b/services/observability/model_get_alert_configs_response.go @@ -61,9 +61,9 @@ type GetAlertConfigsResponseGetMessageRetType = string // GetAlertConfigsResponse struct for GetAlertConfigsResponse type GetAlertConfigsResponse struct { // REQUIRED - Data GetAlertConfigsResponseGetDataAttributeType `json:"data"` + Data GetAlertConfigsResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message GetAlertConfigsResponseGetMessageAttributeType `json:"message"` + Message GetAlertConfigsResponseGetMessageAttributeType `json:"message" required:"true"` } type _GetAlertConfigsResponse GetAlertConfigsResponse diff --git a/services/observability/model_get_credentials_response.go b/services/observability/model_get_credentials_response.go index 1ce750756..747cb4cf6 100644 --- a/services/observability/model_get_credentials_response.go +++ b/services/observability/model_get_credentials_response.go @@ -104,11 +104,11 @@ type GetCredentialsResponseGetNameRetType = string type GetCredentialsResponse struct { CredentialsInfo GetCredentialsResponseGetCredentialsInfoAttributeType `json:"credentialsInfo,omitempty"` // REQUIRED - Id GetCredentialsResponseGetIdAttributeType `json:"id"` + Id GetCredentialsResponseGetIdAttributeType `json:"id" required:"true"` // REQUIRED - Message GetCredentialsResponseGetMessageAttributeType `json:"message"` + Message GetCredentialsResponseGetMessageAttributeType `json:"message" required:"true"` // REQUIRED - Name GetCredentialsResponseGetNameAttributeType `json:"name"` + Name GetCredentialsResponseGetNameAttributeType `json:"name" required:"true"` } type _GetCredentialsResponse GetCredentialsResponse diff --git a/services/observability/model_get_instance_response.go b/services/observability/model_get_instance_response.go index 3552a4389..e7d5bc886 100644 --- a/services/observability/model_get_instance_response.go +++ b/services/observability/model_get_instance_response.go @@ -412,26 +412,26 @@ func setGetInstanceResponseGetStatusAttributeType(arg *GetInstanceResponseGetSta // GetInstanceResponse struct for GetInstanceResponse type GetInstanceResponse struct { // REQUIRED - DashboardUrl GetInstanceResponseGetDashboardUrlAttributeType `json:"dashboardUrl"` + DashboardUrl GetInstanceResponseGetDashboardUrlAttributeType `json:"dashboardUrl" required:"true"` Error GetInstanceResponseGetErrorAttributeType `json:"error,omitempty"` // REQUIRED - Id GetInstanceResponseGetIdAttributeType `json:"id"` + Id GetInstanceResponseGetIdAttributeType `json:"id" required:"true"` // REQUIRED - Instance GetInstanceResponseGetInstanceAttributeType `json:"instance"` + Instance GetInstanceResponseGetInstanceAttributeType `json:"instance" required:"true"` IsUpdatable GetInstanceResponsegetIsUpdatableAttributeType `json:"isUpdatable,omitempty"` // REQUIRED - Message GetInstanceResponseGetMessageAttributeType `json:"message"` + Message GetInstanceResponseGetMessageAttributeType `json:"message" required:"true"` Name GetInstanceResponseGetNameAttributeType `json:"name,omitempty"` Parameters GetInstanceResponseGetParametersAttributeType `json:"parameters,omitempty"` // REQUIRED - PlanId GetInstanceResponseGetPlanIdAttributeType `json:"planId"` + PlanId GetInstanceResponseGetPlanIdAttributeType `json:"planId" required:"true"` // REQUIRED - PlanName GetInstanceResponseGetPlanNameAttributeType `json:"planName"` + PlanName GetInstanceResponseGetPlanNameAttributeType `json:"planName" required:"true"` PlanSchema GetInstanceResponseGetPlanSchemaAttributeType `json:"planSchema,omitempty"` // REQUIRED - ServiceName GetInstanceResponseGetServiceNameAttributeType `json:"serviceName"` + ServiceName GetInstanceResponseGetServiceNameAttributeType `json:"serviceName" required:"true"` // REQUIRED - Status GetInstanceResponseGetStatusAttributeType `json:"status"` + Status GetInstanceResponseGetStatusAttributeType `json:"status" required:"true"` } type _GetInstanceResponse GetInstanceResponse diff --git a/services/observability/model_get_metrics_storage_retention_response.go b/services/observability/model_get_metrics_storage_retention_response.go index cfd316f4a..5fe8c72c3 100644 --- a/services/observability/model_get_metrics_storage_retention_response.go +++ b/services/observability/model_get_metrics_storage_retention_response.go @@ -104,13 +104,13 @@ type GetMetricsStorageRetentionResponseGetMetricsRetentionTimeRawRetType = strin // GetMetricsStorageRetentionResponse struct for GetMetricsStorageRetentionResponse type GetMetricsStorageRetentionResponse struct { // REQUIRED - Message GetMetricsStorageRetentionResponseGetMessageAttributeType `json:"message"` + Message GetMetricsStorageRetentionResponseGetMessageAttributeType `json:"message" required:"true"` // REQUIRED - MetricsRetentionTime1h GetMetricsStorageRetentionResponseGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h"` + MetricsRetentionTime1h GetMetricsStorageRetentionResponseGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h" required:"true"` // REQUIRED - MetricsRetentionTime5m GetMetricsStorageRetentionResponseGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m"` + MetricsRetentionTime5m GetMetricsStorageRetentionResponseGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m" required:"true"` // REQUIRED - MetricsRetentionTimeRaw GetMetricsStorageRetentionResponseGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw"` + MetricsRetentionTimeRaw GetMetricsStorageRetentionResponseGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw" required:"true"` } type _GetMetricsStorageRetentionResponse GetMetricsStorageRetentionResponse diff --git a/services/observability/model_get_scrape_config_response.go b/services/observability/model_get_scrape_config_response.go index c9d27bab4..b66889b5d 100644 --- a/services/observability/model_get_scrape_config_response.go +++ b/services/observability/model_get_scrape_config_response.go @@ -61,9 +61,9 @@ type GetScrapeConfigResponseGetMessageRetType = string // GetScrapeConfigResponse struct for GetScrapeConfigResponse type GetScrapeConfigResponse struct { // REQUIRED - Data GetScrapeConfigResponseGetDataAttributeType `json:"data"` + Data GetScrapeConfigResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message GetScrapeConfigResponseGetMessageAttributeType `json:"message"` + Message GetScrapeConfigResponseGetMessageAttributeType `json:"message" required:"true"` } type _GetScrapeConfigResponse GetScrapeConfigResponse diff --git a/services/observability/model_grafana_configs.go b/services/observability/model_grafana_configs.go index a1a2c6971..3777f3d18 100644 --- a/services/observability/model_grafana_configs.go +++ b/services/observability/model_grafana_configs.go @@ -102,7 +102,7 @@ func setGrafanaConfigsgetUseStackitSsoAttributeType(arg *GrafanaConfigsgetUseSta type GrafanaConfigs struct { GenericOauth GrafanaConfigsGetGenericOauthAttributeType `json:"genericOauth,omitempty"` // REQUIRED - Message GrafanaConfigsGetMessageAttributeType `json:"message"` + Message GrafanaConfigsGetMessageAttributeType `json:"message" required:"true"` PublicReadAccess GrafanaConfigsgetPublicReadAccessAttributeType `json:"publicReadAccess,omitempty"` UseStackitSso GrafanaConfigsgetUseStackitSsoAttributeType `json:"useStackitSso,omitempty"` } diff --git a/services/observability/model_grafana_oauth.go b/services/observability/model_grafana_oauth.go index e828af2f3..945eb0704 100644 --- a/services/observability/model_grafana_oauth.go +++ b/services/observability/model_grafana_oauth.go @@ -248,22 +248,22 @@ func setGrafanaOauthgetUsePkceAttributeType(arg *GrafanaOauthgetUsePkceAttribute // GrafanaOauth struct for GrafanaOauth type GrafanaOauth struct { // REQUIRED - ApiUrl GrafanaOauthGetApiUrlAttributeType `json:"apiUrl"` + ApiUrl GrafanaOauthGetApiUrlAttributeType `json:"apiUrl" required:"true"` // REQUIRED - AuthUrl GrafanaOauthGetAuthUrlAttributeType `json:"authUrl"` + AuthUrl GrafanaOauthGetAuthUrlAttributeType `json:"authUrl" required:"true"` // REQUIRED - Enabled GrafanaOauthgetEnabledAttributeType `json:"enabled"` + Enabled GrafanaOauthgetEnabledAttributeType `json:"enabled" required:"true"` Name GrafanaOauthGetNameAttributeType `json:"name,omitempty"` // REQUIRED - OauthClientId GrafanaOauthGetOauthClientIdAttributeType `json:"oauthClientId"` + OauthClientId GrafanaOauthGetOauthClientIdAttributeType `json:"oauthClientId" required:"true"` // REQUIRED - OauthClientSecret GrafanaOauthGetOauthClientSecretAttributeType `json:"oauthClientSecret"` + OauthClientSecret GrafanaOauthGetOauthClientSecretAttributeType `json:"oauthClientSecret" required:"true"` // REQUIRED - RoleAttributePath GrafanaOauthGetRoleAttributePathAttributeType `json:"roleAttributePath"` + RoleAttributePath GrafanaOauthGetRoleAttributePathAttributeType `json:"roleAttributePath" required:"true"` RoleAttributeStrict GrafanaOauthgetRoleAttributeStrictAttributeType `json:"roleAttributeStrict,omitempty"` Scopes GrafanaOauthGetScopesAttributeType `json:"scopes,omitempty"` // REQUIRED - TokenUrl GrafanaOauthGetTokenUrlAttributeType `json:"tokenUrl"` + TokenUrl GrafanaOauthGetTokenUrlAttributeType `json:"tokenUrl" required:"true"` UsePkce GrafanaOauthgetUsePkceAttributeType `json:"usePkce,omitempty"` } diff --git a/services/observability/model_http_service_sd.go b/services/observability/model_http_service_sd.go index 7120cb475..2de97d6fa 100644 --- a/services/observability/model_http_service_sd.go +++ b/services/observability/model_http_service_sd.go @@ -126,7 +126,7 @@ type HTTPServiceSD struct { RefreshInterval HTTPServiceSDGetRefreshIntervalAttributeType `json:"refreshInterval,omitempty"` TlsConfig HTTPServiceSDGetTlsConfigAttributeType `json:"tlsConfig,omitempty"` // REQUIRED - Url HTTPServiceSDGetUrlAttributeType `json:"url"` + Url HTTPServiceSDGetUrlAttributeType `json:"url" required:"true"` } type _HTTPServiceSD HTTPServiceSD diff --git a/services/observability/model_instance.go b/services/observability/model_instance.go index a128a2f30..5cd938904 100644 --- a/services/observability/model_instance.go +++ b/services/observability/model_instance.go @@ -350,22 +350,22 @@ func setInstanceGetStateAttributeType(arg *InstanceGetStateAttributeType, val In // Instance struct for Instance type Instance struct { // REQUIRED - Cluster InstanceGetClusterAttributeType `json:"cluster"` + Cluster InstanceGetClusterAttributeType `json:"cluster" required:"true"` // REQUIRED - GrafanaPublicReadAccess InstancegetGrafanaPublicReadAccessAttributeType `json:"grafanaPublicReadAccess"` + GrafanaPublicReadAccess InstancegetGrafanaPublicReadAccessAttributeType `json:"grafanaPublicReadAccess" required:"true"` // REQUIRED - GrafanaUseStackitSso InstancegetGrafanaUseStackitSsoAttributeType `json:"grafanaUseStackitSso"` + GrafanaUseStackitSso InstancegetGrafanaUseStackitSsoAttributeType `json:"grafanaUseStackitSso" required:"true"` // REQUIRED - Instance InstanceGetInstanceAttributeType `json:"instance"` + Instance InstanceGetInstanceAttributeType `json:"instance" required:"true"` // REQUIRED - MetricsRetentionTime1h InstanceGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h"` + MetricsRetentionTime1h InstanceGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h" required:"true"` // REQUIRED - MetricsRetentionTime5m InstanceGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m"` + MetricsRetentionTime5m InstanceGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m" required:"true"` // REQUIRED - MetricsRetentionTimeRaw InstanceGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw"` + MetricsRetentionTimeRaw InstanceGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw" required:"true"` Name InstanceGetNameAttributeType `json:"name,omitempty"` // REQUIRED - Plan InstanceGetPlanAttributeType `json:"plan"` + Plan InstanceGetPlanAttributeType `json:"plan" required:"true"` State InstanceGetStateAttributeType `json:"state,omitempty"` } diff --git a/services/observability/model_instance_response.go b/services/observability/model_instance_response.go index cbe156f89..1ee65eacb 100644 --- a/services/observability/model_instance_response.go +++ b/services/observability/model_instance_response.go @@ -41,7 +41,7 @@ type InstanceResponseGetMessageRetType = string // InstanceResponse struct for InstanceResponse type InstanceResponse struct { // REQUIRED - Message InstanceResponseGetMessageAttributeType `json:"message"` + Message InstanceResponseGetMessageAttributeType `json:"message" required:"true"` } type _InstanceResponse InstanceResponse diff --git a/services/observability/model_instance_sensitive_data.go b/services/observability/model_instance_sensitive_data.go index 6ef348739..bfa74725f 100644 --- a/services/observability/model_instance_sensitive_data.go +++ b/services/observability/model_instance_sensitive_data.go @@ -497,50 +497,50 @@ type InstanceSensitiveDataGetZipkinSpansUrlRetType = string // InstanceSensitiveData struct for InstanceSensitiveData type InstanceSensitiveData struct { // REQUIRED - AlertingUrl InstanceSensitiveDataGetAlertingUrlAttributeType `json:"alertingUrl"` + AlertingUrl InstanceSensitiveDataGetAlertingUrlAttributeType `json:"alertingUrl" required:"true"` // REQUIRED - Cluster InstanceSensitiveDataGetClusterAttributeType `json:"cluster"` + Cluster InstanceSensitiveDataGetClusterAttributeType `json:"cluster" required:"true"` // REQUIRED - DashboardUrl InstanceSensitiveDataGetDashboardUrlAttributeType `json:"dashboardUrl"` + DashboardUrl InstanceSensitiveDataGetDashboardUrlAttributeType `json:"dashboardUrl" required:"true"` // REQUIRED - GrafanaAdminPassword InstanceSensitiveDataGetGrafanaAdminPasswordAttributeType `json:"grafanaAdminPassword"` + GrafanaAdminPassword InstanceSensitiveDataGetGrafanaAdminPasswordAttributeType `json:"grafanaAdminPassword" required:"true"` // REQUIRED - GrafanaAdminUser InstanceSensitiveDataGetGrafanaAdminUserAttributeType `json:"grafanaAdminUser"` + GrafanaAdminUser InstanceSensitiveDataGetGrafanaAdminUserAttributeType `json:"grafanaAdminUser" required:"true"` // REQUIRED - GrafanaPublicReadAccess InstanceSensitiveDatagetGrafanaPublicReadAccessAttributeType `json:"grafanaPublicReadAccess"` + GrafanaPublicReadAccess InstanceSensitiveDatagetGrafanaPublicReadAccessAttributeType `json:"grafanaPublicReadAccess" required:"true"` // REQUIRED - GrafanaUrl InstanceSensitiveDataGetGrafanaUrlAttributeType `json:"grafanaUrl"` + GrafanaUrl InstanceSensitiveDataGetGrafanaUrlAttributeType `json:"grafanaUrl" required:"true"` // REQUIRED - GrafanaUseStackitSso InstanceSensitiveDatagetGrafanaUseStackitSsoAttributeType `json:"grafanaUseStackitSso"` + GrafanaUseStackitSso InstanceSensitiveDatagetGrafanaUseStackitSsoAttributeType `json:"grafanaUseStackitSso" required:"true"` // REQUIRED - Instance InstanceSensitiveDataGetInstanceAttributeType `json:"instance"` + Instance InstanceSensitiveDataGetInstanceAttributeType `json:"instance" required:"true"` // REQUIRED - JaegerTracesUrl InstanceSensitiveDataGetJaegerTracesUrlAttributeType `json:"jaegerTracesUrl"` + JaegerTracesUrl InstanceSensitiveDataGetJaegerTracesUrlAttributeType `json:"jaegerTracesUrl" required:"true"` // REQUIRED - JaegerUiUrl InstanceSensitiveDataGetJaegerUiUrlAttributeType `json:"jaegerUiUrl"` + JaegerUiUrl InstanceSensitiveDataGetJaegerUiUrlAttributeType `json:"jaegerUiUrl" required:"true"` // REQUIRED - LogsPushUrl InstanceSensitiveDataGetLogsPushUrlAttributeType `json:"logsPushUrl"` + LogsPushUrl InstanceSensitiveDataGetLogsPushUrlAttributeType `json:"logsPushUrl" required:"true"` // REQUIRED - LogsUrl InstanceSensitiveDataGetLogsUrlAttributeType `json:"logsUrl"` + LogsUrl InstanceSensitiveDataGetLogsUrlAttributeType `json:"logsUrl" required:"true"` // REQUIRED - MetricsRetentionTime1h InstanceSensitiveDataGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h"` + MetricsRetentionTime1h InstanceSensitiveDataGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h" required:"true"` // REQUIRED - MetricsRetentionTime5m InstanceSensitiveDataGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m"` + MetricsRetentionTime5m InstanceSensitiveDataGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m" required:"true"` // REQUIRED - MetricsRetentionTimeRaw InstanceSensitiveDataGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw"` + MetricsRetentionTimeRaw InstanceSensitiveDataGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw" required:"true"` // REQUIRED - MetricsUrl InstanceSensitiveDataGetMetricsUrlAttributeType `json:"metricsUrl"` + MetricsUrl InstanceSensitiveDataGetMetricsUrlAttributeType `json:"metricsUrl" required:"true"` Name InstanceSensitiveDataGetNameAttributeType `json:"name,omitempty"` // REQUIRED - OtlpTracesUrl InstanceSensitiveDataGetOtlpTracesUrlAttributeType `json:"otlpTracesUrl"` + OtlpTracesUrl InstanceSensitiveDataGetOtlpTracesUrlAttributeType `json:"otlpTracesUrl" required:"true"` // REQUIRED - Plan InstanceSensitiveDataGetPlanAttributeType `json:"plan"` + Plan InstanceSensitiveDataGetPlanAttributeType `json:"plan" required:"true"` // REQUIRED - PushMetricsUrl InstanceSensitiveDataGetPushMetricsUrlAttributeType `json:"pushMetricsUrl"` + PushMetricsUrl InstanceSensitiveDataGetPushMetricsUrlAttributeType `json:"pushMetricsUrl" required:"true"` // REQUIRED - TargetsUrl InstanceSensitiveDataGetTargetsUrlAttributeType `json:"targetsUrl"` + TargetsUrl InstanceSensitiveDataGetTargetsUrlAttributeType `json:"targetsUrl" required:"true"` // REQUIRED - ZipkinSpansUrl InstanceSensitiveDataGetZipkinSpansUrlAttributeType `json:"zipkinSpansUrl"` + ZipkinSpansUrl InstanceSensitiveDataGetZipkinSpansUrlAttributeType `json:"zipkinSpansUrl" required:"true"` } type _InstanceSensitiveData InstanceSensitiveData diff --git a/services/observability/model_job.go b/services/observability/model_job.go index 8c3707416..8083a0ca3 100644 --- a/services/observability/model_job.go +++ b/services/observability/model_job.go @@ -455,7 +455,7 @@ type Job struct { HonorTimeStamps JobgetHonorTimeStampsAttributeType `json:"honorTimeStamps,omitempty"` HttpSdConfigs JobGetHttpSdConfigsAttributeType `json:"httpSdConfigs,omitempty"` // REQUIRED - JobName JobGetJobNameAttributeType `json:"jobName"` + JobName JobGetJobNameAttributeType `json:"jobName" required:"true"` MetricsPath JobGetMetricsPathAttributeType `json:"metricsPath,omitempty"` MetricsRelabelConfigs JobGetMetricsRelabelConfigsAttributeType `json:"metricsRelabelConfigs,omitempty"` Oauth2 JobGetOauth2AttributeType `json:"oauth2,omitempty"` @@ -463,11 +463,11 @@ type Job struct { SampleLimit JobGetSampleLimitAttributeType `json:"sampleLimit,omitempty"` Scheme JobGetSchemeAttributeType `json:"scheme,omitempty"` // REQUIRED - ScrapeInterval JobGetScrapeIntervalAttributeType `json:"scrapeInterval"` + ScrapeInterval JobGetScrapeIntervalAttributeType `json:"scrapeInterval" required:"true"` // REQUIRED - ScrapeTimeout JobGetScrapeTimeoutAttributeType `json:"scrapeTimeout"` + ScrapeTimeout JobGetScrapeTimeoutAttributeType `json:"scrapeTimeout" required:"true"` // REQUIRED - StaticConfigs JobGetStaticConfigsAttributeType `json:"staticConfigs"` + StaticConfigs JobGetStaticConfigsAttributeType `json:"staticConfigs" required:"true"` TlsConfig JobGetTlsConfigAttributeType `json:"tlsConfig,omitempty"` } diff --git a/services/observability/model_list_acl_response.go b/services/observability/model_list_acl_response.go index 4991987e8..9c80c4dd1 100644 --- a/services/observability/model_list_acl_response.go +++ b/services/observability/model_list_acl_response.go @@ -61,9 +61,9 @@ type ListACLResponseGetMessageRetType = string // ListACLResponse struct for ListACLResponse type ListACLResponse struct { // REQUIRED - Acl ListACLResponseGetAclAttributeType `json:"acl"` + Acl ListACLResponseGetAclAttributeType `json:"acl" required:"true"` // REQUIRED - Message ListACLResponseGetMessageAttributeType `json:"message"` + Message ListACLResponseGetMessageAttributeType `json:"message" required:"true"` } type _ListACLResponse ListACLResponse diff --git a/services/observability/model_list_credentials_response.go b/services/observability/model_list_credentials_response.go index 8d32bc202..4c5aef436 100644 --- a/services/observability/model_list_credentials_response.go +++ b/services/observability/model_list_credentials_response.go @@ -61,9 +61,9 @@ type ListCredentialsResponseGetMessageRetType = string // ListCredentialsResponse struct for ListCredentialsResponse type ListCredentialsResponse struct { // REQUIRED - Credentials ListCredentialsResponseGetCredentialsAttributeType `json:"credentials"` + Credentials ListCredentialsResponseGetCredentialsAttributeType `json:"credentials" required:"true"` // REQUIRED - Message ListCredentialsResponseGetMessageAttributeType `json:"message"` + Message ListCredentialsResponseGetMessageAttributeType `json:"message" required:"true"` } type _ListCredentialsResponse ListCredentialsResponse diff --git a/services/observability/model_list_instances_response.go b/services/observability/model_list_instances_response.go index 1f9ae0940..553689d2a 100644 --- a/services/observability/model_list_instances_response.go +++ b/services/observability/model_list_instances_response.go @@ -61,9 +61,9 @@ type ListInstancesResponseGetMessageRetType = string // ListInstancesResponse struct for ListInstancesResponse type ListInstancesResponse struct { // REQUIRED - Instances ListInstancesResponseGetInstancesAttributeType `json:"instances"` + Instances ListInstancesResponseGetInstancesAttributeType `json:"instances" required:"true"` // REQUIRED - Message ListInstancesResponseGetMessageAttributeType `json:"message"` + Message ListInstancesResponseGetMessageAttributeType `json:"message" required:"true"` } type _ListInstancesResponse ListInstancesResponse diff --git a/services/observability/model_list_scrape_configs_response.go b/services/observability/model_list_scrape_configs_response.go index e59d9c417..d211113f0 100644 --- a/services/observability/model_list_scrape_configs_response.go +++ b/services/observability/model_list_scrape_configs_response.go @@ -61,9 +61,9 @@ type ListScrapeConfigsResponseGetMessageRetType = string // ListScrapeConfigsResponse struct for ListScrapeConfigsResponse type ListScrapeConfigsResponse struct { // REQUIRED - Data ListScrapeConfigsResponseGetDataAttributeType `json:"data"` + Data ListScrapeConfigsResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message ListScrapeConfigsResponseGetMessageAttributeType `json:"message"` + Message ListScrapeConfigsResponseGetMessageAttributeType `json:"message" required:"true"` } type _ListScrapeConfigsResponse ListScrapeConfigsResponse diff --git a/services/observability/model_message.go b/services/observability/model_message.go index 476881e5d..3870fe863 100644 --- a/services/observability/model_message.go +++ b/services/observability/model_message.go @@ -41,7 +41,7 @@ type MessageGetMessageRetType = string // Message struct for Message type Message struct { // REQUIRED - Message MessageGetMessageAttributeType `json:"message"` + Message MessageGetMessageAttributeType `json:"message" required:"true"` } type _Message Message diff --git a/services/observability/model_metrics_relabel_config.go b/services/observability/model_metrics_relabel_config.go index 63a101751..4b2cba8e4 100644 --- a/services/observability/model_metrics_relabel_config.go +++ b/services/observability/model_metrics_relabel_config.go @@ -284,7 +284,7 @@ type MetricsRelabelConfig struct { Replacement MetricsRelabelConfigGetReplacementAttributeType `json:"replacement,omitempty"` Separator MetricsRelabelConfigGetSeparatorAttributeType `json:"separator,omitempty"` // REQUIRED - SourceLabels MetricsRelabelConfigGetSourceLabelsAttributeType `json:"sourceLabels"` + SourceLabels MetricsRelabelConfigGetSourceLabelsAttributeType `json:"sourceLabels" required:"true"` TargetLabel MetricsRelabelConfigGetTargetLabelAttributeType `json:"targetLabel,omitempty"` } diff --git a/services/observability/model_o_auth2.go b/services/observability/model_o_auth2.go index 4229a9319..e21d23fc4 100644 --- a/services/observability/model_o_auth2.go +++ b/services/observability/model_o_auth2.go @@ -123,13 +123,13 @@ type OAuth2GetTokenUrlRetType = string // OAuth2 struct for OAuth2 type OAuth2 struct { // REQUIRED - ClientId OAuth2GetClientIdAttributeType `json:"clientId"` + ClientId OAuth2GetClientIdAttributeType `json:"clientId" required:"true"` // REQUIRED - ClientSecret OAuth2GetClientSecretAttributeType `json:"clientSecret"` + ClientSecret OAuth2GetClientSecretAttributeType `json:"clientSecret" required:"true"` Scopes OAuth2GetScopesAttributeType `json:"scopes,omitempty"` TlsConfig OAuth2GetTlsConfigAttributeType `json:"tlsConfig,omitempty"` // REQUIRED - TokenUrl OAuth2GetTokenUrlAttributeType `json:"tokenUrl"` + TokenUrl OAuth2GetTokenUrlAttributeType `json:"tokenUrl" required:"true"` } type _OAuth2 OAuth2 diff --git a/services/observability/model_permission_denied.go b/services/observability/model_permission_denied.go index 92314dfa8..a8e8960bb 100644 --- a/services/observability/model_permission_denied.go +++ b/services/observability/model_permission_denied.go @@ -41,7 +41,7 @@ type PermissionDeniedGetDetailRetType = string // PermissionDenied struct for PermissionDenied type PermissionDenied struct { // REQUIRED - Detail PermissionDeniedGetDetailAttributeType `json:"detail"` + Detail PermissionDeniedGetDetailAttributeType `json:"detail" required:"true"` } type _PermissionDenied PermissionDenied diff --git a/services/observability/model_plan.go b/services/observability/model_plan.go index a8f1ccb3a..437e08fc8 100644 --- a/services/observability/model_plan.go +++ b/services/observability/model_plan.go @@ -465,43 +465,43 @@ func setPlanGetTracesStorageAttributeType(arg *PlanGetTracesStorageAttributeType // Plan struct for Plan type Plan struct { // REQUIRED - AlertMatchers PlanGetAlertMatchersAttributeType `json:"alertMatchers"` + AlertMatchers PlanGetAlertMatchersAttributeType `json:"alertMatchers" required:"true"` // REQUIRED - AlertReceivers PlanGetAlertReceiversAttributeType `json:"alertReceivers"` + AlertReceivers PlanGetAlertReceiversAttributeType `json:"alertReceivers" required:"true"` // REQUIRED - AlertRules PlanGetAlertRulesAttributeType `json:"alertRules"` + AlertRules PlanGetAlertRulesAttributeType `json:"alertRules" required:"true"` Amount PlanGetAmountAttributeType `json:"amount,omitempty"` // REQUIRED - BucketSize PlanGetBucketSizeAttributeType `json:"bucketSize"` + BucketSize PlanGetBucketSizeAttributeType `json:"bucketSize" required:"true"` Description PlanGetDescriptionAttributeType `json:"description,omitempty"` // REQUIRED - GrafanaGlobalDashboards PlanGetGrafanaGlobalDashboardsAttributeType `json:"grafanaGlobalDashboards"` + GrafanaGlobalDashboards PlanGetGrafanaGlobalDashboardsAttributeType `json:"grafanaGlobalDashboards" required:"true"` // REQUIRED - GrafanaGlobalOrgs PlanGetGrafanaGlobalOrgsAttributeType `json:"grafanaGlobalOrgs"` + GrafanaGlobalOrgs PlanGetGrafanaGlobalOrgsAttributeType `json:"grafanaGlobalOrgs" required:"true"` // REQUIRED - GrafanaGlobalSessions PlanGetGrafanaGlobalSessionsAttributeType `json:"grafanaGlobalSessions"` + GrafanaGlobalSessions PlanGetGrafanaGlobalSessionsAttributeType `json:"grafanaGlobalSessions" required:"true"` // REQUIRED - GrafanaGlobalUsers PlanGetGrafanaGlobalUsersAttributeType `json:"grafanaGlobalUsers"` + GrafanaGlobalUsers PlanGetGrafanaGlobalUsersAttributeType `json:"grafanaGlobalUsers" required:"true"` // REQUIRED - Id PlanGetIdAttributeType `json:"id"` + Id PlanGetIdAttributeType `json:"id" required:"true"` IsFree PlangetIsFreeAttributeType `json:"isFree,omitempty"` IsPublic PlangetIsPublicAttributeType `json:"isPublic,omitempty"` // REQUIRED - LogsAlert PlanGetLogsAlertAttributeType `json:"logsAlert"` + LogsAlert PlanGetLogsAlertAttributeType `json:"logsAlert" required:"true"` // REQUIRED - LogsStorage PlanGetLogsStorageAttributeType `json:"logsStorage"` + LogsStorage PlanGetLogsStorageAttributeType `json:"logsStorage" required:"true"` Name PlanGetNameAttributeType `json:"name,omitempty"` // REQUIRED - PlanId PlanGetPlanIdAttributeType `json:"planId"` + PlanId PlanGetPlanIdAttributeType `json:"planId" required:"true"` // REQUIRED - SamplesPerScrape PlanGetSamplesPerScrapeAttributeType `json:"samplesPerScrape"` + SamplesPerScrape PlanGetSamplesPerScrapeAttributeType `json:"samplesPerScrape" required:"true"` Schema PlanGetSchemaAttributeType `json:"schema,omitempty"` // REQUIRED - TargetNumber PlanGetTargetNumberAttributeType `json:"targetNumber"` + TargetNumber PlanGetTargetNumberAttributeType `json:"targetNumber" required:"true"` // REQUIRED - TotalMetricSamples PlanGetTotalMetricSamplesAttributeType `json:"totalMetricSamples"` + TotalMetricSamples PlanGetTotalMetricSamplesAttributeType `json:"totalMetricSamples" required:"true"` // REQUIRED - TracesStorage PlanGetTracesStorageAttributeType `json:"tracesStorage"` + TracesStorage PlanGetTracesStorageAttributeType `json:"tracesStorage" required:"true"` } type _Plan Plan diff --git a/services/observability/model_plan_model.go b/services/observability/model_plan_model.go index b485e53f2..1e87c9ac0 100644 --- a/services/observability/model_plan_model.go +++ b/services/observability/model_plan_model.go @@ -404,40 +404,40 @@ func setPlanModelGetTracesStorageAttributeType(arg *PlanModelGetTracesStorageAtt // PlanModel struct for PlanModel type PlanModel struct { // REQUIRED - AlertMatchers PlanModelGetAlertMatchersAttributeType `json:"alertMatchers"` + AlertMatchers PlanModelGetAlertMatchersAttributeType `json:"alertMatchers" required:"true"` // REQUIRED - AlertReceivers PlanModelGetAlertReceiversAttributeType `json:"alertReceivers"` + AlertReceivers PlanModelGetAlertReceiversAttributeType `json:"alertReceivers" required:"true"` // REQUIRED - AlertRules PlanModelGetAlertRulesAttributeType `json:"alertRules"` + AlertRules PlanModelGetAlertRulesAttributeType `json:"alertRules" required:"true"` Amount PlanModelGetAmountAttributeType `json:"amount,omitempty"` // REQUIRED - BucketSize PlanModelGetBucketSizeAttributeType `json:"bucketSize"` + BucketSize PlanModelGetBucketSizeAttributeType `json:"bucketSize" required:"true"` Description PlanModelGetDescriptionAttributeType `json:"description,omitempty"` // REQUIRED - GrafanaGlobalDashboards PlanModelGetGrafanaGlobalDashboardsAttributeType `json:"grafanaGlobalDashboards"` + GrafanaGlobalDashboards PlanModelGetGrafanaGlobalDashboardsAttributeType `json:"grafanaGlobalDashboards" required:"true"` // REQUIRED - GrafanaGlobalOrgs PlanModelGetGrafanaGlobalOrgsAttributeType `json:"grafanaGlobalOrgs"` + GrafanaGlobalOrgs PlanModelGetGrafanaGlobalOrgsAttributeType `json:"grafanaGlobalOrgs" required:"true"` // REQUIRED - GrafanaGlobalSessions PlanModelGetGrafanaGlobalSessionsAttributeType `json:"grafanaGlobalSessions"` + GrafanaGlobalSessions PlanModelGetGrafanaGlobalSessionsAttributeType `json:"grafanaGlobalSessions" required:"true"` // REQUIRED - GrafanaGlobalUsers PlanModelGetGrafanaGlobalUsersAttributeType `json:"grafanaGlobalUsers"` + GrafanaGlobalUsers PlanModelGetGrafanaGlobalUsersAttributeType `json:"grafanaGlobalUsers" required:"true"` // REQUIRED - Id PlanModelGetIdAttributeType `json:"id"` + Id PlanModelGetIdAttributeType `json:"id" required:"true"` // REQUIRED - LogsAlert PlanModelGetLogsAlertAttributeType `json:"logsAlert"` + LogsAlert PlanModelGetLogsAlertAttributeType `json:"logsAlert" required:"true"` // REQUIRED - LogsStorage PlanModelGetLogsStorageAttributeType `json:"logsStorage"` + LogsStorage PlanModelGetLogsStorageAttributeType `json:"logsStorage" required:"true"` Name PlanModelGetNameAttributeType `json:"name,omitempty"` // REQUIRED - PlanId PlanModelGetPlanIdAttributeType `json:"planId"` + PlanId PlanModelGetPlanIdAttributeType `json:"planId" required:"true"` // REQUIRED - SamplesPerScrape PlanModelGetSamplesPerScrapeAttributeType `json:"samplesPerScrape"` + SamplesPerScrape PlanModelGetSamplesPerScrapeAttributeType `json:"samplesPerScrape" required:"true"` // REQUIRED - TargetNumber PlanModelGetTargetNumberAttributeType `json:"targetNumber"` + TargetNumber PlanModelGetTargetNumberAttributeType `json:"targetNumber" required:"true"` // REQUIRED - TotalMetricSamples PlanModelGetTotalMetricSamplesAttributeType `json:"totalMetricSamples"` + TotalMetricSamples PlanModelGetTotalMetricSamplesAttributeType `json:"totalMetricSamples" required:"true"` // REQUIRED - TracesStorage PlanModelGetTracesStorageAttributeType `json:"tracesStorage"` + TracesStorage PlanModelGetTracesStorageAttributeType `json:"tracesStorage" required:"true"` } type _PlanModel PlanModel diff --git a/services/observability/model_plans_response.go b/services/observability/model_plans_response.go index d81b43f95..7e9ddb4f5 100644 --- a/services/observability/model_plans_response.go +++ b/services/observability/model_plans_response.go @@ -61,9 +61,9 @@ func setPlansResponseGetPlansAttributeType(arg *PlansResponseGetPlansAttributeTy // PlansResponse struct for PlansResponse type PlansResponse struct { // REQUIRED - Message PlansResponseGetMessageAttributeType `json:"message"` + Message PlansResponseGetMessageAttributeType `json:"message" required:"true"` // REQUIRED - Plans PlansResponseGetPlansAttributeType `json:"plans"` + Plans PlansResponseGetPlansAttributeType `json:"plans" required:"true"` } type _PlansResponse PlansResponse diff --git a/services/observability/model_project_instance_full.go b/services/observability/model_project_instance_full.go index 104951737..dd286b814 100644 --- a/services/observability/model_project_instance_full.go +++ b/services/observability/model_project_instance_full.go @@ -290,16 +290,16 @@ func setProjectInstanceFullGetStatusAttributeType(arg *ProjectInstanceFullGetSta type ProjectInstanceFull struct { Error ProjectInstanceFullGetErrorAttributeType `json:"error,omitempty"` // REQUIRED - Id ProjectInstanceFullGetIdAttributeType `json:"id"` + Id ProjectInstanceFullGetIdAttributeType `json:"id" required:"true"` // REQUIRED - Instance ProjectInstanceFullGetInstanceAttributeType `json:"instance"` + Instance ProjectInstanceFullGetInstanceAttributeType `json:"instance" required:"true"` Name ProjectInstanceFullGetNameAttributeType `json:"name,omitempty"` // REQUIRED - PlanName ProjectInstanceFullGetPlanNameAttributeType `json:"planName"` + PlanName ProjectInstanceFullGetPlanNameAttributeType `json:"planName" required:"true"` // REQUIRED - ServiceName ProjectInstanceFullGetServiceNameAttributeType `json:"serviceName"` + ServiceName ProjectInstanceFullGetServiceNameAttributeType `json:"serviceName" required:"true"` // REQUIRED - Status ProjectInstanceFullGetStatusAttributeType `json:"status"` + Status ProjectInstanceFullGetStatusAttributeType `json:"status" required:"true"` } type _ProjectInstanceFull ProjectInstanceFull diff --git a/services/observability/model_receiver.go b/services/observability/model_receiver.go index 87e9c54cb..237c5f32d 100644 --- a/services/observability/model_receiver.go +++ b/services/observability/model_receiver.go @@ -61,9 +61,9 @@ type ReceiverGetMessageRetType = string // Receiver struct for Receiver type Receiver struct { // REQUIRED - Data ReceiverGetDataAttributeType `json:"data"` + Data ReceiverGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message ReceiverGetMessageAttributeType `json:"message"` + Message ReceiverGetMessageAttributeType `json:"message" required:"true"` } type _Receiver Receiver diff --git a/services/observability/model_receivers.go b/services/observability/model_receivers.go index ee407d6fb..3422f2b53 100644 --- a/services/observability/model_receivers.go +++ b/services/observability/model_receivers.go @@ -102,7 +102,7 @@ func setReceiversGetWebHookConfigsAttributeType(arg *ReceiversGetWebHookConfigsA type Receivers struct { EmailConfigs ReceiversGetEmailConfigsAttributeType `json:"emailConfigs,omitempty"` // REQUIRED - Name ReceiversGetNameAttributeType `json:"name"` + Name ReceiversGetNameAttributeType `json:"name" required:"true"` OpsgenieConfigs ReceiversGetOpsgenieConfigsAttributeType `json:"opsgenieConfigs,omitempty"` WebHookConfigs ReceiversGetWebHookConfigsAttributeType `json:"webHookConfigs,omitempty"` } diff --git a/services/observability/model_route.go b/services/observability/model_route.go index 7ac63b1be..55333a73c 100644 --- a/services/observability/model_route.go +++ b/services/observability/model_route.go @@ -231,7 +231,7 @@ type Route struct { MatchRe RouteGetMatchReAttributeType `json:"matchRe,omitempty"` Matchers RouteGetMatchersAttributeType `json:"matchers,omitempty"` // REQUIRED - Receiver RouteGetReceiverAttributeType `json:"receiver"` + Receiver RouteGetReceiverAttributeType `json:"receiver" required:"true"` RepeatInterval RouteGetRepeatIntervalAttributeType `json:"repeatInterval,omitempty"` Routes RouteGetRoutesAttributeType `json:"routes,omitempty"` } diff --git a/services/observability/model_route_serializer.go b/services/observability/model_route_serializer.go index b3aecbe9a..0dbea6659 100644 --- a/services/observability/model_route_serializer.go +++ b/services/observability/model_route_serializer.go @@ -231,7 +231,7 @@ type RouteSerializer struct { MatchRe RouteSerializerGetMatchReAttributeType `json:"matchRe,omitempty"` Matchers RouteSerializerGetMatchersAttributeType `json:"matchers,omitempty"` // REQUIRED - Receiver RouteSerializerGetReceiverAttributeType `json:"receiver"` + Receiver RouteSerializerGetReceiverAttributeType `json:"receiver" required:"true"` RepeatInterval RouteSerializerGetRepeatIntervalAttributeType `json:"repeatInterval,omitempty"` Routes RouteSerializerGetRoutesAttributeType `json:"routes,omitempty"` } diff --git a/services/observability/model_scrape_configs_response.go b/services/observability/model_scrape_configs_response.go index bf6eb7794..d9ace5844 100644 --- a/services/observability/model_scrape_configs_response.go +++ b/services/observability/model_scrape_configs_response.go @@ -61,9 +61,9 @@ type ScrapeConfigsResponseGetMessageRetType = string // ScrapeConfigsResponse struct for ScrapeConfigsResponse type ScrapeConfigsResponse struct { // REQUIRED - Data ScrapeConfigsResponseGetDataAttributeType `json:"data"` + Data ScrapeConfigsResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message ScrapeConfigsResponseGetMessageAttributeType `json:"message"` + Message ScrapeConfigsResponseGetMessageAttributeType `json:"message" required:"true"` } type _ScrapeConfigsResponse ScrapeConfigsResponse diff --git a/services/observability/model_service_keys_list.go b/services/observability/model_service_keys_list.go index dc98af379..7806afb34 100644 --- a/services/observability/model_service_keys_list.go +++ b/services/observability/model_service_keys_list.go @@ -83,9 +83,9 @@ type ServiceKeysListGetNameRetType = string type ServiceKeysList struct { CredentialsInfo ServiceKeysListGetCredentialsInfoAttributeType `json:"credentialsInfo,omitempty"` // REQUIRED - Id ServiceKeysListGetIdAttributeType `json:"id"` + Id ServiceKeysListGetIdAttributeType `json:"id" required:"true"` // REQUIRED - Name ServiceKeysListGetNameAttributeType `json:"name"` + Name ServiceKeysListGetNameAttributeType `json:"name" required:"true"` } type _ServiceKeysList ServiceKeysList diff --git a/services/observability/model_static_configs.go b/services/observability/model_static_configs.go index 94844ef91..25f6dd8ec 100644 --- a/services/observability/model_static_configs.go +++ b/services/observability/model_static_configs.go @@ -61,7 +61,7 @@ func setStaticConfigsGetTargetsAttributeType(arg *StaticConfigsGetTargetsAttribu type StaticConfigs struct { Labels StaticConfigsGetLabelsAttributeType `json:"labels,omitempty"` // REQUIRED - Targets StaticConfigsGetTargetsAttributeType `json:"targets"` + Targets StaticConfigsGetTargetsAttributeType `json:"targets" required:"true"` } type _StaticConfigs StaticConfigs diff --git a/services/observability/model_update_acl_payload.go b/services/observability/model_update_acl_payload.go index 84863b4cd..d17dc8dad 100644 --- a/services/observability/model_update_acl_payload.go +++ b/services/observability/model_update_acl_payload.go @@ -41,7 +41,7 @@ func setUpdateACLPayloadGetAclAttributeType(arg *UpdateACLPayloadGetAclAttribute type UpdateACLPayload struct { // list of cidr // REQUIRED - Acl UpdateACLPayloadGetAclAttributeType `json:"acl"` + Acl UpdateACLPayloadGetAclAttributeType `json:"acl" required:"true"` } type _UpdateACLPayload UpdateACLPayload diff --git a/services/observability/model_update_alert_config_receiver_payload.go b/services/observability/model_update_alert_config_receiver_payload.go index 9e75855d3..343f3e77d 100644 --- a/services/observability/model_update_alert_config_receiver_payload.go +++ b/services/observability/model_update_alert_config_receiver_payload.go @@ -104,7 +104,7 @@ type UpdateAlertConfigReceiverPayload struct { EmailConfigs UpdateAlertConfigReceiverPayloadGetEmailConfigsAttributeType `json:"emailConfigs,omitempty"` // `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- // REQUIRED - Name UpdateAlertConfigReceiverPayloadGetNameAttributeType `json:"name"` + Name UpdateAlertConfigReceiverPayloadGetNameAttributeType `json:"name" required:"true"` // Configuration for ops genie. OpsgenieConfigs UpdateAlertConfigReceiverPayloadGetOpsgenieConfigsAttributeType `json:"opsgenieConfigs,omitempty"` WebHookConfigs UpdateAlertConfigReceiverPayloadGetWebHookConfigsAttributeType `json:"webHookConfigs,omitempty"` diff --git a/services/observability/model_update_alert_config_route_payload.go b/services/observability/model_update_alert_config_route_payload.go index c0ecf9393..42d0cb9e9 100644 --- a/services/observability/model_update_alert_config_route_payload.go +++ b/services/observability/model_update_alert_config_route_payload.go @@ -239,7 +239,7 @@ type UpdateAlertConfigRoutePayload struct { Matchers UpdateAlertConfigRoutePayloadGetMatchersAttributeType `json:"matchers,omitempty"` // Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers // REQUIRED - Receiver UpdateAlertConfigRoutePayloadGetReceiverAttributeType `json:"receiver"` + Receiver UpdateAlertConfigRoutePayloadGetReceiverAttributeType `json:"receiver" required:"true"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). `Additional Validators:` * must be a valid time format RepeatInterval UpdateAlertConfigRoutePayloadGetRepeatIntervalAttributeType `json:"repeatInterval,omitempty"` // Zero or more child routes. diff --git a/services/observability/model_update_alert_configs_payload.go b/services/observability/model_update_alert_configs_payload.go index 92b6d72f3..4a8053a74 100644 --- a/services/observability/model_update_alert_configs_payload.go +++ b/services/observability/model_update_alert_configs_payload.go @@ -103,9 +103,9 @@ type UpdateAlertConfigsPayload struct { InhibitRules UpdateAlertConfigsPayloadGetInhibitRulesAttributeType `json:"inhibitRules,omitempty"` // A list of notification receivers. // REQUIRED - Receivers UpdateAlertConfigsPayloadGetReceiversAttributeType `json:"receivers"` + Receivers UpdateAlertConfigsPayloadGetReceiversAttributeType `json:"receivers" required:"true"` // REQUIRED - Route UpdateAlertConfigsPayloadGetRouteAttributeType `json:"route"` + Route UpdateAlertConfigsPayloadGetRouteAttributeType `json:"route" required:"true"` } type _UpdateAlertConfigsPayload UpdateAlertConfigsPayload diff --git a/services/observability/model_update_alert_configs_payload_receivers_inner.go b/services/observability/model_update_alert_configs_payload_receivers_inner.go index a6b6b2584..a79f2bb06 100644 --- a/services/observability/model_update_alert_configs_payload_receivers_inner.go +++ b/services/observability/model_update_alert_configs_payload_receivers_inner.go @@ -104,7 +104,7 @@ type UpdateAlertConfigsPayloadReceiversInner struct { EmailConfigs UpdateAlertConfigsPayloadReceiversInnerGetEmailConfigsAttributeType `json:"emailConfigs,omitempty"` // `Additional Validators:` * must be unique * should only include the characters: a-zA-Z0-9- // REQUIRED - Name UpdateAlertConfigsPayloadReceiversInnerGetNameAttributeType `json:"name"` + Name UpdateAlertConfigsPayloadReceiversInnerGetNameAttributeType `json:"name" required:"true"` // Configuration for ops genie. OpsgenieConfigs UpdateAlertConfigsPayloadReceiversInnerGetOpsgenieConfigsAttributeType `json:"opsgenieConfigs,omitempty"` WebHookConfigs UpdateAlertConfigsPayloadReceiversInnerGetWebHookConfigsAttributeType `json:"webHookConfigs,omitempty"` diff --git a/services/observability/model_update_alert_configs_payload_route.go b/services/observability/model_update_alert_configs_payload_route.go index 7feecaaa2..ab755009b 100644 --- a/services/observability/model_update_alert_configs_payload_route.go +++ b/services/observability/model_update_alert_configs_payload_route.go @@ -239,7 +239,7 @@ type UpdateAlertConfigsPayloadRoute struct { Matchers UpdateAlertConfigsPayloadRouteGetMatchersAttributeType `json:"matchers,omitempty"` // Receiver that should be one item of receivers `Additional Validators:` * must be a in name of receivers // REQUIRED - Receiver UpdateAlertConfigsPayloadRouteGetReceiverAttributeType `json:"receiver"` + Receiver UpdateAlertConfigsPayloadRouteGetReceiverAttributeType `json:"receiver" required:"true"` // How long to wait before sending a notification again if it has already been sent successfully for an alert. (Usually ~3h or more). `Additional Validators:` * must be a valid time format RepeatInterval UpdateAlertConfigsPayloadRouteGetRepeatIntervalAttributeType `json:"repeatInterval,omitempty"` // Zero or more child routes. diff --git a/services/observability/model_update_alert_configs_response.go b/services/observability/model_update_alert_configs_response.go index b2f08a4be..d5dde5300 100644 --- a/services/observability/model_update_alert_configs_response.go +++ b/services/observability/model_update_alert_configs_response.go @@ -61,9 +61,9 @@ type UpdateAlertConfigsResponseGetMessageRetType = string // UpdateAlertConfigsResponse struct for UpdateAlertConfigsResponse type UpdateAlertConfigsResponse struct { // REQUIRED - Data UpdateAlertConfigsResponseGetDataAttributeType `json:"data"` + Data UpdateAlertConfigsResponseGetDataAttributeType `json:"data" required:"true"` // REQUIRED - Message UpdateAlertConfigsResponseGetMessageAttributeType `json:"message"` + Message UpdateAlertConfigsResponseGetMessageAttributeType `json:"message" required:"true"` } type _UpdateAlertConfigsResponse UpdateAlertConfigsResponse diff --git a/services/observability/model_update_alertgroup_payload.go b/services/observability/model_update_alertgroup_payload.go index c60319510..957007a86 100644 --- a/services/observability/model_update_alertgroup_payload.go +++ b/services/observability/model_update_alertgroup_payload.go @@ -64,7 +64,7 @@ type UpdateAlertgroupPayload struct { Interval UpdateAlertgroupPayloadGetIntervalAttributeType `json:"interval,omitempty"` // rules for the alert group // REQUIRED - Rules UpdateAlertgroupPayloadGetRulesAttributeType `json:"rules"` + Rules UpdateAlertgroupPayloadGetRulesAttributeType `json:"rules" required:"true"` } type _UpdateAlertgroupPayload UpdateAlertgroupPayload diff --git a/services/observability/model_update_alertgroups_request_inner.go b/services/observability/model_update_alertgroups_request_inner.go index e8bde68a7..7d4b40283 100644 --- a/services/observability/model_update_alertgroups_request_inner.go +++ b/services/observability/model_update_alertgroups_request_inner.go @@ -85,10 +85,10 @@ type UpdateAlertgroupsRequestInner struct { Interval UpdateAlertgroupsRequestInnerGetIntervalAttributeType `json:"interval,omitempty"` // The name of the group. Must be unique. `Additional Validators:` * is the identifier and so unique * should only include the characters: a-zA-Z0-9- // REQUIRED - Name UpdateAlertgroupsRequestInnerGetNameAttributeType `json:"name"` + Name UpdateAlertgroupsRequestInnerGetNameAttributeType `json:"name" required:"true"` // rules for the alert group // REQUIRED - Rules UpdateAlertgroupsRequestInnerGetRulesAttributeType `json:"rules"` + Rules UpdateAlertgroupsRequestInnerGetRulesAttributeType `json:"rules" required:"true"` } type _UpdateAlertgroupsRequestInner UpdateAlertgroupsRequestInner diff --git a/services/observability/model_update_alertgroups_request_inner_rules_inner.go b/services/observability/model_update_alertgroups_request_inner_rules_inner.go index 65ea777ba..9cafaff38 100644 --- a/services/observability/model_update_alertgroups_request_inner_rules_inner.go +++ b/services/observability/model_update_alertgroups_request_inner_rules_inner.go @@ -124,12 +124,12 @@ func setUpdateAlertgroupsRequestInnerRulesInnerGetLabelsAttributeType(arg *Updat type UpdateAlertgroupsRequestInnerRulesInner struct { // The name of the alert. `Additional Validators:` * is the identifier and so unique in the group * should only include the characters: a-zA-Z0-9- // REQUIRED - Alert UpdateAlertgroupsRequestInnerRulesInnerGetAlertAttributeType `json:"alert"` + Alert UpdateAlertgroupsRequestInnerRulesInnerGetAlertAttributeType `json:"alert" required:"true"` // map of key:value. Annotations to add to each alert. `Additional Validators:` * should not contain more than 5 keys * each key and value should not be longer than 200 characters Annotations UpdateAlertgroupsRequestInnerRulesInnerGetAnnotationsAttributeType `json:"annotations,omitempty"` // The PromQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts. // REQUIRED - Expr UpdateAlertgroupsRequestInnerRulesInnerGetExprAttributeType `json:"expr"` + Expr UpdateAlertgroupsRequestInnerRulesInnerGetExprAttributeType `json:"expr" required:"true"` // Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. `Additional Validators:` * must be a valid time string For UpdateAlertgroupsRequestInnerRulesInnerGetForAttributeType `json:"for,omitempty"` // map of key:value. Labels to add or overwrite for each alert. `Additional Validators:` * should not contain more than 10 keys * each key and value should not be longer than 200 characters diff --git a/services/observability/model_update_grafana_configs_payload_generic_oauth.go b/services/observability/model_update_grafana_configs_payload_generic_oauth.go index 3bd8fe661..c38dddc28 100644 --- a/services/observability/model_update_grafana_configs_payload_generic_oauth.go +++ b/services/observability/model_update_grafana_configs_payload_generic_oauth.go @@ -249,31 +249,31 @@ func setUpdateGrafanaConfigsPayloadGenericOauthgetUsePkceAttributeType(arg *Upda type UpdateGrafanaConfigsPayloadGenericOauth struct { // Set api_url to the resource that returns OpenID UserInfo compatible information. // REQUIRED - ApiUrl UpdateGrafanaConfigsPayloadGenericOauthGetApiUrlAttributeType `json:"apiUrl"` + ApiUrl UpdateGrafanaConfigsPayloadGenericOauthGetApiUrlAttributeType `json:"apiUrl" required:"true"` // Authentication endpoint of idp. // REQUIRED - AuthUrl UpdateGrafanaConfigsPayloadGenericOauthGetAuthUrlAttributeType `json:"authUrl"` + AuthUrl UpdateGrafanaConfigsPayloadGenericOauthGetAuthUrlAttributeType `json:"authUrl" required:"true"` // enable or disable generic oauth login // REQUIRED - Enabled UpdateGrafanaConfigsPayloadGenericOauthgetEnabledAttributeType `json:"enabled"` + Enabled UpdateGrafanaConfigsPayloadGenericOauthgetEnabledAttributeType `json:"enabled" required:"true"` // Display name for the oAuth provider Name UpdateGrafanaConfigsPayloadGenericOauthGetNameAttributeType `json:"name,omitempty"` // Oauth client id for auth endpoint. // REQUIRED - OauthClientId UpdateGrafanaConfigsPayloadGenericOauthGetOauthClientIdAttributeType `json:"oauthClientId"` + OauthClientId UpdateGrafanaConfigsPayloadGenericOauthGetOauthClientIdAttributeType `json:"oauthClientId" required:"true"` // Oauth client secret for auth endpoint. // REQUIRED - OauthClientSecret UpdateGrafanaConfigsPayloadGenericOauthGetOauthClientSecretAttributeType `json:"oauthClientSecret"` + OauthClientSecret UpdateGrafanaConfigsPayloadGenericOauthGetOauthClientSecretAttributeType `json:"oauthClientSecret" required:"true"` // Grafana checks for the presence of a role using the JMESPath specified via the role_attribute_path configuration option. The JMESPath is applied to the id_token first. If there is no match, then the UserInfo endpoint specified via the api_url configuration option is tried next. The result after evaluation of the role_attribute_path JMESPath expression should be a valid Grafana role, for example, Viewer, Editor or Admin For example: contains(roles[\\*], 'grafana-admin') && 'Admin' || contains(roles[\\*], 'grafana-editor') && 'Editor' || contains(roles[\\*], 'grafana-viewer') && 'Viewer' // REQUIRED - RoleAttributePath UpdateGrafanaConfigsPayloadGenericOauthGetRoleAttributePathAttributeType `json:"roleAttributePath"` + RoleAttributePath UpdateGrafanaConfigsPayloadGenericOauthGetRoleAttributePathAttributeType `json:"roleAttributePath" required:"true"` // If therole_attribute_path property does not return a role, then the user is assigned the Viewer role by default. You can disable the role assignment by setting role_attribute_strict = true. It denies user access if no role or an invalid role is returned. RoleAttributeStrict UpdateGrafanaConfigsPayloadGenericOauthgetRoleAttributeStrictAttributeType `json:"roleAttributeStrict,omitempty"` // Space seperated list of scopes of the token Scopes UpdateGrafanaConfigsPayloadGenericOauthGetScopesAttributeType `json:"scopes,omitempty"` // Token endpoint of the idp. // REQUIRED - TokenUrl UpdateGrafanaConfigsPayloadGenericOauthGetTokenUrlAttributeType `json:"tokenUrl"` + TokenUrl UpdateGrafanaConfigsPayloadGenericOauthGetTokenUrlAttributeType `json:"tokenUrl" required:"true"` // enable or disable Proof Key for Code Exchange UsePkce UpdateGrafanaConfigsPayloadGenericOauthgetUsePkceAttributeType `json:"usePkce,omitempty"` } diff --git a/services/observability/model_update_instance_payload.go b/services/observability/model_update_instance_payload.go index 25f5d9654..8240ff119 100644 --- a/services/observability/model_update_instance_payload.go +++ b/services/observability/model_update_instance_payload.go @@ -87,7 +87,7 @@ type UpdateInstancePayload struct { Parameter UpdateInstancePayloadGetParameterAttributeType `json:"parameter,omitempty"` // uuid of the plan to create/update // REQUIRED - PlanId UpdateInstancePayloadGetPlanIdAttributeType `json:"planId"` + PlanId UpdateInstancePayloadGetPlanIdAttributeType `json:"planId" required:"true"` } type _UpdateInstancePayload UpdateInstancePayload diff --git a/services/observability/model_update_logs_alertgroup_payload.go b/services/observability/model_update_logs_alertgroup_payload.go index e45c33005..d8026d57f 100644 --- a/services/observability/model_update_logs_alertgroup_payload.go +++ b/services/observability/model_update_logs_alertgroup_payload.go @@ -64,7 +64,7 @@ type UpdateLogsAlertgroupPayload struct { Interval UpdateLogsAlertgroupPayloadGetIntervalAttributeType `json:"interval,omitempty"` // rules for the alert group // REQUIRED - Rules UpdateLogsAlertgroupPayloadGetRulesAttributeType `json:"rules"` + Rules UpdateLogsAlertgroupPayloadGetRulesAttributeType `json:"rules" required:"true"` } type _UpdateLogsAlertgroupPayload UpdateLogsAlertgroupPayload diff --git a/services/observability/model_update_metrics_storage_retention_payload.go b/services/observability/model_update_metrics_storage_retention_payload.go index ccb486f43..50b63fbd0 100644 --- a/services/observability/model_update_metrics_storage_retention_payload.go +++ b/services/observability/model_update_metrics_storage_retention_payload.go @@ -84,13 +84,13 @@ type UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTimeRawRetType = str type UpdateMetricsStorageRetentionPayload struct { // Retention time of longtime storage of 1h sampled data. After that time the data will be deleted permanently. `Additional Validators:` * Should be a valid time string * Should not be bigger than metricsRetentionTime5m // REQUIRED - MetricsRetentionTime1h UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h"` + MetricsRetentionTime1h UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTime1hAttributeType `json:"metricsRetentionTime1h" required:"true"` // Retention time of longtime storage of 5m sampled data. After that time the data will be down sampled to 1h. `Additional Validators:` * Should be a valid time string * Should not be bigger than metricsRetentionTimeRaw // REQUIRED - MetricsRetentionTime5m UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m"` + MetricsRetentionTime5m UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTime5mAttributeType `json:"metricsRetentionTime5m" required:"true"` // Retention time of longtime storage of raw sampled data. After that time the data will be down sampled to 5m. Keep in mind, that the initial goal of downsampling is not saving disk or object storage space. In fact, downsampling doesn't save you any space but instead, it adds 2 more blocks for each raw block which are only slightly smaller or relatively similar size to raw block. This is done by internal downsampling implementation which to be mathematically correct holds various aggregations. This means that downsampling can increase the size of your storage a bit (~3x), if you choose to store all resolutions (recommended). The goal of downsampling is to provide an opportunity to get fast results for range queries of big time intervals like months or years. `Additional Validators:` * Should be a valid time string * Should not be bigger than 13 months // REQUIRED - MetricsRetentionTimeRaw UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw"` + MetricsRetentionTimeRaw UpdateMetricsStorageRetentionPayloadGetMetricsRetentionTimeRawAttributeType `json:"metricsRetentionTimeRaw" required:"true"` } type _UpdateMetricsStorageRetentionPayload UpdateMetricsStorageRetentionPayload diff --git a/services/observability/model_update_scrape_config_payload.go b/services/observability/model_update_scrape_config_payload.go index 588df1543..415637ed1 100644 --- a/services/observability/model_update_scrape_config_payload.go +++ b/services/observability/model_update_scrape_config_payload.go @@ -397,7 +397,7 @@ type UpdateScrapeConfigPayload struct { HonorTimeStamps UpdateScrapeConfigPayloadgetHonorTimeStampsAttributeType `json:"honorTimeStamps,omitempty"` // The HTTP resource path on which to fetch metrics from targets. E.g. /metrics // REQUIRED - MetricsPath UpdateScrapeConfigPayloadGetMetricsPathAttributeType `json:"metricsPath"` + MetricsPath UpdateScrapeConfigPayloadGetMetricsPathAttributeType `json:"metricsPath" required:"true"` // List of metric relabel configurations MetricsRelabelConfigs UpdateScrapeConfigPayloadGetMetricsRelabelConfigsAttributeType `json:"metricsRelabelConfigs,omitempty"` // Optional http params `Additional Validators:` * should not contain more than 5 keys * each key and value should not have more than 200 characters @@ -406,16 +406,16 @@ type UpdateScrapeConfigPayload struct { SampleLimit UpdateScrapeConfigPayloadGetSampleLimitAttributeType `json:"sampleLimit,omitempty"` // Configures the protocol scheme used for requests. https or http // REQUIRED - Scheme UpdateScrapeConfigPayloadGetSchemeAttributeType `json:"scheme"` + Scheme UpdateScrapeConfigPayloadGetSchemeAttributeType `json:"scheme" required:"true"` // How frequently to scrape targets from this job. E.g. 5m `Additional Validators:` * must be a valid time format* must be >= 60s // REQUIRED - ScrapeInterval UpdateScrapeConfigPayloadGetScrapeIntervalAttributeType `json:"scrapeInterval"` + ScrapeInterval UpdateScrapeConfigPayloadGetScrapeIntervalAttributeType `json:"scrapeInterval" required:"true"` // Per-scrape timeout when scraping this job. `Additional Validators:` * must be a valid time format* must be smaller than scrapeInterval // REQUIRED - ScrapeTimeout UpdateScrapeConfigPayloadGetScrapeTimeoutAttributeType `json:"scrapeTimeout"` + ScrapeTimeout UpdateScrapeConfigPayloadGetScrapeTimeoutAttributeType `json:"scrapeTimeout" required:"true"` // A list of scrape configurations. // REQUIRED - StaticConfigs UpdateScrapeConfigPayloadGetStaticConfigsAttributeType `json:"staticConfigs"` + StaticConfigs UpdateScrapeConfigPayloadGetStaticConfigsAttributeType `json:"staticConfigs" required:"true"` TlsConfig UpdateScrapeConfigPayloadGetTlsConfigAttributeType `json:"tlsConfig,omitempty"` } diff --git a/services/observability/model_update_scrape_config_payload_static_configs_inner.go b/services/observability/model_update_scrape_config_payload_static_configs_inner.go index 7ea3d679d..ffbfeea40 100644 --- a/services/observability/model_update_scrape_config_payload_static_configs_inner.go +++ b/services/observability/model_update_scrape_config_payload_static_configs_inner.go @@ -63,7 +63,7 @@ type UpdateScrapeConfigPayloadStaticConfigsInner struct { Labels UpdateScrapeConfigPayloadStaticConfigsInnerGetLabelsAttributeType `json:"labels,omitempty"` // The targets specified by the static config. // REQUIRED - Targets UpdateScrapeConfigPayloadStaticConfigsInnerGetTargetsAttributeType `json:"targets"` + Targets UpdateScrapeConfigPayloadStaticConfigsInnerGetTargetsAttributeType `json:"targets" required:"true"` } type _UpdateScrapeConfigPayloadStaticConfigsInner UpdateScrapeConfigPayloadStaticConfigsInner diff --git a/services/observability/model_web_hook.go b/services/observability/model_web_hook.go index b1d7b67c3..a8c4c5d13 100644 --- a/services/observability/model_web_hook.go +++ b/services/observability/model_web_hook.go @@ -83,7 +83,7 @@ type WebHook struct { MsTeams WebHookgetMsTeamsAttributeType `json:"msTeams,omitempty"` SendResolved WebHookgetSendResolvedAttributeType `json:"sendResolved,omitempty"` // REQUIRED - Url WebHookGetUrlAttributeType `json:"url"` + Url WebHookGetUrlAttributeType `json:"url" required:"true"` } type _WebHook WebHook