feedback_summary

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package feedback_summary contains auto-generated files. DO NOT MODIFY

Package feedback_summary contains auto-generated files. DO NOT MODIFY

Package feedback_summary 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 a specific feedback summary resource See https://www.twilio.com/docs/voice/api/feedbacksummary-resource for more details

func New

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

New creates a new instance of the feedback summary client

func (Client) Delete

func (c Client) Delete() error

Delete removes a feedback summary resource from the account See https://www.twilio.com/docs/voice/api/feedbacksummary-resource#delete-a-callfeedbacksummary-resource for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information

func (Client) DeleteWithContext

func (c Client) DeleteWithContext(context context.Context) error

DeleteWithContext removes a feedback summary resource from the account See https://www.twilio.com/docs/voice/api/feedbacksummary-resource#delete-a-callfeedbacksummary-resource for more details

func (Client) Fetch

Fetch retrieves a feedback summary resource See https://www.twilio.com/docs/voice/api/feedbacksummary-resource#fetch-a-callfeedbacksummary-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) (*FetchFeedbackSummaryResponse, error)

FetchWithContext retrieves a feedback summary resource See https://www.twilio.com/docs/voice/api/feedbacksummary-resource#fetch-a-callfeedbacksummary-resource for more details

type ClientProperties

type ClientProperties struct {
	AccountSid string
	Sid        string
}

ClientProperties are the properties required to manage the feedback summary resources

type FetchFeedbackSummaryResponse

type FetchFeedbackSummaryResponse struct {
	AccountSid                    string             `json:"account_sid"`
	CallCount                     int                `json:"call_count"`
	CallFeedbackCount             int                `json:"call_feedback_count"`
	DateCreated                   utils.RFC2822Time  `json:"date_created"`
	DateUpdated                   *utils.RFC2822Time `json:"date_updated,omitempty"`
	EndDate                       string             `json:"end_date"`
	IncludeSubaccounts            bool               `json:"include_subaccounts"`
	Issues                        *[]string          `json:"issues,omitempty"`
	QualityScoreAverage           *float64           `json:"quality_score_average,omitempty"`
	QualityScoreMedian            *float64           `json:"quality_score_median,omitempty"`
	QualityScoreStandardDeviation *float64           `json:"quality_score_standard_deviation,omitempty"`
	Sid                           string             `json:"sid"`
	StartDate                     string             `json:"start_date"`
	Status                        string             `json:"status"`
}

FetchFeedbackSummaryResponse defines the response fields for retrieving a feedback summary

Jump to

Keyboard shortcuts

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