Skip to content

Commit

Permalink
Regenerate client from commit df95b91b of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 28, 2025
1 parent 81cb2f6 commit 2f47e3c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 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.6",
"regenerated": "2025-01-28 14:57:16.722951",
"spec_repo_commit": "f832f43e"
"regenerated": "2025-01-28 19:47:55.520587",
"spec_repo_commit": "df95b91b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-28 14:57:16.737270",
"spec_repo_commit": "f832f43e"
"regenerated": "2025-01-28 19:47:55.536158",
"spec_repo_commit": "df95b91b"
}
}
}
5 changes: 3 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5363,8 +5363,7 @@ components:
- USER
- SYSTEM
ChangeEventCustomAttributesChangedResource:
description: Object representing a uniquely identified resource. Only the resource
type `feature_flag` is supported.
description: Object representing a uniquely identified resource.
properties:
name:
description: Resource's name.
Expand All @@ -5380,10 +5379,12 @@ components:
description: Resource's type.
enum:
- feature_flag
- configuration
example: feature_flag
type: string
x-enum-varnames:
- FEATURE_FLAG
- CONFIGURATION
ChangeEventCustomAttributesImpactedResourcesItems:
description: Object representing a uniquely identified resource. Only the resource
type `service` is supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(
:param change_metadata: Free form object with information related to the ``change`` event. Can be arbitrarily nested and contain any valid JSON.
:type change_metadata: {str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional
:param changed_resource: Object representing a uniquely identified resource. Only the resource type ``feature_flag`` is supported.
:param changed_resource: Object representing a uniquely identified resource.
:type changed_resource: ChangeEventCustomAttributesChangedResource
:param impacted_resources: A list of resources impacted by this change. It is recommended to provide an impacted resource to display
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def openapi_types(_):

def __init__(self_, name: str, type: ChangeEventCustomAttributesChangedResourceType, **kwargs):
"""
Object representing a uniquely identified resource. Only the resource type ``feature_flag`` is supported.
Object representing a uniquely identified resource.
:param name: Resource's name.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ class ChangeEventCustomAttributesChangedResourceType(ModelSimple):
"""
Resource's type.
:param value: If omitted defaults to "feature_flag". Must be one of ["feature_flag"].
:param value: Must be one of ["feature_flag", "configuration"].
:type value: str
"""

allowed_values = {
"feature_flag",
"configuration",
}
FEATURE_FLAG: ClassVar["ChangeEventCustomAttributesChangedResourceType"]
CONFIGURATION: ClassVar["ChangeEventCustomAttributesChangedResourceType"]

@cached_property
def openapi_types(_):
Expand All @@ -35,3 +37,6 @@ def openapi_types(_):
ChangeEventCustomAttributesChangedResourceType.FEATURE_FLAG = ChangeEventCustomAttributesChangedResourceType(
"feature_flag"
)
ChangeEventCustomAttributesChangedResourceType.CONFIGURATION = ChangeEventCustomAttributesChangedResourceType(
"configuration"
)
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, **kwargs):
:param change_metadata: Free form object with information related to the `change` event. Can be arbitrarily nested and contain any valid JSON.
:type change_metadata: {str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional
:param changed_resource: Object representing a uniquely identified resource. Only the resource type `feature_flag` is supported.
:param changed_resource: Object representing a uniquely identified resource.
:type changed_resource: ChangeEventCustomAttributesChangedResource
:param impacted_resources: A list of resources impacted by this change. It is recommended to provide an impacted resource to display
Expand Down

0 comments on commit 2f47e3c

Please sign in to comment.