swagger_server.models.resource module¶
-
class
swagger_server.models.resource.
Resource
(id: int = None, urn: str = None, description: str = None, created_at: datetime.datetime = None, updated_at: datetime.datetime = None)[source]¶ Bases:
swagger_server.models.base_model_.Model
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
-
created_at
¶ Gets the created_at of this Resource.
Returns: The created_at of this Resource. Return type: datetime
-
description
¶ Gets the description of this Resource.
Returns: The description of this Resource. Return type: str
-
classmethod
from_dict
(dikt) → swagger_server.models.resource.Resource[source]¶ Returns the dict as a model
Parameters: dikt – A dict. Type: dict Returns: The resource of this Resource. # noqa: E501 Return type: Resource
-
id
¶ Gets the id of this Resource.
Returns: The id of this Resource. Return type: int
-
updated_at
¶ Gets the updated_at of this Resource.
Returns: The updated_at of this Resource. Return type: datetime
-
urn
¶ Gets the urn of this Resource.
Returns: The urn of this Resource. Return type: str
-