Skip to content

Commit 0b77645

Browse files
docs: convert markdown links to rst formatted links (#538)
1 parent 1046b08 commit 0b77645

File tree

7 files changed

+23
-31
lines changed

7 files changed

+23
-31
lines changed

twilio/rest/autopilot/v1/assistant/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def update(self, friendly_name=values.unset, log_queries=values.unset,
280280
:param unicode callback_url: Reserved
281281
:param unicode callback_events: Reserved
282282
:param dict style_sheet: A JSON string that defines the Assistant's style sheet
283-
:param dict defaults: A JSON object that defines the Assistant's [default tasks](https://www.twilio.com/docs/autopilot/api/assistant/defaults) for various scenarios
283+
:param dict defaults: A JSON object that defines the Assistant's `default tasks <https://www.twilio.com/docs/autopilot/api/assistant/defaults>`_ for various scenarios
284284
:param unicode development_stage: A string describing the state of the assistant.
285285
286286
:returns: The updated AssistantInstance
@@ -600,7 +600,7 @@ def update(self, friendly_name=values.unset, log_queries=values.unset,
600600
:param unicode callback_url: Reserved
601601
:param unicode callback_events: Reserved
602602
:param dict style_sheet: A JSON string that defines the Assistant's style sheet
603-
:param dict defaults: A JSON object that defines the Assistant's [default tasks](https://www.twilio.com/docs/autopilot/api/assistant/defaults) for various scenarios
603+
:param dict defaults: A JSON object that defines the Assistant's `default tasks <https://www.twilio.com/docs/autopilot/api/assistant/defaults>`_ for various scenarios
604604
:param unicode development_stage: A string describing the state of the assistant.
605605
606606
:returns: The updated AssistantInstance

twilio/rest/autopilot/v1/assistant/query.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def stream(self, language=values.unset, model_build=values.unset,
4747
:param unicode language: The ISO language-country string that specifies the language used by the Query resources to read
4848
:param unicode model_build: The SID or unique name of the Model Build to be queried
4949
:param unicode status: The status of the resources to read
50-
:param unicode dialogue_sid: The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue).
50+
:param unicode dialogue_sid: The SID of the `Dialogue <https://www.twilio.com/docs/autopilot/api/dialogue>`_.
5151
:param int limit: Upper limit for the number of records to return. stream()
5252
guarantees to never return more than limit. Default is no limit
5353
:param int page_size: Number of records to fetch per request, when not set will use
@@ -81,7 +81,7 @@ def list(self, language=values.unset, model_build=values.unset,
8181
:param unicode language: The ISO language-country string that specifies the language used by the Query resources to read
8282
:param unicode model_build: The SID or unique name of the Model Build to be queried
8383
:param unicode status: The status of the resources to read
84-
:param unicode dialogue_sid: The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue).
84+
:param unicode dialogue_sid: The SID of the `Dialogue <https://www.twilio.com/docs/autopilot/api/dialogue>`_.
8585
:param int limit: Upper limit for the number of records to return. list() guarantees
8686
never to return more than limit. Default is no limit
8787
:param int page_size: Number of records to fetch per request, when not set will use
@@ -112,7 +112,7 @@ def page(self, language=values.unset, model_build=values.unset,
112112
:param unicode language: The ISO language-country string that specifies the language used by the Query resources to read
113113
:param unicode model_build: The SID or unique name of the Model Build to be queried
114114
:param unicode status: The status of the resources to read
115-
:param unicode dialogue_sid: The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue).
115+
:param unicode dialogue_sid: The SID of the `Dialogue <https://www.twilio.com/docs/autopilot/api/dialogue>`_.
116116
:param str page_token: PageToken provided by the API
117117
:param int page_number: Page Number, this value is simply for client state
118118
:param int page_size: Number of records to return, defaults to 50
@@ -418,7 +418,7 @@ def language(self):
418418
@property
419419
def model_build_sid(self):
420420
"""
421-
:returns: The SID of the [Model Build](https://www.twilio.com/docs/autopilot/api/model-build) queried
421+
:returns: The SID of the `Model Build <https://www.twilio.com/docs/autopilot/api/model-build>`_ queried
422422
:rtype: unicode
423423
"""
424424
return self._properties['model_build_sid']
@@ -482,7 +482,7 @@ def source_channel(self):
482482
@property
483483
def dialogue_sid(self):
484484
"""
485-
:returns: The SID of the [Dialogue](https://www.twilio.com/docs/autopilot/api/dialogue).
485+
:returns: The SID of the `Dialogue <https://www.twilio.com/docs/autopilot/api/dialogue>`_.
486486
:rtype: unicode
487487
"""
488488
return self._properties['dialogue_sid']

twilio/rest/autopilot/v1/assistant/task/field.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, version, assistant_sid, task_sid):
2525
2626
:param Version version: Version that contains the resource
2727
:param assistant_sid: The SID of the Assistant that is the parent of the Task associated with the resource
28-
:param task_sid: The SID of the [Task](https://www.twilio.com/docs/autopilot/api/task) resource associated with this Field
28+
:param task_sid: The SID of the `Task <https://www.twilio.com/docs/autopilot/api/task>`_ resource associated with this Field
2929
3030
:returns: twilio.rest.autopilot.v1.assistant.task.field.FieldList
3131
:rtype: twilio.rest.autopilot.v1.assistant.task.field.FieldList
@@ -188,7 +188,7 @@ def __init__(self, version, response, solution):
188188
:param Version version: Version that contains the resource
189189
:param Response response: Response from the API
190190
:param assistant_sid: The SID of the Assistant that is the parent of the Task associated with the resource
191-
:param task_sid: The SID of the [Task](https://www.twilio.com/docs/autopilot/api/task) resource associated with this Field
191+
:param task_sid: The SID of the `Task <https://www.twilio.com/docs/autopilot/api/task>`_ resource associated with this Field
192192
193193
:returns: twilio.rest.autopilot.v1.assistant.task.field.FieldPage
194194
:rtype: twilio.rest.autopilot.v1.assistant.task.field.FieldPage
@@ -235,7 +235,7 @@ def __init__(self, version, assistant_sid, task_sid, sid):
235235
236236
:param Version version: Version that contains the resource
237237
:param assistant_sid: The SID of the Assistant that is the parent of the Task associated with the resource to fetch
238-
:param task_sid: The SID of the [Task](https://www.twilio.com/docs/autopilot/api/task) resource associated with the Field resource to fetch
238+
:param task_sid: The SID of the `Task <https://www.twilio.com/docs/autopilot/api/task>`_ resource associated with the Field resource to fetch
239239
:param sid: The unique string that identifies the resource
240240
241241
:returns: twilio.rest.autopilot.v1.assistant.task.field.FieldContext
@@ -372,7 +372,7 @@ def field_type(self):
372372
@property
373373
def task_sid(self):
374374
"""
375-
:returns: The SID of the [Task](https://www.twilio.com/docs/autopilot/api/task) resource associated with this Field
375+
:returns: The SID of the `Task <https://www.twilio.com/docs/autopilot/api/task>`_ resource associated with this Field
376376
:rtype: unicode
377377
"""
378378
return self._properties['task_sid']

twilio/rest/conversations/v1/conversation/message/delivery_receipt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def status(self):
362362
@property
363363
def error_code(self):
364364
"""
365-
:returns: The message [delivery error code](https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors) for a `failed` status
365+
:returns: The message `delivery error code <https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors>`_ for a `failed` status
366366
:rtype: unicode
367367
"""
368368
return self._properties['error_code']

twilio/rest/video/v1/composition/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def stream(self, status=values.unset, date_created_after=values.unset,
4545
The results are returned as a generator, so this operation is memory efficient.
4646
4747
:param CompositionInstance.Status status: Read only Composition resources with this status
48-
:param datetime date_created_after: Read only Composition resources created on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
48+
:param datetime date_created_after: Read only Composition resources created on or after this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
4949
:param datetime date_created_before: Read only Composition resources created before this ISO 8601 date-time with time zone
5050
:param unicode room_sid: Read only Composition resources with this Room SID
5151
:param int limit: Upper limit for the number of records to return. stream()
@@ -79,7 +79,7 @@ def list(self, status=values.unset, date_created_after=values.unset,
7979
memory before returning.
8080
8181
:param CompositionInstance.Status status: Read only Composition resources with this status
82-
:param datetime date_created_after: Read only Composition resources created on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
82+
:param datetime date_created_after: Read only Composition resources created on or after this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
8383
:param datetime date_created_before: Read only Composition resources created before this ISO 8601 date-time with time zone
8484
:param unicode room_sid: Read only Composition resources with this Room SID
8585
:param int limit: Upper limit for the number of records to return. list() guarantees
@@ -110,7 +110,7 @@ def page(self, status=values.unset, date_created_after=values.unset,
110110
Request is executed immediately
111111
112112
:param CompositionInstance.Status status: Read only Composition resources with this status
113-
:param datetime date_created_after: Read only Composition resources created on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
113+
:param datetime date_created_after: Read only Composition resources created on or after this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
114114
:param datetime date_created_before: Read only Composition resources created before this ISO 8601 date-time with time zone
115115
:param unicode room_sid: Read only Composition resources with this Room SID
116116
:param str page_token: PageToken provided by the API

twilio/rest/video/v1/recording/__init__.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717

1818
class RecordingList(ListResource):
19-
""" """
2019

2120
def __init__(self, version):
2221
"""
@@ -46,8 +45,8 @@ def stream(self, status=values.unset, source_sid=values.unset,
4645
:param RecordingInstance.Status status: Read only the recordings that have this status
4746
:param unicode source_sid: Read only the recordings that have this source_sid
4847
:param unicode grouping_sid: Read only recordings that have this grouping_sid
49-
:param datetime date_created_after: Read only recordings that started on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
50-
:param datetime date_created_before: Read only recordings that started before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
48+
:param datetime date_created_after: Read only recordings that started on or after this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
49+
:param datetime date_created_before: Read only recordings that started before this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
5150
:param RecordingInstance.Type media_type: Read only recordings that have this media type
5251
:param int limit: Upper limit for the number of records to return. stream()
5352
guarantees to never return more than limit. Default is no limit
@@ -85,8 +84,8 @@ def list(self, status=values.unset, source_sid=values.unset,
8584
:param RecordingInstance.Status status: Read only the recordings that have this status
8685
:param unicode source_sid: Read only the recordings that have this source_sid
8786
:param unicode grouping_sid: Read only recordings that have this grouping_sid
88-
:param datetime date_created_after: Read only recordings that started on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
89-
:param datetime date_created_before: Read only recordings that started before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
87+
:param datetime date_created_after: Read only recordings that started on or after this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
88+
:param datetime date_created_before: Read only recordings that started before this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
9089
:param RecordingInstance.Type media_type: Read only recordings that have this media type
9190
:param int limit: Upper limit for the number of records to return. list() guarantees
9291
never to return more than limit. Default is no limit
@@ -121,8 +120,8 @@ def page(self, status=values.unset, source_sid=values.unset,
121120
:param RecordingInstance.Status status: Read only the recordings that have this status
122121
:param unicode source_sid: Read only the recordings that have this source_sid
123122
:param unicode grouping_sid: Read only recordings that have this grouping_sid
124-
:param datetime date_created_after: Read only recordings that started on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
125-
:param datetime date_created_before: Read only recordings that started before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone
123+
:param datetime date_created_after: Read only recordings that started on or after this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
124+
:param datetime date_created_before: Read only recordings that started before this `ISO 8601 <https://en.wikipedia.org/wiki/ISO_8601>`_ date-time with time zone
126125
:param RecordingInstance.Type media_type: Read only recordings that have this media type
127126
:param str page_token: PageToken provided by the API
128127
:param int page_number: Page Number, this value is simply for client state
@@ -197,7 +196,6 @@ def __repr__(self):
197196

198197

199198
class RecordingPage(Page):
200-
""" """
201199

202200
def __init__(self, version, response, solution):
203201
"""
@@ -236,7 +234,6 @@ def __repr__(self):
236234

237235

238236
class RecordingContext(InstanceContext):
239-
""" """
240237

241238
def __init__(self, version, sid):
242239
"""
@@ -286,7 +283,6 @@ def __repr__(self):
286283

287284

288285
class RecordingInstance(InstanceResource):
289-
""" """
290286

291287
class Status(object):
292288
PROCESSING = "processing"

twilio/rest/voice/v1/ip_record.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616

1717
class IpRecordList(ListResource):
18-
""" """
1918

2019
def __init__(self, version):
2120
"""
@@ -39,7 +38,7 @@ def create(self, ip_address, friendly_name=values.unset,
3938
4039
:param unicode ip_address: An IP address in dotted decimal notation, IPv4 only.
4140
:param unicode friendly_name: A string to describe the resource
42-
:param unicode cidr_prefix_length: An integer representing the length of the [CIDR](https://tools.ietf.org/html/rfc4632) prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.
41+
:param unicode cidr_prefix_length: An integer representing the length of the `CIDR <https://tools.ietf.org/html/rfc4632>`_ prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.
4342
4443
:returns: The created IpRecordInstance
4544
:rtype: twilio.rest.voice.v1.ip_record.IpRecordInstance
@@ -164,7 +163,6 @@ def __repr__(self):
164163

165164

166165
class IpRecordPage(Page):
167-
""" """
168166

169167
def __init__(self, version, response, solution):
170168
"""
@@ -203,7 +201,6 @@ def __repr__(self):
203201

204202

205203
class IpRecordContext(InstanceContext):
206-
""" """
207204

208205
def __init__(self, version, sid):
209206
"""
@@ -268,7 +265,6 @@ def __repr__(self):
268265

269266

270267
class IpRecordInstance(InstanceResource):
271-
""" """
272268

273269
def __init__(self, version, payload, sid=None):
274270
"""
@@ -343,7 +339,7 @@ def ip_address(self):
343339
@property
344340
def cidr_prefix_length(self):
345341
"""
346-
:returns: An integer representing the length of the [CIDR](https://tools.ietf.org/html/rfc4632) prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.
342+
:returns: An integer representing the length of the `CIDR <https://tools.ietf.org/html/rfc4632>`_ prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.
347343
:rtype: unicode
348344
"""
349345
return self._properties['cidr_prefix_length']

0 commit comments

Comments
 (0)