Exemplo n.º 1
0
 def __init__(self, api_client=None):
     if api_client is None:
         api_client = ApiClient()
     self.api_client = api_client
     self.get_data_feeds_accounts_endpoint = _Endpoint(
         settings={
             'response_type': ([DataFeedsAccount], ),
             'auth': ['developerKey'],
             'endpoint_path':
             '/data_feeds_connections/{id}/data_feeds_accounts',
             'operation_id': 'get_data_feeds_accounts',
             'http_method': 'GET',
             'servers': None,
         },
         params_map={
             'all': [
                 'id',
             ],
             'required': [
                 'id',
             ],
             'nullable': [],
             'enum': [],
             'validation': []
         },
         root_map={
             'validations': {},
             'allowed_values': {},
             'openapi_types': {
                 'id': (
                     bool,
                     date,
                     datetime,
                     dict,
                     float,
                     int,
                     list,
                     str,
                     none_type,
                 ),
             },
             'attribute_map': {
                 'id': 'id',
             },
             'location_map': {
                 'id': 'path',
             },
             'collection_format_map': {}
         },
         headers_map={
             'accept': ['application/json'],
             'content_type': [],
         },
         api_client=api_client)
    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client
        self.get_budget_summary_endpoint = _Endpoint(
            settings={
                'response_type': ([BudgetAnalysisPackage],),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/users/{id}/budget_summary',
                'operation_id': 'get_budget_summary',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'period',
                    'interval',
                    'start_date',
                    'end_date',
                ],
                'required': [
                    'id',
                    'period',
                    'interval',
                    'start_date',
                    'end_date',
                ],
                'nullable': [
                ],
                'enum': [
                    'period',
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                    ('period',): {

                        "WEEKS": "weeks",
                        "MONTHS": "months",
                        "YEARS": "years",
                        "EVENT": "event"
                    },
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'period':
                        (str,),
                    'interval':
                        (int,),
                    'start_date':
                        (str,),
                    'end_date':
                        (str,),
                },
                'attribute_map': {
                    'id': 'id',
                    'period': 'period',
                    'interval': 'interval',
                    'start_date': 'start_date',
                    'end_date': 'end_date',
                },
                'location_map': {
                    'id': 'path',
                    'period': 'query',
                    'interval': 'query',
                    'start_date': 'query',
                    'end_date': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.get_trend_analysis_endpoint = _Endpoint(
            settings={
                'response_type': (BudgetAnalysisPackage,),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/users/{id}/trend_analysis',
                'operation_id': 'get_trend_analysis',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'period',
                    'interval',
                    'start_date',
                    'end_date',
                    'categories',
                    'scenarios',
                ],
                'required': [
                    'id',
                    'period',
                    'interval',
                    'start_date',
                    'end_date',
                    'categories',
                    'scenarios',
                ],
                'nullable': [
                ],
                'enum': [
                    'period',
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                    ('period',): {

                        "WEEKS": "weeks",
                        "MONTHS": "months",
                        "YEARS": "years",
                        "EVENT": "event"
                    },
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'period':
                        (str,),
                    'interval':
                        (int,),
                    'start_date':
                        (str,),
                    'end_date':
                        (str,),
                    'categories':
                        (str,),
                    'scenarios':
                        (str,),
                },
                'attribute_map': {
                    'id': 'id',
                    'period': 'period',
                    'interval': 'interval',
                    'start_date': 'start_date',
                    'end_date': 'end_date',
                    'categories': 'categories',
                    'scenarios': 'scenarios',
                },
                'location_map': {
                    'id': 'path',
                    'period': 'query',
                    'interval': 'query',
                    'start_date': 'query',
                    'end_date': 'query',
                    'categories': 'query',
                    'scenarios': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.list_budgets_endpoint = _Endpoint(
            settings={
                'response_type': ([BudgetAnalysisPackage],),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/users/{id}/budget',
                'operation_id': 'list_budgets',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'roll_up',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'roll_up':
                        (bool,),
                },
                'attribute_map': {
                    'id': 'id',
                    'roll_up': 'roll_up',
                },
                'location_map': {
                    'id': 'path',
                    'roll_up': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
Exemplo n.º 3
0
 def __init__(self, api_client=None):
     if api_client is None:
         api_client = ApiClient()
     self.api_client = api_client
     self.create_category_rule_endpoint = _Endpoint(
         settings={
             'response_type': (CategoryRule, ),
             'auth': ['developerKey'],
             'endpoint_path': '/categories/{id}/category_rules',
             'operation_id': 'create_category_rule',
             'http_method': 'POST',
             'servers': None,
         },
         params_map={
             'all': [
                 'id',
                 'inline_object3',
             ],
             'required': [
                 'id',
             ],
             'nullable': [],
             'enum': [],
             'validation': []
         },
         root_map={
             'validations': {},
             'allowed_values': {},
             'openapi_types': {
                 'id': (int, ),
                 'inline_object3': (InlineObject3, ),
             },
             'attribute_map': {
                 'id': 'id',
             },
             'location_map': {
                 'id': 'path',
                 'inline_object3': 'body',
             },
             'collection_format_map': {}
         },
         headers_map={
             'accept': ['application/json'],
             'content_type': ['application/json']
         },
         api_client=api_client)
     self.list_category_rules_endpoint = _Endpoint(
         settings={
             'response_type': ([CategoryRule], ),
             'auth': ['developerKey'],
             'endpoint_path': '/users/{id}/category_rules',
             'operation_id': 'list_category_rules',
             'http_method': 'GET',
             'servers': None,
         },
         params_map={
             'all': [
                 'id',
             ],
             'required': [
                 'id',
             ],
             'nullable': [],
             'enum': [],
             'validation': []
         },
         root_map={
             'validations': {},
             'allowed_values': {},
             'openapi_types': {
                 'id': (int, ),
             },
             'attribute_map': {
                 'id': 'id',
             },
             'location_map': {
                 'id': 'path',
             },
             'collection_format_map': {}
         },
         headers_map={
             'accept': ['application/json'],
             'content_type': [],
         },
         api_client=api_client)
 def __init__(self, api_client=None):
     if api_client is None:
         api_client = ApiClient()
     self.api_client = api_client
     self.create_account_endpoint = _Endpoint(settings={
         'response_type': (Account, ),
         'auth': ['developerKey'],
         'endpoint_path': '/users/{id}/accounts',
         'operation_id': 'create_account',
         'http_method': 'POST',
         'servers': None,
     },
                                              params_map={
                                                  'all': [
                                                      'id',
                                                      'inline_object11',
                                                  ],
                                                  'required': [
                                                      'id',
                                                  ],
                                                  'nullable': [],
                                                  'enum': [],
                                                  'validation': []
                                              },
                                              root_map={
                                                  'validations': {},
                                                  'allowed_values': {},
                                                  'openapi_types': {
                                                      'id': (int, ),
                                                      'inline_object11':
                                                      (InlineObject11, ),
                                                  },
                                                  'attribute_map': {
                                                      'id': 'id',
                                                  },
                                                  'location_map': {
                                                      'id': 'path',
                                                      'inline_object11':
                                                      'body',
                                                  },
                                                  'collection_format_map':
                                                  {}
                                              },
                                              headers_map={
                                                  'accept':
                                                  ['application/json'],
                                                  'content_type':
                                                  ['application/json']
                                              },
                                              api_client=api_client)
     self.delete_account_endpoint = _Endpoint(settings={
         'response_type': None,
         'auth': ['developerKey'],
         'endpoint_path': '/accounts/{id}',
         'operation_id': 'delete_account',
         'http_method': 'DELETE',
         'servers': None,
     },
                                              params_map={
                                                  'all': [
                                                      'id',
                                                  ],
                                                  'required': [
                                                      'id',
                                                  ],
                                                  'nullable': [],
                                                  'enum': [],
                                                  'validation': []
                                              },
                                              root_map={
                                                  'validations': {},
                                                  'allowed_values': {},
                                                  'openapi_types': {
                                                      'id': (int, ),
                                                  },
                                                  'attribute_map': {
                                                      'id': 'id',
                                                  },
                                                  'location_map': {
                                                      'id': 'path',
                                                  },
                                                  'collection_format_map':
                                                  {}
                                              },
                                              headers_map={
                                                  'accept':
                                                  ['application/json'],
                                                  'content_type': [],
                                              },
                                              api_client=api_client)
     self.get_account_endpoint = _Endpoint(settings={
         'response_type': (Account, ),
         'auth': ['developerKey'],
         'endpoint_path': '/accounts/{id}',
         'operation_id': 'get_account',
         'http_method': 'GET',
         'servers': None,
     },
                                           params_map={
                                               'all': [
                                                   'id',
                                               ],
                                               'required': [
                                                   'id',
                                               ],
                                               'nullable': [],
                                               'enum': [],
                                               'validation': []
                                           },
                                           root_map={
                                               'validations': {},
                                               'allowed_values': {},
                                               'openapi_types': {
                                                   'id': (int, ),
                                               },
                                               'attribute_map': {
                                                   'id': 'id',
                                               },
                                               'location_map': {
                                                   'id': 'path',
                                               },
                                               'collection_format_map': {}
                                           },
                                           headers_map={
                                               'accept':
                                               ['application/json'],
                                               'content_type': [],
                                           },
                                           api_client=api_client)
     self.list_accounts_endpoint = _Endpoint(settings={
         'response_type': ([Account], ),
         'auth': ['developerKey'],
         'endpoint_path': '/users/{id}/accounts',
         'operation_id': 'list_accounts',
         'http_method': 'GET',
         'servers': None,
     },
                                             params_map={
                                                 'all': [
                                                     'id',
                                                 ],
                                                 'required': [
                                                     'id',
                                                 ],
                                                 'nullable': [],
                                                 'enum': [],
                                                 'validation': []
                                             },
                                             root_map={
                                                 'validations': {},
                                                 'allowed_values': {},
                                                 'openapi_types': {
                                                     'id': (int, ),
                                                 },
                                                 'attribute_map': {
                                                     'id': 'id',
                                                 },
                                                 'location_map': {
                                                     'id': 'path',
                                                 },
                                                 'collection_format_map':
                                                 {}
                                             },
                                             headers_map={
                                                 'accept':
                                                 ['application/json'],
                                                 'content_type': [],
                                             },
                                             api_client=api_client)
     self.list_institution_accounts_endpoint = _Endpoint(
         settings={
             'response_type': ([Account], ),
             'auth': ['developerKey'],
             'endpoint_path': '/institutions/{id}/accounts',
             'operation_id': 'list_institution_accounts',
             'http_method': 'GET',
             'servers': None,
         },
         params_map={
             'all': [
                 'id',
             ],
             'required': [
                 'id',
             ],
             'nullable': [],
             'enum': [],
             'validation': []
         },
         root_map={
             'validations': {},
             'allowed_values': {},
             'openapi_types': {
                 'id': (int, ),
             },
             'attribute_map': {
                 'id': 'id',
             },
             'location_map': {
                 'id': 'path',
             },
             'collection_format_map': {}
         },
         headers_map={
             'accept': ['application/json'],
             'content_type': [],
         },
         api_client=api_client)
     self.update_account_endpoint = _Endpoint(settings={
         'response_type': (Account, ),
         'auth': ['developerKey'],
         'endpoint_path': '/accounts/{id}',
         'operation_id': 'update_account',
         'http_method': 'PUT',
         'servers': None,
     },
                                              params_map={
                                                  'all': [
                                                      'id',
                                                      'inline_object',
                                                  ],
                                                  'required': [
                                                      'id',
                                                  ],
                                                  'nullable': [],
                                                  'enum': [],
                                                  'validation': []
                                              },
                                              root_map={
                                                  'validations': {},
                                                  'allowed_values': {},
                                                  'openapi_types': {
                                                      'id': (int, ),
                                                      'inline_object':
                                                      (InlineObject, ),
                                                  },
                                                  'attribute_map': {
                                                      'id': 'id',
                                                  },
                                                  'location_map': {
                                                      'id': 'path',
                                                      'inline_object':
                                                      'body',
                                                  },
                                                  'collection_format_map':
                                                  {}
                                              },
                                              headers_map={
                                                  'accept':
                                                  ['application/json'],
                                                  'content_type':
                                                  ['application/json']
                                              },
                                              api_client=api_client)
    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client
        self.create_transaction_account_transaction_endpoint = _Endpoint(
            settings={
                'response_type': (Transaction,),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/transaction_accounts/{id}/transactions',
                'operation_id': 'create_transaction_account_transaction',
                'http_method': 'POST',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'inline_object7',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'inline_object7':
                        (InlineObject7,),
                },
                'attribute_map': {
                    'id': 'id',
                },
                'location_map': {
                    'id': 'path',
                    'inline_object7': 'body',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [
                    'application/json'
                ]
            },
            api_client=api_client
        )
        self.get_transaction_endpoint = _Endpoint(
            settings={
                'response_type': (Transaction,),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/transactions/{id}',
                'operation_id': 'get_transaction',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'id':
                        (int,),
                },
                'attribute_map': {
                    'id': 'id',
                },
                'location_map': {
                    'id': 'path',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.list_account_transactions_endpoint = _Endpoint(
            settings={
                'response_type': ([Transaction],),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/accounts/{id}/transactions',
                'operation_id': 'list_account_transactions',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'start_date',
                    'end_date',
                    'only_uncategorised',
                    'type',
                    'page',
                    'per_page',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                    'type',
                ],
                'validation': [
                    'page',
                    'per_page',
                ]
            },
            root_map={
                'validations': {
                    ('page',): {

                        'inclusive_minimum': 1,
                    },
                    ('per_page',): {

                        'inclusive_maximum': 100,
                        'inclusive_minimum': 10,
                    },
                },
                'allowed_values': {
                    ('type',): {

                        "DEBIT": "debit",
                        "CREDIT": "credit"
                    },
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'start_date':
                        (str,),
                    'end_date':
                        (str,),
                    'only_uncategorised':
                        (int,),
                    'type':
                        (str,),
                    'page':
                        (int,),
                    'per_page':
                        (int,),
                },
                'attribute_map': {
                    'id': 'id',
                    'start_date': 'start_date',
                    'end_date': 'end_date',
                    'only_uncategorised': 'only_uncategorised',
                    'type': 'type',
                    'page': 'page',
                    'per_page': 'per_page',
                },
                'location_map': {
                    'id': 'path',
                    'start_date': 'query',
                    'end_date': 'query',
                    'only_uncategorised': 'query',
                    'type': 'query',
                    'page': 'query',
                    'per_page': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.list_transaction_account_transactions_endpoint = _Endpoint(
            settings={
                'response_type': ([Transaction],),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/transaction_accounts/{id}/transactions',
                'operation_id': 'list_transaction_account_transactions',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'start_date',
                    'end_date',
                    'only_uncategorised',
                    'type',
                    'search',
                    'page',
                    'per_page',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                    'type',
                ],
                'validation': [
                    'page',
                    'per_page',
                ]
            },
            root_map={
                'validations': {
                    ('page',): {

                        'inclusive_minimum': 1,
                    },
                    ('per_page',): {

                        'inclusive_maximum': 100,
                        'inclusive_minimum': 10,
                    },
                },
                'allowed_values': {
                    ('type',): {

                        "DEBIT": "debit",
                        "CREDIT": "credit"
                    },
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'start_date':
                        (str,),
                    'end_date':
                        (str,),
                    'only_uncategorised':
                        (int,),
                    'type':
                        (str,),
                    'search':
                        (str,),
                    'page':
                        (int,),
                    'per_page':
                        (int,),
                },
                'attribute_map': {
                    'id': 'id',
                    'start_date': 'start_date',
                    'end_date': 'end_date',
                    'only_uncategorised': 'only_uncategorised',
                    'type': 'type',
                    'search': 'search',
                    'page': 'page',
                    'per_page': 'per_page',
                },
                'location_map': {
                    'id': 'path',
                    'start_date': 'query',
                    'end_date': 'query',
                    'only_uncategorised': 'query',
                    'type': 'query',
                    'search': 'query',
                    'page': 'query',
                    'per_page': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.list_transactions_endpoint = _Endpoint(
            settings={
                'response_type': ([Transaction],),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/users/{id}/transactions',
                'operation_id': 'list_transactions',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'start_date',
                    'end_date',
                    'only_uncategorised',
                    'type',
                    'page',
                    'per_page',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                    'type',
                ],
                'validation': [
                    'page',
                    'per_page',
                ]
            },
            root_map={
                'validations': {
                    ('page',): {

                        'inclusive_minimum': 1,
                    },
                    ('per_page',): {

                        'inclusive_maximum': 100,
                        'inclusive_minimum': 10,
                    },
                },
                'allowed_values': {
                    ('type',): {

                        "DEBIT": "debit",
                        "CREDIT": "credit"
                    },
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'start_date':
                        (str,),
                    'end_date':
                        (str,),
                    'only_uncategorised':
                        (int,),
                    'type':
                        (str,),
                    'page':
                        (int,),
                    'per_page':
                        (int,),
                },
                'attribute_map': {
                    'id': 'id',
                    'start_date': 'start_date',
                    'end_date': 'end_date',
                    'only_uncategorised': 'only_uncategorised',
                    'type': 'type',
                    'page': 'page',
                    'per_page': 'per_page',
                },
                'location_map': {
                    'id': 'path',
                    'start_date': 'query',
                    'end_date': 'query',
                    'only_uncategorised': 'query',
                    'type': 'query',
                    'page': 'query',
                    'per_page': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.update_transaction_endpoint = _Endpoint(
            settings={
                'response_type': (Transaction,),
                'auth': [
                    'developerKey'
                ],
                'endpoint_path': '/transactions/{id}',
                'operation_id': 'update_transaction',
                'http_method': 'PUT',
                'servers': None,
            },
            params_map={
                'all': [
                    'id',
                    'labels',
                    'inline_object8',
                ],
                'required': [
                    'id',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'id':
                        (int,),
                    'labels':
                        (str,),
                    'inline_object8':
                        (InlineObject8,),
                },
                'attribute_map': {
                    'id': 'id',
                    'labels': 'labels',
                },
                'location_map': {
                    'id': 'path',
                    'labels': 'query',
                    'inline_object8': 'body',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [
                    'application/json'
                ]
            },
            api_client=api_client
        )
Exemplo n.º 6
0
 def __init__(self, api_client=None):
     if api_client is None:
         api_client = ApiClient()
     self.api_client = api_client
     self.get_me_endpoint = _Endpoint(settings={
         'response_type': (User, ),
         'auth': ['developerKey'],
         'endpoint_path': '/me',
         'operation_id': 'get_me',
         'http_method': 'GET',
         'servers': None,
     },
                                      params_map={
                                          'all': [],
                                          'required': [],
                                          'nullable': [],
                                          'enum': [],
                                          'validation': []
                                      },
                                      root_map={
                                          'validations': {},
                                          'allowed_values': {},
                                          'openapi_types': {},
                                          'attribute_map': {},
                                          'location_map': {},
                                          'collection_format_map': {}
                                      },
                                      headers_map={
                                          'accept': ['application/json'],
                                          'content_type': [],
                                      },
                                      api_client=api_client)
     self.get_user_endpoint = _Endpoint(settings={
         'response_type': (User, ),
         'auth': ['developerKey'],
         'endpoint_path': '/users/{id}',
         'operation_id': 'get_user',
         'http_method': 'GET',
         'servers': None,
     },
                                        params_map={
                                            'all': [
                                                'id',
                                            ],
                                            'required': [
                                                'id',
                                            ],
                                            'nullable': [],
                                            'enum': [],
                                            'validation': []
                                        },
                                        root_map={
                                            'validations': {},
                                            'allowed_values': {},
                                            'openapi_types': {
                                                'id': (int, ),
                                            },
                                            'attribute_map': {
                                                'id': 'id',
                                            },
                                            'location_map': {
                                                'id': 'path',
                                            },
                                            'collection_format_map': {}
                                        },
                                        headers_map={
                                            'accept': ['application/json'],
                                            'content_type': [],
                                        },
                                        api_client=api_client)
     self.update_user_endpoint = _Endpoint(settings={
         'response_type': (User, ),
         'auth': ['developerKey'],
         'endpoint_path': '/users/{id}',
         'operation_id': 'update_user',
         'http_method': 'PUT',
         'servers': None,
     },
                                           params_map={
                                               'all': [
                                                   'id',
                                                   'inline_object10',
                                               ],
                                               'required': [
                                                   'id',
                                               ],
                                               'nullable': [],
                                               'enum': [],
                                               'validation': []
                                           },
                                           root_map={
                                               'validations': {},
                                               'allowed_values': {},
                                               'openapi_types': {
                                                   'id': (int, ),
                                                   'inline_object10':
                                                   (InlineObject10, ),
                                               },
                                               'attribute_map': {
                                                   'id': 'id',
                                               },
                                               'location_map': {
                                                   'id': 'path',
                                                   'inline_object10':
                                                   'body',
                                               },
                                               'collection_format_map': {}
                                           },
                                           headers_map={
                                               'accept':
                                               ['application/json'],
                                               'content_type':
                                               ['application/json']
                                           },
                                           api_client=api_client)