Skip to content

Commit 7197f68

Browse files
committed
feat: add use type to necessary resources
1 parent c0ef682 commit 7197f68

59 files changed

Lines changed: 6885 additions & 126 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lob_python/api/buckslip_orders_api.py

100644100755
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ def __init__(self, api_client=None):
4040
if api_client is None:
4141
api_client = ApiClient()
4242
self.api_client = api_client
43-
self.Create_endpoint = _Endpoint(
43+
self.create_endpoint = _Endpoint(
4444
settings={
4545
'response_type': (BuckslipOrder,),
4646
'auth': [
4747
'basicAuth'
4848
],
4949
'endpoint_path': '/buckslips/{buckslip_id}/orders',
50-
'operation_id': 'Create',
50+
'operation_id': 'create',
5151
'http_method': 'POST',
5252
'servers': None,
5353
},
@@ -100,14 +100,14 @@ def __init__(self, api_client=None):
100100
},
101101
api_client=api_client
102102
)
103-
self.Retrieve_endpoint = _Endpoint(
103+
self.get_endpoint = _Endpoint(
104104
settings={
105105
'response_type': (BuckslipOrdersList,),
106106
'auth': [
107107
'basicAuth'
108108
],
109109
'endpoint_path': '/buckslips/{buckslip_id}/orders',
110-
'operation_id': 'Retrieve',
110+
'operation_id': 'get',
111111
'http_method': 'GET',
112112
'servers': None,
113113
},
@@ -168,19 +168,19 @@ def __init__(self, api_client=None):
168168
api_client=api_client
169169
)
170170

171-
def Create(
171+
def create(
172172
self,
173173
buckslip_id,
174174
buckslip_order_editable,
175175
**kwargs
176176
):
177-
"""Create # noqa: E501
177+
"""create # noqa: E501
178178
179179
Creates a new buckslip order given information # noqa: E501
180180
This method makes a synchronous HTTP request by default. To make an
181181
asynchronous HTTP request, please pass async_req=True
182182
183-
>>> thread = api.Create(buckslip_id, buckslip_order_editable, async_req=True)
183+
>>> thread = api.create(buckslip_id, buckslip_order_editable, async_req=True)
184184
>>> result = thread.get()
185185
186186
Args:
@@ -248,20 +248,20 @@ def Create(
248248
buckslip_id
249249
kwargs['buckslip_order_editable'] = \
250250
buckslip_order_editable
251-
return self.Create_endpoint.call_with_http_info(**kwargs)
251+
return self.create_endpoint.call_with_http_info(**kwargs)
252252

253-
def Retrieve(
253+
def get(
254254
self,
255255
buckslip_id,
256256
**kwargs
257257
):
258-
"""Retrieve # noqa: E501
258+
"""get # noqa: E501
259259
260260
Retrieves the buckslip orders associated with the given buckslip id. # noqa: E501
261261
This method makes a synchronous HTTP request by default. To make an
262262
asynchronous HTTP request, please pass async_req=True
263263
264-
>>> thread = api.Retrieve(buckslip_id, async_req=True)
264+
>>> thread = api.get(buckslip_id, async_req=True)
265265
>>> result = thread.get()
266266
267267
Args:
@@ -328,5 +328,5 @@ def Retrieve(
328328
kwargs['_host_index'] = kwargs.get('_host_index')
329329
kwargs['buckslip_id'] = \
330330
buckslip_id
331-
return self.Retrieve_endpoint.call_with_http_info(**kwargs)
331+
return self.get_endpoint.call_with_http_info(**kwargs)
332332

lob_python/api/buckslips_api.py

100644100755
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ def __init__(self, api_client=None):
4343
if api_client is None:
4444
api_client = ApiClient()
4545
self.api_client = api_client
46-
self.Create_endpoint = _Endpoint(
46+
self.create_endpoint = _Endpoint(
4747
settings={
4848
'response_type': (Buckslip,),
4949
'auth': [
5050
'basicAuth'
5151
],
5252
'endpoint_path': '/buckslips',
53-
'operation_id': 'Create',
53+
'operation_id': 'create',
5454
'http_method': 'POST',
5555
'servers': None,
5656
},
@@ -97,14 +97,14 @@ def __init__(self, api_client=None):
9797
},
9898
api_client=api_client
9999
)
100-
self.Delete_endpoint = _Endpoint(
100+
self.delete_endpoint = _Endpoint(
101101
settings={
102102
'response_type': (BuckslipDeletion,),
103103
'auth': [
104104
'basicAuth'
105105
],
106106
'endpoint_path': '/buckslips/{buckslip_id}',
107-
'operation_id': 'Delete',
107+
'operation_id': 'delete',
108108
'http_method': 'DELETE',
109109
'servers': None,
110110
},
@@ -148,14 +148,14 @@ def __init__(self, api_client=None):
148148
},
149149
api_client=api_client
150150
)
151-
self.Retrieve_endpoint = _Endpoint(
151+
self.get_endpoint = _Endpoint(
152152
settings={
153153
'response_type': (Buckslip,),
154154
'auth': [
155155
'basicAuth'
156156
],
157157
'endpoint_path': '/buckslips/{buckslip_id}',
158-
'operation_id': 'Retrieve',
158+
'operation_id': 'get',
159159
'http_method': 'GET',
160160
'servers': None,
161161
},
@@ -199,14 +199,14 @@ def __init__(self, api_client=None):
199199
},
200200
api_client=api_client
201201
)
202-
self.Update_endpoint = _Endpoint(
202+
self.update_endpoint = _Endpoint(
203203
settings={
204204
'response_type': (Buckslip,),
205205
'auth': [
206206
'basicAuth'
207207
],
208208
'endpoint_path': '/buckslips/{buckslip_id}',
209-
'operation_id': 'Update',
209+
'operation_id': 'update',
210210
'http_method': 'PATCH',
211211
'servers': None,
212212
},
@@ -330,18 +330,18 @@ def __init__(self, api_client=None):
330330
api_client=api_client
331331
)
332332

333-
def Create(
333+
def create(
334334
self,
335335
buckslip_editable,
336336
**kwargs
337337
):
338-
"""Create # noqa: E501
338+
"""create # noqa: E501
339339
340340
Creates a new buckslip given information # noqa: E501
341341
This method makes a synchronous HTTP request by default. To make an
342342
asynchronous HTTP request, please pass async_req=True
343343
344-
>>> thread = api.Create(buckslip_editable, async_req=True)
344+
>>> thread = api.create(buckslip_editable, async_req=True)
345345
>>> result = thread.get()
346346
347347
Args:
@@ -406,20 +406,20 @@ def Create(
406406
kwargs['_host_index'] = kwargs.get('_host_index')
407407
kwargs['buckslip_editable'] = \
408408
buckslip_editable
409-
return self.Create_endpoint.call_with_http_info(**kwargs)
409+
return self.create_endpoint.call_with_http_info(**kwargs)
410410

411-
def Delete(
411+
def delete(
412412
self,
413413
buckslip_id,
414414
**kwargs
415415
):
416-
"""Delete # noqa: E501
416+
"""delete # noqa: E501
417417
418418
Delete an existing buckslip. You need only supply the unique identifier that was returned upon buckslip creation. # noqa: E501
419419
This method makes a synchronous HTTP request by default. To make an
420420
asynchronous HTTP request, please pass async_req=True
421421
422-
>>> thread = api.Delete(buckslip_id, async_req=True)
422+
>>> thread = api.delete(buckslip_id, async_req=True)
423423
>>> result = thread.get()
424424
425425
Args:
@@ -484,20 +484,20 @@ def Delete(
484484
kwargs['_host_index'] = kwargs.get('_host_index')
485485
kwargs['buckslip_id'] = \
486486
buckslip_id
487-
return self.Delete_endpoint.call_with_http_info(**kwargs)
487+
return self.delete_endpoint.call_with_http_info(**kwargs)
488488

489-
def Retrieve(
489+
def get(
490490
self,
491491
buckslip_id,
492492
**kwargs
493493
):
494-
"""Retrieve # noqa: E501
494+
"""get # noqa: E501
495495
496496
Retrieves the details of an existing buckslip. You need only supply the unique customer identifier that was returned upon buckslip creation. # noqa: E501
497497
This method makes a synchronous HTTP request by default. To make an
498498
asynchronous HTTP request, please pass async_req=True
499499
500-
>>> thread = api.Retrieve(buckslip_id, async_req=True)
500+
>>> thread = api.get(buckslip_id, async_req=True)
501501
>>> result = thread.get()
502502
503503
Args:
@@ -562,21 +562,21 @@ def Retrieve(
562562
kwargs['_host_index'] = kwargs.get('_host_index')
563563
kwargs['buckslip_id'] = \
564564
buckslip_id
565-
return self.Retrieve_endpoint.call_with_http_info(**kwargs)
565+
return self.get_endpoint.call_with_http_info(**kwargs)
566566

567-
def Update(
567+
def update(
568568
self,
569569
buckslip_id,
570570
buckslip_updatable,
571571
**kwargs
572572
):
573-
"""Update # noqa: E501
573+
"""update # noqa: E501
574574
575575
Update the details of an existing buckslip. You need only supply the unique identifier that was returned upon buckslip creation. # noqa: E501
576576
This method makes a synchronous HTTP request by default. To make an
577577
asynchronous HTTP request, please pass async_req=True
578578
579-
>>> thread = api.Update(buckslip_id, buckslip_updatable, async_req=True)
579+
>>> thread = api.update(buckslip_id, buckslip_updatable, async_req=True)
580580
>>> result = thread.get()
581581
582582
Args:
@@ -644,7 +644,7 @@ def Update(
644644
buckslip_id
645645
kwargs['buckslip_updatable'] = \
646646
buckslip_updatable
647-
return self.Update_endpoint.call_with_http_info(**kwargs)
647+
return self.update_endpoint.call_with_http_info(**kwargs)
648648

649649
def List(
650650
self,

0 commit comments

Comments
 (0)