8000 [Librarian] Regenerated @ d2bc0159e4fc199cec4fe039f3c1982e1a41b6c4 · prateem/twilio-python@149e622 · GitHub
[go: up one dir, main page]

Skip to content

Commit 149e622

Browse files
committed
[Librarian] Regenerated @ d2bc0159e4fc199cec4fe039f3c1982e1a41b6c4
1 parent 8f23b09 commit 149e622

File tree

5 files changed

+78
-72
lines changed

5 files changed

+78
-72
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2018-05-25] Version 6.14.2
7+
----------------------------
8+
**Chat**
9+
- Add Binding and UserBinding documentation
10+
11+
612
[2018-05-25] Version 6.14.1
713
----------------------------
814
**Library**

twilio/rest/chat/v2/service/binding.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, version, service_sid):
2323
Initialize the BindingList
2424
2525
:param Version version: Version that contains the resource
26-
:param service_sid: The service_sid
26+
:param service_sid: The unique id of the Service this binding belongs to.
2727
2828
:returns: twilio.rest.chat.v2.service.binding.BindingList
2929
:rtype: twilio.rest.chat.v2.service.binding.BindingList
@@ -42,7 +42,7 @@ def stream(self, binding_type=values.unset, identity=values.unset, limit=None,
4242
is reached.
4343
The results are returned as a generator, so this operation is memory efficient.
4444
45-
:param BindingInstance.BindingType binding_type: The binding_type
45+
:param BindingInstance.BindingType binding_type: The push technology used for the bindings returned.
4646
:param unicode identity: The identity
4747
:param int limit: Upper limit for the number of records to return. stream()
4848
guarantees to never return more than limit. Default is no limit
@@ -67,7 +67,7 @@ def list(self, binding_type=values.unset, identity=values.unset, limit=None,
6767
Unlike stream(), this operation is eager and will load `limit` records into
6868
memory before returning.
6969
70-
:param BindingInstance.BindingType binding_type: The binding_type
70+
:param BindingInstance.BindingType binding_type: The push technology used for the bindings returned.
7171
:param unicode identity: The identity
7272
:param int limit: Upper limit for the number of records to return. list() guarantees
7373
never to return more than limit. Default is no limit
@@ -93,7 +93,7 @@ def page(self, binding_type=values.unset, identity=values.unset,
9393
Retrieve a single page of BindingInstance records from the API.
9494
Request is executed immediately
9595
96-
:param BindingInstance.BindingType binding_type: The binding_type
96+
:param BindingInstance.BindingType binding_type: The push technology used for the bindings returned.
9797
:param unicode identity: The identity
9898
:param str page_token: PageToken provided by the API
9999
:param int page_number: Page Number, this value is simply for client state
@@ -176,7 +176,7 @@ def __init__(self, version, response, solution):
176176
177177
:param Version version: Version that contains the resource
178178
:param Response response: Response from the API
179-
:param service_sid: The service_sid
179+
:param service_sid: The unique id of the Service this binding belongs to.
180180
181181
:returns: twilio.rest.chat.v2.service.binding.BindingPage
182182
:rtype: twilio.rest.chat.v2.service.binding.BindingPage
@@ -326,95 +326,95 @@ def _proxy(self):
326326
@property
327327
def sid(self):
328328
"""
329-
:returns: The sid
329+
:returns: A 34 character string that uniquely identifies this resource.
330330
:rtype: unicode
331331
"""
332332
return self._properties['sid']
333333

334334
@property
335335
def account_sid(self):
336336
"""
337-
:returns: The account_sid
337+
:returns: The unique id of the Account responsible for this binding.
338338
:rtype: unicode
339339
"""
340340
return self._properties['account_sid']
341341

342342
@property
343343
def service_sid(self):
344344
"""
345-
:returns: The service_sid
345+
:returns: The unique id of the Service this binding belongs to.
346346
:rtype: unicode
347347
"""
348348
return self._properties['service_sid']
349349

350350
@property
351351
def date_created(self):
352352
"""
353-
:returns: The date_created
353+
:returns: The date that this resource was created.
354354
:rtype: datetime
355355
"""
356356
return self._properties['date_created']
357357

358358
@property
359359
def date_updated(self):
360360
"""
361-
:returns: The date_updated
361+
:returns: The date that this resource was last updated.
362362
:rtype: datetime
363363
"""
364364
return self._properties['date_updated']
365365

366366
@property
367367
def endpoint(self):
368368
"""
369-
:returns: The endpoint
369+
:returns: The unique endpoint identifier for this Binding.
370370
:rtype: unicode
371371
"""
372372
return self._properties['endpoint']
373373

374374
@property
375375
def identity(self):
376376
"""
377-
:returns: The identity
377+
:returns: A unique string identifier for the Binding for this User in this Service.
378378
:rtype: unicode
379379
"""
380380
return self._properties['identity']
381381

382382
@property
383383
def credential_sid(self):
384384
"""
385-
:returns: The credential_sid
385+
:returns: The unique id of the Credential for this binding.
386386
:rtype: unicode
387387
"""
388388
return self._properties['credential_sid']
389389

390390
@property
391391
def binding_type(self):
392392
"""
393-
:returns: The binding_type
393+
:returns: The push technology to use for this binding.
394394
:rtype: BindingInstance.BindingType
395395
"""
396396
return self._properties['binding_type']
397397

398398
@property
399399
def message_types(self):
400400
"""
401-
:returns: The message_types
401+
:returns: List of message types for this binding.
402402
:rtype: unicode
403403
"""
404404
return self._properties['message_types']
405405

406406
@property
407407
def url(self):
408408
"""
409-
:returns: The url
409+
:returns: An absolute URL for this binding.
410410
:rtype: unicode
411411
"""
412412
return self._properties['url']
413413

414414
@property
415415
def links(self):
416416
"""
417-
:returns: The links
417+
:returns: Absolute URLs to access the Users for this Binding.
418418
:rtype: unicode
419419
"""
420420
return self._properties['links']

twilio/rest/chat/v2/service/user/user_binding.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def __init__(self, version, service_sid, user_sid):
2323
Initialize the UserBindingList
2424
2525
:param Version version: Version that contains the resource
26-
:param service_sid: The service_sid
27-
:param user_sid: The user_sid
26+
:param service_sid: The unique id of the Service this binding belongs to.
27+
:param user_sid: The unique id of the User for this binding.
2828
2929
:returns: twilio.rest.chat.v2.service.user.user_binding.UserBindingList
3030
:rtype: twilio.rest.chat.v2.service.user.user_binding.UserBindingList
@@ -42,7 +42,7 @@ def stream(self, binding_type=values.unset, limit=None, page_size=None):
4242
is reached.
4343
The results are returned as a generator, so this operation is memory efficient.
4444
45-
:param UserBindingInstance.BindingType binding_type: The binding_type
45+
:param UserBindingInstance.BindingType binding_type: The push technology used for the bindings returned.
4646
:param int limit: Upper limit for the number of records to return. stream()
4747
guarantees to never return more than limit. Default is no limit
4848
:param int page_size: Number of records to fetch per request, when not set will use
@@ -65,7 +65,7 @@ def list(self, binding_type=values.unset, limit=None, page_size=None):
6565
Unlike stream(), this operation is eager and will load `limit` records into
6666
memory before returning.
6767
68-
:param UserBindingInstance.BindingType binding_type: The binding_type
68+
:param UserBindingInstance.BindingType binding_type: The push technology used for the bindings returned.
6969
:param int limit: Upper limit for the number of records to return. list() guarantees
7070
never to return more than limit. Default is no limit
7171
:param int page_size: Number of records to fetch per request, when not set will use
@@ -84,7 +84,7 @@ def page(self, binding_type=values.unset, page_token=values.unset,
8484
Retrieve a single page of UserBindingInstance records from the API.
8585
Request is executed immediately
8686
87-
:param UserBindingInstance.BindingType binding_type: The binding_type
87+
:param UserBindingInstance.BindingType binding_type: The push technology used for the bindings returned.
8888
:param str page_token: PageToken provided by the API
8989
:param int page_number: Page Number, this value is simply for client state
9090
:param int page_size: Number of records to return, defaults to 50
@@ -175,8 +175,8 @@ def __init__(self, version, response, solution):
175175
176176
:param Version version: Version that contains the resource
177177
:param Response response: Response from the API
178-
:param service_sid: The service_sid
179-
:param user_sid: The user_sid
178+
:param service_sid: The unique id of the Service this binding belongs to.
179+
:param user_sid: The unique id of the User for this binding.
180180
181181
:returns: twilio.rest.chat.v2.service.user.user_binding.UserBindingPage
182182
:rtype: twilio.rest.chat.v2.service.user.user_binding.UserBindingPage
@@ -338,95 +338,95 @@ def _proxy(self):
338338
@property
339339
def sid(self):
340340
"""
341-
:returns: The sid
341+
:returns: A 34 character string that uniquely identifies this resource.
342342
:rtype: unicode
343343
"""
344344
return self._properties['sid']
345345

346346
@property
347347
def account_sid(self):
348348
"""
349-
:returns: The account_sid
349+
:returns: The unique id of the Account responsible for this binding.
350350
:rtype: unicode
351351
"""
352352
return self._properties['account_sid']
353353

354354
@property
355355
def service_sid(self):
356356
"""
357-
:returns: The service_sid
357+
:returns: The unique id of the Service this binding belongs to.
358358
:rtype: unicode
359359
"""
360360
return self._properties['service_sid']
361361

362362
@property
363363
def date_created(self):
364364
"""
365-
:returns: The date_created
365+
:returns: The date that this resource was created.
366366
:rtype: datetime
367367
"""
368368
return self._properties['date_created']
369369

370370
@property
371371
def date_updated(self):
372372
"""
373-
:returns: The date_updated
373+
:returns: The date that this resource was last updated.
374374
:rtype: datetime
375375
"""
376376
return self._properties['date_updated']
377377

378378
@property
379379
def endpoint(self):
380380
"""
381-
:returns: The endpoint
381+
:returns: The unique endpoint identifier for this Binding.
382382
:rtype: unicode
383383
"""
384384
return self._properties['endpoint']
385385

386386
@property
387387
def identity(self):
388388
"""
389-
:returns: The identity
389+
:returns: A unique string identifier for the Binding for this User in this Service.
390390
:rtype: unicode
391391
"""
392392
return self._properties['identity']
393393

394394
@property
395395
def user_sid(self):
396396
"""
397-
:returns: The user_sid
397+
:returns: The unique id of the User for this binding.
398398
:rtype: unicode
399399
"""
400400
return self._properties['user_sid']
401401

402402
@property
403403
def credential_sid(self):
404404
"""
405-
:returns: The credential_sid
405+
:returns: The unique id of the Credential for this binding.
406406
:rtype: unicode
407407
"""
408408
return self._properties['credential_sid']
409409

410410
@property
411411
def binding_type(self):
412412
"""
413-
:returns: The binding_type
413+
:returns: The push technology to use for this binding.
414414
:rtype: UserBindingInstance.BindingType
415415
"""
416416
return self._properties['binding_type']
417417

418418
@property
419419
def message_types(self):
420420
"""
421-
:returns: The message_types
421+
:returns: List of message types for this binding.
422422
:rtype: unicode
423423
"""
424424
return self._properties['message_types']
425425

426426
@property
427427
def url(self):
428428
"""
429-
:returns: The url
429+
:returns: An absolute URL for this binding.
430430
:rtype: unicode
431431
"""
432432
return self._properties['url']

0 commit comments

Comments
 (0)
0