twilio.rest.studio.v1.flow.execution.execution_step package¶
Submodules¶
twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context module¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextContext(version, flow_sid, execution_sid, step_sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext-
fetch()[source]¶ Fetch the ExecutionStepContextInstance
Returns: The fetched ExecutionStepContextInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance
-
-
class
twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance(version, payload, flow_sid, execution_sid, step_sid)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource-
account_sid¶ Returns: The SID of the Account that created the resource Return type: unicode
-
execution_sid¶ Returns: The SID of the Execution Return type: unicode
-
fetch()[source]¶ Fetch the ExecutionStepContextInstance
Returns: The fetched ExecutionStepContextInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance
-
flow_sid¶ Returns: The SID of the Flow Return type: unicode
-
step_sid¶ Returns: Step SID Return type: unicode
-
url¶ Returns: The absolute URL of the resource Return type: unicode
-
-
class
twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextList(version, flow_sid, execution_sid, step_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource-
get()[source]¶ Constructs a ExecutionStepContextContext
Returns: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextContext Return type: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextContext
-
-
class
twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextPage(version, response, solution)[source]¶ Bases:
twilio.base.page.Page-
get_instance(payload)[source]¶ Build an instance of ExecutionStepContextInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextInstance
-
Module contents¶
This code was generated by / _ _ _| _ _
(_)/(_)(_|/| |(/_ v1.0.0 / /
-
class
twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepContext(version, flow_sid, execution_sid, sid)[source]¶ Bases:
twilio.base.instance_context.InstanceContext-
fetch()[source]¶ Fetch the ExecutionStepInstance
Returns: The fetched ExecutionStepInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance
-
step_context¶ Access the step_context
Returns: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextList Return type: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextList
-
-
class
twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance(version, payload, flow_sid, execution_sid, sid=None)[source]¶ Bases:
twilio.base.instance_resource.InstanceResource-
account_sid¶ Returns: The SID of the Account that created the resource Return type: unicode
-
date_created¶ Returns: The ISO 8601 date and time in GMT when the resource was created Return type: datetime
-
date_updated¶ Returns: The ISO 8601 date and time in GMT when the resource was last updated Return type: datetime
-
execution_sid¶ Returns: The SID of the Execution Return type: unicode
-
fetch()[source]¶ Fetch the ExecutionStepInstance
Returns: The fetched ExecutionStepInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance
-
flow_sid¶ Returns: The SID of the Flow Return type: unicode
-
links¶ Returns: The URLs of related resources Return type: unicode
-
name¶ Returns: The event that caused the Flow to transition to the Step Return type: unicode
-
sid¶ Returns: The unique string that identifies the resource Return type: unicode
-
step_context¶ Access the step_context
Returns: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextList Return type: twilio.rest.studio.v1.flow.execution.execution_step.execution_step_context.ExecutionStepContextList
-
transitioned_from¶ Returns: The Widget that preceded the Widget for the Step Return type: unicode
-
transitioned_to¶ Returns: The Widget that will follow the Widget for the Step Return type: unicode
-
url¶ Returns: The absolute URL of the resource Return type: unicode
-
-
class
twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepList(version, flow_sid, execution_sid)[source]¶ Bases:
twilio.base.list_resource.ListResource-
get(sid)[source]¶ Constructs a ExecutionStepContext
Parameters: sid – The unique string that identifies the resource Returns: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepContext Return type: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepContext
-
get_page(target_url)[source]¶ Retrieve a specific page of ExecutionStepInstance records from the API. Request is executed immediately
Parameters: target_url (str) – API-generated URL for the requested results page Returns: Page of ExecutionStepInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepPage
-
list(limit=None, page_size=None)[source]¶ Lists ExecutionStepInstance records from the API as a list. Unlike stream(), this operation is eager and will load limit records into memory before returning.
Parameters: - limit (int) – Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, list() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance]
-
page(page_token=<object object>, page_number=<object object>, page_size=<object object>)[source]¶ Retrieve a single page of ExecutionStepInstance records from the API. Request is executed immediately
Parameters: Returns: Page of ExecutionStepInstance
Return type: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepPage
-
stream(limit=None, page_size=None)[source]¶ Streams ExecutionStepInstance records from the API as a generator stream. This operation lazily loads records as efficiently as possible until the limit is reached. The results are returned as a generator, so this operation is memory efficient.
Parameters: - limit (int) – Upper limit for the number of records to return. stream() guarantees to never return more than limit. Default is no limit
- page_size (int) – Number of records to fetch per request, when not set will use the default value of 50 records. If no page_size is defined but a limit is defined, stream() will attempt to read the limit with the most efficient page size, i.e. min(limit, 1000)
Returns: Generator that will yield up to limit results
Return type: list[twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance]
-
-
class
twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepPage(version, response, solution)[source]¶ Bases:
twilio.base.page.Page-
get_instance(payload)[source]¶ Build an instance of ExecutionStepInstance
Parameters: payload (dict) – Payload response from the API Returns: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance Return type: twilio.rest.studio.v1.flow.execution.execution_step.ExecutionStepInstance
-