Documentation
¶
Overview ¶
Package flow_validation contains auto-generated files. DO NOT MODIFY
Package flow_validation 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 flow validation resources See https://www.twilio.com/docs/studio/rest-api/v2/flow-validate for more details
func (Client) Validate ¶
func (c Client) Validate(input *ValidateFlowInput) (*ValidateFlowResponse, error)
Validate validate a flow See https://www.twilio.com/docs/studio/rest-api/v2/flow-validate#validate-flow for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) ValidateWithContext ¶
func (c Client) ValidateWithContext(context context.Context, input *ValidateFlowInput) (*ValidateFlowResponse, error)
ValidateWithContext validate a flow See https://www.twilio.com/docs/studio/rest-api/v2/flow-validate#validate-flow for more details
type ValidateFlowInput ¶
type ValidateFlowInput struct { CommitMessage *string `form:"CommitMessage,omitempty"` Definition string `validate:"required" form:"Definition"` FriendlyName string `validate:"required" form:"FriendlyName"` Status string `validate:"required" form:"Status"` }
ValidateFlowInput defines the input fields for validating a flow
type ValidateFlowResponse ¶
type ValidateFlowResponse struct {
Valid bool `json:"valid"`
}
ValidateFlowResponse defines the response fields for the validating a flow