twilio.rest.studio.v2 package

Submodules

twilio.rest.studio.v2.flow_validate module

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.studio.v2.flow_validate.FlowValidateInstance(version, payload)[source]

Bases: twilio.base.instance_resource.InstanceResource

class Status[source]

Bases: object

DRAFT = 'draft'
PUBLISHED = 'published'
valid
Returns:Boolean if the flow definition is valid
Return type:bool
class twilio.rest.studio.v2.flow_validate.FlowValidateList(version)[source]

Bases: twilio.base.list_resource.ListResource

update(friendly_name, status, definition, commit_message=<object object>)[source]

Update the FlowValidateInstance

Parameters:
  • friendly_name (unicode) – The string that you assigned to describe the Flow
  • status (FlowValidateInstance.Status) – The status of the Flow
  • definition (dict) – JSON representation of flow definition
  • commit_message (unicode) – Description of change made in the revision
Returns:

The updated FlowValidateInstance

Return type:

twilio.rest.studio.v2.flow_validate.FlowValidateInstance

class twilio.rest.studio.v2.flow_validate.FlowValidatePage(version, response, solution)[source]

Bases: twilio.base.page.Page

get_instance(payload)[source]

Build an instance of FlowValidateInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.studio.v2.flow_validate.FlowValidateInstance
Return type:twilio.rest.studio.v2.flow_validate.FlowValidateInstance

Module contents

This code was generated by / _ _ _| _ _

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.studio.v2.V2(domain)[source]

Bases: twilio.base.version.Version

flow_validate
Return type:twilio.rest.studio.v2.flow_validate.FlowValidateList
flows
Return type:twilio.rest.studio.v2.flow.FlowList