twilio.rest.verify.v2 package

Submodules

twilio.rest.verify.v2.form module

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

(_)/(_)(_|/| |(/_ v1.0.0 / /
class twilio.rest.verify.v2.form.FormContext(version, form_type)[source]

Bases: twilio.base.instance_context.InstanceContext

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

fetch()[source]

Fetch the FormInstance

Returns:The fetched FormInstance
Return type:twilio.rest.verify.v2.form.FormInstance
class twilio.rest.verify.v2.form.FormInstance(version, payload, form_type=None)[source]

Bases: twilio.base.instance_resource.InstanceResource

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

class FormTypes[source]

Bases: object

FORM_PUSH = 'form-push'
fetch()[source]

Fetch the FormInstance

Returns:The fetched FormInstance
Return type:twilio.rest.verify.v2.form.FormInstance
form_meta
Returns:Additional information for the available forms for this type.
Return type:dict
form_type
Returns:The Type of this Form
Return type:FormInstance.FormTypes
forms
Returns:Object that contains the available forms for this type.
Return type:dict
url
Returns:The URL to access the forms for this type.
Return type:unicode
class twilio.rest.verify.v2.form.FormList(version)[source]

Bases: twilio.base.list_resource.ListResource

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

get(form_type)[source]

Constructs a FormContext

Parameters:form_type – The Type of this Form
Returns:twilio.rest.verify.v2.form.FormContext
Return type:twilio.rest.verify.v2.form.FormContext
class twilio.rest.verify.v2.form.FormPage(version, response, solution)[source]

Bases: twilio.base.page.Page

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

get_instance(payload)[source]

Build an instance of FormInstance

Parameters:payload (dict) – Payload response from the API
Returns:twilio.rest.verify.v2.form.FormInstance
Return type:twilio.rest.verify.v2.form.FormInstance

Module contents

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

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

Bases: twilio.base.version.Version

forms
Return type:twilio.rest.verify.v2.form.FormList
services
Return type:twilio.rest.verify.v2.service.ServiceList