models_v2.source_info module¶
-
class
models_v2.source_info.
SourceInfo
(id=None, source_id=None, source_name=None, name=None, object_type=None, logical_size_bytes=None, uuid=None, environment=None, os_type=None)[source]¶ Bases:
object
Implementation of the ‘SourceInfo’ model.
Specifies the Source Object information.
- Attributes:
id (long|int): Specifies object id. source_id (long|int): Specifies registered source id to which object
belongs.
- source_name (string): Specifies registered source name to which object
belongs.
name (string): Specifies the name of the object. object_type (ObjectType5Enum): Specifies the type of the object. logical_size_bytes (long|int): Specifies the logical size of object in
bytes.
- uuid (string): Specifies the uuid which is a unique identifier of the
object.
- environment (Environment2Enum): Specifies the environment of the
object.
- os_type (OsTypeEnum): Specifies the operating system type of 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.