verification_check

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package verification_check contains auto-generated files. DO NOT MODIFY

Package verification_check contains auto-generated files. DO NOT MODIFY

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for managing verification check resources See https://www.twilio.com/docs/verify/api/verification-check for more details

func New

func New(client *client.Client, properties ClientProperties) *Client

New creates a new instance of the verification check client

func (Client) Create

Create creates/ performs a verification check See https://www.twilio.com/docs/verify/api/verification-check#check-a-verification for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information

func (Client) CreateWithContext

CreateWithContext creates/ performs a verification check See https://www.twilio.com/docs/verify/api/verification-check#check-a-verification for more details

type ClientProperties

type ClientProperties struct {
	ServiceSid string
}

ClientProperties are the properties required to manage the verification check resources

type CreateVerificationCheckInput

type CreateVerificationCheckInput struct {
	Amount          *string `form:"Amount,omitempty"`
	Code            string  `validate:"required" form:"Code"`
	Payee           *string `form:"Payee,omitempty"`
	To              *string `form:"To,omitempty"`
	VerificationSid *string `form:"VerificationSid,omitempty"`
}

CreateVerificationCheckInput defines the input fields for performing a new verification check

type CreateVerificationCheckResponse

type CreateVerificationCheckResponse struct {
	AccountSid  string     `json:"account_sid"`
	Amount      *string    `json:"amount,omitempty"`
	Channel     string     `json:"channel"`
	DateCreated time.Time  `json:"date_created"`
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	Payee       *string    `json:"payee,omitempty"`
	ServiceSid  string     `json:"service_sid"`
	Sid         string     `json:"sid"`
	Status      string     `json:"status"`
	To          string     `json:"to"`
	Valid       bool       `json:"valid"`
}

CreateVerificationCheckResponse defines the response fields for the performed verification check

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL