Documentation
¶
Overview ¶
This is an autogenerated file. DO NOT MODIFY
This is an autogenerated file. DO NOT MODIFY
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for managing a specific step resource See https://www.twilio.com/docs/studio/rest-api/v2/step for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the step client
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchStepResponse, error)
Fetch retrieves a step resource See https://www.twilio.com/docs/studio/rest-api/v2/step#fetch-a-step-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchStepResponse, error)
FetchWithContext retrieves a step resource See https://www.twilio.com/docs/studio/rest-api/v2/step#fetch-a-step-resource for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the step resources
type FetchStepResponse ¶
type FetchStepResponse struct { AccountSid string `json:"account_sid"` Context interface{} `json:"context"` DateCreated time.Time `json:"date_created"` DateUpdated *time.Time `json:"date_updated,omitempty"` ExecutionSid string `json:"execution_sid"` FlowSid string `json:"flow_sid"` Name string `json:"name"` Sid string `json:"sid"` TransitionedFrom string `json:"transitioned_from"` TransitionedTo string `json:"transitioned_to"` URL string `json:"url"` }
FetchStepResponse defines the response fields for the retrieved step