models_v2.app_resource module

class models_v2.app_resource.AppResource(id=None, mtype=None, endpoints=None)[source]

Bases: object

Implementation of the ‘AppResource’ model.

Specifies the details about App Resource.

Attributes:

id (string): Specifies the unique id of the app resource. mtype (TypeEnum): Specifies the type of the app resource. endpoints (list of ResourceEndpoint): Specifies the information about

endpoint associated with this resorce.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.