models_v2.tag_object module

class models_v2.tag_object.TagObject(tags=None, snapshot_tags=None)[source]

Bases: object

Implementation of the ‘TagObject’ model.

Specifies all the tag related info for an object.

Attributes:

tags (list of TagInfo): Specifies tag applied to the object. snapshot_tags (list of SnapshotTagInfo): Specifies snapshot tags

applied to the object.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.