maxon.AssetDependencyStruct¶
Description¶
Helper class to pass several arguments into asset creation functions.
Attributes¶
Asset Creation time |
|
IdAndVersion of the asset. |
|
Asset Type |
|
Original asset name |
Methods Signature¶
|
Returns a string representation of the content. |
|
Checks if two asset dependency struct are equal. |
|
Initializes the appropriate C++ Data object and store it within the _data member. |
|
Checks if two asset dependency struct are not equal. |
|
Returns the string representation of a data. |
|
Returns the string representation of a data. |
Methods Definition¶
-
AssetDependencyStruct.
ToString
()¶ Returns a string representation of the content.
- Returns
The string representation of the content of the
maxon.Data
.- Return type
maxon.String
-
AssetDependencyStruct.
__eq__
(other)¶ Checks if two asset dependency struct are equal.
- Parameters
other (
maxon.AssetDependencyStruct
) – The other asset dependency struct.- Return type
bool
- Returns
True if asset dependency struct are equal.
-
AssetDependencyStruct.
__init__
(other=None)¶ Initializes the appropriate C++ Data object and store it within the _data member.
If C is a Data then _data store a copy the C++ Data is done and stored.If C is a C++ Data then _data store a reference of the C++ Data.If C is not defined the C++ data is created and stored in the _data member.- Parameters
C (Union[None,
maxon.Data
]) – Input data from which the Data should be created.
-
AssetDependencyStruct.
__ne__
(other)¶ Checks if two asset dependency struct are not equal.
- Parameters
other (
maxon.AssetDependencyStruct
) – The other asset dependency struct.- Return type
bool
- Returns
True if both asset dependency struct are not equal.
-
AssetDependencyStruct.
__repr__
()¶ Returns the string representation of a data.
- Return type
str
-
AssetDependencyStruct.
__str__
()¶ Returns the string representation of a data.
- Return type
str