def __init__(self, *args, **kwargs): # noqa: E501 """Provider - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) id (bool, date, datetime, dict, float, int, list, str, none_type): The unique identifier of the data connection feed provider. [optional] # noqa: E501 name (str): Name of the data connection feed provider. [optional] # noqa: E501 ascii_name (str): ASCII version of the data connection feed provider name. [optional] # noqa: E501 backend (str): Data connection feed provider. [optional] # noqa: E501 country (str): Country of origin of the provider. [optional] # noqa: E501 authorisation_method (str): UNKNOWN. [optional] # noqa: E501 external_authorisation (bool): UNKNOWN. [optional] # noqa: E501 syncing_method (str): UNKNOWN. [optional] # noqa: E501 external_syncing (bool): UNKNOWN. [optional] # noqa: E501 available (bool): UNKNOWN. [optional] # noqa: E501 brand_sensitive (bool): UNKNOWN. [optional] # noqa: E501 experimental (bool): UNKNOWN. [optional] # noqa: E501 enabled (bool): Whether the provider can be used. [optional] # noqa: E501 home_url (str, none_type): Link to homepage of provider. [optional] # noqa: E501 login_url (str, none_type): Link to login page of provider. [optional] # noqa: E501 default_logo_url (str, none_type): Default URL to provider's logo. [optional] # noqa: E501 custom_logo_url (str, none_type): URL to provider's logo to override the default. [optional] # noqa: E501 provider_notices ([ProviderProviderNotices]): UNKNOWN. [optional] # noqa: E501 backend_requires_consent (bool): UNKNOWN. [optional] # noqa: E501 backend_consent_text (str, none_type): UNKNOWN. [optional] # noqa: E501 backend_consent_html (str, none_type): UNKNOWN. [optional] # noqa: E501 created_at (datetime): When the data connection feed provider was first created. [optional] # noqa: E501 updated_at (datetime, none_type): When the data connection feed provider was last updated. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError( f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def __init__(self, *args, **kwargs): # noqa: E501 """InlineObject10 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) always_show_base_currency (bool): Whether the user wishes to have all monetary values converted to their base currency.. [optional] # noqa: E501 base_currency_code (str): A new base currency code for the user.. [optional] # noqa: E501 beta_user (bool): Whether the user is a beta user, and wishes to try out new features.. [optional] # noqa: E501 email (str): A new email address for the user.. [optional] # noqa: E501 name (str): A new name for the user.. [optional] # noqa: E501 time_zone (str): A new time zone for the user.. [optional] # noqa: E501 week_start_day (int): The day of the week the user wishes their calendars to start on. A number between 0 and 6, where 0 is Sunday and 6 is Saturday.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError( f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def __init__(self, *args, **kwargs): # noqa: E501 """Attachment - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) content_type (str): The content type of the attachment.. [optional] # noqa: E501 content_type_meta (AttachmentContentTypeMeta): [optional] # noqa: E501 created_at (datetime): When the attachment was created. [optional] # noqa: E501 file_name (str): The file name of the attachment. [optional] # noqa: E501 id (int): The unique identifier of the attachment. [optional] # noqa: E501 original_url (str): The url of the attachment. [optional] # noqa: E501 title (str): The title of the attachment. If blank or not provided, the title will be derived from the file name.. [optional] # noqa: E501 type (str): The type of attachment. [optional] # noqa: E501 updated_at (datetime): When the attachment was last updated. [optional] # noqa: E501 variants (AttachmentVariants): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError( f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """User - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) always_show_base_currency (bool): Whether the user wants to see all accounts in their base currency instead of the native account currency.. [optional] # noqa: E501 avatar_url (str): The URL to the user's avatar.. [optional] # noqa: E501 base_currency_code (str): The user's base currency.. [optional] # noqa: E501 beta_user (bool): Whether the user has opted in to beta features.. [optional] # noqa: E501 created_at (datetime): When the user signed up.. [optional] # noqa: E501 email (str): The user's email address.. [optional] # noqa: E501 id (int): The unique identifier of the user.. [optional] # noqa: E501 last_activity_at (datetime): When the user last interacted with PocketSmith, via any application or the API.. [optional] # noqa: E501 last_logged_in_at (datetime): When the user last logged into PocketSmith.. [optional] # noqa: E501 login (str): The user's username.. [optional] # noqa: E501 name (str): The full name of the user, although not all users will have a name set.. [optional] # noqa: E501 time_zone (str): The user's time zone.. [optional] # noqa: E501 updated_at (datetime): When the user was last updated.. [optional] # noqa: E501 using_multiple_currencies (bool): Whether the user has multiple currencies in use across their account.. [optional] # noqa: E501 week_start_day (int): The day of the week the user wishes their calendars to start on. A number between 0 and 6, where 0 is Sunday and 6 is Saturday.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """Category - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) children ([Category]): The category's child categories.. [optional] # noqa: E501 colour (str): The colour for the category.. [optional] # noqa: E501 created_at (datetime): When the category was created.. [optional] # noqa: E501 id (int): The unique identifier of the category.. [optional] # noqa: E501 is_transfer (bool): Whether this category has been marked as a transfer category.. [optional] # noqa: E501 parent_id (int): The unique identifier of the parent category of this category, or null if this category has no parent (i.e. is a top-level category). [optional] # noqa: E501 title (str): The title of the category.. [optional] # noqa: E501 updated_at (datetime): When the category was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self
def _from_openapi_data(cls, currency_code, institution_id, title, type, *args, **kwargs): # noqa: E501 """InlineObject11 - a model defined in OpenAPI Args: currency_code (str): A currency code for the account. institution_id (int): The ID of the institution to create this account in. title (str): A title for the account. type (str): The type of the account. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.currency_code = currency_code self.institution_id = institution_id self.title = title self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self
def __init__(self, *args, **kwargs): # noqa: E501 """Period - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) actual_amount (float): The sum of all actuals (transactions) in the period.. [optional] # noqa: E501 current (bool): Whether this period is current, such that the current date (in the user's time zone) falls within the date range.. [optional] # noqa: E501 end_date (date): The end date of the period.. [optional] # noqa: E501 currency_code (str): The currency code for amounts in this Period.. [optional] # noqa: E501 forecast_amount (float): The sum of all forecast sources (budget events) in the period, for comparison against the actual amount.. [optional] # noqa: E501 over_budget (bool): Whether the budget has been exceeded in the period.. [optional] # noqa: E501 over_by (float): How much the budget has been exceeded by in the period.. [optional] # noqa: E501 percentage_used (float): The percentage of the budget that has been used in the period.. [optional] # noqa: E501 refund_amount (float): This attribute tracks the amount that has been refunded or deducted to the actual amount. When a category is set to \"always expense\", any credit transactions are treated as refunds and when set to \"always income\", any debit transactions are treated as deductions.. [optional] # noqa: E501 start_date (date): The start date of the period.. [optional] # noqa: E501 under_budget (bool): Whether the budget has not been exceeded in the period.. [optional] # noqa: E501 under_by (float): How much there is left in the budget for the period.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError( f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def __init__(self, *args, **kwargs): # noqa: E501 """Form - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) approximate_expiry_at (datetime, none_type): Estimated time when the form will no longer accept submissions. [optional] # noqa: E501 encryption (str): Type of encryption employed by the form. [optional] if omitted the server will use the default value of "pki" # noqa: E501 public_key (str): RSA public key in PKCS#8 PEM format with which to encrypt values of encrypted fields with. [optional] # noqa: E501 rows ([FormRows]): Rows of form fields to display. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def __init__(self, *args, **kwargs): # noqa: E501 """Scenario - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) achieve_date (str): For goals, the date that they should be achieved by.. [optional] # noqa: E501 closing_balance (float): The closing balance of the scenario.. [optional] # noqa: E501 closing_balance_date (date): The date of the closing balance.. [optional] # noqa: E501 created_at (datetime): When the scenario was created.. [optional] # noqa: E501 current_balance (float): The current balance of the scenario.. [optional] # noqa: E501 current_balance_date (date): The date of the current balance.. [optional] # noqa: E501 description (str): A short description of what the scenario is modelling.. [optional] # noqa: E501 id (int): The unique identifier of the scenario.. [optional] # noqa: E501 interest_rate (float): The amount of interest to apply to the balance. Will apply periodically depending on what `interest_rate_repeat_id` is set to.. [optional] # noqa: E501 interest_rate_repeat_id (int): A number representing how often the interest should be applied. 0 is used for no interest, 2 is weekly, 3 is fortnightly, 4 is monthly, 5 is yearly and 7 for quarterly.. [optional] # noqa: E501 maximum_value (float): [optional] # noqa: E501 minimum_value (float): [optional] # noqa: E501 starting_balance (float): The starting balance of the scenario.. [optional] # noqa: E501 starting_balance_date (date): The date of the starting balance.. [optional] # noqa: E501 title (str): The title of the scenario.. [optional] # noqa: E501 type (str): The type of the scenario.. [optional] # noqa: E501 updated_at (datetime): When the scenario was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """BudgetAnalysis - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) average_actual_amount (float): The average actual (transactions) amount across all periods.. [optional] # noqa: E501 average_forecast_amount (float): The average budgeted amount across all periods.. [optional] # noqa: E501 end_date (date): The end date of the budget analysis.. [optional] # noqa: E501 currency_code (str): The currency code for this BudgetAnalysis.. [optional] # noqa: E501 periods ([Period]): The period analyses that this budget analysis comprises.. [optional] # noqa: E501 start_date (date): The start date of the budget analysis.. [optional] # noqa: E501 total_actual_amount (float): The total actual (transactions) amount across all periods.. [optional] # noqa: E501 total_forecast_amount (float): The total budgeted amount across all periods.. [optional] # noqa: E501 total_over_by (float): The total amount the budget was exceeded across all periods.. [optional] # noqa: E501 total_under_by (float): The total amount the budget was under by across all periods.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """DataFeedsAccount - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) account_number (str): The account number, as listed from the provider. [optional] # noqa: E501 account_type (str): The container type of the account. [optional] # noqa: E501 backend_data_updated_at (datetime): [optional] # noqa: E501 balance (DataFeedsAccountBalance): [optional] # noqa: E501 amount (float): [optional] # noqa: E501 amount_reversed (float): [optional] # noqa: E501 currency (str): [optional] # noqa: E501 created_at (datetime): [optional] # noqa: E501 holdings_updated_at (datetime, none_type): [optional] # noqa: E501 id (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 memo (str, none_type): [optional] # noqa: E501 name (str, none_type): [optional] # noqa: E501 nickname (str, none_type): [optional] # noqa: E501 status (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 sub_account_type (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 transactions_updated_at (datetime, none_type): [optional] # noqa: E501 updated_at (datetime, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self
def __init__(self, amount, date, payee, *args, **kwargs): # noqa: E501 """InlineObject7 - a model defined in OpenAPI Args: amount (float): The amount of the transaction. A positive amount is a credit, and a negative amount is a debit. date (str): The date when the transaction occurred. payee (str): The payee/merchant of the transaction. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) category_id (int): The unique identifier of a category for the transaction.. [optional] # noqa: E501 cheque_number (str): A cheque number for the transaction.. [optional] # noqa: E501 is_transfer (bool): Whether the transaction should be indicated as a transfer.. [optional] # noqa: E501 labels (str): A set of comma-separated labels for the transaction.. [optional] # noqa: E501 memo (str): A memo for the transaction.. [optional] # noqa: E501 note (str): A note for the transaction.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.amount = amount self.date = date self.payee = payee for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def __init__(self, *args, **kwargs): # noqa: E501 """DataFeedsConnection - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) id (bool, date, datetime, dict, float, int, list, str, none_type): The unique identifier of the data connection. [optional] # noqa: E501 name (str, none_type): User-defined nickname for the data connection. [optional] # noqa: E501 status (bool, date, datetime, dict, float, int, list, str, none_type): Sync/auth status of the data connection. [optional] # noqa: E501 status_changed_at (datetime, none_type): When the data connection's status last changed. [optional] # noqa: E501 status_changed_at_hash (str, none_type): MD5 hash of the status_changed_at field. [optional] # noqa: E501 error_detail (str, none_type): ?. [optional] # noqa: E501 user_interaction_likely (bool): GUESSING: Whether syncing this data connection is likely to require user interaction. [optional] # noqa: E501 categorisation (bool): Whether automatic categorisation of transactions is enabled. [optional] # noqa: E501 automatic_syncing (bool): Whether the data connection will automatically sync when logged in to PocketSmith. [optional] # noqa: E501 automatic_syncing_overridden (bool): UNKNOWN. [optional] # noqa: E501 pending_transactions (bool): Whether to receive pending transactions from this data connection, if available. [optional] # noqa: E501 login_form (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 interactive_login_form (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 external_authorisation_url (str, none_type): UNKNOWN. [optional] # noqa: E501 external_syncing_url (str, none_type): UNKNOWN. [optional] # noqa: E501 last_successful_sync_at (datetime, none_type): When the data connection last synced successfully. [optional] # noqa: E501 next_sync_possible_at (datetime, none_type): When the data connection is next allowed to sync at. [optional] # noqa: E501 next_background_sync_at (datetime, none_type): When the data connection is scheduled to sync in the background next. [optional] # noqa: E501 accounts_updated_at (datetime, none_type): When the accounts tied to the data connection were last updated. [optional] # noqa: E501 soft_locked_until (datetime, none_type): UNKNOWN. [optional] # noqa: E501 user (DataFeedsConnectionUser): [optional] # noqa: E501 provider (Provider): [optional] # noqa: E501 created_at (datetime, none_type): When the data connection was created. [optional] # noqa: E501 updated_at (datetime, none_type): When the data connection was last updated. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError( f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """Transaction - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) amount (float): [optional] # noqa: E501 category (Category): [optional] # noqa: E501 cheque_number (str): [optional] # noqa: E501 closing_balance (float): The closing balance of the account at the transaction.. [optional] # noqa: E501 date (date): The date the transaction took place.. [optional] # noqa: E501 id (int): The unique identifier of the transaction.. [optional] # noqa: E501 is_transfer (bool): Whether the transaction was a transfer.. [optional] # noqa: E501 labels ([str]): [optional] # noqa: E501 memo (str): [optional] # noqa: E501 note (str): [optional] # noqa: E501 original_payee (str): The payee the transaction was created with.. [optional] # noqa: E501 payee (str): The payee/merchant of the transaction.. [optional] # noqa: E501 status (str): The status of the transaction. Pending transactions are temporary and may be superseded later by their posted counterparts, which are permanent.. [optional] # noqa: E501 transaction_account (TransactionAccount): [optional] # noqa: E501 type (str): Whether the transaction is a debit or a credit. [optional] # noqa: E501 upload_source (str): Where the transaction came from.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self
def __init__(self, *args, **kwargs): # noqa: E501 """FormFields - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) id (int): Index of the field within the whole form. [optional] # noqa: E501 name (str): Unique name of the form field. [optional] # noqa: E501 type (str): Display type of the form field. [optional] # noqa: E501 encrypted (bool): Whether the value of the form field should be encrypted with the form's `public_key`. [optional] # noqa: E501 value (str, none_type): Value of the field, possibly encrypted. [optional] # noqa: E501 image (str, none_type): Base64-encoded JPEG image to display by the field. [optional] # noqa: E501 placeholder (str, none_type): Placeholder text to display in the field. [optional] # noqa: E501 editable (bool): Whether the user is allowed to edit the value of the field. [optional] # noqa: E501 optional (bool): Whether the form can be submitted without providing a value to the field. [optional] # noqa: E501 max_length (int, none_type): Maximum number of characters allowed in the field value. [optional] # noqa: E501 prefix (str, none_type): Text to display just before the form field. [optional] # noqa: E501 suffix (str, none_type): Text to display just after the form field. [optional] # noqa: E501 options ([FormOptions]): For fields with type=option, the options to be displayed in the dropdown. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__, ), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + ( self.__class__, ) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) if var_name in self.read_only_vars: raise ApiAttributeError( f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " f"class with read only attributes.")
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """InlineObject4 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) automatic_syncing (bool): Whether the data connection will automatically sync when logged in to PocketSmith. [optional] # noqa: E501 categorisation (bool): Whether automatic categorisation of transactions is enabled. [optional] # noqa: E501 name (str, none_type): User-defined nickname for the data connection. [optional] # noqa: E501 pending_transactions (bool): Whether to receive pending transactions from this data connection, if available. [optional] # noqa: E501 login_form (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 interactive_login_form (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) _spec_property_naming = kwargs.pop('_spec_property_naming', False) _path_to_item = kwargs.pop('_path_to_item', ()) _configuration = kwargs.pop('_configuration', None) _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) self = super(OpenApiModel, cls).__new__(cls) if args: raise ApiTypeError( "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( args, self.__class__.__name__, ), path_to_item=_path_to_item, valid_classes=(self.__class__,), ) self._data_store = {} self._check_type = _check_type self._spec_property_naming = _spec_property_naming self._path_to_item = _path_to_item self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) return self