mistk.model.client.models.object_info 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_info.ObjectInfo(kind=None, id=None, name=None, display_name=None, description=None, summary=None, owner=None, project=None, public=None, sharable=None, labels=None, resources=None, resource_version=None, creation_time=None, modification_time=None)

Bases: object

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

Do not edit the class manually.

attribute_map = {'creation_time': 'creationTime', 'description': 'description', 'display_name': 'displayName', 'id': 'id', 'kind': 'kind', 'labels': 'labels', 'modification_time': 'modificationTime', 'name': 'name', 'owner': 'owner', 'project': 'project', 'public': 'public', 'resource_version': 'resourceVersion', 'resources': 'resources', 'sharable': 'sharable', 'summary': 'summary'}
property creation_time

Gets the creation_time of this ObjectInfo. # noqa: E501

The date time at which this object was initially created. This will be auto generated by the underlying database. Any user input for this field will be ignored. This will be in the isoformat of ‘YYYY-MM-DDTHH:MM:SS.ffffff’ # noqa: E501

Returns

The creation_time of this ObjectInfo. # noqa: E501

Return type

datetime

property description

Gets the description of this ObjectInfo. # noqa: E501

A documentation description of the resource. This string can be in Markdown form. # noqa: E501

Returns

The description of this ObjectInfo. # noqa: E501

Return type

str

property display_name

Gets the display_name of this ObjectInfo. # noqa: E501

The name of this resoure, as presented via this UI. This field can have spaces and upper and lower case alphanumeric characters as well as spaces. # noqa: E501

Returns

The display_name of this ObjectInfo. # noqa: E501

Return type

str

property id

Gets the id of this ObjectInfo. # noqa: E501

The unique identifier of the object. This will be generated automatically. # noqa: E501

Returns

The id of this ObjectInfo. # noqa: E501

Return type

str

property kind

Gets the kind of this ObjectInfo. # noqa: E501

This is the type of the resource (e.g., Model, Dataset). The field is primarily used when returning watch events, where the type of the field will be unknown. When submitting resources, this field will often simply be inferred from the context of the submission. # noqa: E501

Returns

The kind of this ObjectInfo. # noqa: E501

Return type

str

property labels

Gets the labels of this ObjectInfo. # noqa: E501

Key-value pairs of annotations associate with the object. # noqa: E501

Returns

The labels of this ObjectInfo. # noqa: E501

Return type

object

property modification_time

Gets the modification_time of this ObjectInfo. # noqa: E501

The date time at which this object was last modified. This will be auto generated by the underlying database. Any user input for this field will be ignored. This will be in the isoformat of ‘YYYY-MM-DDTHH:MM:SS.ffffff’ # noqa: E501

Returns

The modification_time of this ObjectInfo. # noqa: E501

Return type

datetime

property name

Gets the name of this ObjectInfo. # noqa: E501

The unique name of the object. Names of SML resources should be up to maximum length of 253 characters and consist of lower case alphanumeric characters, -, and . # noqa: E501

Returns

The name of this ObjectInfo. # noqa: E501

Return type

str

property owner

Gets the owner of this ObjectInfo. # noqa: E501

The owner/creator of this object. # noqa: E501

Returns

The owner of this ObjectInfo. # noqa: E501

Return type

str

property project

Gets the project of this ObjectInfo. # noqa: E501

The project for this object (assuming the resource is project-scoped) # noqa: E501

Returns

The project of this ObjectInfo. # noqa: E501

Return type

str

property public

Gets the public of this ObjectInfo. # noqa: E501

Boolean flag indicating whether this resource will be accessible to members outside of the project. # noqa: E501

Returns

The public of this ObjectInfo. # noqa: E501

Return type

bool

property resource_version

Gets the resource_version of this ObjectInfo. # noqa: E501

This is the server-managed version for the object. It is used to support monitoring of resources. This should not be set by the client (and will likely be ignored if it is) # noqa: E501

Returns

The resource_version of this ObjectInfo. # noqa: E501

Return type

int

property resources

Gets the resources of this ObjectInfo. # noqa: E501

An array of resources/reference URIs # noqa: E501

Returns

The resources of this ObjectInfo. # noqa: E501

Return type

list[str]

property sharable

Gets the sharable of this ObjectInfo. # noqa: E501

Boolean flag indicating whether this resource may be shared with third-party applications (i.e., the Marketplace). # noqa: E501

Returns

The sharable of this ObjectInfo. # noqa: E501

Return type

bool

property summary

Gets the summary of this ObjectInfo. # noqa: E501

A short description of this object # noqa: E501

Returns

The summary of this ObjectInfo. # noqa: E501

Return type

str

swagger_types = {'creation_time': 'datetime', 'description': 'str', 'display_name': 'str', 'id': 'str', 'kind': 'str', 'labels': 'object', 'modification_time': 'datetime', 'name': 'str', 'owner': 'str', 'project': 'str', 'public': 'bool', 'resource_version': 'int', 'resources': 'list[str]', 'sharable': 'bool', 'summary': 'str'}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model