CostTagsByNameResponseBody

pydantic model openapi_client.models.cost_tags_by_name_response_body.CostTagsByNameResponseBody

Stored metadata for one cost tag.

Fields:
field tag_key: Optional[StrictStr] = None (alias 'TagKey')

Unique lowercase tag key.

field tag_values: Optional[List[StrictStr]] = None (alias 'TagValues')

Allowed values for the tag.

field tag_name: Optional[StrictStr] = None (alias 'TagName')

Display name.

field tag_status: Optional[StrictStr] = None (alias 'TagStatus')

Current tag processing status.

field message: Optional[StrictStr] = None (alias 'Message')

Status detail associated with the tag.

field tag_description: Optional[StrictStr] = None (alias 'TagDescription')

Purpose of the tag.

field tag_scope: Optional[StrictStr] = None (alias 'TagScope')

Application scope or supported resource type (TAG_SCOPES).

field is_active: Optional[CostTagsByNameResponseBodyIsActive] = None (alias 'IsActive')
field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')

Timestamp of the latest update.

field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')

User who last modified the tag.

field created_by: Optional[StrictStr] = None (alias 'CreatedBy')

User who created the tag.

field creation_time: Optional[StrictStr] = None (alias 'CreationTime')

Timestamp when the tag was created.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of CostTagsByNameResponseBody from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of CostTagsByNameResponseBody from a dict

Return type:

Optional[Self]