mistk.transform.server.models.object_reference module¶
-
class
mistk.transform.server.models.object_reference.
ObjectReference
(kind: str = None, project: str = None, id: str = None, name: str = None, instance: object = None)¶ Bases:
mistk.transform.server.models.base_model_.Model
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
-
classmethod
from_dict
(dikt) → mistk.transform.server.models.object_reference.ObjectReference¶ Returns the dict as a model
- Parameters
dikt – A dict.
- Type
dict
- Returns
The ObjectReference of this ObjectReference. # noqa: E501
- Return type
-
property
id
¶ Gets the id of this ObjectReference.
The unique identifier of the object. # noqa: E501
- Returns
The id of this ObjectReference.
- Return type
str
-
property
instance
¶ Gets the instance of this ObjectReference.
Optionally, the object reference can contain the complete object. This is useful for unit testing where you don’t want to go out to the SRM to obtain the referenced object. # noqa: E501
- Returns
The instance of this ObjectReference.
- Return type
object
-
property
kind
¶ Gets the kind of this ObjectReference.
The type of the object being referenced. This is often optional as it will be inferrred by the context. # noqa: E501
- Returns
The kind of this ObjectReference.
- Return type
str
-
property
name
¶ Gets the name of this ObjectReference.
The unique name of the object. # noqa: E501
- Returns
The name of this ObjectReference.
- Return type
str
-
property
project
¶ Gets the project of this ObjectReference.
The project (namespace) of this object. # noqa: E501
- Returns
The project of this ObjectReference.
- Return type
str
-
classmethod