models_v2.tdm_snapshot module

class models_v2.tdm_snapshot.TdmSnapshot(id=None, label=None, is_automated=None, created_at=None, updated_at=None, created_by_user=None, updated_by_user=None)[source]

Bases: object

Implementation of the ‘TdmSnapshot’ model.

Specifies the response params for a TDM snapshot.

Attributes:

label (string): Specifies the label for the snapshot. id (string): Specifies the ID of the snapshot. is_automated (bool): Specifies whether the snapshot was taken

automatically by the scheduler.

created_at (long|int): Specifies the time (in usecs from epoch) when

the snapshot was created.

updated_at (long|int): Specifies the time (in usecs from epoch) when

the snapshot was last updated.

created_by_user (User): Specifies the details of the user, who created

the snapshot. This will be null for snapshots, that are taken by system, such as a scheduler.

updated_by_user (User): Specifies the details of the user, who last

updated the snapshot.

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.