TagsByNameResponseBody¶
- pydantic model openapi_client.models.tags_by_name_response_body.TagsByNameResponseBody¶
Tag object. In the list response (GET /tags), only Tag, TagKey, TagValue, TagStatus, TagDescription, Message, LastModifiedBy, LastModifiedTime, AccessType, and DisplayName are returned. The remaining fields (CreatedBy, CreationTime, ResourcesList, UserAttached, UsersAttached) appear only in detail responses (GET /tags/{key}/value/{value}).
- Fields:
- field tag: Optional[StrictStr] = None (alias 'Tag')¶
Composite tag identifier in the format “TagKey#TagValue”.
- field tag_key: Optional[StrictStr] = None (alias 'TagKey')¶
The tag key name.
- field tag_value: Optional[StrictStr] = None (alias 'TagValue')¶
The tag value.
- field tag_status: Optional[StrictStr] = None (alias 'TagStatus')¶
Current status of the tag (e.g. “active”).
- field message: Optional[StrictStr] = None (alias 'Message')¶
Status message from the last tag operation.
- field tag_description: Optional[StrictStr] = None (alias 'TagDescription')¶
User-provided description of the tag.
- field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')¶
Timestamp of the last modification.
- field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')¶
User ID who last modified the tag.
- field created_by: Optional[StrictStr] = None (alias 'CreatedBy')¶
User ID who created the tag.
- field creation_time: Optional[StrictStr] = None (alias 'CreationTime')¶
Timestamp when the tag was created.
- field display_name: Optional[StrictStr] = None (alias 'DisplayName')¶
Display-friendly name. Defaults to TagValue if not explicitly set.
- field access_type: Optional[StrictStr] = None (alias 'AccessType')¶
Caller’s access level on this tag.
- field resources_list: Optional[Dict[str, Any]] = None (alias 'ResourcesList')¶
Resources attached to this tag, keyed by resource type.
- field user_attached: Optional[List[Dict[str, Any]]] = None (alias 'UserAttached')¶
Users attached to this tag.
- field users_attached: Optional[List[TagsByNameResponseBodyUsersAttachedInner]] = None (alias 'UsersAttached')¶
Detailed user information for users attached to this tag.
- 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 TagsByNameResponseBody 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 TagsByNameResponseBody from a dict
- Return type:
Optional[Self]