diff --git a/.generated-info b/.generated-info index 6bc2a4eb83..af976ed46c 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "b75095c", - "generated": "2025-07-31 10:46:07.850" + "spec_repo_commit": "356ca3c", + "generated": "2025-07-31 15:20:00.493" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b125b71c69..9e86624abd 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2015,14 +2015,56 @@ components: description: The definition of `ActionConnectionIntegration` object. oneOf: - $ref: '#/components/schemas/AWSIntegration' + - $ref: '#/components/schemas/AnthropicIntegration' + - $ref: '#/components/schemas/AsanaIntegration' + - $ref: '#/components/schemas/AzureIntegration' + - $ref: '#/components/schemas/CircleCIIntegration' + - $ref: '#/components/schemas/ClickupIntegration' + - $ref: '#/components/schemas/CloudflareIntegration' + - $ref: '#/components/schemas/ConfigCatIntegration' - $ref: '#/components/schemas/DatadogIntegration' + - $ref: '#/components/schemas/FastlyIntegration' + - $ref: '#/components/schemas/FreshserviceIntegration' + - $ref: '#/components/schemas/GCPIntegration' + - $ref: '#/components/schemas/GeminiIntegration' + - $ref: '#/components/schemas/GitlabIntegration' + - $ref: '#/components/schemas/GreyNoiseIntegration' - $ref: '#/components/schemas/HTTPIntegration' + - $ref: '#/components/schemas/LaunchDarklyIntegration' + - $ref: '#/components/schemas/NotionIntegration' + - $ref: '#/components/schemas/OktaIntegration' + - $ref: '#/components/schemas/OpenAIIntegration' + - $ref: '#/components/schemas/ServiceNowIntegration' + - $ref: '#/components/schemas/SplitIntegration' + - $ref: '#/components/schemas/StatsigIntegration' + - $ref: '#/components/schemas/VirusTotalIntegration' ActionConnectionIntegrationUpdate: description: The definition of `ActionConnectionIntegrationUpdate` object. oneOf: - $ref: '#/components/schemas/AWSIntegrationUpdate' + - $ref: '#/components/schemas/AnthropicIntegrationUpdate' + - $ref: '#/components/schemas/AsanaIntegrationUpdate' + - $ref: '#/components/schemas/AzureIntegrationUpdate' + - $ref: '#/components/schemas/CircleCIIntegrationUpdate' + - $ref: '#/components/schemas/ClickupIntegrationUpdate' + - $ref: '#/components/schemas/CloudflareIntegrationUpdate' + - $ref: '#/components/schemas/ConfigCatIntegrationUpdate' - $ref: '#/components/schemas/DatadogIntegrationUpdate' + - $ref: '#/components/schemas/FastlyIntegrationUpdate' + - $ref: '#/components/schemas/FreshserviceIntegrationUpdate' + - $ref: '#/components/schemas/GCPIntegrationUpdate' + - $ref: '#/components/schemas/GeminiIntegrationUpdate' + - $ref: '#/components/schemas/GitlabIntegrationUpdate' + - $ref: '#/components/schemas/GreyNoiseIntegrationUpdate' - $ref: '#/components/schemas/HTTPIntegrationUpdate' + - $ref: '#/components/schemas/LaunchDarklyIntegrationUpdate' + - $ref: '#/components/schemas/NotionIntegrationUpdate' + - $ref: '#/components/schemas/OktaIntegrationUpdate' + - $ref: '#/components/schemas/OpenAIIntegrationUpdate' + - $ref: '#/components/schemas/ServiceNowIntegrationUpdate' + - $ref: '#/components/schemas/SplitIntegrationUpdate' + - $ref: '#/components/schemas/StatsigIntegrationUpdate' + - $ref: '#/components/schemas/VirusTotalIntegrationUpdate' ActionQuery: description: An action query. This query type is used to trigger an action, such as sending a HTTP request. @@ -2515,6 +2557,75 @@ components: description: The `markdownTextAnnotation` `text`. type: string type: object + AnthropicAPIKey: + description: The definition of the `AnthropicAPIKey` object. + properties: + api_token: + description: The `AnthropicAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/AnthropicAPIKeyType' + required: + - type + - api_token + type: object + AnthropicAPIKeyType: + description: The definition of the `AnthropicAPIKey` object. + enum: + - AnthropicAPIKey + example: AnthropicAPIKey + type: string + x-enum-varnames: + - ANTHROPICAPIKEY + AnthropicAPIKeyUpdate: + description: The definition of the `AnthropicAPIKey` object. + properties: + api_token: + description: The `AnthropicAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/AnthropicAPIKeyType' + required: + - type + type: object + AnthropicCredentials: + description: The definition of the `AnthropicCredentials` object. + oneOf: + - $ref: '#/components/schemas/AnthropicAPIKey' + AnthropicCredentialsUpdate: + description: The definition of the `AnthropicCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/AnthropicAPIKeyUpdate' + AnthropicIntegration: + description: The definition of the `AnthropicIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/AnthropicCredentials' + type: + $ref: '#/components/schemas/AnthropicIntegrationType' + required: + - type + - credentials + type: object + AnthropicIntegrationType: + description: The definition of the `AnthropicIntegrationType` object. + enum: + - Anthropic + example: Anthropic + type: string + x-enum-varnames: + - ANTHROPIC + AnthropicIntegrationUpdate: + description: The definition of the `AnthropicIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/AnthropicCredentialsUpdate' + type: + $ref: '#/components/schemas/AnthropicIntegrationType' + required: + - type + type: object ApiID: description: API identifier. example: 90646597-5fdb-4a17-a240-647003f8c028 @@ -3627,6 +3738,75 @@ components: - CREATED_AT_DESC - UPDATED_AT_DESC - USER_NAME_DESC + AsanaAccessToken: + description: The definition of the `AsanaAccessToken` object. + properties: + access_token: + description: The `AsanaAccessToken` `access_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/AsanaAccessTokenType' + required: + - type + - access_token + type: object + AsanaAccessTokenType: + description: The definition of the `AsanaAccessToken` object. + enum: + - AsanaAccessToken + example: AsanaAccessToken + type: string + x-enum-varnames: + - ASANAACCESSTOKEN + AsanaAccessTokenUpdate: + description: The definition of the `AsanaAccessToken` object. + properties: + access_token: + description: The `AsanaAccessTokenUpdate` `access_token`. + type: string + type: + $ref: '#/components/schemas/AsanaAccessTokenType' + required: + - type + type: object + AsanaCredentials: + description: The definition of the `AsanaCredentials` object. + oneOf: + - $ref: '#/components/schemas/AsanaAccessToken' + AsanaCredentialsUpdate: + description: The definition of the `AsanaCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/AsanaAccessTokenUpdate' + AsanaIntegration: + description: The definition of the `AsanaIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/AsanaCredentials' + type: + $ref: '#/components/schemas/AsanaIntegrationType' + required: + - type + - credentials + type: object + AsanaIntegrationType: + description: The definition of the `AsanaIntegrationType` object. + enum: + - Asana + example: Asana + type: string + x-enum-varnames: + - ASANA + AsanaIntegrationUpdate: + description: The definition of the `AsanaIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/AsanaCredentialsUpdate' + type: + $ref: '#/components/schemas/AsanaIntegrationType' + required: + - type + type: object Asset: description: A single vulnerable asset properties: @@ -4720,6 +4900,43 @@ components: required: - data type: object + AzureCredentials: + description: The definition of the `AzureCredentials` object. + oneOf: + - $ref: '#/components/schemas/AzureTenant' + AzureCredentialsUpdate: + description: The definition of the `AzureCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/AzureTenantUpdate' + AzureIntegration: + description: The definition of the `AzureIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/AzureCredentials' + type: + $ref: '#/components/schemas/AzureIntegrationType' + required: + - type + - credentials + type: object + AzureIntegrationType: + description: The definition of the `AzureIntegrationType` object. + enum: + - Azure + example: Azure + type: string + x-enum-varnames: + - AZURE + AzureIntegrationUpdate: + description: The definition of the `AzureIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/AzureCredentialsUpdate' + type: + $ref: '#/components/schemas/AzureIntegrationType' + required: + - type + type: object AzureStorageDestination: description: The `azure_storage` destination forwards logs to an Azure Blob Storage container. @@ -4762,6 +4979,88 @@ components: type: string x-enum-varnames: - AZURE_STORAGE + AzureTenant: + description: The definition of the `AzureTenant` object. + properties: + app_client_id: + description: 'The Client ID, also known as the Application ID in Azure, + is a unique identifier for an application. It''s used to identify the + application during the authentication process. Your Application (client) + ID is listed in the application''s overview page. You can navigate to + your application via the Azure Directory. ' + example: '' + type: string + client_secret: + description: "The Client Secret is a confidential piece of information known + only to the application and Azure AD. It's used to prove the application's + identity. Your Client Secret is available from the application\u2019s + secrets page. You can navigate to your application via the Azure Directory." + example: '' + type: string + custom_scopes: + description: If provided, the custom scope to be requested from Microsoft + when acquiring an OAuth 2 access token. This custom scope is used only + in conjunction with the HTTP action. A resource's scope is constructed + by using the identifier URI for the resource and .default, separated by + a forward slash (/) as follows:{identifierURI}/.default. + type: string + tenant_id: + description: The Tenant ID, also known as the Directory ID in Azure, is + a unique identifier that represents an Azure AD instance. Your Tenant + ID (Directory ID) is listed in your Active Directory overview page under + the 'Tenant information' section. + example: '' + type: string + type: + $ref: '#/components/schemas/AzureTenantType' + required: + - type + - tenant_id + - app_client_id + - client_secret + type: object + AzureTenantType: + description: The definition of the `AzureTenant` object. + enum: + - AzureTenant + example: AzureTenant + type: string + x-enum-varnames: + - AZURETENANT + AzureTenantUpdate: + description: The definition of the `AzureTenant` object. + properties: + app_client_id: + description: 'The Client ID, also known as the Application ID in Azure, + is a unique identifier for an application. It''s used to identify the + application during the authentication process. Your Application (client) + ID is listed in the application''s overview page. You can navigate to + your application via the Azure Directory. ' + type: string + client_secret: + description: "The Client Secret is a confidential piece of information known + only to the application and Azure AD. It's used to prove the application's + identity. Your Client Secret is available from the application\u2019s + secrets page. You can navigate to your application via the Azure Directory." + type: string + custom_scopes: + description: If provided, the custom scope to be requested from Microsoft + when acquiring an OAuth 2 access token. This custom scope is used only + in conjunction with the HTTP action. A resource's scope is constructed + by using the identifier URI for the resource and .default, separated by + a forward slash (/) as follows:{identifierURI}/.default. + type: string + tenant_id: + description: The Tenant ID, also known as the Directory ID in Azure, is + a unique identifier that represents an Azure AD instance. Your Tenant + ID (Directory ID) is listed in your Active Directory overview page under + the 'Tenant information' section. + type: string + type: + $ref: '#/components/schemas/AzureTenantType' + required: + - type + type: object AzureUCConfig: description: Azure config. properties: @@ -7498,6 +7797,144 @@ components: example: infra_host type: string type: object + CircleCIAPIKey: + description: The definition of the `CircleCIAPIKey` object. + properties: + api_token: + description: The `CircleCIAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/CircleCIAPIKeyType' + required: + - type + - api_token + type: object + CircleCIAPIKeyType: + description: The definition of the `CircleCIAPIKey` object. + enum: + - CircleCIAPIKey + example: CircleCIAPIKey + type: string + x-enum-varnames: + - CIRCLECIAPIKEY + CircleCIAPIKeyUpdate: + description: The definition of the `CircleCIAPIKey` object. + properties: + api_token: + description: The `CircleCIAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/CircleCIAPIKeyType' + required: + - type + type: object + CircleCICredentials: + description: The definition of the `CircleCICredentials` object. + oneOf: + - $ref: '#/components/schemas/CircleCIAPIKey' + CircleCICredentialsUpdate: + description: The definition of the `CircleCICredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/CircleCIAPIKeyUpdate' + CircleCIIntegration: + description: The definition of the `CircleCIIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/CircleCICredentials' + type: + $ref: '#/components/schemas/CircleCIIntegrationType' + required: + - type + - credentials + type: object + CircleCIIntegrationType: + description: The definition of the `CircleCIIntegrationType` object. + enum: + - CircleCI + example: CircleCI + type: string + x-enum-varnames: + - CIRCLECI + CircleCIIntegrationUpdate: + description: The definition of the `CircleCIIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/CircleCICredentialsUpdate' + type: + $ref: '#/components/schemas/CircleCIIntegrationType' + required: + - type + type: object + ClickupAPIKey: + description: The definition of the `ClickupAPIKey` object. + properties: + api_token: + description: The `ClickupAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/ClickupAPIKeyType' + required: + - type + - api_token + type: object + ClickupAPIKeyType: + description: The definition of the `ClickupAPIKey` object. + enum: + - ClickupAPIKey + example: ClickupAPIKey + type: string + x-enum-varnames: + - CLICKUPAPIKEY + ClickupAPIKeyUpdate: + description: The definition of the `ClickupAPIKey` object. + properties: + api_token: + description: The `ClickupAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/ClickupAPIKeyType' + required: + - type + type: object + ClickupCredentials: + description: The definition of the `ClickupCredentials` object. + oneOf: + - $ref: '#/components/schemas/ClickupAPIKey' + ClickupCredentialsUpdate: + description: The definition of the `ClickupCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/ClickupAPIKeyUpdate' + ClickupIntegration: + description: The definition of the `ClickupIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/ClickupCredentials' + type: + $ref: '#/components/schemas/ClickupIntegrationType' + required: + - type + - credentials + type: object + ClickupIntegrationType: + description: The definition of the `ClickupIntegrationType` object. + enum: + - Clickup + example: Clickup + type: string + x-enum-varnames: + - CLICKUP + ClickupIntegrationUpdate: + description: The definition of the `ClickupIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/ClickupCredentialsUpdate' + type: + $ref: '#/components/schemas/ClickupIntegrationType' + required: + - type + type: object CloudConfigurationComplianceRuleOptions: additionalProperties: {} description: 'Options for cloud_configuration rules. @@ -8337,6 +8774,38 @@ components: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleData' type: array type: object + CloudflareAPIToken: + description: The definition of the `CloudflareAPIToken` object. + properties: + api_token: + description: The `CloudflareAPIToken` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/CloudflareAPITokenType' + required: + - type + - api_token + type: object + CloudflareAPITokenType: + description: The definition of the `CloudflareAPIToken` object. + enum: + - CloudflareAPIToken + example: CloudflareAPIToken + type: string + x-enum-varnames: + - CLOUDFLAREAPITOKEN + CloudflareAPITokenUpdate: + description: The definition of the `CloudflareAPIToken` object. + properties: + api_token: + description: The `CloudflareAPITokenUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/CloudflareAPITokenType' + required: + - type + type: object CloudflareAccountCreateRequest: description: Payload schema when adding a Cloudflare account. properties: @@ -8521,6 +8990,85 @@ components: $ref: '#/components/schemas/CloudflareAccountResponseData' type: array type: object + CloudflareCredentials: + description: The definition of the `CloudflareCredentials` object. + oneOf: + - $ref: '#/components/schemas/CloudflareAPIToken' + - $ref: '#/components/schemas/CloudflareGlobalAPIToken' + CloudflareCredentialsUpdate: + description: The definition of the `CloudflareCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/CloudflareAPITokenUpdate' + - $ref: '#/components/schemas/CloudflareGlobalAPITokenUpdate' + CloudflareGlobalAPIToken: + description: The definition of the `CloudflareGlobalAPIToken` object. + properties: + auth_email: + description: The `CloudflareGlobalAPIToken` `auth_email`. + example: '' + type: string + global_api_key: + description: The `CloudflareGlobalAPIToken` `global_api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/CloudflareGlobalAPITokenType' + required: + - type + - auth_email + - global_api_key + type: object + CloudflareGlobalAPITokenType: + description: The definition of the `CloudflareGlobalAPIToken` object. + enum: + - CloudflareGlobalAPIToken + example: CloudflareGlobalAPIToken + type: string + x-enum-varnames: + - CLOUDFLAREGLOBALAPITOKEN + CloudflareGlobalAPITokenUpdate: + description: The definition of the `CloudflareGlobalAPIToken` object. + properties: + auth_email: + description: The `CloudflareGlobalAPITokenUpdate` `auth_email`. + type: string + global_api_key: + description: The `CloudflareGlobalAPITokenUpdate` `global_api_key`. + type: string + type: + $ref: '#/components/schemas/CloudflareGlobalAPITokenType' + required: + - type + type: object + CloudflareIntegration: + description: The definition of the `CloudflareIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/CloudflareCredentials' + type: + $ref: '#/components/schemas/CloudflareIntegrationType' + required: + - type + - credentials + type: object + CloudflareIntegrationType: + description: The definition of the `CloudflareIntegrationType` object. + enum: + - Cloudflare + example: Cloudflare + type: string + x-enum-varnames: + - CLOUDFLARE + CloudflareIntegrationUpdate: + description: The definition of the `CloudflareIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/CloudflareCredentialsUpdate' + type: + $ref: '#/components/schemas/CloudflareIntegrationType' + required: + - type + type: object CodeLocation: description: Code vulnerability location. properties: @@ -8747,6 +9295,91 @@ components: - SEARCH - CONTAINER - CALLOUTVALUE + ConfigCatCredentials: + description: The definition of the `ConfigCatCredentials` object. + oneOf: + - $ref: '#/components/schemas/ConfigCatSDKKey' + ConfigCatCredentialsUpdate: + description: The definition of the `ConfigCatCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/ConfigCatSDKKeyUpdate' + ConfigCatIntegration: + description: The definition of the `ConfigCatIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/ConfigCatCredentials' + type: + $ref: '#/components/schemas/ConfigCatIntegrationType' + required: + - type + - credentials + type: object + ConfigCatIntegrationType: + description: The definition of the `ConfigCatIntegrationType` object. + enum: + - ConfigCat + example: ConfigCat + type: string + x-enum-varnames: + - CONFIGCAT + ConfigCatIntegrationUpdate: + description: The definition of the `ConfigCatIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/ConfigCatCredentialsUpdate' + type: + $ref: '#/components/schemas/ConfigCatIntegrationType' + required: + - type + type: object + ConfigCatSDKKey: + description: The definition of the `ConfigCatSDKKey` object. + properties: + api_password: + description: The `ConfigCatSDKKey` `api_password`. + example: '' + type: string + api_username: + description: The `ConfigCatSDKKey` `api_username`. + example: '' + type: string + sdk_key: + description: The `ConfigCatSDKKey` `sdk_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/ConfigCatSDKKeyType' + required: + - type + - sdk_key + - api_username + - api_password + type: object + ConfigCatSDKKeyType: + description: The definition of the `ConfigCatSDKKey` object. + enum: + - ConfigCatSDKKey + example: ConfigCatSDKKey + type: string + x-enum-varnames: + - CONFIGCATSDKKEY + ConfigCatSDKKeyUpdate: + description: The definition of the `ConfigCatSDKKey` object. + properties: + api_password: + description: The `ConfigCatSDKKeyUpdate` `api_password`. + type: string + api_username: + description: The `ConfigCatSDKKeyUpdate` `api_username`. + type: string + sdk_key: + description: The `ConfigCatSDKKeyUpdate` `sdk_key`. + type: string + type: + $ref: '#/components/schemas/ConfigCatSDKKeyType' + required: + - type + type: object ConfluentAccountCreateRequest: description: Payload schema when adding a Confluent account. properties: @@ -15913,6 +16546,38 @@ components: from the other indexes. type: string type: object + FastlyAPIKey: + description: The definition of the `FastlyAPIKey` object. + properties: + api_key: + description: The `FastlyAPIKey` `api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/FastlyAPIKeyType' + required: + - type + - api_key + type: object + FastlyAPIKeyType: + description: The definition of the `FastlyAPIKey` object. + enum: + - FastlyAPIKey + example: FastlyAPIKey + type: string + x-enum-varnames: + - FASTLYAPIKEY + FastlyAPIKeyUpdate: + description: The definition of the `FastlyAPIKey` object. + properties: + api_key: + description: The `FastlyAPIKeyUpdate` `api_key`. + type: string + type: + $ref: '#/components/schemas/FastlyAPIKeyType' + required: + - type + type: object FastlyAccounResponseAttributes: description: Attributes object of a Fastly account. properties: @@ -16034,6 +16699,43 @@ components: $ref: '#/components/schemas/FastlyAccountResponseData' type: array type: object + FastlyCredentials: + description: The definition of the `FastlyCredentials` object. + oneOf: + - $ref: '#/components/schemas/FastlyAPIKey' + FastlyCredentialsUpdate: + description: The definition of the `FastlyCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/FastlyAPIKeyUpdate' + FastlyIntegration: + description: The definition of the `FastlyIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/FastlyCredentials' + type: + $ref: '#/components/schemas/FastlyIntegrationType' + required: + - type + - credentials + type: object + FastlyIntegrationType: + description: The definition of the `FastlyIntegrationType` object. + enum: + - Fastly + example: Fastly + type: string + x-enum-varnames: + - FASTLY + FastlyIntegrationUpdate: + description: The definition of the `FastlyIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/FastlyCredentialsUpdate' + type: + $ref: '#/components/schemas/FastlyIntegrationType' + required: + - type + type: object FastlyService: description: The schema representation of a Fastly service. properties: @@ -16379,6 +17081,83 @@ components: - type - attributes type: object + FreshserviceAPIKey: + description: The definition of the `FreshserviceAPIKey` object. + properties: + api_key: + description: The `FreshserviceAPIKey` `api_key`. + example: '' + type: string + domain: + description: The `FreshserviceAPIKey` `domain`. + example: '' + type: string + type: + $ref: '#/components/schemas/FreshserviceAPIKeyType' + required: + - type + - domain + - api_key + type: object + FreshserviceAPIKeyType: + description: The definition of the `FreshserviceAPIKey` object. + enum: + - FreshserviceAPIKey + example: FreshserviceAPIKey + type: string + x-enum-varnames: + - FRESHSERVICEAPIKEY + FreshserviceAPIKeyUpdate: + description: The definition of the `FreshserviceAPIKey` object. + properties: + api_key: + description: The `FreshserviceAPIKeyUpdate` `api_key`. + type: string + domain: + description: The `FreshserviceAPIKeyUpdate` `domain`. + type: string + type: + $ref: '#/components/schemas/FreshserviceAPIKeyType' + required: + - type + type: object + FreshserviceCredentials: + description: The definition of the `FreshserviceCredentials` object. + oneOf: + - $ref: '#/components/schemas/FreshserviceAPIKey' + FreshserviceCredentialsUpdate: + description: The definition of the `FreshserviceCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/FreshserviceAPIKeyUpdate' + FreshserviceIntegration: + description: The definition of the `FreshserviceIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/FreshserviceCredentials' + type: + $ref: '#/components/schemas/FreshserviceIntegrationType' + required: + - type + - credentials + type: object + FreshserviceIntegrationType: + description: The definition of the `FreshserviceIntegrationType` object. + enum: + - Freshservice + example: Freshservice + type: string + x-enum-varnames: + - FRESHSERVICE + FreshserviceIntegrationUpdate: + description: The definition of the `FreshserviceIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/FreshserviceCredentialsUpdate' + type: + $ref: '#/components/schemas/FreshserviceIntegrationType' + required: + - type + type: object FullAPIKey: description: Datadog API key. properties: @@ -16524,6 +17303,43 @@ components: - name - requirements type: object + GCPCredentials: + description: The definition of the `GCPCredentials` object. + oneOf: + - $ref: '#/components/schemas/GCPServiceAccount' + GCPCredentialsUpdate: + description: The definition of the `GCPCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/GCPServiceAccountUpdate' + GCPIntegration: + description: The definition of the `GCPIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/GCPCredentials' + type: + $ref: '#/components/schemas/GCPIntegrationType' + required: + - type + - credentials + type: object + GCPIntegrationType: + description: The definition of the `GCPIntegrationType` object. + enum: + - GCP + example: GCP + type: string + x-enum-varnames: + - GCP + GCPIntegrationUpdate: + description: The definition of the `GCPIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/GCPCredentialsUpdate' + type: + $ref: '#/components/schemas/GCPIntegrationType' + required: + - type + type: object GCPMetricNamespaceConfig: description: Configuration for a GCP metric namespace. properties: @@ -16706,6 +17522,32 @@ components: $ref: '#/components/schemas/GCPSTSServiceAccount' type: array type: object + GCPServiceAccount: + description: The definition of the `GCPServiceAccount` object. + properties: + private_key: + description: The `GCPServiceAccount` `private_key`. + example: '' + type: string + service_account_email: + description: The `GCPServiceAccount` `service_account_email`. + example: '' + type: string + type: + $ref: '#/components/schemas/GCPServiceAccountCredentialType' + required: + - type + - service_account_email + - private_key + type: object + GCPServiceAccountCredentialType: + description: The definition of the `GCPServiceAccount` object. + enum: + - GCPServiceAccount + example: GCPServiceAccount + type: string + x-enum-varnames: + - GCPSERVICEACCOUNT GCPServiceAccountMeta: description: Additional information related to your service account. properties: @@ -16725,6 +17567,20 @@ components: type: string x-enum-varnames: - GCP_SERVICE_ACCOUNT + GCPServiceAccountUpdate: + description: The definition of the `GCPServiceAccount` object. + properties: + private_key: + description: The `GCPServiceAccountUpdate` `private_key`. + type: string + service_account_email: + description: The `GCPServiceAccountUpdate` `service_account_email`. + type: string + type: + $ref: '#/components/schemas/GCPServiceAccountCredentialType' + required: + - type + type: object GCPUsageCostConfig: description: GCP Usage Cost config. properties: @@ -16931,6 +17787,75 @@ components: $ref: '#/components/schemas/GCPUsageCostConfig' type: array type: object + GeminiAPIKey: + description: The definition of the `GeminiAPIKey` object. + properties: + api_key: + description: The `GeminiAPIKey` `api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/GeminiAPIKeyType' + required: + - type + - api_key + type: object + GeminiAPIKeyType: + description: The definition of the `GeminiAPIKey` object. + enum: + - GeminiAPIKey + example: GeminiAPIKey + type: string + x-enum-varnames: + - GEMINIAPIKEY + GeminiAPIKeyUpdate: + description: The definition of the `GeminiAPIKey` object. + properties: + api_key: + description: The `GeminiAPIKeyUpdate` `api_key`. + type: string + type: + $ref: '#/components/schemas/GeminiAPIKeyType' + required: + - type + type: object + GeminiCredentials: + description: The definition of the `GeminiCredentials` object. + oneOf: + - $ref: '#/components/schemas/GeminiAPIKey' + GeminiCredentialsUpdate: + description: The definition of the `GeminiCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/GeminiAPIKeyUpdate' + GeminiIntegration: + description: The definition of the `GeminiIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/GeminiCredentials' + type: + $ref: '#/components/schemas/GeminiIntegrationType' + required: + - type + - credentials + type: object + GeminiIntegrationType: + description: The definition of the `GeminiIntegrationType` object. + enum: + - Gemini + example: Gemini + type: string + x-enum-varnames: + - GEMINI + GeminiIntegrationUpdate: + description: The definition of the `GeminiIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/GeminiCredentialsUpdate' + type: + $ref: '#/components/schemas/GeminiIntegrationType' + required: + - type + type: object GetActionConnectionResponse: description: The response for found connection properties: @@ -17272,6 +18197,144 @@ components: required: - githubWebhookTrigger type: object + GitlabAPIKey: + description: The definition of the `GitlabAPIKey` object. + properties: + api_token: + description: The `GitlabAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/GitlabAPIKeyType' + required: + - type + - api_token + type: object + GitlabAPIKeyType: + description: The definition of the `GitlabAPIKey` object. + enum: + - GitlabAPIKey + example: GitlabAPIKey + type: string + x-enum-varnames: + - GITLABAPIKEY + GitlabAPIKeyUpdate: + description: The definition of the `GitlabAPIKey` object. + properties: + api_token: + description: The `GitlabAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/GitlabAPIKeyType' + required: + - type + type: object + GitlabCredentials: + description: The definition of the `GitlabCredentials` object. + oneOf: + - $ref: '#/components/schemas/GitlabAPIKey' + GitlabCredentialsUpdate: + description: The definition of the `GitlabCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/GitlabAPIKeyUpdate' + GitlabIntegration: + description: The definition of the `GitlabIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/GitlabCredentials' + type: + $ref: '#/components/schemas/GitlabIntegrationType' + required: + - type + - credentials + type: object + GitlabIntegrationType: + description: The definition of the `GitlabIntegrationType` object. + enum: + - Gitlab + example: Gitlab + type: string + x-enum-varnames: + - GITLAB + GitlabIntegrationUpdate: + description: The definition of the `GitlabIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/GitlabCredentialsUpdate' + type: + $ref: '#/components/schemas/GitlabIntegrationType' + required: + - type + type: object + GreyNoiseAPIKey: + description: The definition of the `GreyNoiseAPIKey` object. + properties: + api_key: + description: The `GreyNoiseAPIKey` `api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/GreyNoiseAPIKeyType' + required: + - type + - api_key + type: object + GreyNoiseAPIKeyType: + description: The definition of the `GreyNoiseAPIKey` object. + enum: + - GreyNoiseAPIKey + example: GreyNoiseAPIKey + type: string + x-enum-varnames: + - GREYNOISEAPIKEY + GreyNoiseAPIKeyUpdate: + description: The definition of the `GreyNoiseAPIKey` object. + properties: + api_key: + description: The `GreyNoiseAPIKeyUpdate` `api_key`. + type: string + type: + $ref: '#/components/schemas/GreyNoiseAPIKeyType' + required: + - type + type: object + GreyNoiseCredentials: + description: The definition of the `GreyNoiseCredentials` object. + oneOf: + - $ref: '#/components/schemas/GreyNoiseAPIKey' + GreyNoiseCredentialsUpdate: + description: The definition of the `GreyNoiseCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/GreyNoiseAPIKeyUpdate' + GreyNoiseIntegration: + description: The definition of the `GreyNoiseIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/GreyNoiseCredentials' + type: + $ref: '#/components/schemas/GreyNoiseIntegrationType' + required: + - type + - credentials + type: object + GreyNoiseIntegrationType: + description: The definition of the `GreyNoiseIntegrationType` object. + enum: + - GreyNoise + example: GreyNoise + type: string + x-enum-varnames: + - GREYNOISE + GreyNoiseIntegrationUpdate: + description: The definition of the `GreyNoiseIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/GreyNoiseCredentialsUpdate' + type: + $ref: '#/components/schemas/GreyNoiseIntegrationType' + required: + - type + type: object GroupScalarColumn: description: A column containing the tag keys and values in a group. properties: @@ -20476,6 +21539,75 @@ components: format: int64 type: integer type: object + LaunchDarklyAPIKey: + description: The definition of the `LaunchDarklyAPIKey` object. + properties: + api_token: + description: The `LaunchDarklyAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/LaunchDarklyAPIKeyType' + required: + - type + - api_token + type: object + LaunchDarklyAPIKeyType: + description: The definition of the `LaunchDarklyAPIKey` object. + enum: + - LaunchDarklyAPIKey + example: LaunchDarklyAPIKey + type: string + x-enum-varnames: + - LAUNCHDARKLYAPIKEY + LaunchDarklyAPIKeyUpdate: + description: The definition of the `LaunchDarklyAPIKey` object. + properties: + api_token: + description: The `LaunchDarklyAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/LaunchDarklyAPIKeyType' + required: + - type + type: object + LaunchDarklyCredentials: + description: The definition of the `LaunchDarklyCredentials` object. + oneOf: + - $ref: '#/components/schemas/LaunchDarklyAPIKey' + LaunchDarklyCredentialsUpdate: + description: The definition of the `LaunchDarklyCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/LaunchDarklyAPIKeyUpdate' + LaunchDarklyIntegration: + description: The definition of the `LaunchDarklyIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/LaunchDarklyCredentials' + type: + $ref: '#/components/schemas/LaunchDarklyIntegrationType' + required: + - type + - credentials + type: object + LaunchDarklyIntegrationType: + description: The definition of the `LaunchDarklyIntegrationType` object. + enum: + - LaunchDarkly + example: LaunchDarkly + type: string + x-enum-varnames: + - LAUNCHDARKLY + LaunchDarklyIntegrationUpdate: + description: The definition of the `LaunchDarklyIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/LaunchDarklyCredentialsUpdate' + type: + $ref: '#/components/schemas/LaunchDarklyIntegrationType' + required: + - type + type: object Layer: description: Encapsulates a layer resource, holding attributes like rotation details, plus relationships to the members covering that layer. @@ -25164,6 +26296,75 @@ components: type: string x-enum-varnames: - NOTIFICATION_RULES + NotionAPIKey: + description: The definition of the `NotionAPIKey` object. + properties: + api_token: + description: The `NotionAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/NotionAPIKeyType' + required: + - type + - api_token + type: object + NotionAPIKeyType: + description: The definition of the `NotionAPIKey` object. + enum: + - NotionAPIKey + example: NotionAPIKey + type: string + x-enum-varnames: + - NOTIONAPIKEY + NotionAPIKeyUpdate: + description: The definition of the `NotionAPIKey` object. + properties: + api_token: + description: The `NotionAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/NotionAPIKeyType' + required: + - type + type: object + NotionCredentials: + description: The definition of the `NotionCredentials` object. + oneOf: + - $ref: '#/components/schemas/NotionAPIKey' + NotionCredentialsUpdate: + description: The definition of the `NotionCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/NotionAPIKeyUpdate' + NotionIntegration: + description: The definition of the `NotionIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/NotionCredentials' + type: + $ref: '#/components/schemas/NotionIntegrationType' + required: + - type + - credentials + type: object + NotionIntegrationType: + description: The definition of the `NotionIntegrationType` object. + enum: + - Notion + example: Notion + type: string + x-enum-varnames: + - NOTION + NotionIntegrationUpdate: + description: The definition of the `NotionIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/NotionCredentialsUpdate' + type: + $ref: '#/components/schemas/NotionIntegrationType' + required: + - type + type: object NullableRelationshipToUser: description: Relationship to user. nullable: true @@ -28339,6 +29540,46 @@ components: required: - crt_file type: object + OktaAPIToken: + description: The definition of the `OktaAPIToken` object. + properties: + api_token: + description: The `OktaAPIToken` `api_token`. + example: '' + type: string + domain: + description: The `OktaAPIToken` `domain`. + example: '' + type: string + type: + $ref: '#/components/schemas/OktaAPITokenType' + required: + - type + - domain + - api_token + type: object + OktaAPITokenType: + description: The definition of the `OktaAPIToken` object. + enum: + - OktaAPIToken + example: OktaAPIToken + type: string + x-enum-varnames: + - OKTAAPITOKEN + OktaAPITokenUpdate: + description: The definition of the `OktaAPIToken` object. + properties: + api_token: + description: The `OktaAPITokenUpdate` `api_token`. + type: string + domain: + description: The `OktaAPITokenUpdate` `domain`. + type: string + type: + $ref: '#/components/schemas/OktaAPITokenType' + required: + - type + type: object OktaAccount: description: Schema for an Okta account. properties: @@ -28475,6 +29716,43 @@ components: $ref: '#/components/schemas/OktaAccountResponseData' type: array type: object + OktaCredentials: + description: The definition of the `OktaCredentials` object. + oneOf: + - $ref: '#/components/schemas/OktaAPIToken' + OktaCredentialsUpdate: + description: The definition of the `OktaCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/OktaAPITokenUpdate' + OktaIntegration: + description: The definition of the `OktaIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/OktaCredentials' + type: + $ref: '#/components/schemas/OktaIntegrationType' + required: + - type + - credentials + type: object + OktaIntegrationType: + description: The definition of the `OktaIntegrationType` object. + enum: + - Okta + example: Okta + type: string + x-enum-varnames: + - OKTA + OktaIntegrationUpdate: + description: The definition of the `OktaIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/OktaCredentialsUpdate' + type: + $ref: '#/components/schemas/OktaIntegrationType' + required: + - type + type: object OnCallPageTargetType: description: The kind of target, `team_id` | `team_handle` | `user_id`. enum: @@ -28516,6 +29794,75 @@ components: type: string x-enum-varnames: - ON_DEMAND_CONCURRENCY_CAP + OpenAIAPIKey: + description: The definition of the `OpenAIAPIKey` object. + properties: + api_token: + description: The `OpenAIAPIKey` `api_token`. + example: '' + type: string + type: + $ref: '#/components/schemas/OpenAIAPIKeyType' + required: + - type + - api_token + type: object + OpenAIAPIKeyType: + description: The definition of the `OpenAIAPIKey` object. + enum: + - OpenAIAPIKey + example: OpenAIAPIKey + type: string + x-enum-varnames: + - OPENAIAPIKEY + OpenAIAPIKeyUpdate: + description: The definition of the `OpenAIAPIKey` object. + properties: + api_token: + description: The `OpenAIAPIKeyUpdate` `api_token`. + type: string + type: + $ref: '#/components/schemas/OpenAIAPIKeyType' + required: + - type + type: object + OpenAICredentials: + description: The definition of the `OpenAICredentials` object. + oneOf: + - $ref: '#/components/schemas/OpenAIAPIKey' + OpenAICredentialsUpdate: + description: The definition of the `OpenAICredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/OpenAIAPIKeyUpdate' + OpenAIIntegration: + description: The definition of the `OpenAIIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/OpenAICredentials' + type: + $ref: '#/components/schemas/OpenAIIntegrationType' + required: + - type + - credentials + type: object + OpenAIIntegrationType: + description: The definition of the `OpenAIIntegrationType` object. + enum: + - OpenAI + example: OpenAI + type: string + x-enum-varnames: + - OPENAI + OpenAIIntegrationUpdate: + description: The definition of the `OpenAIIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/OpenAICredentialsUpdate' + type: + $ref: '#/components/schemas/OpenAIIntegrationType' + required: + - type + type: object OpenAPIEndpoint: description: Endpoint info extracted from an `OpenAPI` specification. properties: @@ -38194,6 +39541,91 @@ components: $ref: '#/components/schemas/ServiceDefinitionData' type: array type: object + ServiceNowBasicAuth: + description: The definition of the `ServiceNowBasicAuth` object. + properties: + instance: + description: The `ServiceNowBasicAuth` `instance`. + example: '' + type: string + password: + description: The `ServiceNowBasicAuth` `password`. + example: '' + type: string + type: + $ref: '#/components/schemas/ServiceNowBasicAuthType' + username: + description: The `ServiceNowBasicAuth` `username`. + example: '' + type: string + required: + - type + - instance + - username + - password + type: object + ServiceNowBasicAuthType: + description: The definition of the `ServiceNowBasicAuth` object. + enum: + - ServiceNowBasicAuth + example: ServiceNowBasicAuth + type: string + x-enum-varnames: + - SERVICENOWBASICAUTH + ServiceNowBasicAuthUpdate: + description: The definition of the `ServiceNowBasicAuth` object. + properties: + instance: + description: The `ServiceNowBasicAuthUpdate` `instance`. + type: string + password: + description: The `ServiceNowBasicAuthUpdate` `password`. + type: string + type: + $ref: '#/components/schemas/ServiceNowBasicAuthType' + username: + description: The `ServiceNowBasicAuthUpdate` `username`. + type: string + required: + - type + type: object + ServiceNowCredentials: + description: The definition of the `ServiceNowCredentials` object. + oneOf: + - $ref: '#/components/schemas/ServiceNowBasicAuth' + ServiceNowCredentialsUpdate: + description: The definition of the `ServiceNowCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/ServiceNowBasicAuthUpdate' + ServiceNowIntegration: + description: The definition of the `ServiceNowIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/ServiceNowCredentials' + type: + $ref: '#/components/schemas/ServiceNowIntegrationType' + required: + - type + - credentials + type: object + ServiceNowIntegrationType: + description: The definition of the `ServiceNowIntegrationType` object. + enum: + - ServiceNow + example: ServiceNow + type: string + x-enum-varnames: + - SERVICENOW + ServiceNowIntegrationUpdate: + description: The definition of the `ServiceNowIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/ServiceNowCredentialsUpdate' + type: + $ref: '#/components/schemas/ServiceNowIntegrationType' + required: + - type + type: object ServiceNowTicket: description: ServiceNow ticket attached to case nullable: true @@ -39502,6 +40934,75 @@ components: - ONE_THREE - ONE_FOUR - ONE_FIVE + SplitAPIKey: + description: The definition of the `SplitAPIKey` object. + properties: + api_key: + description: The `SplitAPIKey` `api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/SplitAPIKeyType' + required: + - type + - api_key + type: object + SplitAPIKeyType: + description: The definition of the `SplitAPIKey` object. + enum: + - SplitAPIKey + example: SplitAPIKey + type: string + x-enum-varnames: + - SPLITAPIKEY + SplitAPIKeyUpdate: + description: The definition of the `SplitAPIKey` object. + properties: + api_key: + description: The `SplitAPIKeyUpdate` `api_key`. + type: string + type: + $ref: '#/components/schemas/SplitAPIKeyType' + required: + - type + type: object + SplitCredentials: + description: The definition of the `SplitCredentials` object. + oneOf: + - $ref: '#/components/schemas/SplitAPIKey' + SplitCredentialsUpdate: + description: The definition of the `SplitCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/SplitAPIKeyUpdate' + SplitIntegration: + description: The definition of the `SplitIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/SplitCredentials' + type: + $ref: '#/components/schemas/SplitIntegrationType' + required: + - type + - credentials + type: object + SplitIntegrationType: + description: The definition of the `SplitIntegrationType` object. + enum: + - Split + example: Split + type: string + x-enum-varnames: + - SPLIT + SplitIntegrationUpdate: + description: The definition of the `SplitIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/SplitCredentialsUpdate' + type: + $ref: '#/components/schemas/SplitIntegrationType' + required: + - type + type: object StartStepNames: description: A list of steps that run first after a trigger fires. example: @@ -39562,6 +41063,75 @@ components: type: string x-enum-varnames: - STATEVARIABLE + StatsigAPIKey: + description: The definition of the `StatsigAPIKey` object. + properties: + api_key: + description: The `StatsigAPIKey` `api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/StatsigAPIKeyType' + required: + - type + - api_key + type: object + StatsigAPIKeyType: + description: The definition of the `StatsigAPIKey` object. + enum: + - StatsigAPIKey + example: StatsigAPIKey + type: string + x-enum-varnames: + - STATSIGAPIKEY + StatsigAPIKeyUpdate: + description: The definition of the `StatsigAPIKey` object. + properties: + api_key: + description: The `StatsigAPIKeyUpdate` `api_key`. + type: string + type: + $ref: '#/components/schemas/StatsigAPIKeyType' + required: + - type + type: object + StatsigCredentials: + description: The definition of the `StatsigCredentials` object. + oneOf: + - $ref: '#/components/schemas/StatsigAPIKey' + StatsigCredentialsUpdate: + description: The definition of the `StatsigCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/StatsigAPIKeyUpdate' + StatsigIntegration: + description: The definition of the `StatsigIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/StatsigCredentials' + type: + $ref: '#/components/schemas/StatsigIntegrationType' + required: + - type + - credentials + type: object + StatsigIntegrationType: + description: The definition of the `StatsigIntegrationType` object. + enum: + - Statsig + example: Statsig + type: string + x-enum-varnames: + - STATSIG + StatsigIntegrationUpdate: + description: The definition of the `StatsigIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/StatsigCredentialsUpdate' + type: + $ref: '#/components/schemas/StatsigIntegrationType' + required: + - type + type: object Step: description: A Step is a sub-component of a workflow. Each Step performs an action. @@ -42155,6 +43725,75 @@ components: example: 1 format: int64 type: integer + VirusTotalAPIKey: + description: The definition of the `VirusTotalAPIKey` object. + properties: + api_key: + description: The `VirusTotalAPIKey` `api_key`. + example: '' + type: string + type: + $ref: '#/components/schemas/VirusTotalAPIKeyType' + required: + - type + - api_key + type: object + VirusTotalAPIKeyType: + description: The definition of the `VirusTotalAPIKey` object. + enum: + - VirusTotalAPIKey + example: VirusTotalAPIKey + type: string + x-enum-varnames: + - VIRUSTOTALAPIKEY + VirusTotalAPIKeyUpdate: + description: The definition of the `VirusTotalAPIKey` object. + properties: + api_key: + description: The `VirusTotalAPIKeyUpdate` `api_key`. + type: string + type: + $ref: '#/components/schemas/VirusTotalAPIKeyType' + required: + - type + type: object + VirusTotalCredentials: + description: The definition of the `VirusTotalCredentials` object. + oneOf: + - $ref: '#/components/schemas/VirusTotalAPIKey' + VirusTotalCredentialsUpdate: + description: The definition of the `VirusTotalCredentialsUpdate` object. + oneOf: + - $ref: '#/components/schemas/VirusTotalAPIKeyUpdate' + VirusTotalIntegration: + description: The definition of the `VirusTotalIntegration` object. + properties: + credentials: + $ref: '#/components/schemas/VirusTotalCredentials' + type: + $ref: '#/components/schemas/VirusTotalIntegrationType' + required: + - type + - credentials + type: object + VirusTotalIntegrationType: + description: The definition of the `VirusTotalIntegrationType` object. + enum: + - VirusTotal + example: VirusTotal + type: string + x-enum-varnames: + - VIRUSTOTAL + VirusTotalIntegrationUpdate: + description: The definition of the `VirusTotalIntegrationUpdate` object. + properties: + credentials: + $ref: '#/components/schemas/VirusTotalCredentialsUpdate' + type: + $ref: '#/components/schemas/VirusTotalIntegrationType' + required: + - type + type: object VulnerabilitiesType: description: The JSON:API type. enum: diff --git a/docs/datadog_api_client.v2.model.rst b/docs/datadog_api_client.v2.model.rst index 11cf26604b..995b6697e6 100644 --- a/docs/datadog_api_client.v2.model.rst +++ b/docs/datadog_api_client.v2.model.rst @@ -326,6 +326,62 @@ datadog\_api\_client.v2.model.annotation\_markdown\_text\_annotation module :members: :show-inheritance: +datadog\_api\_client.v2.model.anthropic\_api\_key module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_api\_key\_type module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_api\_key\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_credentials module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_credentials\_update module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_integration module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_integration\_type module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.anthropic\_integration\_update module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.anthropic_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.api\_error\_response module --------------------------------------------------------- @@ -900,6 +956,62 @@ datadog\_api\_client.v2.model.apps\_sort\_field module :members: :show-inheritance: +datadog\_api\_client.v2.model.asana\_access\_token module +--------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_access_token + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_access\_token\_type module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_access_token_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_access\_token\_update module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_access_token_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_credentials module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_credentials\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_integration module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_integration\_type module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.asana\_integration\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.asana_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.asset module ------------------------------------------ @@ -1768,6 +1880,41 @@ datadog\_api\_client.v2.model.aws\_traces\_config module :members: :show-inheritance: +datadog\_api\_client.v2.model.azure\_credentials module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.azure\_credentials\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.azure\_integration module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.azure\_integration\_type module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.azure\_integration\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.azure\_storage\_destination module ---------------------------------------------------------------- @@ -1782,6 +1929,27 @@ datadog\_api\_client.v2.model.azure\_storage\_destination\_type module :members: :show-inheritance: +datadog\_api\_client.v2.model.azure\_tenant module +-------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_tenant + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.azure\_tenant\_type module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_tenant_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.azure\_tenant\_update module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.azure_tenant_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.azure\_uc\_config module ------------------------------------------------------ @@ -2895,6 +3063,118 @@ datadog\_api\_client.v2.model.ci\_app\_warning module :members: :show-inheritance: +datadog\_api\_client.v2.model.circle\_ci\_credentials module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.circle_ci_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ci\_credentials\_update module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.circle_ci_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ci\_integration module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.circle_ci_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ci\_integration\_type module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.circle_ci_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ci\_integration\_update module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.circle_ci_integration_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ciapi\_key module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.circle_ciapi_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ciapi\_key\_type module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.circle_ciapi_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.circle\_ciapi\_key\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.circle_ciapi_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_api\_key module +------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.clickup_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_api\_key\_type module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.clickup_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_api\_key\_update module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.clickup_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_credentials module +--------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.clickup_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_credentials\_update module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.clickup_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_integration module +--------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.clickup_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_integration\_type module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.clickup_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.clickup\_integration\_update module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.clickup_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.cloud\_configuration\_compliance\_rule\_options module ------------------------------------------------------------------------------------ @@ -3238,6 +3518,83 @@ datadog\_api\_client.v2.model.cloudflare\_accounts\_response module :members: :show-inheritance: +datadog\_api\_client.v2.model.cloudflare\_api\_token module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_api_token + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_api\_token\_type module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_api_token_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_api\_token\_update module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_api_token_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_credentials module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.cloudflare_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_credentials\_update module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_global\_api\_token module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_global_api_token + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_global\_api\_token\_type module +------------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_global_api_token_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_global\_api\_token\_update module +--------------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_global_api_token_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_integration module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.cloudflare_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_integration\_type module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.cloudflare_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.cloudflare\_integration\_update module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.cloudflare_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.code\_location module --------------------------------------------------- @@ -3322,6 +3679,62 @@ datadog\_api\_client.v2.model.component\_type module :members: :show-inheritance: +datadog\_api\_client.v2.model.config\_cat\_credentials module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_credentials\_update module +--------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_integration module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_integration\_type module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_integration\_update module +--------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_integration_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_sdk\_key module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_sdk_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_sdk\_key\_type module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.config_cat_sdk_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.config\_cat\_sdk\_key\_update module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.config_cat_sdk_key_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.confluent\_account\_create\_request module ------------------------------------------------------------------------ @@ -6598,6 +7011,62 @@ datadog\_api\_client.v2.model.fastly\_accounts\_response module :members: :show-inheritance: +datadog\_api\_client.v2.model.fastly\_api\_key module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_api\_key\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_api\_key\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_credentials module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_credentials\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_integration module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_integration\_type module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.fastly\_integration\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.fastly_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.fastly\_service module ---------------------------------------------------- @@ -6717,17 +7186,73 @@ datadog\_api\_client.v2.model.finding\_vulnerability\_type module :members: :show-inheritance: -datadog\_api\_client.v2.model.formula\_limit module ---------------------------------------------------- +datadog\_api\_client.v2.model.formula\_limit module +--------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.formula_limit + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.framework\_handle\_and\_version\_response\_data module +------------------------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.framework_handle_and_version_response_data + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_api\_key module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.freshservice_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_api\_key\_type module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.freshservice_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_api\_key\_update module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.freshservice_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_credentials module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.freshservice_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_credentials\_update module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.freshservice_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_integration module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.freshservice_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.freshservice\_integration\_type module +-------------------------------------------------------------------- -.. automodule:: datadog_api_client.v2.model.formula_limit +.. automodule:: datadog_api_client.v2.model.freshservice_integration_type :members: :show-inheritance: -datadog\_api\_client.v2.model.framework\_handle\_and\_version\_response\_data module ------------------------------------------------------------------------------------- +datadog\_api\_client.v2.model.freshservice\_integration\_update module +---------------------------------------------------------------------- -.. automodule:: datadog_api_client.v2.model.framework_handle_and_version_response_data +.. automodule:: datadog_api_client.v2.model.freshservice_integration_update :members: :show-inheritance: @@ -6773,6 +7298,41 @@ datadog\_api\_client.v2.model.full\_custom\_framework\_data\_attributes module :members: :show-inheritance: +datadog\_api\_client.v2.model.gcp\_credentials module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gcp\_credentials\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gcp\_integration module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gcp\_integration\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gcp\_integration\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.gcp\_metric\_namespace\_config module ------------------------------------------------------------------- @@ -6780,6 +7340,20 @@ datadog\_api\_client.v2.model.gcp\_metric\_namespace\_config module :members: :show-inheritance: +datadog\_api\_client.v2.model.gcp\_service\_account module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_service_account + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gcp\_service\_account\_credential\_type module +---------------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gcp_service_account_credential_type + :members: + :show-inheritance: + datadog\_api\_client.v2.model.gcp\_service\_account\_meta module ---------------------------------------------------------------- @@ -6794,6 +7368,13 @@ datadog\_api\_client.v2.model.gcp\_service\_account\_type module :members: :show-inheritance: +datadog\_api\_client.v2.model.gcp\_service\_account\_update module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.gcp_service_account_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.gcp\_usage\_cost\_config module ------------------------------------------------------------- @@ -6969,6 +7550,62 @@ datadog\_api\_client.v2.model.gcpsts\_service\_accounts\_response module :members: :show-inheritance: +datadog\_api\_client.v2.model.gemini\_api\_key module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_api\_key\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_api\_key\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_credentials module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_credentials\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_integration module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_integration\_type module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gemini\_integration\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gemini_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.get\_action\_connection\_response module ---------------------------------------------------------------------- @@ -7130,6 +7767,118 @@ datadog\_api\_client.v2.model.github\_webhook\_trigger\_wrapper module :members: :show-inheritance: +datadog\_api\_client.v2.model.gitlab\_api\_key module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_api\_key\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_api\_key\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_credentials module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_credentials\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_integration module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_integration\_type module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.gitlab\_integration\_update module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.gitlab_integration_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_api\_key module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_api\_key\_type module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_api\_key\_update module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.grey_noise_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_credentials module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_credentials\_update module +--------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_integration module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_integration\_type module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.grey\_noise\_integration\_update module +--------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.grey_noise_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.group\_scalar\_column module ---------------------------------------------------------- @@ -8530,6 +9279,62 @@ datadog\_api\_client.v2.model.kind\_response\_meta module :members: :show-inheritance: +datadog\_api\_client.v2.model.launch\_darkly\_api\_key module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.launch_darkly_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_api\_key\_type module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.launch_darkly_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_api\_key\_update module +--------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.launch_darkly_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_credentials module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.launch_darkly_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_credentials\_update module +------------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.launch_darkly_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_integration module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.launch_darkly_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_integration\_type module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.launch_darkly_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.launch\_darkly\_integration\_update module +------------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.launch_darkly_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.layer module ------------------------------------------ @@ -10791,31 +11596,87 @@ datadog\_api\_client.v2.model.notebook\_trigger\_wrapper module :members: :show-inheritance: -datadog\_api\_client.v2.model.notification\_rule module -------------------------------------------------------- +datadog\_api\_client.v2.model.notification\_rule module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notification_rule + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notification\_rule\_attributes module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notification_rule_attributes + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notification\_rule\_response module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notification_rule_response + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notification\_rules\_type module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notification_rules_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notion\_api\_key module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notion_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notion\_api\_key\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notion_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notion\_api\_key\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notion_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notion\_credentials module +-------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.notion_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.notion\_credentials\_update module +---------------------------------------------------------------- -.. automodule:: datadog_api_client.v2.model.notification_rule +.. automodule:: datadog_api_client.v2.model.notion_credentials_update :members: :show-inheritance: -datadog\_api\_client.v2.model.notification\_rule\_attributes module -------------------------------------------------------------------- +datadog\_api\_client.v2.model.notion\_integration module +-------------------------------------------------------- -.. automodule:: datadog_api_client.v2.model.notification_rule_attributes +.. automodule:: datadog_api_client.v2.model.notion_integration :members: :show-inheritance: -datadog\_api\_client.v2.model.notification\_rule\_response module ------------------------------------------------------------------ +datadog\_api\_client.v2.model.notion\_integration\_type module +-------------------------------------------------------------- -.. automodule:: datadog_api_client.v2.model.notification_rule_response +.. automodule:: datadog_api_client.v2.model.notion_integration_type :members: :show-inheritance: -datadog\_api\_client.v2.model.notification\_rules\_type module --------------------------------------------------------------- +datadog\_api\_client.v2.model.notion\_integration\_update module +---------------------------------------------------------------- -.. automodule:: datadog_api_client.v2.model.notification_rules_type +.. automodule:: datadog_api_client.v2.model.notion_integration_update :members: :show-inheritance: @@ -12156,6 +13017,62 @@ datadog\_api\_client.v2.model.okta\_accounts\_response module :members: :show-inheritance: +datadog\_api\_client.v2.model.okta\_api\_token module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.okta_api_token + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_api\_token\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.okta_api_token_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_api\_token\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.okta_api_token_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_credentials module +------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.okta_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_credentials\_update module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.okta_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_integration module +------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.okta_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_integration\_type module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.okta_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.okta\_integration\_update module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.okta_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.on\_call\_page\_target\_type module ----------------------------------------------------------------- @@ -12191,6 +13108,62 @@ datadog\_api\_client.v2.model.on\_demand\_concurrency\_cap\_type module :members: :show-inheritance: +datadog\_api\_client.v2.model.open\_ai\_credentials module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.open_ai_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_ai\_credentials\_update module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.open_ai_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_ai\_integration module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.open_ai_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_ai\_integration\_type module +---------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.open_ai_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_ai\_integration\_update module +------------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.open_ai_integration_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_aiapi\_key module +----------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.open_aiapi_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_aiapi\_key\_type module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.open_aiapi_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.open\_aiapi\_key\_update module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.open_aiapi_key_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.open\_api\_endpoint module -------------------------------------------------------- @@ -16475,6 +17448,62 @@ datadog\_api\_client.v2.model.service\_definitions\_list\_response module :members: :show-inheritance: +datadog\_api\_client.v2.model.service\_now\_basic\_auth module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_basic_auth + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_basic\_auth\_type module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_basic_auth_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_basic\_auth\_update module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_basic_auth_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_credentials module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_credentials\_update module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_integration module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_integration\_type module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.service\_now\_integration\_update module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.service_now_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.service\_now\_ticket module --------------------------------------------------------- @@ -17112,6 +18141,62 @@ datadog\_api\_client.v2.model.spec module :members: :show-inheritance: +datadog\_api\_client.v2.model.split\_api\_key module +---------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_api\_key\_type module +---------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_api\_key\_update module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.split_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_credentials module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_credentials\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_integration module +------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_integration\_type module +------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.split\_integration\_update module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.split_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.state module ------------------------------------------ @@ -17140,6 +18225,62 @@ datadog\_api\_client.v2.model.state\_variable\_type module :members: :show-inheritance: +datadog\_api\_client.v2.model.statsig\_api\_key module +------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.statsig_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_api\_key\_type module +------------------------------------------------------------ + +.. automodule:: datadog_api_client.v2.model.statsig_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_api\_key\_update module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.statsig_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_credentials module +--------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.statsig_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_credentials\_update module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.statsig_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_integration module +--------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.statsig_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_integration\_type module +--------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.statsig_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.statsig\_integration\_update module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.statsig_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.step module ----------------------------------------- @@ -18435,6 +19576,62 @@ datadog\_api\_client.v2.model.validation\_response module :members: :show-inheritance: +datadog\_api\_client.v2.model.virus\_total\_api\_key module +----------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_api_key + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_api\_key\_type module +----------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_api_key_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_api\_key\_update module +------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_api_key_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_credentials module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_credentials + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_credentials\_update module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_credentials_update + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_integration module +-------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_integration + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_integration\_type module +-------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_integration_type + :members: + :show-inheritance: + +datadog\_api\_client.v2.model.virus\_total\_integration\_update module +---------------------------------------------------------------------- + +.. automodule:: datadog_api_client.v2.model.virus_total_integration_update + :members: + :show-inheritance: + datadog\_api\_client.v2.model.vulnerabilities\_type module ---------------------------------------------------------- diff --git a/src/datadog_api_client/v2/model/action_connection_attributes.py b/src/datadog_api_client/v2/model/action_connection_attributes.py index 84d3d129c5..8d3a7e2447 100644 --- a/src/datadog_api_client/v2/model/action_connection_attributes.py +++ b/src/datadog_api_client/v2/model/action_connection_attributes.py @@ -14,8 +14,29 @@ if TYPE_CHECKING: from datadog_api_client.v2.model.action_connection_integration import ActionConnectionIntegration from datadog_api_client.v2.model.aws_integration import AWSIntegration + from datadog_api_client.v2.model.anthropic_integration import AnthropicIntegration + from datadog_api_client.v2.model.asana_integration import AsanaIntegration + from datadog_api_client.v2.model.azure_integration import AzureIntegration + from datadog_api_client.v2.model.circle_ci_integration import CircleCIIntegration + from datadog_api_client.v2.model.clickup_integration import ClickupIntegration + from datadog_api_client.v2.model.cloudflare_integration import CloudflareIntegration + from datadog_api_client.v2.model.config_cat_integration import ConfigCatIntegration from datadog_api_client.v2.model.datadog_integration import DatadogIntegration + from datadog_api_client.v2.model.fastly_integration import FastlyIntegration + from datadog_api_client.v2.model.freshservice_integration import FreshserviceIntegration + from datadog_api_client.v2.model.gcp_integration import GCPIntegration + from datadog_api_client.v2.model.gemini_integration import GeminiIntegration + from datadog_api_client.v2.model.gitlab_integration import GitlabIntegration + from datadog_api_client.v2.model.grey_noise_integration import GreyNoiseIntegration from datadog_api_client.v2.model.http_integration import HTTPIntegration + from datadog_api_client.v2.model.launch_darkly_integration import LaunchDarklyIntegration + from datadog_api_client.v2.model.notion_integration import NotionIntegration + from datadog_api_client.v2.model.okta_integration import OktaIntegration + from datadog_api_client.v2.model.open_ai_integration import OpenAIIntegration + from datadog_api_client.v2.model.service_now_integration import ServiceNowIntegration + from datadog_api_client.v2.model.split_integration import SplitIntegration + from datadog_api_client.v2.model.statsig_integration import StatsigIntegration + from datadog_api_client.v2.model.virus_total_integration import VirusTotalIntegration class ActionConnectionAttributes(ModelNormal): @@ -35,7 +56,33 @@ def openapi_types(_): def __init__( self_, - integration: Union[ActionConnectionIntegration, AWSIntegration, DatadogIntegration, HTTPIntegration], + integration: Union[ + ActionConnectionIntegration, + AWSIntegration, + AnthropicIntegration, + AsanaIntegration, + AzureIntegration, + CircleCIIntegration, + ClickupIntegration, + CloudflareIntegration, + ConfigCatIntegration, + DatadogIntegration, + FastlyIntegration, + FreshserviceIntegration, + GCPIntegration, + GeminiIntegration, + GitlabIntegration, + GreyNoiseIntegration, + HTTPIntegration, + LaunchDarklyIntegration, + NotionIntegration, + OktaIntegration, + OpenAIIntegration, + ServiceNowIntegration, + SplitIntegration, + StatsigIntegration, + VirusTotalIntegration, + ], name: str, **kwargs, ): diff --git a/src/datadog_api_client/v2/model/action_connection_attributes_update.py b/src/datadog_api_client/v2/model/action_connection_attributes_update.py index be6d8f42a5..2cc20fb155 100644 --- a/src/datadog_api_client/v2/model/action_connection_attributes_update.py +++ b/src/datadog_api_client/v2/model/action_connection_attributes_update.py @@ -16,8 +16,29 @@ if TYPE_CHECKING: from datadog_api_client.v2.model.action_connection_integration_update import ActionConnectionIntegrationUpdate from datadog_api_client.v2.model.aws_integration_update import AWSIntegrationUpdate + from datadog_api_client.v2.model.anthropic_integration_update import AnthropicIntegrationUpdate + from datadog_api_client.v2.model.asana_integration_update import AsanaIntegrationUpdate + from datadog_api_client.v2.model.azure_integration_update import AzureIntegrationUpdate + from datadog_api_client.v2.model.circle_ci_integration_update import CircleCIIntegrationUpdate + from datadog_api_client.v2.model.clickup_integration_update import ClickupIntegrationUpdate + from datadog_api_client.v2.model.cloudflare_integration_update import CloudflareIntegrationUpdate + from datadog_api_client.v2.model.config_cat_integration_update import ConfigCatIntegrationUpdate from datadog_api_client.v2.model.datadog_integration_update import DatadogIntegrationUpdate + from datadog_api_client.v2.model.fastly_integration_update import FastlyIntegrationUpdate + from datadog_api_client.v2.model.freshservice_integration_update import FreshserviceIntegrationUpdate + from datadog_api_client.v2.model.gcp_integration_update import GCPIntegrationUpdate + from datadog_api_client.v2.model.gemini_integration_update import GeminiIntegrationUpdate + from datadog_api_client.v2.model.gitlab_integration_update import GitlabIntegrationUpdate + from datadog_api_client.v2.model.grey_noise_integration_update import GreyNoiseIntegrationUpdate from datadog_api_client.v2.model.http_integration_update import HTTPIntegrationUpdate + from datadog_api_client.v2.model.launch_darkly_integration_update import LaunchDarklyIntegrationUpdate + from datadog_api_client.v2.model.notion_integration_update import NotionIntegrationUpdate + from datadog_api_client.v2.model.okta_integration_update import OktaIntegrationUpdate + from datadog_api_client.v2.model.open_ai_integration_update import OpenAIIntegrationUpdate + from datadog_api_client.v2.model.service_now_integration_update import ServiceNowIntegrationUpdate + from datadog_api_client.v2.model.split_integration_update import SplitIntegrationUpdate + from datadog_api_client.v2.model.statsig_integration_update import StatsigIntegrationUpdate + from datadog_api_client.v2.model.virus_total_integration_update import VirusTotalIntegrationUpdate class ActionConnectionAttributesUpdate(ModelNormal): @@ -40,8 +61,29 @@ def __init__( integration: Union[ ActionConnectionIntegrationUpdate, AWSIntegrationUpdate, + AnthropicIntegrationUpdate, + AsanaIntegrationUpdate, + AzureIntegrationUpdate, + CircleCIIntegrationUpdate, + ClickupIntegrationUpdate, + CloudflareIntegrationUpdate, + ConfigCatIntegrationUpdate, DatadogIntegrationUpdate, + FastlyIntegrationUpdate, + FreshserviceIntegrationUpdate, + GCPIntegrationUpdate, + GeminiIntegrationUpdate, + GitlabIntegrationUpdate, + GreyNoiseIntegrationUpdate, HTTPIntegrationUpdate, + LaunchDarklyIntegrationUpdate, + NotionIntegrationUpdate, + OktaIntegrationUpdate, + OpenAIIntegrationUpdate, + ServiceNowIntegrationUpdate, + SplitIntegrationUpdate, + StatsigIntegrationUpdate, + VirusTotalIntegrationUpdate, UnsetType, ] = unset, name: Union[str, UnsetType] = unset, diff --git a/src/datadog_api_client/v2/model/action_connection_integration.py b/src/datadog_api_client/v2/model/action_connection_integration.py index a507174551..f96529de5b 100644 --- a/src/datadog_api_client/v2/model/action_connection_integration.py +++ b/src/datadog_api_client/v2/model/action_connection_integration.py @@ -36,13 +36,55 @@ def _composed_schemas(_): # classes don't exist yet because their module has not finished # loading from datadog_api_client.v2.model.aws_integration import AWSIntegration + from datadog_api_client.v2.model.anthropic_integration import AnthropicIntegration + from datadog_api_client.v2.model.asana_integration import AsanaIntegration + from datadog_api_client.v2.model.azure_integration import AzureIntegration + from datadog_api_client.v2.model.circle_ci_integration import CircleCIIntegration + from datadog_api_client.v2.model.clickup_integration import ClickupIntegration + from datadog_api_client.v2.model.cloudflare_integration import CloudflareIntegration + from datadog_api_client.v2.model.config_cat_integration import ConfigCatIntegration from datadog_api_client.v2.model.datadog_integration import DatadogIntegration + from datadog_api_client.v2.model.fastly_integration import FastlyIntegration + from datadog_api_client.v2.model.freshservice_integration import FreshserviceIntegration + from datadog_api_client.v2.model.gcp_integration import GCPIntegration + from datadog_api_client.v2.model.gemini_integration import GeminiIntegration + from datadog_api_client.v2.model.gitlab_integration import GitlabIntegration + from datadog_api_client.v2.model.grey_noise_integration import GreyNoiseIntegration from datadog_api_client.v2.model.http_integration import HTTPIntegration + from datadog_api_client.v2.model.launch_darkly_integration import LaunchDarklyIntegration + from datadog_api_client.v2.model.notion_integration import NotionIntegration + from datadog_api_client.v2.model.okta_integration import OktaIntegration + from datadog_api_client.v2.model.open_ai_integration import OpenAIIntegration + from datadog_api_client.v2.model.service_now_integration import ServiceNowIntegration + from datadog_api_client.v2.model.split_integration import SplitIntegration + from datadog_api_client.v2.model.statsig_integration import StatsigIntegration + from datadog_api_client.v2.model.virus_total_integration import VirusTotalIntegration return { "oneOf": [ AWSIntegration, + AnthropicIntegration, + AsanaIntegration, + AzureIntegration, + CircleCIIntegration, + ClickupIntegration, + CloudflareIntegration, + ConfigCatIntegration, DatadogIntegration, + FastlyIntegration, + FreshserviceIntegration, + GCPIntegration, + GeminiIntegration, + GitlabIntegration, + GreyNoiseIntegration, HTTPIntegration, + LaunchDarklyIntegration, + NotionIntegration, + OktaIntegration, + OpenAIIntegration, + ServiceNowIntegration, + SplitIntegration, + StatsigIntegration, + VirusTotalIntegration, ], } diff --git a/src/datadog_api_client/v2/model/action_connection_integration_update.py b/src/datadog_api_client/v2/model/action_connection_integration_update.py index 08f9d385f0..7a1edc1332 100644 --- a/src/datadog_api_client/v2/model/action_connection_integration_update.py +++ b/src/datadog_api_client/v2/model/action_connection_integration_update.py @@ -36,13 +36,55 @@ def _composed_schemas(_): # classes don't exist yet because their module has not finished # loading from datadog_api_client.v2.model.aws_integration_update import AWSIntegrationUpdate + from datadog_api_client.v2.model.anthropic_integration_update import AnthropicIntegrationUpdate + from datadog_api_client.v2.model.asana_integration_update import AsanaIntegrationUpdate + from datadog_api_client.v2.model.azure_integration_update import AzureIntegrationUpdate + from datadog_api_client.v2.model.circle_ci_integration_update import CircleCIIntegrationUpdate + from datadog_api_client.v2.model.clickup_integration_update import ClickupIntegrationUpdate + from datadog_api_client.v2.model.cloudflare_integration_update import CloudflareIntegrationUpdate + from datadog_api_client.v2.model.config_cat_integration_update import ConfigCatIntegrationUpdate from datadog_api_client.v2.model.datadog_integration_update import DatadogIntegrationUpdate + from datadog_api_client.v2.model.fastly_integration_update import FastlyIntegrationUpdate + from datadog_api_client.v2.model.freshservice_integration_update import FreshserviceIntegrationUpdate + from datadog_api_client.v2.model.gcp_integration_update import GCPIntegrationUpdate + from datadog_api_client.v2.model.gemini_integration_update import GeminiIntegrationUpdate + from datadog_api_client.v2.model.gitlab_integration_update import GitlabIntegrationUpdate + from datadog_api_client.v2.model.grey_noise_integration_update import GreyNoiseIntegrationUpdate from datadog_api_client.v2.model.http_integration_update import HTTPIntegrationUpdate + from datadog_api_client.v2.model.launch_darkly_integration_update import LaunchDarklyIntegrationUpdate + from datadog_api_client.v2.model.notion_integration_update import NotionIntegrationUpdate + from datadog_api_client.v2.model.okta_integration_update import OktaIntegrationUpdate + from datadog_api_client.v2.model.open_ai_integration_update import OpenAIIntegrationUpdate + from datadog_api_client.v2.model.service_now_integration_update import ServiceNowIntegrationUpdate + from datadog_api_client.v2.model.split_integration_update import SplitIntegrationUpdate + from datadog_api_client.v2.model.statsig_integration_update import StatsigIntegrationUpdate + from datadog_api_client.v2.model.virus_total_integration_update import VirusTotalIntegrationUpdate return { "oneOf": [ AWSIntegrationUpdate, + AnthropicIntegrationUpdate, + AsanaIntegrationUpdate, + AzureIntegrationUpdate, + CircleCIIntegrationUpdate, + ClickupIntegrationUpdate, + CloudflareIntegrationUpdate, + ConfigCatIntegrationUpdate, DatadogIntegrationUpdate, + FastlyIntegrationUpdate, + FreshserviceIntegrationUpdate, + GCPIntegrationUpdate, + GeminiIntegrationUpdate, + GitlabIntegrationUpdate, + GreyNoiseIntegrationUpdate, HTTPIntegrationUpdate, + LaunchDarklyIntegrationUpdate, + NotionIntegrationUpdate, + OktaIntegrationUpdate, + OpenAIIntegrationUpdate, + ServiceNowIntegrationUpdate, + SplitIntegrationUpdate, + StatsigIntegrationUpdate, + VirusTotalIntegrationUpdate, ], } diff --git a/src/datadog_api_client/v2/model/anthropic_api_key.py b/src/datadog_api_client/v2/model/anthropic_api_key.py new file mode 100644 index 0000000000..74fb6ef1f4 --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.anthropic_api_key_type import AnthropicAPIKeyType + + +class AnthropicAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.anthropic_api_key_type import AnthropicAPIKeyType + + return { + "api_token": (str,), + "type": (AnthropicAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: AnthropicAPIKeyType, **kwargs): + """ + The definition of the ``AnthropicAPIKey`` object. + + :param api_token: The ``AnthropicAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``AnthropicAPIKey`` object. + :type type: AnthropicAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/anthropic_api_key_type.py b/src/datadog_api_client/v2/model/anthropic_api_key_type.py new file mode 100644 index 0000000000..716d1982a6 --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class AnthropicAPIKeyType(ModelSimple): + """ + The definition of the `AnthropicAPIKey` object. + + :param value: If omitted defaults to "AnthropicAPIKey". Must be one of ["AnthropicAPIKey"]. + :type value: str + """ + + allowed_values = { + "AnthropicAPIKey", + } + ANTHROPICAPIKEY: ClassVar["AnthropicAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +AnthropicAPIKeyType.ANTHROPICAPIKEY = AnthropicAPIKeyType("AnthropicAPIKey") diff --git a/src/datadog_api_client/v2/model/anthropic_api_key_update.py b/src/datadog_api_client/v2/model/anthropic_api_key_update.py new file mode 100644 index 0000000000..9b8b48504d --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.anthropic_api_key_type import AnthropicAPIKeyType + + +class AnthropicAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.anthropic_api_key_type import AnthropicAPIKeyType + + return { + "api_token": (str,), + "type": (AnthropicAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: AnthropicAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``AnthropicAPIKey`` object. + + :param api_token: The ``AnthropicAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``AnthropicAPIKey`` object. + :type type: AnthropicAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/anthropic_credentials.py b/src/datadog_api_client/v2/model/anthropic_credentials.py new file mode 100644 index 0000000000..2f6d1c349c --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class AnthropicCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``AnthropicCredentials`` object. + + :param api_token: The `AnthropicAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `AnthropicAPIKey` object. + :type type: AnthropicAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.anthropic_api_key import AnthropicAPIKey + + return { + "oneOf": [ + AnthropicAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/anthropic_credentials_update.py b/src/datadog_api_client/v2/model/anthropic_credentials_update.py new file mode 100644 index 0000000000..6d3790bca1 --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class AnthropicCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``AnthropicCredentialsUpdate`` object. + + :param api_token: The `AnthropicAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `AnthropicAPIKey` object. + :type type: AnthropicAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.anthropic_api_key_update import AnthropicAPIKeyUpdate + + return { + "oneOf": [ + AnthropicAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/anthropic_integration.py b/src/datadog_api_client/v2/model/anthropic_integration.py new file mode 100644 index 0000000000..e0f7dc5480 --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_integration.py @@ -0,0 +1,51 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.anthropic_credentials import AnthropicCredentials + from datadog_api_client.v2.model.anthropic_integration_type import AnthropicIntegrationType + from datadog_api_client.v2.model.anthropic_api_key import AnthropicAPIKey + + +class AnthropicIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.anthropic_credentials import AnthropicCredentials + from datadog_api_client.v2.model.anthropic_integration_type import AnthropicIntegrationType + + return { + "credentials": (AnthropicCredentials,), + "type": (AnthropicIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, credentials: Union[AnthropicCredentials, AnthropicAPIKey], type: AnthropicIntegrationType, **kwargs + ): + """ + The definition of the ``AnthropicIntegration`` object. + + :param credentials: The definition of the ``AnthropicCredentials`` object. + :type credentials: AnthropicCredentials + + :param type: The definition of the ``AnthropicIntegrationType`` object. + :type type: AnthropicIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/anthropic_integration_type.py b/src/datadog_api_client/v2/model/anthropic_integration_type.py new file mode 100644 index 0000000000..53d4ccc887 --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class AnthropicIntegrationType(ModelSimple): + """ + The definition of the `AnthropicIntegrationType` object. + + :param value: If omitted defaults to "Anthropic". Must be one of ["Anthropic"]. + :type value: str + """ + + allowed_values = { + "Anthropic", + } + ANTHROPIC: ClassVar["AnthropicIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +AnthropicIntegrationType.ANTHROPIC = AnthropicIntegrationType("Anthropic") diff --git a/src/datadog_api_client/v2/model/anthropic_integration_update.py b/src/datadog_api_client/v2/model/anthropic_integration_update.py new file mode 100644 index 0000000000..289ee996bf --- /dev/null +++ b/src/datadog_api_client/v2/model/anthropic_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.anthropic_credentials_update import AnthropicCredentialsUpdate + from datadog_api_client.v2.model.anthropic_integration_type import AnthropicIntegrationType + from datadog_api_client.v2.model.anthropic_api_key_update import AnthropicAPIKeyUpdate + + +class AnthropicIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.anthropic_credentials_update import AnthropicCredentialsUpdate + from datadog_api_client.v2.model.anthropic_integration_type import AnthropicIntegrationType + + return { + "credentials": (AnthropicCredentialsUpdate,), + "type": (AnthropicIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: AnthropicIntegrationType, + credentials: Union[AnthropicCredentialsUpdate, AnthropicAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``AnthropicIntegrationUpdate`` object. + + :param credentials: The definition of the ``AnthropicCredentialsUpdate`` object. + :type credentials: AnthropicCredentialsUpdate, optional + + :param type: The definition of the ``AnthropicIntegrationType`` object. + :type type: AnthropicIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/asana_access_token.py b/src/datadog_api_client/v2/model/asana_access_token.py new file mode 100644 index 0000000000..6c932ba63e --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_access_token.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.asana_access_token_type import AsanaAccessTokenType + + +class AsanaAccessToken(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.asana_access_token_type import AsanaAccessTokenType + + return { + "access_token": (str,), + "type": (AsanaAccessTokenType,), + } + + attribute_map = { + "access_token": "access_token", + "type": "type", + } + + def __init__(self_, access_token: str, type: AsanaAccessTokenType, **kwargs): + """ + The definition of the ``AsanaAccessToken`` object. + + :param access_token: The ``AsanaAccessToken`` ``access_token``. + :type access_token: str + + :param type: The definition of the ``AsanaAccessToken`` object. + :type type: AsanaAccessTokenType + """ + super().__init__(kwargs) + + self_.access_token = access_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/asana_access_token_type.py b/src/datadog_api_client/v2/model/asana_access_token_type.py new file mode 100644 index 0000000000..cc0b7f3f55 --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_access_token_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class AsanaAccessTokenType(ModelSimple): + """ + The definition of the `AsanaAccessToken` object. + + :param value: If omitted defaults to "AsanaAccessToken". Must be one of ["AsanaAccessToken"]. + :type value: str + """ + + allowed_values = { + "AsanaAccessToken", + } + ASANAACCESSTOKEN: ClassVar["AsanaAccessTokenType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +AsanaAccessTokenType.ASANAACCESSTOKEN = AsanaAccessTokenType("AsanaAccessToken") diff --git a/src/datadog_api_client/v2/model/asana_access_token_update.py b/src/datadog_api_client/v2/model/asana_access_token_update.py new file mode 100644 index 0000000000..6fc3b51dad --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_access_token_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.asana_access_token_type import AsanaAccessTokenType + + +class AsanaAccessTokenUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.asana_access_token_type import AsanaAccessTokenType + + return { + "access_token": (str,), + "type": (AsanaAccessTokenType,), + } + + attribute_map = { + "access_token": "access_token", + "type": "type", + } + + def __init__(self_, type: AsanaAccessTokenType, access_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``AsanaAccessToken`` object. + + :param access_token: The ``AsanaAccessTokenUpdate`` ``access_token``. + :type access_token: str, optional + + :param type: The definition of the ``AsanaAccessToken`` object. + :type type: AsanaAccessTokenType + """ + if access_token is not unset: + kwargs["access_token"] = access_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/asana_credentials.py b/src/datadog_api_client/v2/model/asana_credentials.py new file mode 100644 index 0000000000..97344589db --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class AsanaCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``AsanaCredentials`` object. + + :param access_token: The `AsanaAccessToken` `access_token`. + :type access_token: str + + :param type: The definition of the `AsanaAccessToken` object. + :type type: AsanaAccessTokenType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.asana_access_token import AsanaAccessToken + + return { + "oneOf": [ + AsanaAccessToken, + ], + } diff --git a/src/datadog_api_client/v2/model/asana_credentials_update.py b/src/datadog_api_client/v2/model/asana_credentials_update.py new file mode 100644 index 0000000000..c8e4250eb8 --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class AsanaCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``AsanaCredentialsUpdate`` object. + + :param access_token: The `AsanaAccessTokenUpdate` `access_token`. + :type access_token: str, optional + + :param type: The definition of the `AsanaAccessToken` object. + :type type: AsanaAccessTokenType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.asana_access_token_update import AsanaAccessTokenUpdate + + return { + "oneOf": [ + AsanaAccessTokenUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/asana_integration.py b/src/datadog_api_client/v2/model/asana_integration.py new file mode 100644 index 0000000000..d4a4bf964b --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.asana_credentials import AsanaCredentials + from datadog_api_client.v2.model.asana_integration_type import AsanaIntegrationType + from datadog_api_client.v2.model.asana_access_token import AsanaAccessToken + + +class AsanaIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.asana_credentials import AsanaCredentials + from datadog_api_client.v2.model.asana_integration_type import AsanaIntegrationType + + return { + "credentials": (AsanaCredentials,), + "type": (AsanaIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[AsanaCredentials, AsanaAccessToken], type: AsanaIntegrationType, **kwargs): + """ + The definition of the ``AsanaIntegration`` object. + + :param credentials: The definition of the ``AsanaCredentials`` object. + :type credentials: AsanaCredentials + + :param type: The definition of the ``AsanaIntegrationType`` object. + :type type: AsanaIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/asana_integration_type.py b/src/datadog_api_client/v2/model/asana_integration_type.py new file mode 100644 index 0000000000..d0ef40b7a3 --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class AsanaIntegrationType(ModelSimple): + """ + The definition of the `AsanaIntegrationType` object. + + :param value: If omitted defaults to "Asana". Must be one of ["Asana"]. + :type value: str + """ + + allowed_values = { + "Asana", + } + ASANA: ClassVar["AsanaIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +AsanaIntegrationType.ASANA = AsanaIntegrationType("Asana") diff --git a/src/datadog_api_client/v2/model/asana_integration_update.py b/src/datadog_api_client/v2/model/asana_integration_update.py new file mode 100644 index 0000000000..dda095a3ba --- /dev/null +++ b/src/datadog_api_client/v2/model/asana_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.asana_credentials_update import AsanaCredentialsUpdate + from datadog_api_client.v2.model.asana_integration_type import AsanaIntegrationType + from datadog_api_client.v2.model.asana_access_token_update import AsanaAccessTokenUpdate + + +class AsanaIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.asana_credentials_update import AsanaCredentialsUpdate + from datadog_api_client.v2.model.asana_integration_type import AsanaIntegrationType + + return { + "credentials": (AsanaCredentialsUpdate,), + "type": (AsanaIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: AsanaIntegrationType, + credentials: Union[AsanaCredentialsUpdate, AsanaAccessTokenUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``AsanaIntegrationUpdate`` object. + + :param credentials: The definition of the ``AsanaCredentialsUpdate`` object. + :type credentials: AsanaCredentialsUpdate, optional + + :param type: The definition of the ``AsanaIntegrationType`` object. + :type type: AsanaIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/azure_credentials.py b/src/datadog_api_client/v2/model/azure_credentials.py new file mode 100644 index 0000000000..4d87ec2d7d --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_credentials.py @@ -0,0 +1,50 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class AzureCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``AzureCredentials`` object. + + :param app_client_id: The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It's used to identify the application during the authentication process. Your Application (client) ID is listed in the application's overview page. You can navigate to your application via the Azure Directory. + :type app_client_id: str + + :param client_secret: The Client Secret is a confidential piece of information known only to the application and Azure AD. It's used to prove the application's identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory. + :type client_secret: str + + :param custom_scopes: If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource's scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default. + :type custom_scopes: str, optional + + :param tenant_id: The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the 'Tenant information' section. + :type tenant_id: str + + :param type: The definition of the `AzureTenant` object. + :type type: AzureTenantType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.azure_tenant import AzureTenant + + return { + "oneOf": [ + AzureTenant, + ], + } diff --git a/src/datadog_api_client/v2/model/azure_credentials_update.py b/src/datadog_api_client/v2/model/azure_credentials_update.py new file mode 100644 index 0000000000..8a8e998d50 --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_credentials_update.py @@ -0,0 +1,50 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class AzureCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``AzureCredentialsUpdate`` object. + + :param app_client_id: The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It's used to identify the application during the authentication process. Your Application (client) ID is listed in the application's overview page. You can navigate to your application via the Azure Directory. + :type app_client_id: str, optional + + :param client_secret: The Client Secret is a confidential piece of information known only to the application and Azure AD. It's used to prove the application's identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory. + :type client_secret: str, optional + + :param custom_scopes: If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource's scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default. + :type custom_scopes: str, optional + + :param tenant_id: The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the 'Tenant information' section. + :type tenant_id: str, optional + + :param type: The definition of the `AzureTenant` object. + :type type: AzureTenantType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.azure_tenant_update import AzureTenantUpdate + + return { + "oneOf": [ + AzureTenantUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/azure_integration.py b/src/datadog_api_client/v2/model/azure_integration.py new file mode 100644 index 0000000000..73189de1fc --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.azure_credentials import AzureCredentials + from datadog_api_client.v2.model.azure_integration_type import AzureIntegrationType + from datadog_api_client.v2.model.azure_tenant import AzureTenant + + +class AzureIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.azure_credentials import AzureCredentials + from datadog_api_client.v2.model.azure_integration_type import AzureIntegrationType + + return { + "credentials": (AzureCredentials,), + "type": (AzureIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[AzureCredentials, AzureTenant], type: AzureIntegrationType, **kwargs): + """ + The definition of the ``AzureIntegration`` object. + + :param credentials: The definition of the ``AzureCredentials`` object. + :type credentials: AzureCredentials + + :param type: The definition of the ``AzureIntegrationType`` object. + :type type: AzureIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/azure_integration_type.py b/src/datadog_api_client/v2/model/azure_integration_type.py new file mode 100644 index 0000000000..b01a59566e --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class AzureIntegrationType(ModelSimple): + """ + The definition of the `AzureIntegrationType` object. + + :param value: If omitted defaults to "Azure". Must be one of ["Azure"]. + :type value: str + """ + + allowed_values = { + "Azure", + } + AZURE: ClassVar["AzureIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +AzureIntegrationType.AZURE = AzureIntegrationType("Azure") diff --git a/src/datadog_api_client/v2/model/azure_integration_update.py b/src/datadog_api_client/v2/model/azure_integration_update.py new file mode 100644 index 0000000000..07dcf8fdf3 --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.azure_credentials_update import AzureCredentialsUpdate + from datadog_api_client.v2.model.azure_integration_type import AzureIntegrationType + from datadog_api_client.v2.model.azure_tenant_update import AzureTenantUpdate + + +class AzureIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.azure_credentials_update import AzureCredentialsUpdate + from datadog_api_client.v2.model.azure_integration_type import AzureIntegrationType + + return { + "credentials": (AzureCredentialsUpdate,), + "type": (AzureIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: AzureIntegrationType, + credentials: Union[AzureCredentialsUpdate, AzureTenantUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``AzureIntegrationUpdate`` object. + + :param credentials: The definition of the ``AzureCredentialsUpdate`` object. + :type credentials: AzureCredentialsUpdate, optional + + :param type: The definition of the ``AzureIntegrationType`` object. + :type type: AzureIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/azure_tenant.py b/src/datadog_api_client/v2/model/azure_tenant.py new file mode 100644 index 0000000000..01c2df5f35 --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_tenant.py @@ -0,0 +1,75 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.azure_tenant_type import AzureTenantType + + +class AzureTenant(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.azure_tenant_type import AzureTenantType + + return { + "app_client_id": (str,), + "client_secret": (str,), + "custom_scopes": (str,), + "tenant_id": (str,), + "type": (AzureTenantType,), + } + + attribute_map = { + "app_client_id": "app_client_id", + "client_secret": "client_secret", + "custom_scopes": "custom_scopes", + "tenant_id": "tenant_id", + "type": "type", + } + + def __init__( + self_, + app_client_id: str, + client_secret: str, + tenant_id: str, + type: AzureTenantType, + custom_scopes: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``AzureTenant`` object. + + :param app_client_id: The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It's used to identify the application during the authentication process. Your Application (client) ID is listed in the application's overview page. You can navigate to your application via the Azure Directory. + :type app_client_id: str + + :param client_secret: The Client Secret is a confidential piece of information known only to the application and Azure AD. It's used to prove the application's identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory. + :type client_secret: str + + :param custom_scopes: If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource's scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default. + :type custom_scopes: str, optional + + :param tenant_id: The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the 'Tenant information' section. + :type tenant_id: str + + :param type: The definition of the ``AzureTenant`` object. + :type type: AzureTenantType + """ + if custom_scopes is not unset: + kwargs["custom_scopes"] = custom_scopes + super().__init__(kwargs) + + self_.app_client_id = app_client_id + self_.client_secret = client_secret + self_.tenant_id = tenant_id + self_.type = type diff --git a/src/datadog_api_client/v2/model/azure_tenant_type.py b/src/datadog_api_client/v2/model/azure_tenant_type.py new file mode 100644 index 0000000000..095a6288d1 --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_tenant_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class AzureTenantType(ModelSimple): + """ + The definition of the `AzureTenant` object. + + :param value: If omitted defaults to "AzureTenant". Must be one of ["AzureTenant"]. + :type value: str + """ + + allowed_values = { + "AzureTenant", + } + AZURETENANT: ClassVar["AzureTenantType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +AzureTenantType.AZURETENANT = AzureTenantType("AzureTenant") diff --git a/src/datadog_api_client/v2/model/azure_tenant_update.py b/src/datadog_api_client/v2/model/azure_tenant_update.py new file mode 100644 index 0000000000..902f8943f9 --- /dev/null +++ b/src/datadog_api_client/v2/model/azure_tenant_update.py @@ -0,0 +1,78 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.azure_tenant_type import AzureTenantType + + +class AzureTenantUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.azure_tenant_type import AzureTenantType + + return { + "app_client_id": (str,), + "client_secret": (str,), + "custom_scopes": (str,), + "tenant_id": (str,), + "type": (AzureTenantType,), + } + + attribute_map = { + "app_client_id": "app_client_id", + "client_secret": "client_secret", + "custom_scopes": "custom_scopes", + "tenant_id": "tenant_id", + "type": "type", + } + + def __init__( + self_, + type: AzureTenantType, + app_client_id: Union[str, UnsetType] = unset, + client_secret: Union[str, UnsetType] = unset, + custom_scopes: Union[str, UnsetType] = unset, + tenant_id: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``AzureTenant`` object. + + :param app_client_id: The Client ID, also known as the Application ID in Azure, is a unique identifier for an application. It's used to identify the application during the authentication process. Your Application (client) ID is listed in the application's overview page. You can navigate to your application via the Azure Directory. + :type app_client_id: str, optional + + :param client_secret: The Client Secret is a confidential piece of information known only to the application and Azure AD. It's used to prove the application's identity. Your Client Secret is available from the application’s secrets page. You can navigate to your application via the Azure Directory. + :type client_secret: str, optional + + :param custom_scopes: If provided, the custom scope to be requested from Microsoft when acquiring an OAuth 2 access token. This custom scope is used only in conjunction with the HTTP action. A resource's scope is constructed by using the identifier URI for the resource and .default, separated by a forward slash (/) as follows:{identifierURI}/.default. + :type custom_scopes: str, optional + + :param tenant_id: The Tenant ID, also known as the Directory ID in Azure, is a unique identifier that represents an Azure AD instance. Your Tenant ID (Directory ID) is listed in your Active Directory overview page under the 'Tenant information' section. + :type tenant_id: str, optional + + :param type: The definition of the ``AzureTenant`` object. + :type type: AzureTenantType + """ + if app_client_id is not unset: + kwargs["app_client_id"] = app_client_id + if client_secret is not unset: + kwargs["client_secret"] = client_secret + if custom_scopes is not unset: + kwargs["custom_scopes"] = custom_scopes + if tenant_id is not unset: + kwargs["tenant_id"] = tenant_id + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/circle_ci_credentials.py b/src/datadog_api_client/v2/model/circle_ci_credentials.py new file mode 100644 index 0000000000..5146e0ac19 --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ci_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class CircleCICredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``CircleCICredentials`` object. + + :param api_token: The `CircleCIAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `CircleCIAPIKey` object. + :type type: CircleCIAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.circle_ciapi_key import CircleCIAPIKey + + return { + "oneOf": [ + CircleCIAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/circle_ci_credentials_update.py b/src/datadog_api_client/v2/model/circle_ci_credentials_update.py new file mode 100644 index 0000000000..6f68f01f15 --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ci_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class CircleCICredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``CircleCICredentialsUpdate`` object. + + :param api_token: The `CircleCIAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `CircleCIAPIKey` object. + :type type: CircleCIAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.circle_ciapi_key_update import CircleCIAPIKeyUpdate + + return { + "oneOf": [ + CircleCIAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/circle_ci_integration.py b/src/datadog_api_client/v2/model/circle_ci_integration.py new file mode 100644 index 0000000000..6b587ce4ce --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ci_integration.py @@ -0,0 +1,51 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.circle_ci_credentials import CircleCICredentials + from datadog_api_client.v2.model.circle_ci_integration_type import CircleCIIntegrationType + from datadog_api_client.v2.model.circle_ciapi_key import CircleCIAPIKey + + +class CircleCIIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.circle_ci_credentials import CircleCICredentials + from datadog_api_client.v2.model.circle_ci_integration_type import CircleCIIntegrationType + + return { + "credentials": (CircleCICredentials,), + "type": (CircleCIIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, credentials: Union[CircleCICredentials, CircleCIAPIKey], type: CircleCIIntegrationType, **kwargs + ): + """ + The definition of the ``CircleCIIntegration`` object. + + :param credentials: The definition of the ``CircleCICredentials`` object. + :type credentials: CircleCICredentials + + :param type: The definition of the ``CircleCIIntegrationType`` object. + :type type: CircleCIIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/circle_ci_integration_type.py b/src/datadog_api_client/v2/model/circle_ci_integration_type.py new file mode 100644 index 0000000000..786e9b5a83 --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ci_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class CircleCIIntegrationType(ModelSimple): + """ + The definition of the `CircleCIIntegrationType` object. + + :param value: If omitted defaults to "CircleCI". Must be one of ["CircleCI"]. + :type value: str + """ + + allowed_values = { + "CircleCI", + } + CIRCLECI: ClassVar["CircleCIIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +CircleCIIntegrationType.CIRCLECI = CircleCIIntegrationType("CircleCI") diff --git a/src/datadog_api_client/v2/model/circle_ci_integration_update.py b/src/datadog_api_client/v2/model/circle_ci_integration_update.py new file mode 100644 index 0000000000..c862ac3ccd --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ci_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.circle_ci_credentials_update import CircleCICredentialsUpdate + from datadog_api_client.v2.model.circle_ci_integration_type import CircleCIIntegrationType + from datadog_api_client.v2.model.circle_ciapi_key_update import CircleCIAPIKeyUpdate + + +class CircleCIIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.circle_ci_credentials_update import CircleCICredentialsUpdate + from datadog_api_client.v2.model.circle_ci_integration_type import CircleCIIntegrationType + + return { + "credentials": (CircleCICredentialsUpdate,), + "type": (CircleCIIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: CircleCIIntegrationType, + credentials: Union[CircleCICredentialsUpdate, CircleCIAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``CircleCIIntegrationUpdate`` object. + + :param credentials: The definition of the ``CircleCICredentialsUpdate`` object. + :type credentials: CircleCICredentialsUpdate, optional + + :param type: The definition of the ``CircleCIIntegrationType`` object. + :type type: CircleCIIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/circle_ciapi_key.py b/src/datadog_api_client/v2/model/circle_ciapi_key.py new file mode 100644 index 0000000000..dc2560c3d9 --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ciapi_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.circle_ciapi_key_type import CircleCIAPIKeyType + + +class CircleCIAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.circle_ciapi_key_type import CircleCIAPIKeyType + + return { + "api_token": (str,), + "type": (CircleCIAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: CircleCIAPIKeyType, **kwargs): + """ + The definition of the ``CircleCIAPIKey`` object. + + :param api_token: The ``CircleCIAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``CircleCIAPIKey`` object. + :type type: CircleCIAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/circle_ciapi_key_type.py b/src/datadog_api_client/v2/model/circle_ciapi_key_type.py new file mode 100644 index 0000000000..d0d006af60 --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ciapi_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class CircleCIAPIKeyType(ModelSimple): + """ + The definition of the `CircleCIAPIKey` object. + + :param value: If omitted defaults to "CircleCIAPIKey". Must be one of ["CircleCIAPIKey"]. + :type value: str + """ + + allowed_values = { + "CircleCIAPIKey", + } + CIRCLECIAPIKEY: ClassVar["CircleCIAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +CircleCIAPIKeyType.CIRCLECIAPIKEY = CircleCIAPIKeyType("CircleCIAPIKey") diff --git a/src/datadog_api_client/v2/model/circle_ciapi_key_update.py b/src/datadog_api_client/v2/model/circle_ciapi_key_update.py new file mode 100644 index 0000000000..d9e7995f1b --- /dev/null +++ b/src/datadog_api_client/v2/model/circle_ciapi_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.circle_ciapi_key_type import CircleCIAPIKeyType + + +class CircleCIAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.circle_ciapi_key_type import CircleCIAPIKeyType + + return { + "api_token": (str,), + "type": (CircleCIAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: CircleCIAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``CircleCIAPIKey`` object. + + :param api_token: The ``CircleCIAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``CircleCIAPIKey`` object. + :type type: CircleCIAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/clickup_api_key.py b/src/datadog_api_client/v2/model/clickup_api_key.py new file mode 100644 index 0000000000..21475bf787 --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.clickup_api_key_type import ClickupAPIKeyType + + +class ClickupAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.clickup_api_key_type import ClickupAPIKeyType + + return { + "api_token": (str,), + "type": (ClickupAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: ClickupAPIKeyType, **kwargs): + """ + The definition of the ``ClickupAPIKey`` object. + + :param api_token: The ``ClickupAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``ClickupAPIKey`` object. + :type type: ClickupAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/clickup_api_key_type.py b/src/datadog_api_client/v2/model/clickup_api_key_type.py new file mode 100644 index 0000000000..ee80a566b4 --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ClickupAPIKeyType(ModelSimple): + """ + The definition of the `ClickupAPIKey` object. + + :param value: If omitted defaults to "ClickupAPIKey". Must be one of ["ClickupAPIKey"]. + :type value: str + """ + + allowed_values = { + "ClickupAPIKey", + } + CLICKUPAPIKEY: ClassVar["ClickupAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ClickupAPIKeyType.CLICKUPAPIKEY = ClickupAPIKeyType("ClickupAPIKey") diff --git a/src/datadog_api_client/v2/model/clickup_api_key_update.py b/src/datadog_api_client/v2/model/clickup_api_key_update.py new file mode 100644 index 0000000000..3feb4947f4 --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.clickup_api_key_type import ClickupAPIKeyType + + +class ClickupAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.clickup_api_key_type import ClickupAPIKeyType + + return { + "api_token": (str,), + "type": (ClickupAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: ClickupAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``ClickupAPIKey`` object. + + :param api_token: The ``ClickupAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``ClickupAPIKey`` object. + :type type: ClickupAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/clickup_credentials.py b/src/datadog_api_client/v2/model/clickup_credentials.py new file mode 100644 index 0000000000..fa67cd19a1 --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class ClickupCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``ClickupCredentials`` object. + + :param api_token: The `ClickupAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `ClickupAPIKey` object. + :type type: ClickupAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.clickup_api_key import ClickupAPIKey + + return { + "oneOf": [ + ClickupAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/clickup_credentials_update.py b/src/datadog_api_client/v2/model/clickup_credentials_update.py new file mode 100644 index 0000000000..fa3b3e3dda --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class ClickupCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``ClickupCredentialsUpdate`` object. + + :param api_token: The `ClickupAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `ClickupAPIKey` object. + :type type: ClickupAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.clickup_api_key_update import ClickupAPIKeyUpdate + + return { + "oneOf": [ + ClickupAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/clickup_integration.py b/src/datadog_api_client/v2/model/clickup_integration.py new file mode 100644 index 0000000000..3a3adbc92a --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.clickup_credentials import ClickupCredentials + from datadog_api_client.v2.model.clickup_integration_type import ClickupIntegrationType + from datadog_api_client.v2.model.clickup_api_key import ClickupAPIKey + + +class ClickupIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.clickup_credentials import ClickupCredentials + from datadog_api_client.v2.model.clickup_integration_type import ClickupIntegrationType + + return { + "credentials": (ClickupCredentials,), + "type": (ClickupIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[ClickupCredentials, ClickupAPIKey], type: ClickupIntegrationType, **kwargs): + """ + The definition of the ``ClickupIntegration`` object. + + :param credentials: The definition of the ``ClickupCredentials`` object. + :type credentials: ClickupCredentials + + :param type: The definition of the ``ClickupIntegrationType`` object. + :type type: ClickupIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/clickup_integration_type.py b/src/datadog_api_client/v2/model/clickup_integration_type.py new file mode 100644 index 0000000000..afb60683af --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ClickupIntegrationType(ModelSimple): + """ + The definition of the `ClickupIntegrationType` object. + + :param value: If omitted defaults to "Clickup". Must be one of ["Clickup"]. + :type value: str + """ + + allowed_values = { + "Clickup", + } + CLICKUP: ClassVar["ClickupIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ClickupIntegrationType.CLICKUP = ClickupIntegrationType("Clickup") diff --git a/src/datadog_api_client/v2/model/clickup_integration_update.py b/src/datadog_api_client/v2/model/clickup_integration_update.py new file mode 100644 index 0000000000..50fe99475e --- /dev/null +++ b/src/datadog_api_client/v2/model/clickup_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.clickup_credentials_update import ClickupCredentialsUpdate + from datadog_api_client.v2.model.clickup_integration_type import ClickupIntegrationType + from datadog_api_client.v2.model.clickup_api_key_update import ClickupAPIKeyUpdate + + +class ClickupIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.clickup_credentials_update import ClickupCredentialsUpdate + from datadog_api_client.v2.model.clickup_integration_type import ClickupIntegrationType + + return { + "credentials": (ClickupCredentialsUpdate,), + "type": (ClickupIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: ClickupIntegrationType, + credentials: Union[ClickupCredentialsUpdate, ClickupAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``ClickupIntegrationUpdate`` object. + + :param credentials: The definition of the ``ClickupCredentialsUpdate`` object. + :type credentials: ClickupCredentialsUpdate, optional + + :param type: The definition of the ``ClickupIntegrationType`` object. + :type type: ClickupIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/cloudflare_api_token.py b/src/datadog_api_client/v2/model/cloudflare_api_token.py new file mode 100644 index 0000000000..f9bc82f38b --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_api_token.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.cloudflare_api_token_type import CloudflareAPITokenType + + +class CloudflareAPIToken(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.cloudflare_api_token_type import CloudflareAPITokenType + + return { + "api_token": (str,), + "type": (CloudflareAPITokenType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: CloudflareAPITokenType, **kwargs): + """ + The definition of the ``CloudflareAPIToken`` object. + + :param api_token: The ``CloudflareAPIToken`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``CloudflareAPIToken`` object. + :type type: CloudflareAPITokenType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/cloudflare_api_token_type.py b/src/datadog_api_client/v2/model/cloudflare_api_token_type.py new file mode 100644 index 0000000000..0d5a2bdc50 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_api_token_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class CloudflareAPITokenType(ModelSimple): + """ + The definition of the `CloudflareAPIToken` object. + + :param value: If omitted defaults to "CloudflareAPIToken". Must be one of ["CloudflareAPIToken"]. + :type value: str + """ + + allowed_values = { + "CloudflareAPIToken", + } + CLOUDFLAREAPITOKEN: ClassVar["CloudflareAPITokenType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +CloudflareAPITokenType.CLOUDFLAREAPITOKEN = CloudflareAPITokenType("CloudflareAPIToken") diff --git a/src/datadog_api_client/v2/model/cloudflare_api_token_update.py b/src/datadog_api_client/v2/model/cloudflare_api_token_update.py new file mode 100644 index 0000000000..e007f85103 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_api_token_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.cloudflare_api_token_type import CloudflareAPITokenType + + +class CloudflareAPITokenUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.cloudflare_api_token_type import CloudflareAPITokenType + + return { + "api_token": (str,), + "type": (CloudflareAPITokenType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: CloudflareAPITokenType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``CloudflareAPIToken`` object. + + :param api_token: The ``CloudflareAPITokenUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``CloudflareAPIToken`` object. + :type type: CloudflareAPITokenType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/cloudflare_credentials.py b/src/datadog_api_client/v2/model/cloudflare_credentials.py new file mode 100644 index 0000000000..0ab284e921 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_credentials.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class CloudflareCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``CloudflareCredentials`` object. + + :param api_token: The `CloudflareAPIToken` `api_token`. + :type api_token: str + + :param type: The definition of the `CloudflareAPIToken` object. + :type type: CloudflareAPITokenType + + :param auth_email: The `CloudflareGlobalAPIToken` `auth_email`. + :type auth_email: str + + :param global_api_key: The `CloudflareGlobalAPIToken` `global_api_key`. + :type global_api_key: str + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.cloudflare_api_token import CloudflareAPIToken + from datadog_api_client.v2.model.cloudflare_global_api_token import CloudflareGlobalAPIToken + + return { + "oneOf": [ + CloudflareAPIToken, + CloudflareGlobalAPIToken, + ], + } diff --git a/src/datadog_api_client/v2/model/cloudflare_credentials_update.py b/src/datadog_api_client/v2/model/cloudflare_credentials_update.py new file mode 100644 index 0000000000..94ca10902e --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_credentials_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class CloudflareCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``CloudflareCredentialsUpdate`` object. + + :param api_token: The `CloudflareAPITokenUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `CloudflareAPIToken` object. + :type type: CloudflareAPITokenType + + :param auth_email: The `CloudflareGlobalAPITokenUpdate` `auth_email`. + :type auth_email: str, optional + + :param global_api_key: The `CloudflareGlobalAPITokenUpdate` `global_api_key`. + :type global_api_key: str, optional + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.cloudflare_api_token_update import CloudflareAPITokenUpdate + from datadog_api_client.v2.model.cloudflare_global_api_token_update import CloudflareGlobalAPITokenUpdate + + return { + "oneOf": [ + CloudflareAPITokenUpdate, + CloudflareGlobalAPITokenUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/cloudflare_global_api_token.py b/src/datadog_api_client/v2/model/cloudflare_global_api_token.py new file mode 100644 index 0000000000..427805a5e8 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_global_api_token.py @@ -0,0 +1,52 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.cloudflare_global_api_token_type import CloudflareGlobalAPITokenType + + +class CloudflareGlobalAPIToken(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.cloudflare_global_api_token_type import CloudflareGlobalAPITokenType + + return { + "auth_email": (str,), + "global_api_key": (str,), + "type": (CloudflareGlobalAPITokenType,), + } + + attribute_map = { + "auth_email": "auth_email", + "global_api_key": "global_api_key", + "type": "type", + } + + def __init__(self_, auth_email: str, global_api_key: str, type: CloudflareGlobalAPITokenType, **kwargs): + """ + The definition of the ``CloudflareGlobalAPIToken`` object. + + :param auth_email: The ``CloudflareGlobalAPIToken`` ``auth_email``. + :type auth_email: str + + :param global_api_key: The ``CloudflareGlobalAPIToken`` ``global_api_key``. + :type global_api_key: str + + :param type: The definition of the ``CloudflareGlobalAPIToken`` object. + :type type: CloudflareGlobalAPITokenType + """ + super().__init__(kwargs) + + self_.auth_email = auth_email + self_.global_api_key = global_api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/cloudflare_global_api_token_type.py b/src/datadog_api_client/v2/model/cloudflare_global_api_token_type.py new file mode 100644 index 0000000000..7ef096856c --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_global_api_token_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class CloudflareGlobalAPITokenType(ModelSimple): + """ + The definition of the `CloudflareGlobalAPIToken` object. + + :param value: If omitted defaults to "CloudflareGlobalAPIToken". Must be one of ["CloudflareGlobalAPIToken"]. + :type value: str + """ + + allowed_values = { + "CloudflareGlobalAPIToken", + } + CLOUDFLAREGLOBALAPITOKEN: ClassVar["CloudflareGlobalAPITokenType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +CloudflareGlobalAPITokenType.CLOUDFLAREGLOBALAPITOKEN = CloudflareGlobalAPITokenType("CloudflareGlobalAPIToken") diff --git a/src/datadog_api_client/v2/model/cloudflare_global_api_token_update.py b/src/datadog_api_client/v2/model/cloudflare_global_api_token_update.py new file mode 100644 index 0000000000..1ee7695068 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_global_api_token_update.py @@ -0,0 +1,62 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.cloudflare_global_api_token_type import CloudflareGlobalAPITokenType + + +class CloudflareGlobalAPITokenUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.cloudflare_global_api_token_type import CloudflareGlobalAPITokenType + + return { + "auth_email": (str,), + "global_api_key": (str,), + "type": (CloudflareGlobalAPITokenType,), + } + + attribute_map = { + "auth_email": "auth_email", + "global_api_key": "global_api_key", + "type": "type", + } + + def __init__( + self_, + type: CloudflareGlobalAPITokenType, + auth_email: Union[str, UnsetType] = unset, + global_api_key: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``CloudflareGlobalAPIToken`` object. + + :param auth_email: The ``CloudflareGlobalAPITokenUpdate`` ``auth_email``. + :type auth_email: str, optional + + :param global_api_key: The ``CloudflareGlobalAPITokenUpdate`` ``global_api_key``. + :type global_api_key: str, optional + + :param type: The definition of the ``CloudflareGlobalAPIToken`` object. + :type type: CloudflareGlobalAPITokenType + """ + if auth_email is not unset: + kwargs["auth_email"] = auth_email + if global_api_key is not unset: + kwargs["global_api_key"] = global_api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/cloudflare_integration.py b/src/datadog_api_client/v2/model/cloudflare_integration.py new file mode 100644 index 0000000000..9374c06cc3 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_integration.py @@ -0,0 +1,55 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.cloudflare_credentials import CloudflareCredentials + from datadog_api_client.v2.model.cloudflare_integration_type import CloudflareIntegrationType + from datadog_api_client.v2.model.cloudflare_api_token import CloudflareAPIToken + from datadog_api_client.v2.model.cloudflare_global_api_token import CloudflareGlobalAPIToken + + +class CloudflareIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.cloudflare_credentials import CloudflareCredentials + from datadog_api_client.v2.model.cloudflare_integration_type import CloudflareIntegrationType + + return { + "credentials": (CloudflareCredentials,), + "type": (CloudflareIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + credentials: Union[CloudflareCredentials, CloudflareAPIToken, CloudflareGlobalAPIToken], + type: CloudflareIntegrationType, + **kwargs, + ): + """ + The definition of the ``CloudflareIntegration`` object. + + :param credentials: The definition of the ``CloudflareCredentials`` object. + :type credentials: CloudflareCredentials + + :param type: The definition of the ``CloudflareIntegrationType`` object. + :type type: CloudflareIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/cloudflare_integration_type.py b/src/datadog_api_client/v2/model/cloudflare_integration_type.py new file mode 100644 index 0000000000..737fac6b55 --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class CloudflareIntegrationType(ModelSimple): + """ + The definition of the `CloudflareIntegrationType` object. + + :param value: If omitted defaults to "Cloudflare". Must be one of ["Cloudflare"]. + :type value: str + """ + + allowed_values = { + "Cloudflare", + } + CLOUDFLARE: ClassVar["CloudflareIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +CloudflareIntegrationType.CLOUDFLARE = CloudflareIntegrationType("Cloudflare") diff --git a/src/datadog_api_client/v2/model/cloudflare_integration_update.py b/src/datadog_api_client/v2/model/cloudflare_integration_update.py new file mode 100644 index 0000000000..7ee750bf7a --- /dev/null +++ b/src/datadog_api_client/v2/model/cloudflare_integration_update.py @@ -0,0 +1,60 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.cloudflare_credentials_update import CloudflareCredentialsUpdate + from datadog_api_client.v2.model.cloudflare_integration_type import CloudflareIntegrationType + from datadog_api_client.v2.model.cloudflare_api_token_update import CloudflareAPITokenUpdate + from datadog_api_client.v2.model.cloudflare_global_api_token_update import CloudflareGlobalAPITokenUpdate + + +class CloudflareIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.cloudflare_credentials_update import CloudflareCredentialsUpdate + from datadog_api_client.v2.model.cloudflare_integration_type import CloudflareIntegrationType + + return { + "credentials": (CloudflareCredentialsUpdate,), + "type": (CloudflareIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: CloudflareIntegrationType, + credentials: Union[ + CloudflareCredentialsUpdate, CloudflareAPITokenUpdate, CloudflareGlobalAPITokenUpdate, UnsetType + ] = unset, + **kwargs, + ): + """ + The definition of the ``CloudflareIntegrationUpdate`` object. + + :param credentials: The definition of the ``CloudflareCredentialsUpdate`` object. + :type credentials: CloudflareCredentialsUpdate, optional + + :param type: The definition of the ``CloudflareIntegrationType`` object. + :type type: CloudflareIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/config_cat_credentials.py b/src/datadog_api_client/v2/model/config_cat_credentials.py new file mode 100644 index 0000000000..92fe2aea00 --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_credentials.py @@ -0,0 +1,47 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class ConfigCatCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``ConfigCatCredentials`` object. + + :param api_password: The `ConfigCatSDKKey` `api_password`. + :type api_password: str + + :param api_username: The `ConfigCatSDKKey` `api_username`. + :type api_username: str + + :param sdk_key: The `ConfigCatSDKKey` `sdk_key`. + :type sdk_key: str + + :param type: The definition of the `ConfigCatSDKKey` object. + :type type: ConfigCatSDKKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.config_cat_sdk_key import ConfigCatSDKKey + + return { + "oneOf": [ + ConfigCatSDKKey, + ], + } diff --git a/src/datadog_api_client/v2/model/config_cat_credentials_update.py b/src/datadog_api_client/v2/model/config_cat_credentials_update.py new file mode 100644 index 0000000000..213aecaf37 --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_credentials_update.py @@ -0,0 +1,47 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class ConfigCatCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``ConfigCatCredentialsUpdate`` object. + + :param api_password: The `ConfigCatSDKKeyUpdate` `api_password`. + :type api_password: str, optional + + :param api_username: The `ConfigCatSDKKeyUpdate` `api_username`. + :type api_username: str, optional + + :param sdk_key: The `ConfigCatSDKKeyUpdate` `sdk_key`. + :type sdk_key: str, optional + + :param type: The definition of the `ConfigCatSDKKey` object. + :type type: ConfigCatSDKKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.config_cat_sdk_key_update import ConfigCatSDKKeyUpdate + + return { + "oneOf": [ + ConfigCatSDKKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/config_cat_integration.py b/src/datadog_api_client/v2/model/config_cat_integration.py new file mode 100644 index 0000000000..e090c52ffd --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_integration.py @@ -0,0 +1,51 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.config_cat_credentials import ConfigCatCredentials + from datadog_api_client.v2.model.config_cat_integration_type import ConfigCatIntegrationType + from datadog_api_client.v2.model.config_cat_sdk_key import ConfigCatSDKKey + + +class ConfigCatIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.config_cat_credentials import ConfigCatCredentials + from datadog_api_client.v2.model.config_cat_integration_type import ConfigCatIntegrationType + + return { + "credentials": (ConfigCatCredentials,), + "type": (ConfigCatIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, credentials: Union[ConfigCatCredentials, ConfigCatSDKKey], type: ConfigCatIntegrationType, **kwargs + ): + """ + The definition of the ``ConfigCatIntegration`` object. + + :param credentials: The definition of the ``ConfigCatCredentials`` object. + :type credentials: ConfigCatCredentials + + :param type: The definition of the ``ConfigCatIntegrationType`` object. + :type type: ConfigCatIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/config_cat_integration_type.py b/src/datadog_api_client/v2/model/config_cat_integration_type.py new file mode 100644 index 0000000000..4b6de0a30c --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ConfigCatIntegrationType(ModelSimple): + """ + The definition of the `ConfigCatIntegrationType` object. + + :param value: If omitted defaults to "ConfigCat". Must be one of ["ConfigCat"]. + :type value: str + """ + + allowed_values = { + "ConfigCat", + } + CONFIGCAT: ClassVar["ConfigCatIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ConfigCatIntegrationType.CONFIGCAT = ConfigCatIntegrationType("ConfigCat") diff --git a/src/datadog_api_client/v2/model/config_cat_integration_update.py b/src/datadog_api_client/v2/model/config_cat_integration_update.py new file mode 100644 index 0000000000..36132ad248 --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.config_cat_credentials_update import ConfigCatCredentialsUpdate + from datadog_api_client.v2.model.config_cat_integration_type import ConfigCatIntegrationType + from datadog_api_client.v2.model.config_cat_sdk_key_update import ConfigCatSDKKeyUpdate + + +class ConfigCatIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.config_cat_credentials_update import ConfigCatCredentialsUpdate + from datadog_api_client.v2.model.config_cat_integration_type import ConfigCatIntegrationType + + return { + "credentials": (ConfigCatCredentialsUpdate,), + "type": (ConfigCatIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: ConfigCatIntegrationType, + credentials: Union[ConfigCatCredentialsUpdate, ConfigCatSDKKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``ConfigCatIntegrationUpdate`` object. + + :param credentials: The definition of the ``ConfigCatCredentialsUpdate`` object. + :type credentials: ConfigCatCredentialsUpdate, optional + + :param type: The definition of the ``ConfigCatIntegrationType`` object. + :type type: ConfigCatIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/config_cat_sdk_key.py b/src/datadog_api_client/v2/model/config_cat_sdk_key.py new file mode 100644 index 0000000000..5167e28ee9 --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_sdk_key.py @@ -0,0 +1,58 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.config_cat_sdk_key_type import ConfigCatSDKKeyType + + +class ConfigCatSDKKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.config_cat_sdk_key_type import ConfigCatSDKKeyType + + return { + "api_password": (str,), + "api_username": (str,), + "sdk_key": (str,), + "type": (ConfigCatSDKKeyType,), + } + + attribute_map = { + "api_password": "api_password", + "api_username": "api_username", + "sdk_key": "sdk_key", + "type": "type", + } + + def __init__(self_, api_password: str, api_username: str, sdk_key: str, type: ConfigCatSDKKeyType, **kwargs): + """ + The definition of the ``ConfigCatSDKKey`` object. + + :param api_password: The ``ConfigCatSDKKey`` ``api_password``. + :type api_password: str + + :param api_username: The ``ConfigCatSDKKey`` ``api_username``. + :type api_username: str + + :param sdk_key: The ``ConfigCatSDKKey`` ``sdk_key``. + :type sdk_key: str + + :param type: The definition of the ``ConfigCatSDKKey`` object. + :type type: ConfigCatSDKKeyType + """ + super().__init__(kwargs) + + self_.api_password = api_password + self_.api_username = api_username + self_.sdk_key = sdk_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/config_cat_sdk_key_type.py b/src/datadog_api_client/v2/model/config_cat_sdk_key_type.py new file mode 100644 index 0000000000..60ffbfef55 --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_sdk_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ConfigCatSDKKeyType(ModelSimple): + """ + The definition of the `ConfigCatSDKKey` object. + + :param value: If omitted defaults to "ConfigCatSDKKey". Must be one of ["ConfigCatSDKKey"]. + :type value: str + """ + + allowed_values = { + "ConfigCatSDKKey", + } + CONFIGCATSDKKEY: ClassVar["ConfigCatSDKKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ConfigCatSDKKeyType.CONFIGCATSDKKEY = ConfigCatSDKKeyType("ConfigCatSDKKey") diff --git a/src/datadog_api_client/v2/model/config_cat_sdk_key_update.py b/src/datadog_api_client/v2/model/config_cat_sdk_key_update.py new file mode 100644 index 0000000000..2d3751fe9c --- /dev/null +++ b/src/datadog_api_client/v2/model/config_cat_sdk_key_update.py @@ -0,0 +1,70 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.config_cat_sdk_key_type import ConfigCatSDKKeyType + + +class ConfigCatSDKKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.config_cat_sdk_key_type import ConfigCatSDKKeyType + + return { + "api_password": (str,), + "api_username": (str,), + "sdk_key": (str,), + "type": (ConfigCatSDKKeyType,), + } + + attribute_map = { + "api_password": "api_password", + "api_username": "api_username", + "sdk_key": "sdk_key", + "type": "type", + } + + def __init__( + self_, + type: ConfigCatSDKKeyType, + api_password: Union[str, UnsetType] = unset, + api_username: Union[str, UnsetType] = unset, + sdk_key: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``ConfigCatSDKKey`` object. + + :param api_password: The ``ConfigCatSDKKeyUpdate`` ``api_password``. + :type api_password: str, optional + + :param api_username: The ``ConfigCatSDKKeyUpdate`` ``api_username``. + :type api_username: str, optional + + :param sdk_key: The ``ConfigCatSDKKeyUpdate`` ``sdk_key``. + :type sdk_key: str, optional + + :param type: The definition of the ``ConfigCatSDKKey`` object. + :type type: ConfigCatSDKKeyType + """ + if api_password is not unset: + kwargs["api_password"] = api_password + if api_username is not unset: + kwargs["api_username"] = api_username + if sdk_key is not unset: + kwargs["sdk_key"] = sdk_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/fastly_api_key.py b/src/datadog_api_client/v2/model/fastly_api_key.py new file mode 100644 index 0000000000..87d8594137 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.fastly_api_key_type import FastlyAPIKeyType + + +class FastlyAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.fastly_api_key_type import FastlyAPIKeyType + + return { + "api_key": (str,), + "type": (FastlyAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, api_key: str, type: FastlyAPIKeyType, **kwargs): + """ + The definition of the ``FastlyAPIKey`` object. + + :param api_key: The ``FastlyAPIKey`` ``api_key``. + :type api_key: str + + :param type: The definition of the ``FastlyAPIKey`` object. + :type type: FastlyAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/fastly_api_key_type.py b/src/datadog_api_client/v2/model/fastly_api_key_type.py new file mode 100644 index 0000000000..ef66b617b0 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class FastlyAPIKeyType(ModelSimple): + """ + The definition of the `FastlyAPIKey` object. + + :param value: If omitted defaults to "FastlyAPIKey". Must be one of ["FastlyAPIKey"]. + :type value: str + """ + + allowed_values = { + "FastlyAPIKey", + } + FASTLYAPIKEY: ClassVar["FastlyAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +FastlyAPIKeyType.FASTLYAPIKEY = FastlyAPIKeyType("FastlyAPIKey") diff --git a/src/datadog_api_client/v2/model/fastly_api_key_update.py b/src/datadog_api_client/v2/model/fastly_api_key_update.py new file mode 100644 index 0000000000..0b45779f94 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.fastly_api_key_type import FastlyAPIKeyType + + +class FastlyAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.fastly_api_key_type import FastlyAPIKeyType + + return { + "api_key": (str,), + "type": (FastlyAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, type: FastlyAPIKeyType, api_key: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``FastlyAPIKey`` object. + + :param api_key: The ``FastlyAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param type: The definition of the ``FastlyAPIKey`` object. + :type type: FastlyAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/fastly_credentials.py b/src/datadog_api_client/v2/model/fastly_credentials.py new file mode 100644 index 0000000000..de643bcd93 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class FastlyCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``FastlyCredentials`` object. + + :param api_key: The `FastlyAPIKey` `api_key`. + :type api_key: str + + :param type: The definition of the `FastlyAPIKey` object. + :type type: FastlyAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.fastly_api_key import FastlyAPIKey + + return { + "oneOf": [ + FastlyAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/fastly_credentials_update.py b/src/datadog_api_client/v2/model/fastly_credentials_update.py new file mode 100644 index 0000000000..712eeb21b4 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class FastlyCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``FastlyCredentialsUpdate`` object. + + :param api_key: The `FastlyAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param type: The definition of the `FastlyAPIKey` object. + :type type: FastlyAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.fastly_api_key_update import FastlyAPIKeyUpdate + + return { + "oneOf": [ + FastlyAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/fastly_integration.py b/src/datadog_api_client/v2/model/fastly_integration.py new file mode 100644 index 0000000000..aac7542e88 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.fastly_credentials import FastlyCredentials + from datadog_api_client.v2.model.fastly_integration_type import FastlyIntegrationType + from datadog_api_client.v2.model.fastly_api_key import FastlyAPIKey + + +class FastlyIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.fastly_credentials import FastlyCredentials + from datadog_api_client.v2.model.fastly_integration_type import FastlyIntegrationType + + return { + "credentials": (FastlyCredentials,), + "type": (FastlyIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[FastlyCredentials, FastlyAPIKey], type: FastlyIntegrationType, **kwargs): + """ + The definition of the ``FastlyIntegration`` object. + + :param credentials: The definition of the ``FastlyCredentials`` object. + :type credentials: FastlyCredentials + + :param type: The definition of the ``FastlyIntegrationType`` object. + :type type: FastlyIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/fastly_integration_type.py b/src/datadog_api_client/v2/model/fastly_integration_type.py new file mode 100644 index 0000000000..719ed0fbe7 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class FastlyIntegrationType(ModelSimple): + """ + The definition of the `FastlyIntegrationType` object. + + :param value: If omitted defaults to "Fastly". Must be one of ["Fastly"]. + :type value: str + """ + + allowed_values = { + "Fastly", + } + FASTLY: ClassVar["FastlyIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +FastlyIntegrationType.FASTLY = FastlyIntegrationType("Fastly") diff --git a/src/datadog_api_client/v2/model/fastly_integration_update.py b/src/datadog_api_client/v2/model/fastly_integration_update.py new file mode 100644 index 0000000000..badf79d008 --- /dev/null +++ b/src/datadog_api_client/v2/model/fastly_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.fastly_credentials_update import FastlyCredentialsUpdate + from datadog_api_client.v2.model.fastly_integration_type import FastlyIntegrationType + from datadog_api_client.v2.model.fastly_api_key_update import FastlyAPIKeyUpdate + + +class FastlyIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.fastly_credentials_update import FastlyCredentialsUpdate + from datadog_api_client.v2.model.fastly_integration_type import FastlyIntegrationType + + return { + "credentials": (FastlyCredentialsUpdate,), + "type": (FastlyIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: FastlyIntegrationType, + credentials: Union[FastlyCredentialsUpdate, FastlyAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``FastlyIntegrationUpdate`` object. + + :param credentials: The definition of the ``FastlyCredentialsUpdate`` object. + :type credentials: FastlyCredentialsUpdate, optional + + :param type: The definition of the ``FastlyIntegrationType`` object. + :type type: FastlyIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/freshservice_api_key.py b/src/datadog_api_client/v2/model/freshservice_api_key.py new file mode 100644 index 0000000000..ad8798e032 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_api_key.py @@ -0,0 +1,52 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.freshservice_api_key_type import FreshserviceAPIKeyType + + +class FreshserviceAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.freshservice_api_key_type import FreshserviceAPIKeyType + + return { + "api_key": (str,), + "domain": (str,), + "type": (FreshserviceAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "domain": "domain", + "type": "type", + } + + def __init__(self_, api_key: str, domain: str, type: FreshserviceAPIKeyType, **kwargs): + """ + The definition of the ``FreshserviceAPIKey`` object. + + :param api_key: The ``FreshserviceAPIKey`` ``api_key``. + :type api_key: str + + :param domain: The ``FreshserviceAPIKey`` ``domain``. + :type domain: str + + :param type: The definition of the ``FreshserviceAPIKey`` object. + :type type: FreshserviceAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.domain = domain + self_.type = type diff --git a/src/datadog_api_client/v2/model/freshservice_api_key_type.py b/src/datadog_api_client/v2/model/freshservice_api_key_type.py new file mode 100644 index 0000000000..b319a51f42 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class FreshserviceAPIKeyType(ModelSimple): + """ + The definition of the `FreshserviceAPIKey` object. + + :param value: If omitted defaults to "FreshserviceAPIKey". Must be one of ["FreshserviceAPIKey"]. + :type value: str + """ + + allowed_values = { + "FreshserviceAPIKey", + } + FRESHSERVICEAPIKEY: ClassVar["FreshserviceAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +FreshserviceAPIKeyType.FRESHSERVICEAPIKEY = FreshserviceAPIKeyType("FreshserviceAPIKey") diff --git a/src/datadog_api_client/v2/model/freshservice_api_key_update.py b/src/datadog_api_client/v2/model/freshservice_api_key_update.py new file mode 100644 index 0000000000..3c6d37f050 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_api_key_update.py @@ -0,0 +1,62 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.freshservice_api_key_type import FreshserviceAPIKeyType + + +class FreshserviceAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.freshservice_api_key_type import FreshserviceAPIKeyType + + return { + "api_key": (str,), + "domain": (str,), + "type": (FreshserviceAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "domain": "domain", + "type": "type", + } + + def __init__( + self_, + type: FreshserviceAPIKeyType, + api_key: Union[str, UnsetType] = unset, + domain: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``FreshserviceAPIKey`` object. + + :param api_key: The ``FreshserviceAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param domain: The ``FreshserviceAPIKeyUpdate`` ``domain``. + :type domain: str, optional + + :param type: The definition of the ``FreshserviceAPIKey`` object. + :type type: FreshserviceAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + if domain is not unset: + kwargs["domain"] = domain + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/freshservice_credentials.py b/src/datadog_api_client/v2/model/freshservice_credentials.py new file mode 100644 index 0000000000..aea09733d6 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_credentials.py @@ -0,0 +1,44 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class FreshserviceCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``FreshserviceCredentials`` object. + + :param api_key: The `FreshserviceAPIKey` `api_key`. + :type api_key: str + + :param domain: The `FreshserviceAPIKey` `domain`. + :type domain: str + + :param type: The definition of the `FreshserviceAPIKey` object. + :type type: FreshserviceAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.freshservice_api_key import FreshserviceAPIKey + + return { + "oneOf": [ + FreshserviceAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/freshservice_credentials_update.py b/src/datadog_api_client/v2/model/freshservice_credentials_update.py new file mode 100644 index 0000000000..4a40afd98e --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_credentials_update.py @@ -0,0 +1,44 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class FreshserviceCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``FreshserviceCredentialsUpdate`` object. + + :param api_key: The `FreshserviceAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param domain: The `FreshserviceAPIKeyUpdate` `domain`. + :type domain: str, optional + + :param type: The definition of the `FreshserviceAPIKey` object. + :type type: FreshserviceAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.freshservice_api_key_update import FreshserviceAPIKeyUpdate + + return { + "oneOf": [ + FreshserviceAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/freshservice_integration.py b/src/datadog_api_client/v2/model/freshservice_integration.py new file mode 100644 index 0000000000..0940f64ac6 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_integration.py @@ -0,0 +1,54 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.freshservice_credentials import FreshserviceCredentials + from datadog_api_client.v2.model.freshservice_integration_type import FreshserviceIntegrationType + from datadog_api_client.v2.model.freshservice_api_key import FreshserviceAPIKey + + +class FreshserviceIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.freshservice_credentials import FreshserviceCredentials + from datadog_api_client.v2.model.freshservice_integration_type import FreshserviceIntegrationType + + return { + "credentials": (FreshserviceCredentials,), + "type": (FreshserviceIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + credentials: Union[FreshserviceCredentials, FreshserviceAPIKey], + type: FreshserviceIntegrationType, + **kwargs, + ): + """ + The definition of the ``FreshserviceIntegration`` object. + + :param credentials: The definition of the ``FreshserviceCredentials`` object. + :type credentials: FreshserviceCredentials + + :param type: The definition of the ``FreshserviceIntegrationType`` object. + :type type: FreshserviceIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/freshservice_integration_type.py b/src/datadog_api_client/v2/model/freshservice_integration_type.py new file mode 100644 index 0000000000..464c1e8c62 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class FreshserviceIntegrationType(ModelSimple): + """ + The definition of the `FreshserviceIntegrationType` object. + + :param value: If omitted defaults to "Freshservice". Must be one of ["Freshservice"]. + :type value: str + """ + + allowed_values = { + "Freshservice", + } + FRESHSERVICE: ClassVar["FreshserviceIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +FreshserviceIntegrationType.FRESHSERVICE = FreshserviceIntegrationType("Freshservice") diff --git a/src/datadog_api_client/v2/model/freshservice_integration_update.py b/src/datadog_api_client/v2/model/freshservice_integration_update.py new file mode 100644 index 0000000000..f804d37c11 --- /dev/null +++ b/src/datadog_api_client/v2/model/freshservice_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.freshservice_credentials_update import FreshserviceCredentialsUpdate + from datadog_api_client.v2.model.freshservice_integration_type import FreshserviceIntegrationType + from datadog_api_client.v2.model.freshservice_api_key_update import FreshserviceAPIKeyUpdate + + +class FreshserviceIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.freshservice_credentials_update import FreshserviceCredentialsUpdate + from datadog_api_client.v2.model.freshservice_integration_type import FreshserviceIntegrationType + + return { + "credentials": (FreshserviceCredentialsUpdate,), + "type": (FreshserviceIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: FreshserviceIntegrationType, + credentials: Union[FreshserviceCredentialsUpdate, FreshserviceAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``FreshserviceIntegrationUpdate`` object. + + :param credentials: The definition of the ``FreshserviceCredentialsUpdate`` object. + :type credentials: FreshserviceCredentialsUpdate, optional + + :param type: The definition of the ``FreshserviceIntegrationType`` object. + :type type: FreshserviceIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/gcp_credentials.py b/src/datadog_api_client/v2/model/gcp_credentials.py new file mode 100644 index 0000000000..286e5ef06c --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_credentials.py @@ -0,0 +1,44 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GCPCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GCPCredentials`` object. + + :param private_key: The `GCPServiceAccount` `private_key`. + :type private_key: str + + :param service_account_email: The `GCPServiceAccount` `service_account_email`. + :type service_account_email: str + + :param type: The definition of the `GCPServiceAccount` object. + :type type: GCPServiceAccountCredentialType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.gcp_service_account import GCPServiceAccount + + return { + "oneOf": [ + GCPServiceAccount, + ], + } diff --git a/src/datadog_api_client/v2/model/gcp_credentials_update.py b/src/datadog_api_client/v2/model/gcp_credentials_update.py new file mode 100644 index 0000000000..7beec99ea7 --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_credentials_update.py @@ -0,0 +1,44 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GCPCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GCPCredentialsUpdate`` object. + + :param private_key: The `GCPServiceAccountUpdate` `private_key`. + :type private_key: str, optional + + :param service_account_email: The `GCPServiceAccountUpdate` `service_account_email`. + :type service_account_email: str, optional + + :param type: The definition of the `GCPServiceAccount` object. + :type type: GCPServiceAccountCredentialType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.gcp_service_account_update import GCPServiceAccountUpdate + + return { + "oneOf": [ + GCPServiceAccountUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/gcp_integration.py b/src/datadog_api_client/v2/model/gcp_integration.py new file mode 100644 index 0000000000..0c5941244d --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gcp_credentials import GCPCredentials + from datadog_api_client.v2.model.gcp_integration_type import GCPIntegrationType + from datadog_api_client.v2.model.gcp_service_account import GCPServiceAccount + + +class GCPIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gcp_credentials import GCPCredentials + from datadog_api_client.v2.model.gcp_integration_type import GCPIntegrationType + + return { + "credentials": (GCPCredentials,), + "type": (GCPIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[GCPCredentials, GCPServiceAccount], type: GCPIntegrationType, **kwargs): + """ + The definition of the ``GCPIntegration`` object. + + :param credentials: The definition of the ``GCPCredentials`` object. + :type credentials: GCPCredentials + + :param type: The definition of the ``GCPIntegrationType`` object. + :type type: GCPIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/gcp_integration_type.py b/src/datadog_api_client/v2/model/gcp_integration_type.py new file mode 100644 index 0000000000..b997694ab7 --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GCPIntegrationType(ModelSimple): + """ + The definition of the `GCPIntegrationType` object. + + :param value: If omitted defaults to "GCP". Must be one of ["GCP"]. + :type value: str + """ + + allowed_values = { + "GCP", + } + GCP: ClassVar["GCPIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GCPIntegrationType.GCP = GCPIntegrationType("GCP") diff --git a/src/datadog_api_client/v2/model/gcp_integration_update.py b/src/datadog_api_client/v2/model/gcp_integration_update.py new file mode 100644 index 0000000000..c69b936055 --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gcp_credentials_update import GCPCredentialsUpdate + from datadog_api_client.v2.model.gcp_integration_type import GCPIntegrationType + from datadog_api_client.v2.model.gcp_service_account_update import GCPServiceAccountUpdate + + +class GCPIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gcp_credentials_update import GCPCredentialsUpdate + from datadog_api_client.v2.model.gcp_integration_type import GCPIntegrationType + + return { + "credentials": (GCPCredentialsUpdate,), + "type": (GCPIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: GCPIntegrationType, + credentials: Union[GCPCredentialsUpdate, GCPServiceAccountUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``GCPIntegrationUpdate`` object. + + :param credentials: The definition of the ``GCPCredentialsUpdate`` object. + :type credentials: GCPCredentialsUpdate, optional + + :param type: The definition of the ``GCPIntegrationType`` object. + :type type: GCPIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/gcp_service_account.py b/src/datadog_api_client/v2/model/gcp_service_account.py new file mode 100644 index 0000000000..c696341be0 --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_service_account.py @@ -0,0 +1,52 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gcp_service_account_credential_type import GCPServiceAccountCredentialType + + +class GCPServiceAccount(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gcp_service_account_credential_type import GCPServiceAccountCredentialType + + return { + "private_key": (str,), + "service_account_email": (str,), + "type": (GCPServiceAccountCredentialType,), + } + + attribute_map = { + "private_key": "private_key", + "service_account_email": "service_account_email", + "type": "type", + } + + def __init__(self_, private_key: str, service_account_email: str, type: GCPServiceAccountCredentialType, **kwargs): + """ + The definition of the ``GCPServiceAccount`` object. + + :param private_key: The ``GCPServiceAccount`` ``private_key``. + :type private_key: str + + :param service_account_email: The ``GCPServiceAccount`` ``service_account_email``. + :type service_account_email: str + + :param type: The definition of the ``GCPServiceAccount`` object. + :type type: GCPServiceAccountCredentialType + """ + super().__init__(kwargs) + + self_.private_key = private_key + self_.service_account_email = service_account_email + self_.type = type diff --git a/src/datadog_api_client/v2/model/gcp_service_account_credential_type.py b/src/datadog_api_client/v2/model/gcp_service_account_credential_type.py new file mode 100644 index 0000000000..550e5f6ef6 --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_service_account_credential_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GCPServiceAccountCredentialType(ModelSimple): + """ + The definition of the `GCPServiceAccount` object. + + :param value: If omitted defaults to "GCPServiceAccount". Must be one of ["GCPServiceAccount"]. + :type value: str + """ + + allowed_values = { + "GCPServiceAccount", + } + GCPSERVICEACCOUNT: ClassVar["GCPServiceAccountCredentialType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GCPServiceAccountCredentialType.GCPSERVICEACCOUNT = GCPServiceAccountCredentialType("GCPServiceAccount") diff --git a/src/datadog_api_client/v2/model/gcp_service_account_update.py b/src/datadog_api_client/v2/model/gcp_service_account_update.py new file mode 100644 index 0000000000..ab28e8e5b1 --- /dev/null +++ b/src/datadog_api_client/v2/model/gcp_service_account_update.py @@ -0,0 +1,62 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gcp_service_account_credential_type import GCPServiceAccountCredentialType + + +class GCPServiceAccountUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gcp_service_account_credential_type import GCPServiceAccountCredentialType + + return { + "private_key": (str,), + "service_account_email": (str,), + "type": (GCPServiceAccountCredentialType,), + } + + attribute_map = { + "private_key": "private_key", + "service_account_email": "service_account_email", + "type": "type", + } + + def __init__( + self_, + type: GCPServiceAccountCredentialType, + private_key: Union[str, UnsetType] = unset, + service_account_email: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``GCPServiceAccount`` object. + + :param private_key: The ``GCPServiceAccountUpdate`` ``private_key``. + :type private_key: str, optional + + :param service_account_email: The ``GCPServiceAccountUpdate`` ``service_account_email``. + :type service_account_email: str, optional + + :param type: The definition of the ``GCPServiceAccount`` object. + :type type: GCPServiceAccountCredentialType + """ + if private_key is not unset: + kwargs["private_key"] = private_key + if service_account_email is not unset: + kwargs["service_account_email"] = service_account_email + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/gemini_api_key.py b/src/datadog_api_client/v2/model/gemini_api_key.py new file mode 100644 index 0000000000..af9a9a7d8e --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gemini_api_key_type import GeminiAPIKeyType + + +class GeminiAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gemini_api_key_type import GeminiAPIKeyType + + return { + "api_key": (str,), + "type": (GeminiAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, api_key: str, type: GeminiAPIKeyType, **kwargs): + """ + The definition of the ``GeminiAPIKey`` object. + + :param api_key: The ``GeminiAPIKey`` ``api_key``. + :type api_key: str + + :param type: The definition of the ``GeminiAPIKey`` object. + :type type: GeminiAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/gemini_api_key_type.py b/src/datadog_api_client/v2/model/gemini_api_key_type.py new file mode 100644 index 0000000000..dd64a7327c --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GeminiAPIKeyType(ModelSimple): + """ + The definition of the `GeminiAPIKey` object. + + :param value: If omitted defaults to "GeminiAPIKey". Must be one of ["GeminiAPIKey"]. + :type value: str + """ + + allowed_values = { + "GeminiAPIKey", + } + GEMINIAPIKEY: ClassVar["GeminiAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GeminiAPIKeyType.GEMINIAPIKEY = GeminiAPIKeyType("GeminiAPIKey") diff --git a/src/datadog_api_client/v2/model/gemini_api_key_update.py b/src/datadog_api_client/v2/model/gemini_api_key_update.py new file mode 100644 index 0000000000..a5c89f5b99 --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gemini_api_key_type import GeminiAPIKeyType + + +class GeminiAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gemini_api_key_type import GeminiAPIKeyType + + return { + "api_key": (str,), + "type": (GeminiAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, type: GeminiAPIKeyType, api_key: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``GeminiAPIKey`` object. + + :param api_key: The ``GeminiAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param type: The definition of the ``GeminiAPIKey`` object. + :type type: GeminiAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/gemini_credentials.py b/src/datadog_api_client/v2/model/gemini_credentials.py new file mode 100644 index 0000000000..9b391f6576 --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GeminiCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GeminiCredentials`` object. + + :param api_key: The `GeminiAPIKey` `api_key`. + :type api_key: str + + :param type: The definition of the `GeminiAPIKey` object. + :type type: GeminiAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.gemini_api_key import GeminiAPIKey + + return { + "oneOf": [ + GeminiAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/gemini_credentials_update.py b/src/datadog_api_client/v2/model/gemini_credentials_update.py new file mode 100644 index 0000000000..9fcd7f516d --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GeminiCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GeminiCredentialsUpdate`` object. + + :param api_key: The `GeminiAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param type: The definition of the `GeminiAPIKey` object. + :type type: GeminiAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.gemini_api_key_update import GeminiAPIKeyUpdate + + return { + "oneOf": [ + GeminiAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/gemini_integration.py b/src/datadog_api_client/v2/model/gemini_integration.py new file mode 100644 index 0000000000..6354321500 --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gemini_credentials import GeminiCredentials + from datadog_api_client.v2.model.gemini_integration_type import GeminiIntegrationType + from datadog_api_client.v2.model.gemini_api_key import GeminiAPIKey + + +class GeminiIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gemini_credentials import GeminiCredentials + from datadog_api_client.v2.model.gemini_integration_type import GeminiIntegrationType + + return { + "credentials": (GeminiCredentials,), + "type": (GeminiIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[GeminiCredentials, GeminiAPIKey], type: GeminiIntegrationType, **kwargs): + """ + The definition of the ``GeminiIntegration`` object. + + :param credentials: The definition of the ``GeminiCredentials`` object. + :type credentials: GeminiCredentials + + :param type: The definition of the ``GeminiIntegrationType`` object. + :type type: GeminiIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/gemini_integration_type.py b/src/datadog_api_client/v2/model/gemini_integration_type.py new file mode 100644 index 0000000000..58f8c3bc67 --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GeminiIntegrationType(ModelSimple): + """ + The definition of the `GeminiIntegrationType` object. + + :param value: If omitted defaults to "Gemini". Must be one of ["Gemini"]. + :type value: str + """ + + allowed_values = { + "Gemini", + } + GEMINI: ClassVar["GeminiIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GeminiIntegrationType.GEMINI = GeminiIntegrationType("Gemini") diff --git a/src/datadog_api_client/v2/model/gemini_integration_update.py b/src/datadog_api_client/v2/model/gemini_integration_update.py new file mode 100644 index 0000000000..671d99e562 --- /dev/null +++ b/src/datadog_api_client/v2/model/gemini_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gemini_credentials_update import GeminiCredentialsUpdate + from datadog_api_client.v2.model.gemini_integration_type import GeminiIntegrationType + from datadog_api_client.v2.model.gemini_api_key_update import GeminiAPIKeyUpdate + + +class GeminiIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gemini_credentials_update import GeminiCredentialsUpdate + from datadog_api_client.v2.model.gemini_integration_type import GeminiIntegrationType + + return { + "credentials": (GeminiCredentialsUpdate,), + "type": (GeminiIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: GeminiIntegrationType, + credentials: Union[GeminiCredentialsUpdate, GeminiAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``GeminiIntegrationUpdate`` object. + + :param credentials: The definition of the ``GeminiCredentialsUpdate`` object. + :type credentials: GeminiCredentialsUpdate, optional + + :param type: The definition of the ``GeminiIntegrationType`` object. + :type type: GeminiIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/gitlab_api_key.py b/src/datadog_api_client/v2/model/gitlab_api_key.py new file mode 100644 index 0000000000..5c8af976f2 --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gitlab_api_key_type import GitlabAPIKeyType + + +class GitlabAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gitlab_api_key_type import GitlabAPIKeyType + + return { + "api_token": (str,), + "type": (GitlabAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: GitlabAPIKeyType, **kwargs): + """ + The definition of the ``GitlabAPIKey`` object. + + :param api_token: The ``GitlabAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``GitlabAPIKey`` object. + :type type: GitlabAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/gitlab_api_key_type.py b/src/datadog_api_client/v2/model/gitlab_api_key_type.py new file mode 100644 index 0000000000..eeb1f13953 --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GitlabAPIKeyType(ModelSimple): + """ + The definition of the `GitlabAPIKey` object. + + :param value: If omitted defaults to "GitlabAPIKey". Must be one of ["GitlabAPIKey"]. + :type value: str + """ + + allowed_values = { + "GitlabAPIKey", + } + GITLABAPIKEY: ClassVar["GitlabAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GitlabAPIKeyType.GITLABAPIKEY = GitlabAPIKeyType("GitlabAPIKey") diff --git a/src/datadog_api_client/v2/model/gitlab_api_key_update.py b/src/datadog_api_client/v2/model/gitlab_api_key_update.py new file mode 100644 index 0000000000..5d714c76bd --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gitlab_api_key_type import GitlabAPIKeyType + + +class GitlabAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gitlab_api_key_type import GitlabAPIKeyType + + return { + "api_token": (str,), + "type": (GitlabAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: GitlabAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``GitlabAPIKey`` object. + + :param api_token: The ``GitlabAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``GitlabAPIKey`` object. + :type type: GitlabAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/gitlab_credentials.py b/src/datadog_api_client/v2/model/gitlab_credentials.py new file mode 100644 index 0000000000..750c79c6fd --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GitlabCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GitlabCredentials`` object. + + :param api_token: The `GitlabAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `GitlabAPIKey` object. + :type type: GitlabAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.gitlab_api_key import GitlabAPIKey + + return { + "oneOf": [ + GitlabAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/gitlab_credentials_update.py b/src/datadog_api_client/v2/model/gitlab_credentials_update.py new file mode 100644 index 0000000000..3a411f53c8 --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GitlabCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GitlabCredentialsUpdate`` object. + + :param api_token: The `GitlabAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `GitlabAPIKey` object. + :type type: GitlabAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.gitlab_api_key_update import GitlabAPIKeyUpdate + + return { + "oneOf": [ + GitlabAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/gitlab_integration.py b/src/datadog_api_client/v2/model/gitlab_integration.py new file mode 100644 index 0000000000..25eacefac6 --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gitlab_credentials import GitlabCredentials + from datadog_api_client.v2.model.gitlab_integration_type import GitlabIntegrationType + from datadog_api_client.v2.model.gitlab_api_key import GitlabAPIKey + + +class GitlabIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gitlab_credentials import GitlabCredentials + from datadog_api_client.v2.model.gitlab_integration_type import GitlabIntegrationType + + return { + "credentials": (GitlabCredentials,), + "type": (GitlabIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[GitlabCredentials, GitlabAPIKey], type: GitlabIntegrationType, **kwargs): + """ + The definition of the ``GitlabIntegration`` object. + + :param credentials: The definition of the ``GitlabCredentials`` object. + :type credentials: GitlabCredentials + + :param type: The definition of the ``GitlabIntegrationType`` object. + :type type: GitlabIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/gitlab_integration_type.py b/src/datadog_api_client/v2/model/gitlab_integration_type.py new file mode 100644 index 0000000000..7d5a68625a --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GitlabIntegrationType(ModelSimple): + """ + The definition of the `GitlabIntegrationType` object. + + :param value: If omitted defaults to "Gitlab". Must be one of ["Gitlab"]. + :type value: str + """ + + allowed_values = { + "Gitlab", + } + GITLAB: ClassVar["GitlabIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GitlabIntegrationType.GITLAB = GitlabIntegrationType("Gitlab") diff --git a/src/datadog_api_client/v2/model/gitlab_integration_update.py b/src/datadog_api_client/v2/model/gitlab_integration_update.py new file mode 100644 index 0000000000..0c7e0fc7da --- /dev/null +++ b/src/datadog_api_client/v2/model/gitlab_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.gitlab_credentials_update import GitlabCredentialsUpdate + from datadog_api_client.v2.model.gitlab_integration_type import GitlabIntegrationType + from datadog_api_client.v2.model.gitlab_api_key_update import GitlabAPIKeyUpdate + + +class GitlabIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.gitlab_credentials_update import GitlabCredentialsUpdate + from datadog_api_client.v2.model.gitlab_integration_type import GitlabIntegrationType + + return { + "credentials": (GitlabCredentialsUpdate,), + "type": (GitlabIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: GitlabIntegrationType, + credentials: Union[GitlabCredentialsUpdate, GitlabAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``GitlabIntegrationUpdate`` object. + + :param credentials: The definition of the ``GitlabCredentialsUpdate`` object. + :type credentials: GitlabCredentialsUpdate, optional + + :param type: The definition of the ``GitlabIntegrationType`` object. + :type type: GitlabIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/grey_noise_api_key.py b/src/datadog_api_client/v2/model/grey_noise_api_key.py new file mode 100644 index 0000000000..72fcbfdfb8 --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.grey_noise_api_key_type import GreyNoiseAPIKeyType + + +class GreyNoiseAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.grey_noise_api_key_type import GreyNoiseAPIKeyType + + return { + "api_key": (str,), + "type": (GreyNoiseAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, api_key: str, type: GreyNoiseAPIKeyType, **kwargs): + """ + The definition of the ``GreyNoiseAPIKey`` object. + + :param api_key: The ``GreyNoiseAPIKey`` ``api_key``. + :type api_key: str + + :param type: The definition of the ``GreyNoiseAPIKey`` object. + :type type: GreyNoiseAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/grey_noise_api_key_type.py b/src/datadog_api_client/v2/model/grey_noise_api_key_type.py new file mode 100644 index 0000000000..15fc0392a3 --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GreyNoiseAPIKeyType(ModelSimple): + """ + The definition of the `GreyNoiseAPIKey` object. + + :param value: If omitted defaults to "GreyNoiseAPIKey". Must be one of ["GreyNoiseAPIKey"]. + :type value: str + """ + + allowed_values = { + "GreyNoiseAPIKey", + } + GREYNOISEAPIKEY: ClassVar["GreyNoiseAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GreyNoiseAPIKeyType.GREYNOISEAPIKEY = GreyNoiseAPIKeyType("GreyNoiseAPIKey") diff --git a/src/datadog_api_client/v2/model/grey_noise_api_key_update.py b/src/datadog_api_client/v2/model/grey_noise_api_key_update.py new file mode 100644 index 0000000000..770e6165ad --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.grey_noise_api_key_type import GreyNoiseAPIKeyType + + +class GreyNoiseAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.grey_noise_api_key_type import GreyNoiseAPIKeyType + + return { + "api_key": (str,), + "type": (GreyNoiseAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, type: GreyNoiseAPIKeyType, api_key: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``GreyNoiseAPIKey`` object. + + :param api_key: The ``GreyNoiseAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param type: The definition of the ``GreyNoiseAPIKey`` object. + :type type: GreyNoiseAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/grey_noise_credentials.py b/src/datadog_api_client/v2/model/grey_noise_credentials.py new file mode 100644 index 0000000000..d98328270e --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GreyNoiseCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GreyNoiseCredentials`` object. + + :param api_key: The `GreyNoiseAPIKey` `api_key`. + :type api_key: str + + :param type: The definition of the `GreyNoiseAPIKey` object. + :type type: GreyNoiseAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.grey_noise_api_key import GreyNoiseAPIKey + + return { + "oneOf": [ + GreyNoiseAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/grey_noise_credentials_update.py b/src/datadog_api_client/v2/model/grey_noise_credentials_update.py new file mode 100644 index 0000000000..40d9300b2d --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class GreyNoiseCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``GreyNoiseCredentialsUpdate`` object. + + :param api_key: The `GreyNoiseAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param type: The definition of the `GreyNoiseAPIKey` object. + :type type: GreyNoiseAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.grey_noise_api_key_update import GreyNoiseAPIKeyUpdate + + return { + "oneOf": [ + GreyNoiseAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/grey_noise_integration.py b/src/datadog_api_client/v2/model/grey_noise_integration.py new file mode 100644 index 0000000000..b0407866cb --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_integration.py @@ -0,0 +1,51 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.grey_noise_credentials import GreyNoiseCredentials + from datadog_api_client.v2.model.grey_noise_integration_type import GreyNoiseIntegrationType + from datadog_api_client.v2.model.grey_noise_api_key import GreyNoiseAPIKey + + +class GreyNoiseIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.grey_noise_credentials import GreyNoiseCredentials + from datadog_api_client.v2.model.grey_noise_integration_type import GreyNoiseIntegrationType + + return { + "credentials": (GreyNoiseCredentials,), + "type": (GreyNoiseIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, credentials: Union[GreyNoiseCredentials, GreyNoiseAPIKey], type: GreyNoiseIntegrationType, **kwargs + ): + """ + The definition of the ``GreyNoiseIntegration`` object. + + :param credentials: The definition of the ``GreyNoiseCredentials`` object. + :type credentials: GreyNoiseCredentials + + :param type: The definition of the ``GreyNoiseIntegrationType`` object. + :type type: GreyNoiseIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/grey_noise_integration_type.py b/src/datadog_api_client/v2/model/grey_noise_integration_type.py new file mode 100644 index 0000000000..9b510b762e --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class GreyNoiseIntegrationType(ModelSimple): + """ + The definition of the `GreyNoiseIntegrationType` object. + + :param value: If omitted defaults to "GreyNoise". Must be one of ["GreyNoise"]. + :type value: str + """ + + allowed_values = { + "GreyNoise", + } + GREYNOISE: ClassVar["GreyNoiseIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +GreyNoiseIntegrationType.GREYNOISE = GreyNoiseIntegrationType("GreyNoise") diff --git a/src/datadog_api_client/v2/model/grey_noise_integration_update.py b/src/datadog_api_client/v2/model/grey_noise_integration_update.py new file mode 100644 index 0000000000..ebe4784c48 --- /dev/null +++ b/src/datadog_api_client/v2/model/grey_noise_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.grey_noise_credentials_update import GreyNoiseCredentialsUpdate + from datadog_api_client.v2.model.grey_noise_integration_type import GreyNoiseIntegrationType + from datadog_api_client.v2.model.grey_noise_api_key_update import GreyNoiseAPIKeyUpdate + + +class GreyNoiseIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.grey_noise_credentials_update import GreyNoiseCredentialsUpdate + from datadog_api_client.v2.model.grey_noise_integration_type import GreyNoiseIntegrationType + + return { + "credentials": (GreyNoiseCredentialsUpdate,), + "type": (GreyNoiseIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: GreyNoiseIntegrationType, + credentials: Union[GreyNoiseCredentialsUpdate, GreyNoiseAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``GreyNoiseIntegrationUpdate`` object. + + :param credentials: The definition of the ``GreyNoiseCredentialsUpdate`` object. + :type credentials: GreyNoiseCredentialsUpdate, optional + + :param type: The definition of the ``GreyNoiseIntegrationType`` object. + :type type: GreyNoiseIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/launch_darkly_api_key.py b/src/datadog_api_client/v2/model/launch_darkly_api_key.py new file mode 100644 index 0000000000..a9747cbb2d --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.launch_darkly_api_key_type import LaunchDarklyAPIKeyType + + +class LaunchDarklyAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.launch_darkly_api_key_type import LaunchDarklyAPIKeyType + + return { + "api_token": (str,), + "type": (LaunchDarklyAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: LaunchDarklyAPIKeyType, **kwargs): + """ + The definition of the ``LaunchDarklyAPIKey`` object. + + :param api_token: The ``LaunchDarklyAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``LaunchDarklyAPIKey`` object. + :type type: LaunchDarklyAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/launch_darkly_api_key_type.py b/src/datadog_api_client/v2/model/launch_darkly_api_key_type.py new file mode 100644 index 0000000000..3762bee235 --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class LaunchDarklyAPIKeyType(ModelSimple): + """ + The definition of the `LaunchDarklyAPIKey` object. + + :param value: If omitted defaults to "LaunchDarklyAPIKey". Must be one of ["LaunchDarklyAPIKey"]. + :type value: str + """ + + allowed_values = { + "LaunchDarklyAPIKey", + } + LAUNCHDARKLYAPIKEY: ClassVar["LaunchDarklyAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +LaunchDarklyAPIKeyType.LAUNCHDARKLYAPIKEY = LaunchDarklyAPIKeyType("LaunchDarklyAPIKey") diff --git a/src/datadog_api_client/v2/model/launch_darkly_api_key_update.py b/src/datadog_api_client/v2/model/launch_darkly_api_key_update.py new file mode 100644 index 0000000000..62a92138d7 --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.launch_darkly_api_key_type import LaunchDarklyAPIKeyType + + +class LaunchDarklyAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.launch_darkly_api_key_type import LaunchDarklyAPIKeyType + + return { + "api_token": (str,), + "type": (LaunchDarklyAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: LaunchDarklyAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``LaunchDarklyAPIKey`` object. + + :param api_token: The ``LaunchDarklyAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``LaunchDarklyAPIKey`` object. + :type type: LaunchDarklyAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/launch_darkly_credentials.py b/src/datadog_api_client/v2/model/launch_darkly_credentials.py new file mode 100644 index 0000000000..51ba3687df --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class LaunchDarklyCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``LaunchDarklyCredentials`` object. + + :param api_token: The `LaunchDarklyAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `LaunchDarklyAPIKey` object. + :type type: LaunchDarklyAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.launch_darkly_api_key import LaunchDarklyAPIKey + + return { + "oneOf": [ + LaunchDarklyAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/launch_darkly_credentials_update.py b/src/datadog_api_client/v2/model/launch_darkly_credentials_update.py new file mode 100644 index 0000000000..0848dd1f34 --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class LaunchDarklyCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``LaunchDarklyCredentialsUpdate`` object. + + :param api_token: The `LaunchDarklyAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `LaunchDarklyAPIKey` object. + :type type: LaunchDarklyAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.launch_darkly_api_key_update import LaunchDarklyAPIKeyUpdate + + return { + "oneOf": [ + LaunchDarklyAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/launch_darkly_integration.py b/src/datadog_api_client/v2/model/launch_darkly_integration.py new file mode 100644 index 0000000000..bbf4653775 --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_integration.py @@ -0,0 +1,54 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.launch_darkly_credentials import LaunchDarklyCredentials + from datadog_api_client.v2.model.launch_darkly_integration_type import LaunchDarklyIntegrationType + from datadog_api_client.v2.model.launch_darkly_api_key import LaunchDarklyAPIKey + + +class LaunchDarklyIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.launch_darkly_credentials import LaunchDarklyCredentials + from datadog_api_client.v2.model.launch_darkly_integration_type import LaunchDarklyIntegrationType + + return { + "credentials": (LaunchDarklyCredentials,), + "type": (LaunchDarklyIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + credentials: Union[LaunchDarklyCredentials, LaunchDarklyAPIKey], + type: LaunchDarklyIntegrationType, + **kwargs, + ): + """ + The definition of the ``LaunchDarklyIntegration`` object. + + :param credentials: The definition of the ``LaunchDarklyCredentials`` object. + :type credentials: LaunchDarklyCredentials + + :param type: The definition of the ``LaunchDarklyIntegrationType`` object. + :type type: LaunchDarklyIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/launch_darkly_integration_type.py b/src/datadog_api_client/v2/model/launch_darkly_integration_type.py new file mode 100644 index 0000000000..181d3056a2 --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class LaunchDarklyIntegrationType(ModelSimple): + """ + The definition of the `LaunchDarklyIntegrationType` object. + + :param value: If omitted defaults to "LaunchDarkly". Must be one of ["LaunchDarkly"]. + :type value: str + """ + + allowed_values = { + "LaunchDarkly", + } + LAUNCHDARKLY: ClassVar["LaunchDarklyIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +LaunchDarklyIntegrationType.LAUNCHDARKLY = LaunchDarklyIntegrationType("LaunchDarkly") diff --git a/src/datadog_api_client/v2/model/launch_darkly_integration_update.py b/src/datadog_api_client/v2/model/launch_darkly_integration_update.py new file mode 100644 index 0000000000..465d70af31 --- /dev/null +++ b/src/datadog_api_client/v2/model/launch_darkly_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.launch_darkly_credentials_update import LaunchDarklyCredentialsUpdate + from datadog_api_client.v2.model.launch_darkly_integration_type import LaunchDarklyIntegrationType + from datadog_api_client.v2.model.launch_darkly_api_key_update import LaunchDarklyAPIKeyUpdate + + +class LaunchDarklyIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.launch_darkly_credentials_update import LaunchDarklyCredentialsUpdate + from datadog_api_client.v2.model.launch_darkly_integration_type import LaunchDarklyIntegrationType + + return { + "credentials": (LaunchDarklyCredentialsUpdate,), + "type": (LaunchDarklyIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: LaunchDarklyIntegrationType, + credentials: Union[LaunchDarklyCredentialsUpdate, LaunchDarklyAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``LaunchDarklyIntegrationUpdate`` object. + + :param credentials: The definition of the ``LaunchDarklyCredentialsUpdate`` object. + :type credentials: LaunchDarklyCredentialsUpdate, optional + + :param type: The definition of the ``LaunchDarklyIntegrationType`` object. + :type type: LaunchDarklyIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/notion_api_key.py b/src/datadog_api_client/v2/model/notion_api_key.py new file mode 100644 index 0000000000..92c00da79b --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.notion_api_key_type import NotionAPIKeyType + + +class NotionAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.notion_api_key_type import NotionAPIKeyType + + return { + "api_token": (str,), + "type": (NotionAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: NotionAPIKeyType, **kwargs): + """ + The definition of the ``NotionAPIKey`` object. + + :param api_token: The ``NotionAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``NotionAPIKey`` object. + :type type: NotionAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/notion_api_key_type.py b/src/datadog_api_client/v2/model/notion_api_key_type.py new file mode 100644 index 0000000000..01161ebc56 --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class NotionAPIKeyType(ModelSimple): + """ + The definition of the `NotionAPIKey` object. + + :param value: If omitted defaults to "NotionAPIKey". Must be one of ["NotionAPIKey"]. + :type value: str + """ + + allowed_values = { + "NotionAPIKey", + } + NOTIONAPIKEY: ClassVar["NotionAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +NotionAPIKeyType.NOTIONAPIKEY = NotionAPIKeyType("NotionAPIKey") diff --git a/src/datadog_api_client/v2/model/notion_api_key_update.py b/src/datadog_api_client/v2/model/notion_api_key_update.py new file mode 100644 index 0000000000..2bac56f633 --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.notion_api_key_type import NotionAPIKeyType + + +class NotionAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.notion_api_key_type import NotionAPIKeyType + + return { + "api_token": (str,), + "type": (NotionAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: NotionAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``NotionAPIKey`` object. + + :param api_token: The ``NotionAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``NotionAPIKey`` object. + :type type: NotionAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/notion_credentials.py b/src/datadog_api_client/v2/model/notion_credentials.py new file mode 100644 index 0000000000..60dc53e40d --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class NotionCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``NotionCredentials`` object. + + :param api_token: The `NotionAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `NotionAPIKey` object. + :type type: NotionAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.notion_api_key import NotionAPIKey + + return { + "oneOf": [ + NotionAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/notion_credentials_update.py b/src/datadog_api_client/v2/model/notion_credentials_update.py new file mode 100644 index 0000000000..e7446a3b59 --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class NotionCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``NotionCredentialsUpdate`` object. + + :param api_token: The `NotionAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `NotionAPIKey` object. + :type type: NotionAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.notion_api_key_update import NotionAPIKeyUpdate + + return { + "oneOf": [ + NotionAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/notion_integration.py b/src/datadog_api_client/v2/model/notion_integration.py new file mode 100644 index 0000000000..df2263ced3 --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.notion_credentials import NotionCredentials + from datadog_api_client.v2.model.notion_integration_type import NotionIntegrationType + from datadog_api_client.v2.model.notion_api_key import NotionAPIKey + + +class NotionIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.notion_credentials import NotionCredentials + from datadog_api_client.v2.model.notion_integration_type import NotionIntegrationType + + return { + "credentials": (NotionCredentials,), + "type": (NotionIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[NotionCredentials, NotionAPIKey], type: NotionIntegrationType, **kwargs): + """ + The definition of the ``NotionIntegration`` object. + + :param credentials: The definition of the ``NotionCredentials`` object. + :type credentials: NotionCredentials + + :param type: The definition of the ``NotionIntegrationType`` object. + :type type: NotionIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/notion_integration_type.py b/src/datadog_api_client/v2/model/notion_integration_type.py new file mode 100644 index 0000000000..e58e512d23 --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class NotionIntegrationType(ModelSimple): + """ + The definition of the `NotionIntegrationType` object. + + :param value: If omitted defaults to "Notion". Must be one of ["Notion"]. + :type value: str + """ + + allowed_values = { + "Notion", + } + NOTION: ClassVar["NotionIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +NotionIntegrationType.NOTION = NotionIntegrationType("Notion") diff --git a/src/datadog_api_client/v2/model/notion_integration_update.py b/src/datadog_api_client/v2/model/notion_integration_update.py new file mode 100644 index 0000000000..e5ad44683f --- /dev/null +++ b/src/datadog_api_client/v2/model/notion_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.notion_credentials_update import NotionCredentialsUpdate + from datadog_api_client.v2.model.notion_integration_type import NotionIntegrationType + from datadog_api_client.v2.model.notion_api_key_update import NotionAPIKeyUpdate + + +class NotionIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.notion_credentials_update import NotionCredentialsUpdate + from datadog_api_client.v2.model.notion_integration_type import NotionIntegrationType + + return { + "credentials": (NotionCredentialsUpdate,), + "type": (NotionIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: NotionIntegrationType, + credentials: Union[NotionCredentialsUpdate, NotionAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``NotionIntegrationUpdate`` object. + + :param credentials: The definition of the ``NotionCredentialsUpdate`` object. + :type credentials: NotionCredentialsUpdate, optional + + :param type: The definition of the ``NotionIntegrationType`` object. + :type type: NotionIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/okta_api_token.py b/src/datadog_api_client/v2/model/okta_api_token.py new file mode 100644 index 0000000000..8123ea893c --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_api_token.py @@ -0,0 +1,52 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.okta_api_token_type import OktaAPITokenType + + +class OktaAPIToken(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.okta_api_token_type import OktaAPITokenType + + return { + "api_token": (str,), + "domain": (str,), + "type": (OktaAPITokenType,), + } + + attribute_map = { + "api_token": "api_token", + "domain": "domain", + "type": "type", + } + + def __init__(self_, api_token: str, domain: str, type: OktaAPITokenType, **kwargs): + """ + The definition of the ``OktaAPIToken`` object. + + :param api_token: The ``OktaAPIToken`` ``api_token``. + :type api_token: str + + :param domain: The ``OktaAPIToken`` ``domain``. + :type domain: str + + :param type: The definition of the ``OktaAPIToken`` object. + :type type: OktaAPITokenType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.domain = domain + self_.type = type diff --git a/src/datadog_api_client/v2/model/okta_api_token_type.py b/src/datadog_api_client/v2/model/okta_api_token_type.py new file mode 100644 index 0000000000..8e9b988ca9 --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_api_token_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class OktaAPITokenType(ModelSimple): + """ + The definition of the `OktaAPIToken` object. + + :param value: If omitted defaults to "OktaAPIToken". Must be one of ["OktaAPIToken"]. + :type value: str + """ + + allowed_values = { + "OktaAPIToken", + } + OKTAAPITOKEN: ClassVar["OktaAPITokenType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +OktaAPITokenType.OKTAAPITOKEN = OktaAPITokenType("OktaAPIToken") diff --git a/src/datadog_api_client/v2/model/okta_api_token_update.py b/src/datadog_api_client/v2/model/okta_api_token_update.py new file mode 100644 index 0000000000..e2d3e6bebb --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_api_token_update.py @@ -0,0 +1,62 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.okta_api_token_type import OktaAPITokenType + + +class OktaAPITokenUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.okta_api_token_type import OktaAPITokenType + + return { + "api_token": (str,), + "domain": (str,), + "type": (OktaAPITokenType,), + } + + attribute_map = { + "api_token": "api_token", + "domain": "domain", + "type": "type", + } + + def __init__( + self_, + type: OktaAPITokenType, + api_token: Union[str, UnsetType] = unset, + domain: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``OktaAPIToken`` object. + + :param api_token: The ``OktaAPITokenUpdate`` ``api_token``. + :type api_token: str, optional + + :param domain: The ``OktaAPITokenUpdate`` ``domain``. + :type domain: str, optional + + :param type: The definition of the ``OktaAPIToken`` object. + :type type: OktaAPITokenType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + if domain is not unset: + kwargs["domain"] = domain + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/okta_credentials.py b/src/datadog_api_client/v2/model/okta_credentials.py new file mode 100644 index 0000000000..45198e6bf3 --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_credentials.py @@ -0,0 +1,44 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class OktaCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``OktaCredentials`` object. + + :param api_token: The `OktaAPIToken` `api_token`. + :type api_token: str + + :param domain: The `OktaAPIToken` `domain`. + :type domain: str + + :param type: The definition of the `OktaAPIToken` object. + :type type: OktaAPITokenType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.okta_api_token import OktaAPIToken + + return { + "oneOf": [ + OktaAPIToken, + ], + } diff --git a/src/datadog_api_client/v2/model/okta_credentials_update.py b/src/datadog_api_client/v2/model/okta_credentials_update.py new file mode 100644 index 0000000000..8f3955a36a --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_credentials_update.py @@ -0,0 +1,44 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class OktaCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``OktaCredentialsUpdate`` object. + + :param api_token: The `OktaAPITokenUpdate` `api_token`. + :type api_token: str, optional + + :param domain: The `OktaAPITokenUpdate` `domain`. + :type domain: str, optional + + :param type: The definition of the `OktaAPIToken` object. + :type type: OktaAPITokenType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.okta_api_token_update import OktaAPITokenUpdate + + return { + "oneOf": [ + OktaAPITokenUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/okta_integration.py b/src/datadog_api_client/v2/model/okta_integration.py new file mode 100644 index 0000000000..181ba32bbc --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.okta_credentials import OktaCredentials + from datadog_api_client.v2.model.okta_integration_type import OktaIntegrationType + from datadog_api_client.v2.model.okta_api_token import OktaAPIToken + + +class OktaIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.okta_credentials import OktaCredentials + from datadog_api_client.v2.model.okta_integration_type import OktaIntegrationType + + return { + "credentials": (OktaCredentials,), + "type": (OktaIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[OktaCredentials, OktaAPIToken], type: OktaIntegrationType, **kwargs): + """ + The definition of the ``OktaIntegration`` object. + + :param credentials: The definition of the ``OktaCredentials`` object. + :type credentials: OktaCredentials + + :param type: The definition of the ``OktaIntegrationType`` object. + :type type: OktaIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/okta_integration_type.py b/src/datadog_api_client/v2/model/okta_integration_type.py new file mode 100644 index 0000000000..c5f78bf1ff --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class OktaIntegrationType(ModelSimple): + """ + The definition of the `OktaIntegrationType` object. + + :param value: If omitted defaults to "Okta". Must be one of ["Okta"]. + :type value: str + """ + + allowed_values = { + "Okta", + } + OKTA: ClassVar["OktaIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +OktaIntegrationType.OKTA = OktaIntegrationType("Okta") diff --git a/src/datadog_api_client/v2/model/okta_integration_update.py b/src/datadog_api_client/v2/model/okta_integration_update.py new file mode 100644 index 0000000000..fc4e43f5ba --- /dev/null +++ b/src/datadog_api_client/v2/model/okta_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.okta_credentials_update import OktaCredentialsUpdate + from datadog_api_client.v2.model.okta_integration_type import OktaIntegrationType + from datadog_api_client.v2.model.okta_api_token_update import OktaAPITokenUpdate + + +class OktaIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.okta_credentials_update import OktaCredentialsUpdate + from datadog_api_client.v2.model.okta_integration_type import OktaIntegrationType + + return { + "credentials": (OktaCredentialsUpdate,), + "type": (OktaIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: OktaIntegrationType, + credentials: Union[OktaCredentialsUpdate, OktaAPITokenUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``OktaIntegrationUpdate`` object. + + :param credentials: The definition of the ``OktaCredentialsUpdate`` object. + :type credentials: OktaCredentialsUpdate, optional + + :param type: The definition of the ``OktaIntegrationType`` object. + :type type: OktaIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/open_ai_credentials.py b/src/datadog_api_client/v2/model/open_ai_credentials.py new file mode 100644 index 0000000000..764013742e --- /dev/null +++ b/src/datadog_api_client/v2/model/open_ai_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class OpenAICredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``OpenAICredentials`` object. + + :param api_token: The `OpenAIAPIKey` `api_token`. + :type api_token: str + + :param type: The definition of the `OpenAIAPIKey` object. + :type type: OpenAIAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.open_aiapi_key import OpenAIAPIKey + + return { + "oneOf": [ + OpenAIAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/open_ai_credentials_update.py b/src/datadog_api_client/v2/model/open_ai_credentials_update.py new file mode 100644 index 0000000000..87062f9152 --- /dev/null +++ b/src/datadog_api_client/v2/model/open_ai_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class OpenAICredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``OpenAICredentialsUpdate`` object. + + :param api_token: The `OpenAIAPIKeyUpdate` `api_token`. + :type api_token: str, optional + + :param type: The definition of the `OpenAIAPIKey` object. + :type type: OpenAIAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.open_aiapi_key_update import OpenAIAPIKeyUpdate + + return { + "oneOf": [ + OpenAIAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/open_ai_integration.py b/src/datadog_api_client/v2/model/open_ai_integration.py new file mode 100644 index 0000000000..3a24d5eca1 --- /dev/null +++ b/src/datadog_api_client/v2/model/open_ai_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.open_ai_credentials import OpenAICredentials + from datadog_api_client.v2.model.open_ai_integration_type import OpenAIIntegrationType + from datadog_api_client.v2.model.open_aiapi_key import OpenAIAPIKey + + +class OpenAIIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.open_ai_credentials import OpenAICredentials + from datadog_api_client.v2.model.open_ai_integration_type import OpenAIIntegrationType + + return { + "credentials": (OpenAICredentials,), + "type": (OpenAIIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[OpenAICredentials, OpenAIAPIKey], type: OpenAIIntegrationType, **kwargs): + """ + The definition of the ``OpenAIIntegration`` object. + + :param credentials: The definition of the ``OpenAICredentials`` object. + :type credentials: OpenAICredentials + + :param type: The definition of the ``OpenAIIntegrationType`` object. + :type type: OpenAIIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/open_ai_integration_type.py b/src/datadog_api_client/v2/model/open_ai_integration_type.py new file mode 100644 index 0000000000..490ab96342 --- /dev/null +++ b/src/datadog_api_client/v2/model/open_ai_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class OpenAIIntegrationType(ModelSimple): + """ + The definition of the `OpenAIIntegrationType` object. + + :param value: If omitted defaults to "OpenAI". Must be one of ["OpenAI"]. + :type value: str + """ + + allowed_values = { + "OpenAI", + } + OPENAI: ClassVar["OpenAIIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +OpenAIIntegrationType.OPENAI = OpenAIIntegrationType("OpenAI") diff --git a/src/datadog_api_client/v2/model/open_ai_integration_update.py b/src/datadog_api_client/v2/model/open_ai_integration_update.py new file mode 100644 index 0000000000..ed8c8a836a --- /dev/null +++ b/src/datadog_api_client/v2/model/open_ai_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.open_ai_credentials_update import OpenAICredentialsUpdate + from datadog_api_client.v2.model.open_ai_integration_type import OpenAIIntegrationType + from datadog_api_client.v2.model.open_aiapi_key_update import OpenAIAPIKeyUpdate + + +class OpenAIIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.open_ai_credentials_update import OpenAICredentialsUpdate + from datadog_api_client.v2.model.open_ai_integration_type import OpenAIIntegrationType + + return { + "credentials": (OpenAICredentialsUpdate,), + "type": (OpenAIIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: OpenAIIntegrationType, + credentials: Union[OpenAICredentialsUpdate, OpenAIAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``OpenAIIntegrationUpdate`` object. + + :param credentials: The definition of the ``OpenAICredentialsUpdate`` object. + :type credentials: OpenAICredentialsUpdate, optional + + :param type: The definition of the ``OpenAIIntegrationType`` object. + :type type: OpenAIIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/open_aiapi_key.py b/src/datadog_api_client/v2/model/open_aiapi_key.py new file mode 100644 index 0000000000..087c362c09 --- /dev/null +++ b/src/datadog_api_client/v2/model/open_aiapi_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.open_aiapi_key_type import OpenAIAPIKeyType + + +class OpenAIAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.open_aiapi_key_type import OpenAIAPIKeyType + + return { + "api_token": (str,), + "type": (OpenAIAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, api_token: str, type: OpenAIAPIKeyType, **kwargs): + """ + The definition of the ``OpenAIAPIKey`` object. + + :param api_token: The ``OpenAIAPIKey`` ``api_token``. + :type api_token: str + + :param type: The definition of the ``OpenAIAPIKey`` object. + :type type: OpenAIAPIKeyType + """ + super().__init__(kwargs) + + self_.api_token = api_token + self_.type = type diff --git a/src/datadog_api_client/v2/model/open_aiapi_key_type.py b/src/datadog_api_client/v2/model/open_aiapi_key_type.py new file mode 100644 index 0000000000..b2e523bf55 --- /dev/null +++ b/src/datadog_api_client/v2/model/open_aiapi_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class OpenAIAPIKeyType(ModelSimple): + """ + The definition of the `OpenAIAPIKey` object. + + :param value: If omitted defaults to "OpenAIAPIKey". Must be one of ["OpenAIAPIKey"]. + :type value: str + """ + + allowed_values = { + "OpenAIAPIKey", + } + OPENAIAPIKEY: ClassVar["OpenAIAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +OpenAIAPIKeyType.OPENAIAPIKEY = OpenAIAPIKeyType("OpenAIAPIKey") diff --git a/src/datadog_api_client/v2/model/open_aiapi_key_update.py b/src/datadog_api_client/v2/model/open_aiapi_key_update.py new file mode 100644 index 0000000000..e369a27c92 --- /dev/null +++ b/src/datadog_api_client/v2/model/open_aiapi_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.open_aiapi_key_type import OpenAIAPIKeyType + + +class OpenAIAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.open_aiapi_key_type import OpenAIAPIKeyType + + return { + "api_token": (str,), + "type": (OpenAIAPIKeyType,), + } + + attribute_map = { + "api_token": "api_token", + "type": "type", + } + + def __init__(self_, type: OpenAIAPIKeyType, api_token: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``OpenAIAPIKey`` object. + + :param api_token: The ``OpenAIAPIKeyUpdate`` ``api_token``. + :type api_token: str, optional + + :param type: The definition of the ``OpenAIAPIKey`` object. + :type type: OpenAIAPIKeyType + """ + if api_token is not unset: + kwargs["api_token"] = api_token + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/service_now_basic_auth.py b/src/datadog_api_client/v2/model/service_now_basic_auth.py new file mode 100644 index 0000000000..7561ec6029 --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_basic_auth.py @@ -0,0 +1,58 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.service_now_basic_auth_type import ServiceNowBasicAuthType + + +class ServiceNowBasicAuth(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.service_now_basic_auth_type import ServiceNowBasicAuthType + + return { + "instance": (str,), + "password": (str,), + "type": (ServiceNowBasicAuthType,), + "username": (str,), + } + + attribute_map = { + "instance": "instance", + "password": "password", + "type": "type", + "username": "username", + } + + def __init__(self_, instance: str, password: str, type: ServiceNowBasicAuthType, username: str, **kwargs): + """ + The definition of the ``ServiceNowBasicAuth`` object. + + :param instance: The ``ServiceNowBasicAuth`` ``instance``. + :type instance: str + + :param password: The ``ServiceNowBasicAuth`` ``password``. + :type password: str + + :param type: The definition of the ``ServiceNowBasicAuth`` object. + :type type: ServiceNowBasicAuthType + + :param username: The ``ServiceNowBasicAuth`` ``username``. + :type username: str + """ + super().__init__(kwargs) + + self_.instance = instance + self_.password = password + self_.type = type + self_.username = username diff --git a/src/datadog_api_client/v2/model/service_now_basic_auth_type.py b/src/datadog_api_client/v2/model/service_now_basic_auth_type.py new file mode 100644 index 0000000000..e7fa8df8ed --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_basic_auth_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ServiceNowBasicAuthType(ModelSimple): + """ + The definition of the `ServiceNowBasicAuth` object. + + :param value: If omitted defaults to "ServiceNowBasicAuth". Must be one of ["ServiceNowBasicAuth"]. + :type value: str + """ + + allowed_values = { + "ServiceNowBasicAuth", + } + SERVICENOWBASICAUTH: ClassVar["ServiceNowBasicAuthType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ServiceNowBasicAuthType.SERVICENOWBASICAUTH = ServiceNowBasicAuthType("ServiceNowBasicAuth") diff --git a/src/datadog_api_client/v2/model/service_now_basic_auth_update.py b/src/datadog_api_client/v2/model/service_now_basic_auth_update.py new file mode 100644 index 0000000000..aeca923ddd --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_basic_auth_update.py @@ -0,0 +1,70 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.service_now_basic_auth_type import ServiceNowBasicAuthType + + +class ServiceNowBasicAuthUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.service_now_basic_auth_type import ServiceNowBasicAuthType + + return { + "instance": (str,), + "password": (str,), + "type": (ServiceNowBasicAuthType,), + "username": (str,), + } + + attribute_map = { + "instance": "instance", + "password": "password", + "type": "type", + "username": "username", + } + + def __init__( + self_, + type: ServiceNowBasicAuthType, + instance: Union[str, UnsetType] = unset, + password: Union[str, UnsetType] = unset, + username: Union[str, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``ServiceNowBasicAuth`` object. + + :param instance: The ``ServiceNowBasicAuthUpdate`` ``instance``. + :type instance: str, optional + + :param password: The ``ServiceNowBasicAuthUpdate`` ``password``. + :type password: str, optional + + :param type: The definition of the ``ServiceNowBasicAuth`` object. + :type type: ServiceNowBasicAuthType + + :param username: The ``ServiceNowBasicAuthUpdate`` ``username``. + :type username: str, optional + """ + if instance is not unset: + kwargs["instance"] = instance + if password is not unset: + kwargs["password"] = password + if username is not unset: + kwargs["username"] = username + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/service_now_credentials.py b/src/datadog_api_client/v2/model/service_now_credentials.py new file mode 100644 index 0000000000..0bd0be7740 --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_credentials.py @@ -0,0 +1,47 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class ServiceNowCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``ServiceNowCredentials`` object. + + :param instance: The `ServiceNowBasicAuth` `instance`. + :type instance: str + + :param password: The `ServiceNowBasicAuth` `password`. + :type password: str + + :param type: The definition of the `ServiceNowBasicAuth` object. + :type type: ServiceNowBasicAuthType + + :param username: The `ServiceNowBasicAuth` `username`. + :type username: str + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.service_now_basic_auth import ServiceNowBasicAuth + + return { + "oneOf": [ + ServiceNowBasicAuth, + ], + } diff --git a/src/datadog_api_client/v2/model/service_now_credentials_update.py b/src/datadog_api_client/v2/model/service_now_credentials_update.py new file mode 100644 index 0000000000..c1223be516 --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_credentials_update.py @@ -0,0 +1,47 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class ServiceNowCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``ServiceNowCredentialsUpdate`` object. + + :param instance: The `ServiceNowBasicAuthUpdate` `instance`. + :type instance: str, optional + + :param password: The `ServiceNowBasicAuthUpdate` `password`. + :type password: str, optional + + :param type: The definition of the `ServiceNowBasicAuth` object. + :type type: ServiceNowBasicAuthType + + :param username: The `ServiceNowBasicAuthUpdate` `username`. + :type username: str, optional + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.service_now_basic_auth_update import ServiceNowBasicAuthUpdate + + return { + "oneOf": [ + ServiceNowBasicAuthUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/service_now_integration.py b/src/datadog_api_client/v2/model/service_now_integration.py new file mode 100644 index 0000000000..3d816f6648 --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_integration.py @@ -0,0 +1,51 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.service_now_credentials import ServiceNowCredentials + from datadog_api_client.v2.model.service_now_integration_type import ServiceNowIntegrationType + from datadog_api_client.v2.model.service_now_basic_auth import ServiceNowBasicAuth + + +class ServiceNowIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.service_now_credentials import ServiceNowCredentials + from datadog_api_client.v2.model.service_now_integration_type import ServiceNowIntegrationType + + return { + "credentials": (ServiceNowCredentials,), + "type": (ServiceNowIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, credentials: Union[ServiceNowCredentials, ServiceNowBasicAuth], type: ServiceNowIntegrationType, **kwargs + ): + """ + The definition of the ``ServiceNowIntegration`` object. + + :param credentials: The definition of the ``ServiceNowCredentials`` object. + :type credentials: ServiceNowCredentials + + :param type: The definition of the ``ServiceNowIntegrationType`` object. + :type type: ServiceNowIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/service_now_integration_type.py b/src/datadog_api_client/v2/model/service_now_integration_type.py new file mode 100644 index 0000000000..0042665c10 --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ServiceNowIntegrationType(ModelSimple): + """ + The definition of the `ServiceNowIntegrationType` object. + + :param value: If omitted defaults to "ServiceNow". Must be one of ["ServiceNow"]. + :type value: str + """ + + allowed_values = { + "ServiceNow", + } + SERVICENOW: ClassVar["ServiceNowIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ServiceNowIntegrationType.SERVICENOW = ServiceNowIntegrationType("ServiceNow") diff --git a/src/datadog_api_client/v2/model/service_now_integration_update.py b/src/datadog_api_client/v2/model/service_now_integration_update.py new file mode 100644 index 0000000000..44b810bcca --- /dev/null +++ b/src/datadog_api_client/v2/model/service_now_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.service_now_credentials_update import ServiceNowCredentialsUpdate + from datadog_api_client.v2.model.service_now_integration_type import ServiceNowIntegrationType + from datadog_api_client.v2.model.service_now_basic_auth_update import ServiceNowBasicAuthUpdate + + +class ServiceNowIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.service_now_credentials_update import ServiceNowCredentialsUpdate + from datadog_api_client.v2.model.service_now_integration_type import ServiceNowIntegrationType + + return { + "credentials": (ServiceNowCredentialsUpdate,), + "type": (ServiceNowIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: ServiceNowIntegrationType, + credentials: Union[ServiceNowCredentialsUpdate, ServiceNowBasicAuthUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``ServiceNowIntegrationUpdate`` object. + + :param credentials: The definition of the ``ServiceNowCredentialsUpdate`` object. + :type credentials: ServiceNowCredentialsUpdate, optional + + :param type: The definition of the ``ServiceNowIntegrationType`` object. + :type type: ServiceNowIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/split_api_key.py b/src/datadog_api_client/v2/model/split_api_key.py new file mode 100644 index 0000000000..9423f7ec41 --- /dev/null +++ b/src/datadog_api_client/v2/model/split_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.split_api_key_type import SplitAPIKeyType + + +class SplitAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.split_api_key_type import SplitAPIKeyType + + return { + "api_key": (str,), + "type": (SplitAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, api_key: str, type: SplitAPIKeyType, **kwargs): + """ + The definition of the ``SplitAPIKey`` object. + + :param api_key: The ``SplitAPIKey`` ``api_key``. + :type api_key: str + + :param type: The definition of the ``SplitAPIKey`` object. + :type type: SplitAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/split_api_key_type.py b/src/datadog_api_client/v2/model/split_api_key_type.py new file mode 100644 index 0000000000..0eb36373ce --- /dev/null +++ b/src/datadog_api_client/v2/model/split_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class SplitAPIKeyType(ModelSimple): + """ + The definition of the `SplitAPIKey` object. + + :param value: If omitted defaults to "SplitAPIKey". Must be one of ["SplitAPIKey"]. + :type value: str + """ + + allowed_values = { + "SplitAPIKey", + } + SPLITAPIKEY: ClassVar["SplitAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +SplitAPIKeyType.SPLITAPIKEY = SplitAPIKeyType("SplitAPIKey") diff --git a/src/datadog_api_client/v2/model/split_api_key_update.py b/src/datadog_api_client/v2/model/split_api_key_update.py new file mode 100644 index 0000000000..2a9857662b --- /dev/null +++ b/src/datadog_api_client/v2/model/split_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.split_api_key_type import SplitAPIKeyType + + +class SplitAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.split_api_key_type import SplitAPIKeyType + + return { + "api_key": (str,), + "type": (SplitAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, type: SplitAPIKeyType, api_key: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``SplitAPIKey`` object. + + :param api_key: The ``SplitAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param type: The definition of the ``SplitAPIKey`` object. + :type type: SplitAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/split_credentials.py b/src/datadog_api_client/v2/model/split_credentials.py new file mode 100644 index 0000000000..baa39ce639 --- /dev/null +++ b/src/datadog_api_client/v2/model/split_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class SplitCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``SplitCredentials`` object. + + :param api_key: The `SplitAPIKey` `api_key`. + :type api_key: str + + :param type: The definition of the `SplitAPIKey` object. + :type type: SplitAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.split_api_key import SplitAPIKey + + return { + "oneOf": [ + SplitAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/split_credentials_update.py b/src/datadog_api_client/v2/model/split_credentials_update.py new file mode 100644 index 0000000000..8186488cc9 --- /dev/null +++ b/src/datadog_api_client/v2/model/split_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class SplitCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``SplitCredentialsUpdate`` object. + + :param api_key: The `SplitAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param type: The definition of the `SplitAPIKey` object. + :type type: SplitAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.split_api_key_update import SplitAPIKeyUpdate + + return { + "oneOf": [ + SplitAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/split_integration.py b/src/datadog_api_client/v2/model/split_integration.py new file mode 100644 index 0000000000..4a223951d0 --- /dev/null +++ b/src/datadog_api_client/v2/model/split_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.split_credentials import SplitCredentials + from datadog_api_client.v2.model.split_integration_type import SplitIntegrationType + from datadog_api_client.v2.model.split_api_key import SplitAPIKey + + +class SplitIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.split_credentials import SplitCredentials + from datadog_api_client.v2.model.split_integration_type import SplitIntegrationType + + return { + "credentials": (SplitCredentials,), + "type": (SplitIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[SplitCredentials, SplitAPIKey], type: SplitIntegrationType, **kwargs): + """ + The definition of the ``SplitIntegration`` object. + + :param credentials: The definition of the ``SplitCredentials`` object. + :type credentials: SplitCredentials + + :param type: The definition of the ``SplitIntegrationType`` object. + :type type: SplitIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/split_integration_type.py b/src/datadog_api_client/v2/model/split_integration_type.py new file mode 100644 index 0000000000..88066a6fcf --- /dev/null +++ b/src/datadog_api_client/v2/model/split_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class SplitIntegrationType(ModelSimple): + """ + The definition of the `SplitIntegrationType` object. + + :param value: If omitted defaults to "Split". Must be one of ["Split"]. + :type value: str + """ + + allowed_values = { + "Split", + } + SPLIT: ClassVar["SplitIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +SplitIntegrationType.SPLIT = SplitIntegrationType("Split") diff --git a/src/datadog_api_client/v2/model/split_integration_update.py b/src/datadog_api_client/v2/model/split_integration_update.py new file mode 100644 index 0000000000..b20357a1b6 --- /dev/null +++ b/src/datadog_api_client/v2/model/split_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.split_credentials_update import SplitCredentialsUpdate + from datadog_api_client.v2.model.split_integration_type import SplitIntegrationType + from datadog_api_client.v2.model.split_api_key_update import SplitAPIKeyUpdate + + +class SplitIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.split_credentials_update import SplitCredentialsUpdate + from datadog_api_client.v2.model.split_integration_type import SplitIntegrationType + + return { + "credentials": (SplitCredentialsUpdate,), + "type": (SplitIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: SplitIntegrationType, + credentials: Union[SplitCredentialsUpdate, SplitAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``SplitIntegrationUpdate`` object. + + :param credentials: The definition of the ``SplitCredentialsUpdate`` object. + :type credentials: SplitCredentialsUpdate, optional + + :param type: The definition of the ``SplitIntegrationType`` object. + :type type: SplitIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/statsig_api_key.py b/src/datadog_api_client/v2/model/statsig_api_key.py new file mode 100644 index 0000000000..e047adedd3 --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.statsig_api_key_type import StatsigAPIKeyType + + +class StatsigAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.statsig_api_key_type import StatsigAPIKeyType + + return { + "api_key": (str,), + "type": (StatsigAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, api_key: str, type: StatsigAPIKeyType, **kwargs): + """ + The definition of the ``StatsigAPIKey`` object. + + :param api_key: The ``StatsigAPIKey`` ``api_key``. + :type api_key: str + + :param type: The definition of the ``StatsigAPIKey`` object. + :type type: StatsigAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/statsig_api_key_type.py b/src/datadog_api_client/v2/model/statsig_api_key_type.py new file mode 100644 index 0000000000..5fc23c7e0a --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class StatsigAPIKeyType(ModelSimple): + """ + The definition of the `StatsigAPIKey` object. + + :param value: If omitted defaults to "StatsigAPIKey". Must be one of ["StatsigAPIKey"]. + :type value: str + """ + + allowed_values = { + "StatsigAPIKey", + } + STATSIGAPIKEY: ClassVar["StatsigAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +StatsigAPIKeyType.STATSIGAPIKEY = StatsigAPIKeyType("StatsigAPIKey") diff --git a/src/datadog_api_client/v2/model/statsig_api_key_update.py b/src/datadog_api_client/v2/model/statsig_api_key_update.py new file mode 100644 index 0000000000..c3fcf4cd34 --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.statsig_api_key_type import StatsigAPIKeyType + + +class StatsigAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.statsig_api_key_type import StatsigAPIKeyType + + return { + "api_key": (str,), + "type": (StatsigAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, type: StatsigAPIKeyType, api_key: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``StatsigAPIKey`` object. + + :param api_key: The ``StatsigAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param type: The definition of the ``StatsigAPIKey`` object. + :type type: StatsigAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/statsig_credentials.py b/src/datadog_api_client/v2/model/statsig_credentials.py new file mode 100644 index 0000000000..e9db162e4b --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class StatsigCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``StatsigCredentials`` object. + + :param api_key: The `StatsigAPIKey` `api_key`. + :type api_key: str + + :param type: The definition of the `StatsigAPIKey` object. + :type type: StatsigAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.statsig_api_key import StatsigAPIKey + + return { + "oneOf": [ + StatsigAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/statsig_credentials_update.py b/src/datadog_api_client/v2/model/statsig_credentials_update.py new file mode 100644 index 0000000000..614f60ee06 --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class StatsigCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``StatsigCredentialsUpdate`` object. + + :param api_key: The `StatsigAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param type: The definition of the `StatsigAPIKey` object. + :type type: StatsigAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.statsig_api_key_update import StatsigAPIKeyUpdate + + return { + "oneOf": [ + StatsigAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/statsig_integration.py b/src/datadog_api_client/v2/model/statsig_integration.py new file mode 100644 index 0000000000..65badf7411 --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_integration.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.statsig_credentials import StatsigCredentials + from datadog_api_client.v2.model.statsig_integration_type import StatsigIntegrationType + from datadog_api_client.v2.model.statsig_api_key import StatsigAPIKey + + +class StatsigIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.statsig_credentials import StatsigCredentials + from datadog_api_client.v2.model.statsig_integration_type import StatsigIntegrationType + + return { + "credentials": (StatsigCredentials,), + "type": (StatsigIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__(self_, credentials: Union[StatsigCredentials, StatsigAPIKey], type: StatsigIntegrationType, **kwargs): + """ + The definition of the ``StatsigIntegration`` object. + + :param credentials: The definition of the ``StatsigCredentials`` object. + :type credentials: StatsigCredentials + + :param type: The definition of the ``StatsigIntegrationType`` object. + :type type: StatsigIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/statsig_integration_type.py b/src/datadog_api_client/v2/model/statsig_integration_type.py new file mode 100644 index 0000000000..378a8bd9e0 --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class StatsigIntegrationType(ModelSimple): + """ + The definition of the `StatsigIntegrationType` object. + + :param value: If omitted defaults to "Statsig". Must be one of ["Statsig"]. + :type value: str + """ + + allowed_values = { + "Statsig", + } + STATSIG: ClassVar["StatsigIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +StatsigIntegrationType.STATSIG = StatsigIntegrationType("Statsig") diff --git a/src/datadog_api_client/v2/model/statsig_integration_update.py b/src/datadog_api_client/v2/model/statsig_integration_update.py new file mode 100644 index 0000000000..6f3a5c7bdb --- /dev/null +++ b/src/datadog_api_client/v2/model/statsig_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.statsig_credentials_update import StatsigCredentialsUpdate + from datadog_api_client.v2.model.statsig_integration_type import StatsigIntegrationType + from datadog_api_client.v2.model.statsig_api_key_update import StatsigAPIKeyUpdate + + +class StatsigIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.statsig_credentials_update import StatsigCredentialsUpdate + from datadog_api_client.v2.model.statsig_integration_type import StatsigIntegrationType + + return { + "credentials": (StatsigCredentialsUpdate,), + "type": (StatsigIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: StatsigIntegrationType, + credentials: Union[StatsigCredentialsUpdate, StatsigAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``StatsigIntegrationUpdate`` object. + + :param credentials: The definition of the ``StatsigCredentialsUpdate`` object. + :type credentials: StatsigCredentialsUpdate, optional + + :param type: The definition of the ``StatsigIntegrationType`` object. + :type type: StatsigIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/virus_total_api_key.py b/src/datadog_api_client/v2/model/virus_total_api_key.py new file mode 100644 index 0000000000..0288f1433d --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_api_key.py @@ -0,0 +1,46 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.virus_total_api_key_type import VirusTotalAPIKeyType + + +class VirusTotalAPIKey(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.virus_total_api_key_type import VirusTotalAPIKeyType + + return { + "api_key": (str,), + "type": (VirusTotalAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, api_key: str, type: VirusTotalAPIKeyType, **kwargs): + """ + The definition of the ``VirusTotalAPIKey`` object. + + :param api_key: The ``VirusTotalAPIKey`` ``api_key``. + :type api_key: str + + :param type: The definition of the ``VirusTotalAPIKey`` object. + :type type: VirusTotalAPIKeyType + """ + super().__init__(kwargs) + + self_.api_key = api_key + self_.type = type diff --git a/src/datadog_api_client/v2/model/virus_total_api_key_type.py b/src/datadog_api_client/v2/model/virus_total_api_key_type.py new file mode 100644 index 0000000000..c7f098a800 --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_api_key_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class VirusTotalAPIKeyType(ModelSimple): + """ + The definition of the `VirusTotalAPIKey` object. + + :param value: If omitted defaults to "VirusTotalAPIKey". Must be one of ["VirusTotalAPIKey"]. + :type value: str + """ + + allowed_values = { + "VirusTotalAPIKey", + } + VIRUSTOTALAPIKEY: ClassVar["VirusTotalAPIKeyType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +VirusTotalAPIKeyType.VIRUSTOTALAPIKEY = VirusTotalAPIKeyType("VirusTotalAPIKey") diff --git a/src/datadog_api_client/v2/model/virus_total_api_key_update.py b/src/datadog_api_client/v2/model/virus_total_api_key_update.py new file mode 100644 index 0000000000..4c00df8f6b --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_api_key_update.py @@ -0,0 +1,49 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.virus_total_api_key_type import VirusTotalAPIKeyType + + +class VirusTotalAPIKeyUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.virus_total_api_key_type import VirusTotalAPIKeyType + + return { + "api_key": (str,), + "type": (VirusTotalAPIKeyType,), + } + + attribute_map = { + "api_key": "api_key", + "type": "type", + } + + def __init__(self_, type: VirusTotalAPIKeyType, api_key: Union[str, UnsetType] = unset, **kwargs): + """ + The definition of the ``VirusTotalAPIKey`` object. + + :param api_key: The ``VirusTotalAPIKeyUpdate`` ``api_key``. + :type api_key: str, optional + + :param type: The definition of the ``VirusTotalAPIKey`` object. + :type type: VirusTotalAPIKeyType + """ + if api_key is not unset: + kwargs["api_key"] = api_key + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/model/virus_total_credentials.py b/src/datadog_api_client/v2/model/virus_total_credentials.py new file mode 100644 index 0000000000..c1dd9929d4 --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_credentials.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class VirusTotalCredentials(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``VirusTotalCredentials`` object. + + :param api_key: The `VirusTotalAPIKey` `api_key`. + :type api_key: str + + :param type: The definition of the `VirusTotalAPIKey` object. + :type type: VirusTotalAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.virus_total_api_key import VirusTotalAPIKey + + return { + "oneOf": [ + VirusTotalAPIKey, + ], + } diff --git a/src/datadog_api_client/v2/model/virus_total_credentials_update.py b/src/datadog_api_client/v2/model/virus_total_credentials_update.py new file mode 100644 index 0000000000..aff19202a0 --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_credentials_update.py @@ -0,0 +1,41 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelComposed, + cached_property, +) + + +class VirusTotalCredentialsUpdate(ModelComposed): + def __init__(self, **kwargs): + """ + The definition of the ``VirusTotalCredentialsUpdate`` object. + + :param api_key: The `VirusTotalAPIKeyUpdate` `api_key`. + :type api_key: str, optional + + :param type: The definition of the `VirusTotalAPIKey` object. + :type type: VirusTotalAPIKeyType + """ + super().__init__(kwargs) + + @cached_property + def _composed_schemas(_): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + from datadog_api_client.v2.model.virus_total_api_key_update import VirusTotalAPIKeyUpdate + + return { + "oneOf": [ + VirusTotalAPIKeyUpdate, + ], + } diff --git a/src/datadog_api_client/v2/model/virus_total_integration.py b/src/datadog_api_client/v2/model/virus_total_integration.py new file mode 100644 index 0000000000..bb9a8c3bca --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_integration.py @@ -0,0 +1,51 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.virus_total_credentials import VirusTotalCredentials + from datadog_api_client.v2.model.virus_total_integration_type import VirusTotalIntegrationType + from datadog_api_client.v2.model.virus_total_api_key import VirusTotalAPIKey + + +class VirusTotalIntegration(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.virus_total_credentials import VirusTotalCredentials + from datadog_api_client.v2.model.virus_total_integration_type import VirusTotalIntegrationType + + return { + "credentials": (VirusTotalCredentials,), + "type": (VirusTotalIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, credentials: Union[VirusTotalCredentials, VirusTotalAPIKey], type: VirusTotalIntegrationType, **kwargs + ): + """ + The definition of the ``VirusTotalIntegration`` object. + + :param credentials: The definition of the ``VirusTotalCredentials`` object. + :type credentials: VirusTotalCredentials + + :param type: The definition of the ``VirusTotalIntegrationType`` object. + :type type: VirusTotalIntegrationType + """ + super().__init__(kwargs) + + self_.credentials = credentials + self_.type = type diff --git a/src/datadog_api_client/v2/model/virus_total_integration_type.py b/src/datadog_api_client/v2/model/virus_total_integration_type.py new file mode 100644 index 0000000000..72182dfa06 --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_integration_type.py @@ -0,0 +1,35 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class VirusTotalIntegrationType(ModelSimple): + """ + The definition of the `VirusTotalIntegrationType` object. + + :param value: If omitted defaults to "VirusTotal". Must be one of ["VirusTotal"]. + :type value: str + """ + + allowed_values = { + "VirusTotal", + } + VIRUSTOTAL: ClassVar["VirusTotalIntegrationType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +VirusTotalIntegrationType.VIRUSTOTAL = VirusTotalIntegrationType("VirusTotal") diff --git a/src/datadog_api_client/v2/model/virus_total_integration_update.py b/src/datadog_api_client/v2/model/virus_total_integration_update.py new file mode 100644 index 0000000000..c87f9af1dc --- /dev/null +++ b/src/datadog_api_client/v2/model/virus_total_integration_update.py @@ -0,0 +1,57 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + +from typing import Union, TYPE_CHECKING + +from datadog_api_client.model_utils import ( + ModelNormal, + cached_property, + unset, + UnsetType, +) + + +if TYPE_CHECKING: + from datadog_api_client.v2.model.virus_total_credentials_update import VirusTotalCredentialsUpdate + from datadog_api_client.v2.model.virus_total_integration_type import VirusTotalIntegrationType + from datadog_api_client.v2.model.virus_total_api_key_update import VirusTotalAPIKeyUpdate + + +class VirusTotalIntegrationUpdate(ModelNormal): + @cached_property + def openapi_types(_): + from datadog_api_client.v2.model.virus_total_credentials_update import VirusTotalCredentialsUpdate + from datadog_api_client.v2.model.virus_total_integration_type import VirusTotalIntegrationType + + return { + "credentials": (VirusTotalCredentialsUpdate,), + "type": (VirusTotalIntegrationType,), + } + + attribute_map = { + "credentials": "credentials", + "type": "type", + } + + def __init__( + self_, + type: VirusTotalIntegrationType, + credentials: Union[VirusTotalCredentialsUpdate, VirusTotalAPIKeyUpdate, UnsetType] = unset, + **kwargs, + ): + """ + The definition of the ``VirusTotalIntegrationUpdate`` object. + + :param credentials: The definition of the ``VirusTotalCredentialsUpdate`` object. + :type credentials: VirusTotalCredentialsUpdate, optional + + :param type: The definition of the ``VirusTotalIntegrationType`` object. + :type type: VirusTotalIntegrationType + """ + if credentials is not unset: + kwargs["credentials"] = credentials + super().__init__(kwargs) + + self_.type = type diff --git a/src/datadog_api_client/v2/models/__init__.py b/src/datadog_api_client/v2/models/__init__.py index 1783706602..aef60f5452 100644 --- a/src/datadog_api_client/v2/models/__init__.py +++ b/src/datadog_api_client/v2/models/__init__.py @@ -120,6 +120,14 @@ from datadog_api_client.v2.model.annotation_display import AnnotationDisplay from datadog_api_client.v2.model.annotation_display_bounds import AnnotationDisplayBounds from datadog_api_client.v2.model.annotation_markdown_text_annotation import AnnotationMarkdownTextAnnotation +from datadog_api_client.v2.model.anthropic_api_key import AnthropicAPIKey +from datadog_api_client.v2.model.anthropic_api_key_type import AnthropicAPIKeyType +from datadog_api_client.v2.model.anthropic_api_key_update import AnthropicAPIKeyUpdate +from datadog_api_client.v2.model.anthropic_credentials import AnthropicCredentials +from datadog_api_client.v2.model.anthropic_credentials_update import AnthropicCredentialsUpdate +from datadog_api_client.v2.model.anthropic_integration import AnthropicIntegration +from datadog_api_client.v2.model.anthropic_integration_type import AnthropicIntegrationType +from datadog_api_client.v2.model.anthropic_integration_update import AnthropicIntegrationUpdate from datadog_api_client.v2.model.apm_retention_filter_type import ApmRetentionFilterType from datadog_api_client.v2.model.app_builder_event import AppBuilderEvent from datadog_api_client.v2.model.app_builder_event_name import AppBuilderEventName @@ -257,6 +265,14 @@ ApplicationSecurityWafExclusionFiltersResponse, ) from datadog_api_client.v2.model.apps_sort_field import AppsSortField +from datadog_api_client.v2.model.asana_access_token import AsanaAccessToken +from datadog_api_client.v2.model.asana_access_token_type import AsanaAccessTokenType +from datadog_api_client.v2.model.asana_access_token_update import AsanaAccessTokenUpdate +from datadog_api_client.v2.model.asana_credentials import AsanaCredentials +from datadog_api_client.v2.model.asana_credentials_update import AsanaCredentialsUpdate +from datadog_api_client.v2.model.asana_integration import AsanaIntegration +from datadog_api_client.v2.model.asana_integration_type import AsanaIntegrationType +from datadog_api_client.v2.model.asana_integration_update import AsanaIntegrationUpdate from datadog_api_client.v2.model.asset import Asset from datadog_api_client.v2.model.asset_attributes import AssetAttributes from datadog_api_client.v2.model.asset_entity_type import AssetEntityType @@ -331,8 +347,16 @@ from datadog_api_client.v2.model.aws_scan_options_update_attributes import AwsScanOptionsUpdateAttributes from datadog_api_client.v2.model.aws_scan_options_update_data import AwsScanOptionsUpdateData from datadog_api_client.v2.model.aws_scan_options_update_request import AwsScanOptionsUpdateRequest +from datadog_api_client.v2.model.azure_credentials import AzureCredentials +from datadog_api_client.v2.model.azure_credentials_update import AzureCredentialsUpdate +from datadog_api_client.v2.model.azure_integration import AzureIntegration +from datadog_api_client.v2.model.azure_integration_type import AzureIntegrationType +from datadog_api_client.v2.model.azure_integration_update import AzureIntegrationUpdate from datadog_api_client.v2.model.azure_storage_destination import AzureStorageDestination from datadog_api_client.v2.model.azure_storage_destination_type import AzureStorageDestinationType +from datadog_api_client.v2.model.azure_tenant import AzureTenant +from datadog_api_client.v2.model.azure_tenant_type import AzureTenantType +from datadog_api_client.v2.model.azure_tenant_update import AzureTenantUpdate from datadog_api_client.v2.model.azure_uc_config import AzureUCConfig from datadog_api_client.v2.model.azure_uc_config_pair import AzureUCConfigPair from datadog_api_client.v2.model.azure_uc_config_pair_attributes import AzureUCConfigPairAttributes @@ -529,6 +553,22 @@ ) from datadog_api_client.v2.model.change_event_trigger_wrapper import ChangeEventTriggerWrapper from datadog_api_client.v2.model.chargeback_breakdown import ChargebackBreakdown +from datadog_api_client.v2.model.circle_ciapi_key import CircleCIAPIKey +from datadog_api_client.v2.model.circle_ciapi_key_type import CircleCIAPIKeyType +from datadog_api_client.v2.model.circle_ciapi_key_update import CircleCIAPIKeyUpdate +from datadog_api_client.v2.model.circle_ci_credentials import CircleCICredentials +from datadog_api_client.v2.model.circle_ci_credentials_update import CircleCICredentialsUpdate +from datadog_api_client.v2.model.circle_ci_integration import CircleCIIntegration +from datadog_api_client.v2.model.circle_ci_integration_type import CircleCIIntegrationType +from datadog_api_client.v2.model.circle_ci_integration_update import CircleCIIntegrationUpdate +from datadog_api_client.v2.model.clickup_api_key import ClickupAPIKey +from datadog_api_client.v2.model.clickup_api_key_type import ClickupAPIKeyType +from datadog_api_client.v2.model.clickup_api_key_update import ClickupAPIKeyUpdate +from datadog_api_client.v2.model.clickup_credentials import ClickupCredentials +from datadog_api_client.v2.model.clickup_credentials_update import ClickupCredentialsUpdate +from datadog_api_client.v2.model.clickup_integration import ClickupIntegration +from datadog_api_client.v2.model.clickup_integration_type import ClickupIntegrationType +from datadog_api_client.v2.model.clickup_integration_update import ClickupIntegrationUpdate from datadog_api_client.v2.model.cloud_configuration_compliance_rule_options import ( CloudConfigurationComplianceRuleOptions, ) @@ -619,6 +659,9 @@ from datadog_api_client.v2.model.cloud_workload_security_agent_rules_list_response import ( CloudWorkloadSecurityAgentRulesListResponse, ) +from datadog_api_client.v2.model.cloudflare_api_token import CloudflareAPIToken +from datadog_api_client.v2.model.cloudflare_api_token_type import CloudflareAPITokenType +from datadog_api_client.v2.model.cloudflare_api_token_update import CloudflareAPITokenUpdate from datadog_api_client.v2.model.cloudflare_account_create_request import CloudflareAccountCreateRequest from datadog_api_client.v2.model.cloudflare_account_create_request_attributes import ( CloudflareAccountCreateRequestAttributes, @@ -634,6 +677,14 @@ ) from datadog_api_client.v2.model.cloudflare_account_update_request_data import CloudflareAccountUpdateRequestData from datadog_api_client.v2.model.cloudflare_accounts_response import CloudflareAccountsResponse +from datadog_api_client.v2.model.cloudflare_credentials import CloudflareCredentials +from datadog_api_client.v2.model.cloudflare_credentials_update import CloudflareCredentialsUpdate +from datadog_api_client.v2.model.cloudflare_global_api_token import CloudflareGlobalAPIToken +from datadog_api_client.v2.model.cloudflare_global_api_token_type import CloudflareGlobalAPITokenType +from datadog_api_client.v2.model.cloudflare_global_api_token_update import CloudflareGlobalAPITokenUpdate +from datadog_api_client.v2.model.cloudflare_integration import CloudflareIntegration +from datadog_api_client.v2.model.cloudflare_integration_type import CloudflareIntegrationType +from datadog_api_client.v2.model.cloudflare_integration_update import CloudflareIntegrationUpdate from datadog_api_client.v2.model.code_location import CodeLocation from datadog_api_client.v2.model.completion_condition import CompletionCondition from datadog_api_client.v2.model.completion_condition_operator import CompletionConditionOperator @@ -646,6 +697,14 @@ from datadog_api_client.v2.model.component_properties import ComponentProperties from datadog_api_client.v2.model.component_properties_is_visible import ComponentPropertiesIsVisible from datadog_api_client.v2.model.component_type import ComponentType +from datadog_api_client.v2.model.config_cat_credentials import ConfigCatCredentials +from datadog_api_client.v2.model.config_cat_credentials_update import ConfigCatCredentialsUpdate +from datadog_api_client.v2.model.config_cat_integration import ConfigCatIntegration +from datadog_api_client.v2.model.config_cat_integration_type import ConfigCatIntegrationType +from datadog_api_client.v2.model.config_cat_integration_update import ConfigCatIntegrationUpdate +from datadog_api_client.v2.model.config_cat_sdk_key import ConfigCatSDKKey +from datadog_api_client.v2.model.config_cat_sdk_key_type import ConfigCatSDKKeyType +from datadog_api_client.v2.model.config_cat_sdk_key_update import ConfigCatSDKKeyUpdate from datadog_api_client.v2.model.confluent_account_create_request import ConfluentAccountCreateRequest from datadog_api_client.v2.model.confluent_account_create_request_attributes import ( ConfluentAccountCreateRequestAttributes, @@ -1250,6 +1309,9 @@ from datadog_api_client.v2.model.events_sort_type import EventsSortType from datadog_api_client.v2.model.events_timeseries_query import EventsTimeseriesQuery from datadog_api_client.v2.model.events_warning import EventsWarning +from datadog_api_client.v2.model.fastly_api_key import FastlyAPIKey +from datadog_api_client.v2.model.fastly_api_key_type import FastlyAPIKeyType +from datadog_api_client.v2.model.fastly_api_key_update import FastlyAPIKeyUpdate from datadog_api_client.v2.model.fastly_accoun_response_attributes import FastlyAccounResponseAttributes from datadog_api_client.v2.model.fastly_account_create_request import FastlyAccountCreateRequest from datadog_api_client.v2.model.fastly_account_create_request_attributes import FastlyAccountCreateRequestAttributes @@ -1261,6 +1323,11 @@ from datadog_api_client.v2.model.fastly_account_update_request_attributes import FastlyAccountUpdateRequestAttributes from datadog_api_client.v2.model.fastly_account_update_request_data import FastlyAccountUpdateRequestData from datadog_api_client.v2.model.fastly_accounts_response import FastlyAccountsResponse +from datadog_api_client.v2.model.fastly_credentials import FastlyCredentials +from datadog_api_client.v2.model.fastly_credentials_update import FastlyCredentialsUpdate +from datadog_api_client.v2.model.fastly_integration import FastlyIntegration +from datadog_api_client.v2.model.fastly_integration_type import FastlyIntegrationType +from datadog_api_client.v2.model.fastly_integration_update import FastlyIntegrationUpdate from datadog_api_client.v2.model.fastly_service import FastlyService from datadog_api_client.v2.model.fastly_service_attributes import FastlyServiceAttributes from datadog_api_client.v2.model.fastly_service_data import FastlyServiceData @@ -1280,12 +1347,25 @@ from datadog_api_client.v2.model.finding_vulnerability_type import FindingVulnerabilityType from datadog_api_client.v2.model.formula_limit import FormulaLimit from datadog_api_client.v2.model.framework_handle_and_version_response_data import FrameworkHandleAndVersionResponseData +from datadog_api_client.v2.model.freshservice_api_key import FreshserviceAPIKey +from datadog_api_client.v2.model.freshservice_api_key_type import FreshserviceAPIKeyType +from datadog_api_client.v2.model.freshservice_api_key_update import FreshserviceAPIKeyUpdate +from datadog_api_client.v2.model.freshservice_credentials import FreshserviceCredentials +from datadog_api_client.v2.model.freshservice_credentials_update import FreshserviceCredentialsUpdate +from datadog_api_client.v2.model.freshservice_integration import FreshserviceIntegration +from datadog_api_client.v2.model.freshservice_integration_type import FreshserviceIntegrationType +from datadog_api_client.v2.model.freshservice_integration_update import FreshserviceIntegrationUpdate from datadog_api_client.v2.model.full_api_key import FullAPIKey from datadog_api_client.v2.model.full_api_key_attributes import FullAPIKeyAttributes from datadog_api_client.v2.model.full_application_key import FullApplicationKey from datadog_api_client.v2.model.full_application_key_attributes import FullApplicationKeyAttributes from datadog_api_client.v2.model.full_custom_framework_data import FullCustomFrameworkData from datadog_api_client.v2.model.full_custom_framework_data_attributes import FullCustomFrameworkDataAttributes +from datadog_api_client.v2.model.gcp_credentials import GCPCredentials +from datadog_api_client.v2.model.gcp_credentials_update import GCPCredentialsUpdate +from datadog_api_client.v2.model.gcp_integration import GCPIntegration +from datadog_api_client.v2.model.gcp_integration_type import GCPIntegrationType +from datadog_api_client.v2.model.gcp_integration_update import GCPIntegrationUpdate from datadog_api_client.v2.model.gcp_metric_namespace_config import GCPMetricNamespaceConfig from datadog_api_client.v2.model.gcpsts_delegate_account import GCPSTSDelegateAccount from datadog_api_client.v2.model.gcpsts_delegate_account_attributes import GCPSTSDelegateAccountAttributes @@ -1299,8 +1379,11 @@ from datadog_api_client.v2.model.gcpsts_service_account_update_request import GCPSTSServiceAccountUpdateRequest from datadog_api_client.v2.model.gcpsts_service_account_update_request_data import GCPSTSServiceAccountUpdateRequestData from datadog_api_client.v2.model.gcpsts_service_accounts_response import GCPSTSServiceAccountsResponse +from datadog_api_client.v2.model.gcp_service_account import GCPServiceAccount +from datadog_api_client.v2.model.gcp_service_account_credential_type import GCPServiceAccountCredentialType from datadog_api_client.v2.model.gcp_service_account_meta import GCPServiceAccountMeta from datadog_api_client.v2.model.gcp_service_account_type import GCPServiceAccountType +from datadog_api_client.v2.model.gcp_service_account_update import GCPServiceAccountUpdate from datadog_api_client.v2.model.gcp_usage_cost_config import GCPUsageCostConfig from datadog_api_client.v2.model.gcp_usage_cost_config_attributes import GCPUsageCostConfigAttributes from datadog_api_client.v2.model.gcp_usage_cost_config_patch_data import GCPUsageCostConfigPatchData @@ -1318,6 +1401,14 @@ from datadog_api_client.v2.model.gcp_usage_cost_config_response import GCPUsageCostConfigResponse from datadog_api_client.v2.model.gcp_usage_cost_config_type import GCPUsageCostConfigType from datadog_api_client.v2.model.gcp_usage_cost_configs_response import GCPUsageCostConfigsResponse +from datadog_api_client.v2.model.gemini_api_key import GeminiAPIKey +from datadog_api_client.v2.model.gemini_api_key_type import GeminiAPIKeyType +from datadog_api_client.v2.model.gemini_api_key_update import GeminiAPIKeyUpdate +from datadog_api_client.v2.model.gemini_credentials import GeminiCredentials +from datadog_api_client.v2.model.gemini_credentials_update import GeminiCredentialsUpdate +from datadog_api_client.v2.model.gemini_integration import GeminiIntegration +from datadog_api_client.v2.model.gemini_integration_type import GeminiIntegrationType +from datadog_api_client.v2.model.gemini_integration_update import GeminiIntegrationUpdate from datadog_api_client.v2.model.get_action_connection_response import GetActionConnectionResponse from datadog_api_client.v2.model.get_app_key_registration_response import GetAppKeyRegistrationResponse from datadog_api_client.v2.model.get_app_response import GetAppResponse @@ -1343,6 +1434,22 @@ from datadog_api_client.v2.model.get_workflow_response import GetWorkflowResponse from datadog_api_client.v2.model.github_webhook_trigger import GithubWebhookTrigger from datadog_api_client.v2.model.github_webhook_trigger_wrapper import GithubWebhookTriggerWrapper +from datadog_api_client.v2.model.gitlab_api_key import GitlabAPIKey +from datadog_api_client.v2.model.gitlab_api_key_type import GitlabAPIKeyType +from datadog_api_client.v2.model.gitlab_api_key_update import GitlabAPIKeyUpdate +from datadog_api_client.v2.model.gitlab_credentials import GitlabCredentials +from datadog_api_client.v2.model.gitlab_credentials_update import GitlabCredentialsUpdate +from datadog_api_client.v2.model.gitlab_integration import GitlabIntegration +from datadog_api_client.v2.model.gitlab_integration_type import GitlabIntegrationType +from datadog_api_client.v2.model.gitlab_integration_update import GitlabIntegrationUpdate +from datadog_api_client.v2.model.grey_noise_api_key import GreyNoiseAPIKey +from datadog_api_client.v2.model.grey_noise_api_key_type import GreyNoiseAPIKeyType +from datadog_api_client.v2.model.grey_noise_api_key_update import GreyNoiseAPIKeyUpdate +from datadog_api_client.v2.model.grey_noise_credentials import GreyNoiseCredentials +from datadog_api_client.v2.model.grey_noise_credentials_update import GreyNoiseCredentialsUpdate +from datadog_api_client.v2.model.grey_noise_integration import GreyNoiseIntegration +from datadog_api_client.v2.model.grey_noise_integration_type import GreyNoiseIntegrationType +from datadog_api_client.v2.model.grey_noise_integration_update import GreyNoiseIntegrationUpdate from datadog_api_client.v2.model.group_scalar_column import GroupScalarColumn from datadog_api_client.v2.model.group_tags import GroupTags from datadog_api_client.v2.model.http_body import HTTPBody @@ -1575,6 +1682,14 @@ from datadog_api_client.v2.model.kind_metadata import KindMetadata from datadog_api_client.v2.model.kind_obj import KindObj from datadog_api_client.v2.model.kind_response_meta import KindResponseMeta +from datadog_api_client.v2.model.launch_darkly_api_key import LaunchDarklyAPIKey +from datadog_api_client.v2.model.launch_darkly_api_key_type import LaunchDarklyAPIKeyType +from datadog_api_client.v2.model.launch_darkly_api_key_update import LaunchDarklyAPIKeyUpdate +from datadog_api_client.v2.model.launch_darkly_credentials import LaunchDarklyCredentials +from datadog_api_client.v2.model.launch_darkly_credentials_update import LaunchDarklyCredentialsUpdate +from datadog_api_client.v2.model.launch_darkly_integration import LaunchDarklyIntegration +from datadog_api_client.v2.model.launch_darkly_integration_type import LaunchDarklyIntegrationType +from datadog_api_client.v2.model.launch_darkly_integration_update import LaunchDarklyIntegrationUpdate from datadog_api_client.v2.model.layer import Layer from datadog_api_client.v2.model.layer_attributes import LayerAttributes from datadog_api_client.v2.model.layer_attributes_interval import LayerAttributesInterval @@ -1996,6 +2111,14 @@ from datadog_api_client.v2.model.notification_rule_attributes import NotificationRuleAttributes from datadog_api_client.v2.model.notification_rule_response import NotificationRuleResponse from datadog_api_client.v2.model.notification_rules_type import NotificationRulesType +from datadog_api_client.v2.model.notion_api_key import NotionAPIKey +from datadog_api_client.v2.model.notion_api_key_type import NotionAPIKeyType +from datadog_api_client.v2.model.notion_api_key_update import NotionAPIKeyUpdate +from datadog_api_client.v2.model.notion_credentials import NotionCredentials +from datadog_api_client.v2.model.notion_credentials_update import NotionCredentialsUpdate +from datadog_api_client.v2.model.notion_integration import NotionIntegration +from datadog_api_client.v2.model.notion_integration_type import NotionIntegrationType +from datadog_api_client.v2.model.notion_integration_update import NotionIntegrationUpdate from datadog_api_client.v2.model.nullable_relationship_to_user import NullableRelationshipToUser from datadog_api_client.v2.model.nullable_relationship_to_user_data import NullableRelationshipToUserData from datadog_api_client.v2.model.nullable_user_relationship import NullableUserRelationship @@ -2462,6 +2585,9 @@ ObservabilityPipelineThrottleProcessorType, ) from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls +from datadog_api_client.v2.model.okta_api_token import OktaAPIToken +from datadog_api_client.v2.model.okta_api_token_type import OktaAPITokenType +from datadog_api_client.v2.model.okta_api_token_update import OktaAPITokenUpdate from datadog_api_client.v2.model.okta_account import OktaAccount from datadog_api_client.v2.model.okta_account_attributes import OktaAccountAttributes from datadog_api_client.v2.model.okta_account_request import OktaAccountRequest @@ -2472,11 +2598,24 @@ from datadog_api_client.v2.model.okta_account_update_request_attributes import OktaAccountUpdateRequestAttributes from datadog_api_client.v2.model.okta_account_update_request_data import OktaAccountUpdateRequestData from datadog_api_client.v2.model.okta_accounts_response import OktaAccountsResponse +from datadog_api_client.v2.model.okta_credentials import OktaCredentials +from datadog_api_client.v2.model.okta_credentials_update import OktaCredentialsUpdate +from datadog_api_client.v2.model.okta_integration import OktaIntegration +from datadog_api_client.v2.model.okta_integration_type import OktaIntegrationType +from datadog_api_client.v2.model.okta_integration_update import OktaIntegrationUpdate from datadog_api_client.v2.model.on_call_page_target_type import OnCallPageTargetType from datadog_api_client.v2.model.on_demand_concurrency_cap import OnDemandConcurrencyCap from datadog_api_client.v2.model.on_demand_concurrency_cap_attributes import OnDemandConcurrencyCapAttributes from datadog_api_client.v2.model.on_demand_concurrency_cap_response import OnDemandConcurrencyCapResponse from datadog_api_client.v2.model.on_demand_concurrency_cap_type import OnDemandConcurrencyCapType +from datadog_api_client.v2.model.open_aiapi_key import OpenAIAPIKey +from datadog_api_client.v2.model.open_aiapi_key_type import OpenAIAPIKeyType +from datadog_api_client.v2.model.open_aiapi_key_update import OpenAIAPIKeyUpdate +from datadog_api_client.v2.model.open_ai_credentials import OpenAICredentials +from datadog_api_client.v2.model.open_ai_credentials_update import OpenAICredentialsUpdate +from datadog_api_client.v2.model.open_ai_integration import OpenAIIntegration +from datadog_api_client.v2.model.open_ai_integration_type import OpenAIIntegrationType +from datadog_api_client.v2.model.open_ai_integration_update import OpenAIIntegrationUpdate from datadog_api_client.v2.model.open_api_endpoint import OpenAPIEndpoint from datadog_api_client.v2.model.open_api_file import OpenAPIFile from datadog_api_client.v2.model.opsgenie_service_create_attributes import OpsgenieServiceCreateAttributes @@ -3268,6 +3407,14 @@ from datadog_api_client.v2.model.service_definition_v2_version import ServiceDefinitionV2Version from datadog_api_client.v2.model.service_definitions_create_request import ServiceDefinitionsCreateRequest from datadog_api_client.v2.model.service_definitions_list_response import ServiceDefinitionsListResponse +from datadog_api_client.v2.model.service_now_basic_auth import ServiceNowBasicAuth +from datadog_api_client.v2.model.service_now_basic_auth_type import ServiceNowBasicAuthType +from datadog_api_client.v2.model.service_now_basic_auth_update import ServiceNowBasicAuthUpdate +from datadog_api_client.v2.model.service_now_credentials import ServiceNowCredentials +from datadog_api_client.v2.model.service_now_credentials_update import ServiceNowCredentialsUpdate +from datadog_api_client.v2.model.service_now_integration import ServiceNowIntegration +from datadog_api_client.v2.model.service_now_integration_type import ServiceNowIntegrationType +from datadog_api_client.v2.model.service_now_integration_update import ServiceNowIntegrationUpdate from datadog_api_client.v2.model.service_now_ticket import ServiceNowTicket from datadog_api_client.v2.model.service_now_ticket_result import ServiceNowTicketResult from datadog_api_client.v2.model.shift import Shift @@ -3363,10 +3510,26 @@ from datadog_api_client.v2.model.spans_warning import SpansWarning from datadog_api_client.v2.model.spec import Spec from datadog_api_client.v2.model.spec_version import SpecVersion +from datadog_api_client.v2.model.split_api_key import SplitAPIKey +from datadog_api_client.v2.model.split_api_key_type import SplitAPIKeyType +from datadog_api_client.v2.model.split_api_key_update import SplitAPIKeyUpdate +from datadog_api_client.v2.model.split_credentials import SplitCredentials +from datadog_api_client.v2.model.split_credentials_update import SplitCredentialsUpdate +from datadog_api_client.v2.model.split_integration import SplitIntegration +from datadog_api_client.v2.model.split_integration_type import SplitIntegrationType +from datadog_api_client.v2.model.split_integration_update import SplitIntegrationUpdate from datadog_api_client.v2.model.state import State from datadog_api_client.v2.model.state_variable import StateVariable from datadog_api_client.v2.model.state_variable_properties import StateVariableProperties from datadog_api_client.v2.model.state_variable_type import StateVariableType +from datadog_api_client.v2.model.statsig_api_key import StatsigAPIKey +from datadog_api_client.v2.model.statsig_api_key_type import StatsigAPIKeyType +from datadog_api_client.v2.model.statsig_api_key_update import StatsigAPIKeyUpdate +from datadog_api_client.v2.model.statsig_credentials import StatsigCredentials +from datadog_api_client.v2.model.statsig_credentials_update import StatsigCredentialsUpdate +from datadog_api_client.v2.model.statsig_integration import StatsigIntegration +from datadog_api_client.v2.model.statsig_integration_type import StatsigIntegrationType +from datadog_api_client.v2.model.statsig_integration_update import StatsigIntegrationUpdate from datadog_api_client.v2.model.step import Step from datadog_api_client.v2.model.step_display import StepDisplay from datadog_api_client.v2.model.step_display_bounds import StepDisplayBounds @@ -3582,6 +3745,14 @@ from datadog_api_client.v2.model.validation_error import ValidationError from datadog_api_client.v2.model.validation_error_meta import ValidationErrorMeta from datadog_api_client.v2.model.validation_response import ValidationResponse +from datadog_api_client.v2.model.virus_total_api_key import VirusTotalAPIKey +from datadog_api_client.v2.model.virus_total_api_key_type import VirusTotalAPIKeyType +from datadog_api_client.v2.model.virus_total_api_key_update import VirusTotalAPIKeyUpdate +from datadog_api_client.v2.model.virus_total_credentials import VirusTotalCredentials +from datadog_api_client.v2.model.virus_total_credentials_update import VirusTotalCredentialsUpdate +from datadog_api_client.v2.model.virus_total_integration import VirusTotalIntegration +from datadog_api_client.v2.model.virus_total_integration_type import VirusTotalIntegrationType +from datadog_api_client.v2.model.virus_total_integration_update import VirusTotalIntegrationUpdate from datadog_api_client.v2.model.vulnerabilities_type import VulnerabilitiesType from datadog_api_client.v2.model.vulnerability import Vulnerability from datadog_api_client.v2.model.vulnerability_attributes import VulnerabilityAttributes @@ -3742,6 +3913,14 @@ "AnnotationDisplay", "AnnotationDisplayBounds", "AnnotationMarkdownTextAnnotation", + "AnthropicAPIKey", + "AnthropicAPIKeyType", + "AnthropicAPIKeyUpdate", + "AnthropicCredentials", + "AnthropicCredentialsUpdate", + "AnthropicIntegration", + "AnthropicIntegrationType", + "AnthropicIntegrationUpdate", "ApmRetentionFilterType", "AppBuilderEvent", "AppBuilderEventName", @@ -3807,6 +3986,14 @@ "ApplicationSecurityWafExclusionFilterUpdateRequest", "ApplicationSecurityWafExclusionFiltersResponse", "AppsSortField", + "AsanaAccessToken", + "AsanaAccessTokenType", + "AsanaAccessTokenUpdate", + "AsanaCredentials", + "AsanaCredentialsUpdate", + "AsanaIntegration", + "AsanaIntegrationType", + "AsanaIntegrationUpdate", "Asset", "AssetAttributes", "AssetEntityType", @@ -3881,8 +4068,16 @@ "AwsScanOptionsUpdateAttributes", "AwsScanOptionsUpdateData", "AwsScanOptionsUpdateRequest", + "AzureCredentials", + "AzureCredentialsUpdate", + "AzureIntegration", + "AzureIntegrationType", + "AzureIntegrationUpdate", "AzureStorageDestination", "AzureStorageDestinationType", + "AzureTenant", + "AzureTenantType", + "AzureTenantUpdate", "AzureUCConfig", "AzureUCConfigPair", "AzureUCConfigPairAttributes", @@ -4045,6 +4240,22 @@ "ChangeEventCustomAttributesImpactedResourcesItemsType", "ChangeEventTriggerWrapper", "ChargebackBreakdown", + "CircleCIAPIKey", + "CircleCIAPIKeyType", + "CircleCIAPIKeyUpdate", + "CircleCICredentials", + "CircleCICredentialsUpdate", + "CircleCIIntegration", + "CircleCIIntegrationType", + "CircleCIIntegrationUpdate", + "ClickupAPIKey", + "ClickupAPIKeyType", + "ClickupAPIKeyUpdate", + "ClickupCredentials", + "ClickupCredentialsUpdate", + "ClickupIntegration", + "ClickupIntegrationType", + "ClickupIntegrationUpdate", "CloudConfigurationComplianceRuleOptions", "CloudConfigurationRegoRule", "CloudConfigurationRuleCaseCreate", @@ -4083,6 +4294,9 @@ "CloudWorkloadSecurityAgentRuleUpdateRequest", "CloudWorkloadSecurityAgentRuleUpdaterAttributes", "CloudWorkloadSecurityAgentRulesListResponse", + "CloudflareAPIToken", + "CloudflareAPITokenType", + "CloudflareAPITokenUpdate", "CloudflareAccountCreateRequest", "CloudflareAccountCreateRequestAttributes", "CloudflareAccountCreateRequestData", @@ -4094,6 +4308,14 @@ "CloudflareAccountUpdateRequestAttributes", "CloudflareAccountUpdateRequestData", "CloudflareAccountsResponse", + "CloudflareCredentials", + "CloudflareCredentialsUpdate", + "CloudflareGlobalAPIToken", + "CloudflareGlobalAPITokenType", + "CloudflareGlobalAPITokenUpdate", + "CloudflareIntegration", + "CloudflareIntegrationType", + "CloudflareIntegrationUpdate", "CodeLocation", "CompletionCondition", "CompletionConditionOperator", @@ -4106,6 +4328,14 @@ "ComponentProperties", "ComponentPropertiesIsVisible", "ComponentType", + "ConfigCatCredentials", + "ConfigCatCredentialsUpdate", + "ConfigCatIntegration", + "ConfigCatIntegrationType", + "ConfigCatIntegrationUpdate", + "ConfigCatSDKKey", + "ConfigCatSDKKeyType", + "ConfigCatSDKKeyUpdate", "ConfluentAccountCreateRequest", "ConfluentAccountCreateRequestAttributes", "ConfluentAccountCreateRequestData", @@ -4562,6 +4792,9 @@ "EventsSortType", "EventsTimeseriesQuery", "EventsWarning", + "FastlyAPIKey", + "FastlyAPIKeyType", + "FastlyAPIKeyUpdate", "FastlyAccounResponseAttributes", "FastlyAccountCreateRequest", "FastlyAccountCreateRequestAttributes", @@ -4573,6 +4806,11 @@ "FastlyAccountUpdateRequestAttributes", "FastlyAccountUpdateRequestData", "FastlyAccountsResponse", + "FastlyCredentials", + "FastlyCredentialsUpdate", + "FastlyIntegration", + "FastlyIntegrationType", + "FastlyIntegrationUpdate", "FastlyService", "FastlyServiceAttributes", "FastlyServiceData", @@ -4592,12 +4830,25 @@ "FindingVulnerabilityType", "FormulaLimit", "FrameworkHandleAndVersionResponseData", + "FreshserviceAPIKey", + "FreshserviceAPIKeyType", + "FreshserviceAPIKeyUpdate", + "FreshserviceCredentials", + "FreshserviceCredentialsUpdate", + "FreshserviceIntegration", + "FreshserviceIntegrationType", + "FreshserviceIntegrationUpdate", "FullAPIKey", "FullAPIKeyAttributes", "FullApplicationKey", "FullApplicationKeyAttributes", "FullCustomFrameworkData", "FullCustomFrameworkDataAttributes", + "GCPCredentials", + "GCPCredentialsUpdate", + "GCPIntegration", + "GCPIntegrationType", + "GCPIntegrationUpdate", "GCPMetricNamespaceConfig", "GCPSTSDelegateAccount", "GCPSTSDelegateAccountAttributes", @@ -4611,8 +4862,11 @@ "GCPSTSServiceAccountUpdateRequest", "GCPSTSServiceAccountUpdateRequestData", "GCPSTSServiceAccountsResponse", + "GCPServiceAccount", + "GCPServiceAccountCredentialType", "GCPServiceAccountMeta", "GCPServiceAccountType", + "GCPServiceAccountUpdate", "GCPUsageCostConfig", "GCPUsageCostConfigAttributes", "GCPUsageCostConfigPatchData", @@ -4626,6 +4880,14 @@ "GCPUsageCostConfigResponse", "GCPUsageCostConfigType", "GCPUsageCostConfigsResponse", + "GeminiAPIKey", + "GeminiAPIKeyType", + "GeminiAPIKeyUpdate", + "GeminiCredentials", + "GeminiCredentialsUpdate", + "GeminiIntegration", + "GeminiIntegrationType", + "GeminiIntegrationUpdate", "GetActionConnectionResponse", "GetAppKeyRegistrationResponse", "GetAppResponse", @@ -4649,6 +4911,22 @@ "GetWorkflowResponse", "GithubWebhookTrigger", "GithubWebhookTriggerWrapper", + "GitlabAPIKey", + "GitlabAPIKeyType", + "GitlabAPIKeyUpdate", + "GitlabCredentials", + "GitlabCredentialsUpdate", + "GitlabIntegration", + "GitlabIntegrationType", + "GitlabIntegrationUpdate", + "GreyNoiseAPIKey", + "GreyNoiseAPIKeyType", + "GreyNoiseAPIKeyUpdate", + "GreyNoiseCredentials", + "GreyNoiseCredentialsUpdate", + "GreyNoiseIntegration", + "GreyNoiseIntegrationType", + "GreyNoiseIntegrationUpdate", "GroupScalarColumn", "GroupTags", "HTTPBody", @@ -4849,6 +5127,14 @@ "KindMetadata", "KindObj", "KindResponseMeta", + "LaunchDarklyAPIKey", + "LaunchDarklyAPIKeyType", + "LaunchDarklyAPIKeyUpdate", + "LaunchDarklyCredentials", + "LaunchDarklyCredentialsUpdate", + "LaunchDarklyIntegration", + "LaunchDarklyIntegrationType", + "LaunchDarklyIntegrationUpdate", "Layer", "LayerAttributes", "LayerAttributesInterval", @@ -5176,6 +5462,14 @@ "NotificationRuleAttributes", "NotificationRuleResponse", "NotificationRulesType", + "NotionAPIKey", + "NotionAPIKeyType", + "NotionAPIKeyUpdate", + "NotionCredentials", + "NotionCredentialsUpdate", + "NotionIntegration", + "NotionIntegrationType", + "NotionIntegrationUpdate", "NullableRelationshipToUser", "NullableRelationshipToUserData", "NullableUserRelationship", @@ -5358,6 +5652,9 @@ "ObservabilityPipelineThrottleProcessor", "ObservabilityPipelineThrottleProcessorType", "ObservabilityPipelineTls", + "OktaAPIToken", + "OktaAPITokenType", + "OktaAPITokenUpdate", "OktaAccount", "OktaAccountAttributes", "OktaAccountRequest", @@ -5368,11 +5665,24 @@ "OktaAccountUpdateRequestAttributes", "OktaAccountUpdateRequestData", "OktaAccountsResponse", + "OktaCredentials", + "OktaCredentialsUpdate", + "OktaIntegration", + "OktaIntegrationType", + "OktaIntegrationUpdate", "OnCallPageTargetType", "OnDemandConcurrencyCap", "OnDemandConcurrencyCapAttributes", "OnDemandConcurrencyCapResponse", "OnDemandConcurrencyCapType", + "OpenAIAPIKey", + "OpenAIAPIKeyType", + "OpenAIAPIKeyUpdate", + "OpenAICredentials", + "OpenAICredentialsUpdate", + "OpenAIIntegration", + "OpenAIIntegrationType", + "OpenAIIntegrationUpdate", "OpenAPIEndpoint", "OpenAPIFile", "OpsgenieServiceCreateAttributes", @@ -5996,6 +6306,14 @@ "ServiceDefinitionV2Version", "ServiceDefinitionsCreateRequest", "ServiceDefinitionsListResponse", + "ServiceNowBasicAuth", + "ServiceNowBasicAuthType", + "ServiceNowBasicAuthUpdate", + "ServiceNowCredentials", + "ServiceNowCredentialsUpdate", + "ServiceNowIntegration", + "ServiceNowIntegrationType", + "ServiceNowIntegrationUpdate", "ServiceNowTicket", "ServiceNowTicketResult", "Shift", @@ -6081,10 +6399,26 @@ "SpansWarning", "Spec", "SpecVersion", + "SplitAPIKey", + "SplitAPIKeyType", + "SplitAPIKeyUpdate", + "SplitCredentials", + "SplitCredentialsUpdate", + "SplitIntegration", + "SplitIntegrationType", + "SplitIntegrationUpdate", "State", "StateVariable", "StateVariableProperties", "StateVariableType", + "StatsigAPIKey", + "StatsigAPIKeyType", + "StatsigAPIKeyUpdate", + "StatsigCredentials", + "StatsigCredentialsUpdate", + "StatsigIntegration", + "StatsigIntegrationType", + "StatsigIntegrationUpdate", "Step", "StepDisplay", "StepDisplayBounds", @@ -6270,6 +6604,14 @@ "ValidationError", "ValidationErrorMeta", "ValidationResponse", + "VirusTotalAPIKey", + "VirusTotalAPIKeyType", + "VirusTotalAPIKeyUpdate", + "VirusTotalCredentials", + "VirusTotalCredentialsUpdate", + "VirusTotalIntegration", + "VirusTotalIntegrationType", + "VirusTotalIntegrationUpdate", "VulnerabilitiesType", "Vulnerability", "VulnerabilityAttributes",