mistk.model.server.models.object_info module

class mistk.model.server.models.object_info.ObjectInfo(kind: str = None, id: str = None, name: str = None, display_name: str = None, description: str = None, summary: str = None, owner: str = None, project: str = None, public: bool = None, sharable: bool = None, labels: object = None, resources: List[str] = None, resource_version: int = None, creation_time: datetime.datetime = None, modification_time: datetime.datetime = None)

Bases: mistk.model.server.models.base_model_.Model

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

Do not edit the class manually.

property creation_time

Gets the creation_time of this ObjectInfo.

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.

Return type

datetime

property description

Gets the description of this ObjectInfo.

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

Returns

The description of this ObjectInfo.

Return type

str

property display_name

Gets the display_name of this ObjectInfo.

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.

Return type

str

classmethod from_dict(dikt) → mistk.model.server.models.object_info.ObjectInfo

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The ObjectInfo of this ObjectInfo. # noqa: E501

Return type

ObjectInfo

property id

Gets the id of this ObjectInfo.

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

Returns

The id of this ObjectInfo.

Return type

str

property kind

Gets the kind of this ObjectInfo.

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.

Return type

str

property labels

Gets the labels of this ObjectInfo.

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

Returns

The labels of this ObjectInfo.

Return type

object

property modification_time

Gets the modification_time of this ObjectInfo.

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.

Return type

datetime

property name

Gets the name of this ObjectInfo.

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.

Return type

str

property owner

Gets the owner of this ObjectInfo.

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

Returns

The owner of this ObjectInfo.

Return type

str

property project

Gets the project of this ObjectInfo.

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

Returns

The project of this ObjectInfo.

Return type

str

property public

Gets the public of this ObjectInfo.

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

Returns

The public of this ObjectInfo.

Return type

bool

property resource_version

Gets the resource_version of this ObjectInfo.

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.

Return type

int

property resources

Gets the resources of this ObjectInfo.

An array of resources/reference URIs # noqa: E501

Returns

The resources of this ObjectInfo.

Return type

List[str]

property sharable

Gets the sharable of this ObjectInfo.

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.

Return type

bool

property summary

Gets the summary of this ObjectInfo.

A short description of this object # noqa: E501

Returns

The summary of this ObjectInfo.

Return type

str