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 ¶
func (c Client) Create(input *CreateVerificationCheckInput) (*CreateVerificationCheckResponse, error)
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 ¶
func (c Client) CreateWithContext(context context.Context, input *CreateVerificationCheckInput) (*CreateVerificationCheckResponse, error)
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