Skip to content

Commit

Permalink
Regenerate client from commit ae010524 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 8, 2023
1 parent 1162c59 commit ec56ca2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 70 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-06-07 15:44:40.557387",
"spec_repo_commit": "1a43071a"
"regenerated": "2023-06-08 13:33:16.116515",
"spec_repo_commit": "ae010524"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-06-07 15:44:40.569692",
"spec_repo_commit": "1a43071a"
"regenerated": "2023-06-08 13:33:16.132969",
"spec_repo_commit": "ae010524"
}
}
}
1 change: 1 addition & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7248,6 +7248,7 @@ components:
items:
description: A role UUID.
type: string
nullable: true
type: array
state:
$ref: '#/components/schemas/MonitorState'
Expand Down
6 changes: 3 additions & 3 deletions src/datadog_api_client/v1/model/monitor_update_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def openapi_types(_):
"overall_state": (MonitorOverallStates,),
"priority": (int,),
"query": (str,),
"restricted_roles": ([str],),
"restricted_roles": ([str], none_type),
"state": (MonitorState,),
"tags": ([str],),
"type": (MonitorType,),
Expand Down Expand Up @@ -101,7 +101,7 @@ def __init__(
overall_state: Union[MonitorOverallStates, UnsetType] = unset,
priority: Union[int, UnsetType] = unset,
query: Union[str, UnsetType] = unset,
restricted_roles: Union[List[str], UnsetType] = unset,
restricted_roles: Union[List[str], none_type, UnsetType] = unset,
state: Union[MonitorState, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
type: Union[MonitorType, UnsetType] = unset,
Expand Down Expand Up @@ -147,7 +147,7 @@ def __init__(
:type query: str, optional
:param restricted_roles: A list of unique role identifiers to define which roles are allowed to edit the monitor. The unique identifiers for all roles can be pulled from the `Roles API <https://docs.datadoghq.com/api/latest/roles/#list-roles>`_ and are located in the ``data.id`` field. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. ``restricted_roles`` is the successor of ``locked``. For more information about ``locked`` and ``restricted_roles`` , see the `monitor options docs <https://docs.datadoghq.com/monitors/guide/monitor_api_options/#permissions-options>`_.
:type restricted_roles: [str], optional
:type restricted_roles: [str], none_type, optional
:param state: Wrapper object with the different monitor states.
:type state: MonitorState, optional
Expand Down
64 changes: 1 addition & 63 deletions src/datadog_api_client/v1/model/usage_attribution_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from datadog_api_client.model_utils import (
ModelSimple,
cached_property,
)

from typing import ClassVar
Expand Down Expand Up @@ -80,65 +79,4 @@ class UsageAttributionSort(ModelSimple):
LAMBDA_FUNCTIONS_PERCENTAGE: ClassVar["UsageAttributionSort"]
LAMBDA_INVOCATIONS_USAGE: ClassVar["UsageAttributionSort"]
LAMBDA_INVOCATIONS_PERCENTAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INDEXED_LOGS_USAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INDEXED_LOGS_PERCENTAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INGESTED_LOGS_USAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INGESTED_LOGS_PERCENTAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INDEXED_SPANS_USAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INDEXED_SPANS_PERCENTAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INGESTED_SPANS_USAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_INGESTED_SPANS_PERCENTAGE: ClassVar["UsageAttributionSort"]
APM_FARGATE_USAGE: ClassVar["UsageAttributionSort"]
APM_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
APPSEC_FARGATE_USAGE: ClassVar["UsageAttributionSort"]
APPSEC_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE: ClassVar["UsageAttributionSort"]
ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSort"]

@cached_property
def openapi_types(_):
return {
"value": (str,),
}


UsageAttributionSort.API_PERCENTAGE = UsageAttributionSort("api_percentage")
UsageAttributionSort.SNMP_USAGE = UsageAttributionSort("snmp_usage")
UsageAttributionSort.APM_HOST_USAGE = UsageAttributionSort("apm_host_usage")
UsageAttributionSort.API_USAGE = UsageAttributionSort("api_usage")
UsageAttributionSort.APPSEC_USAGE = UsageAttributionSort("appsec_usage")
UsageAttributionSort.APPSEC_PERCENTAGE = UsageAttributionSort("appsec_percentage")
UsageAttributionSort.CONTAINER_USAGE = UsageAttributionSort("container_usage")
UsageAttributionSort.CUSTOM_TIMESERIES_PERCENTAGE = UsageAttributionSort("custom_timeseries_percentage")
UsageAttributionSort.CONTAINER_PERCENTAGE = UsageAttributionSort("container_percentage")
UsageAttributionSort.APM_HOST_PERCENTAGE = UsageAttributionSort("apm_host_percentage")
UsageAttributionSort.NPM_HOST_PERCENTAGE = UsageAttributionSort("npm_host_percentage")
UsageAttributionSort.BROWSER_PERCENTAGE = UsageAttributionSort("browser_percentage")
UsageAttributionSort.BROWSER_USAGE = UsageAttributionSort("browser_usage")
UsageAttributionSort.INFRA_HOST_PERCENTAGE = UsageAttributionSort("infra_host_percentage")
UsageAttributionSort.SNMP_PERCENTAGE = UsageAttributionSort("snmp_percentage")
UsageAttributionSort.NPM_HOST_USAGE = UsageAttributionSort("npm_host_usage")
UsageAttributionSort.INFRA_HOST_USAGE = UsageAttributionSort("infra_host_usage")
UsageAttributionSort.CUSTOM_TIMESERIES_USAGE = UsageAttributionSort("custom_timeseries_usage")
UsageAttributionSort.LAMBDA_FUNCTIONS_USAGE = UsageAttributionSort("lambda_functions_usage")
UsageAttributionSort.LAMBDA_FUNCTIONS_PERCENTAGE = UsageAttributionSort("lambda_functions_percentage")
UsageAttributionSort.LAMBDA_INVOCATIONS_USAGE = UsageAttributionSort("lambda_invocations_usage")
UsageAttributionSort.LAMBDA_INVOCATIONS_PERCENTAGE = UsageAttributionSort("lambda_invocations_percentage")
UsageAttributionSort.ESTIMATED_INDEXED_LOGS_USAGE = UsageAttributionSort("estimated_indexed_logs_usage")
UsageAttributionSort.ESTIMATED_INDEXED_LOGS_PERCENTAGE = UsageAttributionSort("estimated_indexed_logs_percentage")
UsageAttributionSort.ESTIMATED_INGESTED_LOGS_USAGE = UsageAttributionSort("estimated_ingested_logs_usage")
UsageAttributionSort.ESTIMATED_INGESTED_LOGS_PERCENTAGE = UsageAttributionSort("estimated_ingested_logs_percentage")
UsageAttributionSort.ESTIMATED_INDEXED_SPANS_USAGE = UsageAttributionSort("estimated_indexed_spans_usage")
UsageAttributionSort.ESTIMATED_INDEXED_SPANS_PERCENTAGE = UsageAttributionSort("estimated_indexed_spans_percentage")
UsageAttributionSort.ESTIMATED_INGESTED_SPANS_USAGE = UsageAttributionSort("estimated_ingested_spans_usage")
UsageAttributionSort.ESTIMATED_INGESTED_SPANS_PERCENTAGE = UsageAttributionSort("estimated_ingested_spans_percentage")
UsageAttributionSort.APM_FARGATE_USAGE = UsageAttributionSort("apm_fargate_usage")
UsageAttributionSort.APM_FARGATE_PERCENTAGE = UsageAttributionSort("apm_fargate_percentage")
UsageAttributionSort.APPSEC_FARGATE_USAGE = UsageAttributionSort("appsec_fargate_usage")
UsageAttributionSort.APPSEC_FARGATE_PERCENTAGE = UsageAttributionSort("appsec_fargate_percentage")
UsageAttributionSort.ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = UsageAttributionSort(
"estimated_rum_usage_attribution_usage"
)
UsageAttributionSort.ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = UsageAttributionSort(
"estimated_rum_usage_attribution_percentage"
)
ESTIMATED_INDEXED_LOGS_USAG

0 comments on commit ec56ca2

Please sign in to comment.