models.pattern_request_body module

class models.pattern_request_body.PatternRequestBody(application_data_type=None, application_id=None, user_pattern=None)[source]

Bases: object

Implementation of the ‘PatternRequestBody’ model.

Specifies details about the pattern which has to be saved.

Attributes:
application_data_type (string): Specifies the data type for which

supported patterns can be fetched.

application_id (int): Specifies AWB Application ID. user_pattern (SupportedPattern): Specifies the pattern details to

be saved.

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.