mistk.model.client.models.object_reference module

Model Integration Software ToolKit

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501

OpenAPI spec version: 1.0.0

Generated by: https://github.com/swagger-api/swagger-codegen.git

class mistk.model.client.models.object_reference.ObjectReference(kind=None, project=None, id=None, name=None, instance=None)

Bases: object

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

attribute_map = {'id': 'id', 'instance': 'instance', 'kind': 'kind', 'name': 'name', 'project': 'project'}
property id

Gets the id of this ObjectReference. # noqa: E501

The unique identifier of the object. # noqa: E501

Returns

The id of this ObjectReference. # noqa: E501

Return type

str

property instance

Gets the instance of this ObjectReference. # noqa: E501

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. # noqa: E501

Return type

object

property kind

Gets the kind of this ObjectReference. # noqa: E501

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. # noqa: E501

Return type

str

property name

Gets the name of this ObjectReference. # noqa: E501

The unique name of the object. # noqa: E501

Returns

The name of this ObjectReference. # noqa: E501

Return type

str

property project

Gets the project of this ObjectReference. # noqa: E501

The project (namespace) of this object. # noqa: E501

Returns

The project of this ObjectReference. # noqa: E501

Return type

str

swagger_types = {'id': 'str', 'instance': 'object', 'kind': 'str', 'name': 'str', 'project': 'str'}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model