Documentation ¶
Overview ¶
Package feedbacks contains auto-generated files. DO NOT MODIFY
Package feedbacks 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 message feedback resources See https://www.twilio.com/docs/sms/api/message-feedback-resource for more details
func New ¶
func New(client *client.Client, properties ClientProperties) *Client
New creates a new instance of the feedbacks client
func (Client) Create ¶
func (c Client) Create(input *CreateFeedbackInput) (*CreateFeedbackResponse, error)
Create creates a new feedback resource See https://www.twilio.com/docs/sms/api/message-feedback-resource#create-a-messagefeedback-resource 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 *CreateFeedbackInput) (*CreateFeedbackResponse, error)
CreateWithContext creates a new feedback resource See https://www.twilio.com/docs/sms/api/message-feedback-resource#create-a-messagefeedback-resource for more details
type ClientProperties ¶
ClientProperties are the properties required to manage the feedbacks resources
type CreateFeedbackInput ¶
type CreateFeedbackInput struct {
Outcome *string `form:"Outcome,omitempty"`
}
CreateFeedbackInput defines input fields for creating a new feedback resource
type CreateFeedbackResponse ¶
type CreateFeedbackResponse struct { AccountSid string `json:"account_sid"` DateCreated utils.RFC2822Time `json:"date_created"` DateUpdated *utils.RFC2822Time `json:"date_updated,omitempty"` MessageSid string `json:"message_sid"` Outcome string `json:"outcome"` Sid string `json:"sid"` }
CreateFeedbackResponse defines the response fields for the created feedback