voicemail

package
v0.0.0-...-e2f0fdc Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   DeleteVoicemailMessage deletes a voicemail message
	   A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.
	*/
	DeleteVoicemailMessage(ctx context.Context, params *DeleteVoicemailMessageParams) (*DeleteVoicemailMessageOK, error)
	/*
	   DeleteVoicemailMessages deletes all voicemail messages
	*/
	DeleteVoicemailMessages(ctx context.Context, params *DeleteVoicemailMessagesParams) (*DeleteVoicemailMessagesOK, error)
	/*
	   GetVoicemailGroupMailbox gets the group s mailbox information
	*/
	GetVoicemailGroupMailbox(ctx context.Context, params *GetVoicemailGroupMailboxParams) (*GetVoicemailGroupMailboxOK, error)
	/*
	   GetVoicemailGroupMessages lists voicemail messages
	*/
	GetVoicemailGroupMessages(ctx context.Context, params *GetVoicemailGroupMessagesParams) (*GetVoicemailGroupMessagesOK, error)
	/*
	   GetVoicemailGroupPolicy gets a group s voicemail policy
	*/
	GetVoicemailGroupPolicy(ctx context.Context, params *GetVoicemailGroupPolicyParams) (*GetVoicemailGroupPolicyOK, error)
	/*
	   GetVoicemailMailbox gets the current user s mailbox information
	*/
	GetVoicemailMailbox(ctx context.Context, params *GetVoicemailMailboxParams) (*GetVoicemailMailboxOK, error)
	/*
	   GetVoicemailMeMailbox gets the current user s mailbox information
	*/
	GetVoicemailMeMailbox(ctx context.Context, params *GetVoicemailMeMailboxParams) (*GetVoicemailMeMailboxOK, error)
	/*
	   GetVoicemailMeMessages lists voicemail messages
	*/
	GetVoicemailMeMessages(ctx context.Context, params *GetVoicemailMeMessagesParams) (*GetVoicemailMeMessagesOK, error)
	/*
	   GetVoicemailMePolicy gets the current user s voicemail policy
	*/
	GetVoicemailMePolicy(ctx context.Context, params *GetVoicemailMePolicyParams) (*GetVoicemailMePolicyOK, error)
	/*
	   GetVoicemailMessage gets a voicemail message
	*/
	GetVoicemailMessage(ctx context.Context, params *GetVoicemailMessageParams) (*GetVoicemailMessageOK, error)
	/*
	   GetVoicemailMessageMedia gets media playback URI for this voicemail message
	*/
	GetVoicemailMessageMedia(ctx context.Context, params *GetVoicemailMessageMediaParams) (*GetVoicemailMessageMediaOK, error)
	/*
	   GetVoicemailMessages lists voicemail messages
	*/
	GetVoicemailMessages(ctx context.Context, params *GetVoicemailMessagesParams) (*GetVoicemailMessagesOK, error)
	/*
	   GetVoicemailPolicy gets a policy
	*/
	GetVoicemailPolicy(ctx context.Context, params *GetVoicemailPolicyParams) (*GetVoicemailPolicyOK, error)
	/*
	   GetVoicemailQueueMessages lists voicemail messages
	*/
	GetVoicemailQueueMessages(ctx context.Context, params *GetVoicemailQueueMessagesParams) (*GetVoicemailQueueMessagesOK, error)
	/*
	   GetVoicemailSearch searches voicemails using the q64 value returned from a previous search
	*/
	GetVoicemailSearch(ctx context.Context, params *GetVoicemailSearchParams) (*GetVoicemailSearchOK, error)
	/*
	   GetVoicemailUserpolicy gets a user s voicemail policy
	*/
	GetVoicemailUserpolicy(ctx context.Context, params *GetVoicemailUserpolicyParams) (*GetVoicemailUserpolicyOK, error)
	/*
	   PatchVoicemailGroupPolicy updates a group s voicemail policy
	*/
	PatchVoicemailGroupPolicy(ctx context.Context, params *PatchVoicemailGroupPolicyParams) (*PatchVoicemailGroupPolicyOK, error)
	/*
	   PatchVoicemailMePolicy updates the current user s voicemail policy
	*/
	PatchVoicemailMePolicy(ctx context.Context, params *PatchVoicemailMePolicyParams) (*PatchVoicemailMePolicyOK, error)
	/*
	   PatchVoicemailMessage updates a voicemail message
	   A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.
	*/
	PatchVoicemailMessage(ctx context.Context, params *PatchVoicemailMessageParams) (*PatchVoicemailMessageOK, error)
	/*
	   PatchVoicemailUserpolicy updates a user s voicemail policy
	*/
	PatchVoicemailUserpolicy(ctx context.Context, params *PatchVoicemailUserpolicyParams) (*PatchVoicemailUserpolicyOK, error)
	/*
	   PostVoicemailMessages copies a voicemail message to a user or group
	*/
	PostVoicemailMessages(ctx context.Context, params *PostVoicemailMessagesParams) (*PostVoicemailMessagesOK, error)
	/*
	   PostVoicemailSearch searches voicemails
	*/
	PostVoicemailSearch(ctx context.Context, params *PostVoicemailSearchParams) (*PostVoicemailSearchOK, error)
	/*
	   PutVoicemailMessage updates a voicemail message
	   A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.
	*/
	PutVoicemailMessage(ctx context.Context, params *PutVoicemailMessageParams) (*PutVoicemailMessageOK, error)
	/*
	   PutVoicemailPolicy updates a policy
	*/
	PutVoicemailPolicy(ctx context.Context, params *PutVoicemailPolicyParams) (*PutVoicemailPolicyOK, error)
	/*
	   PutVoicemailUserpolicy updates a user s voicemail policy
	*/
	PutVoicemailUserpolicy(ctx context.Context, params *PutVoicemailUserpolicyParams) (*PutVoicemailUserpolicyOK, error)
}

API is the interface of the voicemail client

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for voicemail API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new voicemail API client.

func (*Client) DeleteVoicemailMessage

func (a *Client) DeleteVoicemailMessage(ctx context.Context, params *DeleteVoicemailMessageParams) (*DeleteVoicemailMessageOK, error)

DeleteVoicemailMessage deletes a voicemail message

A user voicemail can only be deleted by its associated user. A group voicemail can only be deleted by a user that is a member of the group. A queue voicemail can only be deleted by a user with the acd voicemail delete permission.

func (*Client) DeleteVoicemailMessages

func (a *Client) DeleteVoicemailMessages(ctx context.Context, params *DeleteVoicemailMessagesParams) (*DeleteVoicemailMessagesOK, error)

DeleteVoicemailMessages deletes all voicemail messages

func (*Client) GetVoicemailGroupMailbox

func (a *Client) GetVoicemailGroupMailbox(ctx context.Context, params *GetVoicemailGroupMailboxParams) (*GetVoicemailGroupMailboxOK, error)

GetVoicemailGroupMailbox gets the group s mailbox information

func (*Client) GetVoicemailGroupMessages

func (a *Client) GetVoicemailGroupMessages(ctx context.Context, params *GetVoicemailGroupMessagesParams) (*GetVoicemailGroupMessagesOK, error)

GetVoicemailGroupMessages lists voicemail messages

func (*Client) GetVoicemailGroupPolicy

func (a *Client) GetVoicemailGroupPolicy(ctx context.Context, params *GetVoicemailGroupPolicyParams) (*GetVoicemailGroupPolicyOK, error)

GetVoicemailGroupPolicy gets a group s voicemail policy

func (*Client) GetVoicemailMailbox

func (a *Client) GetVoicemailMailbox(ctx context.Context, params *GetVoicemailMailboxParams) (*GetVoicemailMailboxOK, error)

GetVoicemailMailbox gets the current user s mailbox information

func (*Client) GetVoicemailMeMailbox

func (a *Client) GetVoicemailMeMailbox(ctx context.Context, params *GetVoicemailMeMailboxParams) (*GetVoicemailMeMailboxOK, error)

GetVoicemailMeMailbox gets the current user s mailbox information

func (*Client) GetVoicemailMeMessages

func (a *Client) GetVoicemailMeMessages(ctx context.Context, params *GetVoicemailMeMessagesParams) (*GetVoicemailMeMessagesOK, error)

GetVoicemailMeMessages lists voicemail messages

func (*Client) GetVoicemailMePolicy

func (a *Client) GetVoicemailMePolicy(ctx context.Context, params *GetVoicemailMePolicyParams) (*GetVoicemailMePolicyOK, error)

GetVoicemailMePolicy gets the current user s voicemail policy

func (*Client) GetVoicemailMessage

func (a *Client) GetVoicemailMessage(ctx context.Context, params *GetVoicemailMessageParams) (*GetVoicemailMessageOK, error)

GetVoicemailMessage gets a voicemail message

func (*Client) GetVoicemailMessageMedia

func (a *Client) GetVoicemailMessageMedia(ctx context.Context, params *GetVoicemailMessageMediaParams) (*GetVoicemailMessageMediaOK, error)

GetVoicemailMessageMedia gets media playback URI for this voicemail message

func (*Client) GetVoicemailMessages

func (a *Client) GetVoicemailMessages(ctx context.Context, params *GetVoicemailMessagesParams) (*GetVoicemailMessagesOK, error)

GetVoicemailMessages lists voicemail messages

func (*Client) GetVoicemailPolicy

func (a *Client) GetVoicemailPolicy(ctx context.Context, params *GetVoicemailPolicyParams) (*GetVoicemailPolicyOK, error)

GetVoicemailPolicy gets a policy

func (*Client) GetVoicemailQueueMessages

func (a *Client) GetVoicemailQueueMessages(ctx context.Context, params *GetVoicemailQueueMessagesParams) (*GetVoicemailQueueMessagesOK, error)

GetVoicemailQueueMessages lists voicemail messages

func (*Client) GetVoicemailSearch

func (a *Client) GetVoicemailSearch(ctx context.Context, params *GetVoicemailSearchParams) (*GetVoicemailSearchOK, error)

GetVoicemailSearch searches voicemails using the q64 value returned from a previous search

func (*Client) GetVoicemailUserpolicy

func (a *Client) GetVoicemailUserpolicy(ctx context.Context, params *GetVoicemailUserpolicyParams) (*GetVoicemailUserpolicyOK, error)

GetVoicemailUserpolicy gets a user s voicemail policy

func (*Client) PatchVoicemailGroupPolicy

func (a *Client) PatchVoicemailGroupPolicy(ctx context.Context, params *PatchVoicemailGroupPolicyParams) (*PatchVoicemailGroupPolicyOK, error)

PatchVoicemailGroupPolicy updates a group s voicemail policy

func (*Client) PatchVoicemailMePolicy

func (a *Client) PatchVoicemailMePolicy(ctx context.Context, params *PatchVoicemailMePolicyParams) (*PatchVoicemailMePolicyOK, error)

PatchVoicemailMePolicy updates the current user s voicemail policy

func (*Client) PatchVoicemailMessage

func (a *Client) PatchVoicemailMessage(ctx context.Context, params *PatchVoicemailMessageParams) (*PatchVoicemailMessageOK, error)

PatchVoicemailMessage updates a voicemail message

A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.

func (*Client) PatchVoicemailUserpolicy

func (a *Client) PatchVoicemailUserpolicy(ctx context.Context, params *PatchVoicemailUserpolicyParams) (*PatchVoicemailUserpolicyOK, error)

PatchVoicemailUserpolicy updates a user s voicemail policy

func (*Client) PostVoicemailMessages

func (a *Client) PostVoicemailMessages(ctx context.Context, params *PostVoicemailMessagesParams) (*PostVoicemailMessagesOK, error)

PostVoicemailMessages copies a voicemail message to a user or group

func (*Client) PostVoicemailSearch

func (a *Client) PostVoicemailSearch(ctx context.Context, params *PostVoicemailSearchParams) (*PostVoicemailSearchOK, error)

PostVoicemailSearch searches voicemails

func (*Client) PutVoicemailMessage

func (a *Client) PutVoicemailMessage(ctx context.Context, params *PutVoicemailMessageParams) (*PutVoicemailMessageOK, error)

PutVoicemailMessage updates a voicemail message

A user voicemail can only be modified by its associated user. A group voicemail can only be modified by a user that is a member of the group. A queue voicemail can only be modified by a participant of the conversation the voicemail is associated with.

func (*Client) PutVoicemailPolicy

func (a *Client) PutVoicemailPolicy(ctx context.Context, params *PutVoicemailPolicyParams) (*PutVoicemailPolicyOK, error)

PutVoicemailPolicy updates a policy

func (*Client) PutVoicemailUserpolicy

func (a *Client) PutVoicemailUserpolicy(ctx context.Context, params *PutVoicemailUserpolicyParams) (*PutVoicemailUserpolicyOK, error)

PutVoicemailUserpolicy updates a user s voicemail policy

type DeleteVoicemailMessageBadRequest

type DeleteVoicemailMessageBadRequest struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewDeleteVoicemailMessageBadRequest

func NewDeleteVoicemailMessageBadRequest() *DeleteVoicemailMessageBadRequest

NewDeleteVoicemailMessageBadRequest creates a DeleteVoicemailMessageBadRequest with default headers values

func (*DeleteVoicemailMessageBadRequest) Error

func (*DeleteVoicemailMessageBadRequest) GetPayload

func (*DeleteVoicemailMessageBadRequest) IsClientError

func (o *DeleteVoicemailMessageBadRequest) IsClientError() bool

IsClientError returns true when this delete voicemail message bad request response has a 4xx status code

func (*DeleteVoicemailMessageBadRequest) IsCode

func (o *DeleteVoicemailMessageBadRequest) IsCode(code int) bool

IsCode returns true when this delete voicemail message bad request response a status code equal to that given

func (*DeleteVoicemailMessageBadRequest) IsRedirect

func (o *DeleteVoicemailMessageBadRequest) IsRedirect() bool

IsRedirect returns true when this delete voicemail message bad request response has a 3xx status code

func (*DeleteVoicemailMessageBadRequest) IsServerError

func (o *DeleteVoicemailMessageBadRequest) IsServerError() bool

IsServerError returns true when this delete voicemail message bad request response has a 5xx status code

func (*DeleteVoicemailMessageBadRequest) IsSuccess

func (o *DeleteVoicemailMessageBadRequest) IsSuccess() bool

IsSuccess returns true when this delete voicemail message bad request response has a 2xx status code

func (*DeleteVoicemailMessageBadRequest) String

type DeleteVoicemailMessageForbidden

type DeleteVoicemailMessageForbidden struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewDeleteVoicemailMessageForbidden

func NewDeleteVoicemailMessageForbidden() *DeleteVoicemailMessageForbidden

NewDeleteVoicemailMessageForbidden creates a DeleteVoicemailMessageForbidden with default headers values

func (*DeleteVoicemailMessageForbidden) Error

func (*DeleteVoicemailMessageForbidden) GetPayload

func (*DeleteVoicemailMessageForbidden) IsClientError

func (o *DeleteVoicemailMessageForbidden) IsClientError() bool

IsClientError returns true when this delete voicemail message forbidden response has a 4xx status code

func (*DeleteVoicemailMessageForbidden) IsCode

func (o *DeleteVoicemailMessageForbidden) IsCode(code int) bool

IsCode returns true when this delete voicemail message forbidden response a status code equal to that given

func (*DeleteVoicemailMessageForbidden) IsRedirect

func (o *DeleteVoicemailMessageForbidden) IsRedirect() bool

IsRedirect returns true when this delete voicemail message forbidden response has a 3xx status code

func (*DeleteVoicemailMessageForbidden) IsServerError

func (o *DeleteVoicemailMessageForbidden) IsServerError() bool

IsServerError returns true when this delete voicemail message forbidden response has a 5xx status code

func (*DeleteVoicemailMessageForbidden) IsSuccess

func (o *DeleteVoicemailMessageForbidden) IsSuccess() bool

IsSuccess returns true when this delete voicemail message forbidden response has a 2xx status code

func (*DeleteVoicemailMessageForbidden) String

type DeleteVoicemailMessageGatewayTimeout

type DeleteVoicemailMessageGatewayTimeout struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewDeleteVoicemailMessageGatewayTimeout

func NewDeleteVoicemailMessageGatewayTimeout() *DeleteVoicemailMessageGatewayTimeout

NewDeleteVoicemailMessageGatewayTimeout creates a DeleteVoicemailMessageGatewayTimeout with default headers values

func (*DeleteVoicemailMessageGatewayTimeout) Error

func (*DeleteVoicemailMessageGatewayTimeout) GetPayload

func (*DeleteVoicemailMessageGatewayTimeout) IsClientError

func (o *DeleteVoicemailMessageGatewayTimeout) IsClientError() bool

IsClientError returns true when this delete voicemail message gateway timeout response has a 4xx status code

func (*DeleteVoicemailMessageGatewayTimeout) IsCode

IsCode returns true when this delete voicemail message gateway timeout response a status code equal to that given

func (*DeleteVoicemailMessageGatewayTimeout) IsRedirect

IsRedirect returns true when this delete voicemail message gateway timeout response has a 3xx status code

func (*DeleteVoicemailMessageGatewayTimeout) IsServerError

func (o *DeleteVoicemailMessageGatewayTimeout) IsServerError() bool

IsServerError returns true when this delete voicemail message gateway timeout response has a 5xx status code

func (*DeleteVoicemailMessageGatewayTimeout) IsSuccess

IsSuccess returns true when this delete voicemail message gateway timeout response has a 2xx status code

func (*DeleteVoicemailMessageGatewayTimeout) String

type DeleteVoicemailMessageInternalServerError

type DeleteVoicemailMessageInternalServerError struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewDeleteVoicemailMessageInternalServerError

func NewDeleteVoicemailMessageInternalServerError() *DeleteVoicemailMessageInternalServerError

NewDeleteVoicemailMessageInternalServerError creates a DeleteVoicemailMessageInternalServerError with default headers values

func (*DeleteVoicemailMessageInternalServerError) Error

func (*DeleteVoicemailMessageInternalServerError) GetPayload

func (*DeleteVoicemailMessageInternalServerError) IsClientError

IsClientError returns true when this delete voicemail message internal server error response has a 4xx status code

func (*DeleteVoicemailMessageInternalServerError) IsCode

IsCode returns true when this delete voicemail message internal server error response a status code equal to that given

func (*DeleteVoicemailMessageInternalServerError) IsRedirect

IsRedirect returns true when this delete voicemail message internal server error response has a 3xx status code

func (*DeleteVoicemailMessageInternalServerError) IsServerError

IsServerError returns true when this delete voicemail message internal server error response has a 5xx status code

func (*DeleteVoicemailMessageInternalServerError) IsSuccess

IsSuccess returns true when this delete voicemail message internal server error response has a 2xx status code

func (*DeleteVoicemailMessageInternalServerError) String

type DeleteVoicemailMessageNotFound

type DeleteVoicemailMessageNotFound struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewDeleteVoicemailMessageNotFound

func NewDeleteVoicemailMessageNotFound() *DeleteVoicemailMessageNotFound

NewDeleteVoicemailMessageNotFound creates a DeleteVoicemailMessageNotFound with default headers values

func (*DeleteVoicemailMessageNotFound) Error

func (*DeleteVoicemailMessageNotFound) GetPayload

func (*DeleteVoicemailMessageNotFound) IsClientError

func (o *DeleteVoicemailMessageNotFound) IsClientError() bool

IsClientError returns true when this delete voicemail message not found response has a 4xx status code

func (*DeleteVoicemailMessageNotFound) IsCode

func (o *DeleteVoicemailMessageNotFound) IsCode(code int) bool

IsCode returns true when this delete voicemail message not found response a status code equal to that given

func (*DeleteVoicemailMessageNotFound) IsRedirect

func (o *DeleteVoicemailMessageNotFound) IsRedirect() bool

IsRedirect returns true when this delete voicemail message not found response has a 3xx status code

func (*DeleteVoicemailMessageNotFound) IsServerError

func (o *DeleteVoicemailMessageNotFound) IsServerError() bool

IsServerError returns true when this delete voicemail message not found response has a 5xx status code

func (*DeleteVoicemailMessageNotFound) IsSuccess

func (o *DeleteVoicemailMessageNotFound) IsSuccess() bool

IsSuccess returns true when this delete voicemail message not found response has a 2xx status code

func (*DeleteVoicemailMessageNotFound) String

type DeleteVoicemailMessageOK

type DeleteVoicemailMessageOK struct {
}

DeleteVoicemailMessageOK describes a response with status code 200, with default header values.

Operation was successful.

func NewDeleteVoicemailMessageOK

func NewDeleteVoicemailMessageOK() *DeleteVoicemailMessageOK

NewDeleteVoicemailMessageOK creates a DeleteVoicemailMessageOK with default headers values

func (*DeleteVoicemailMessageOK) Error

func (o *DeleteVoicemailMessageOK) Error() string

func (*DeleteVoicemailMessageOK) IsClientError

func (o *DeleteVoicemailMessageOK) IsClientError() bool

IsClientError returns true when this delete voicemail message o k response has a 4xx status code

func (*DeleteVoicemailMessageOK) IsCode

func (o *DeleteVoicemailMessageOK) IsCode(code int) bool

IsCode returns true when this delete voicemail message o k response a status code equal to that given

func (*DeleteVoicemailMessageOK) IsRedirect

func (o *DeleteVoicemailMessageOK) IsRedirect() bool

IsRedirect returns true when this delete voicemail message o k response has a 3xx status code

func (*DeleteVoicemailMessageOK) IsServerError

func (o *DeleteVoicemailMessageOK) IsServerError() bool

IsServerError returns true when this delete voicemail message o k response has a 5xx status code

func (*DeleteVoicemailMessageOK) IsSuccess

func (o *DeleteVoicemailMessageOK) IsSuccess() bool

IsSuccess returns true when this delete voicemail message o k response has a 2xx status code

func (*DeleteVoicemailMessageOK) String

func (o *DeleteVoicemailMessageOK) String() string

type DeleteVoicemailMessageParams

type DeleteVoicemailMessageParams struct {

	/* MessageID.

	   Message ID
	*/
	MessageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVoicemailMessageParams contains all the parameters to send to the API endpoint

for the delete voicemail message operation.

Typically these are written to a http.Request.

func NewDeleteVoicemailMessageParams

func NewDeleteVoicemailMessageParams() *DeleteVoicemailMessageParams

NewDeleteVoicemailMessageParams creates a new DeleteVoicemailMessageParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteVoicemailMessageParamsWithContext

func NewDeleteVoicemailMessageParamsWithContext(ctx context.Context) *DeleteVoicemailMessageParams

NewDeleteVoicemailMessageParamsWithContext creates a new DeleteVoicemailMessageParams object with the ability to set a context for a request.

func NewDeleteVoicemailMessageParamsWithHTTPClient

func NewDeleteVoicemailMessageParamsWithHTTPClient(client *http.Client) *DeleteVoicemailMessageParams

NewDeleteVoicemailMessageParamsWithHTTPClient creates a new DeleteVoicemailMessageParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVoicemailMessageParamsWithTimeout

func NewDeleteVoicemailMessageParamsWithTimeout(timeout time.Duration) *DeleteVoicemailMessageParams

NewDeleteVoicemailMessageParamsWithTimeout creates a new DeleteVoicemailMessageParams object with the ability to set a timeout on a request.

func (*DeleteVoicemailMessageParams) SetContext

func (o *DeleteVoicemailMessageParams) SetContext(ctx context.Context)

SetContext adds the context to the delete voicemail message params

func (*DeleteVoicemailMessageParams) SetDefaults

func (o *DeleteVoicemailMessageParams) SetDefaults()

SetDefaults hydrates default values in the delete voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVoicemailMessageParams) SetHTTPClient

func (o *DeleteVoicemailMessageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete voicemail message params

func (*DeleteVoicemailMessageParams) SetMessageID

func (o *DeleteVoicemailMessageParams) SetMessageID(messageID string)

SetMessageID adds the messageId to the delete voicemail message params

func (*DeleteVoicemailMessageParams) SetTimeout

func (o *DeleteVoicemailMessageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete voicemail message params

func (*DeleteVoicemailMessageParams) WithContext

WithContext adds the context to the delete voicemail message params

func (*DeleteVoicemailMessageParams) WithDefaults

WithDefaults hydrates default values in the delete voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVoicemailMessageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete voicemail message params

func (*DeleteVoicemailMessageParams) WithMessageID

WithMessageID adds the messageID to the delete voicemail message params

func (*DeleteVoicemailMessageParams) WithTimeout

WithTimeout adds the timeout to the delete voicemail message params

func (*DeleteVoicemailMessageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVoicemailMessageReader

type DeleteVoicemailMessageReader struct {
	// contains filtered or unexported fields
}

DeleteVoicemailMessageReader is a Reader for the DeleteVoicemailMessage structure.

func (*DeleteVoicemailMessageReader) ReadResponse

func (o *DeleteVoicemailMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVoicemailMessageRequestEntityTooLarge

type DeleteVoicemailMessageRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewDeleteVoicemailMessageRequestEntityTooLarge

func NewDeleteVoicemailMessageRequestEntityTooLarge() *DeleteVoicemailMessageRequestEntityTooLarge

NewDeleteVoicemailMessageRequestEntityTooLarge creates a DeleteVoicemailMessageRequestEntityTooLarge with default headers values

func (*DeleteVoicemailMessageRequestEntityTooLarge) Error

func (*DeleteVoicemailMessageRequestEntityTooLarge) GetPayload

func (*DeleteVoicemailMessageRequestEntityTooLarge) IsClientError

IsClientError returns true when this delete voicemail message request entity too large response has a 4xx status code

func (*DeleteVoicemailMessageRequestEntityTooLarge) IsCode

IsCode returns true when this delete voicemail message request entity too large response a status code equal to that given

func (*DeleteVoicemailMessageRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete voicemail message request entity too large response has a 3xx status code

func (*DeleteVoicemailMessageRequestEntityTooLarge) IsServerError

IsServerError returns true when this delete voicemail message request entity too large response has a 5xx status code

func (*DeleteVoicemailMessageRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete voicemail message request entity too large response has a 2xx status code

func (*DeleteVoicemailMessageRequestEntityTooLarge) String

type DeleteVoicemailMessageRequestTimeout

type DeleteVoicemailMessageRequestTimeout struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewDeleteVoicemailMessageRequestTimeout

func NewDeleteVoicemailMessageRequestTimeout() *DeleteVoicemailMessageRequestTimeout

NewDeleteVoicemailMessageRequestTimeout creates a DeleteVoicemailMessageRequestTimeout with default headers values

func (*DeleteVoicemailMessageRequestTimeout) Error

func (*DeleteVoicemailMessageRequestTimeout) GetPayload

func (*DeleteVoicemailMessageRequestTimeout) IsClientError

func (o *DeleteVoicemailMessageRequestTimeout) IsClientError() bool

IsClientError returns true when this delete voicemail message request timeout response has a 4xx status code

func (*DeleteVoicemailMessageRequestTimeout) IsCode

IsCode returns true when this delete voicemail message request timeout response a status code equal to that given

func (*DeleteVoicemailMessageRequestTimeout) IsRedirect

IsRedirect returns true when this delete voicemail message request timeout response has a 3xx status code

func (*DeleteVoicemailMessageRequestTimeout) IsServerError

func (o *DeleteVoicemailMessageRequestTimeout) IsServerError() bool

IsServerError returns true when this delete voicemail message request timeout response has a 5xx status code

func (*DeleteVoicemailMessageRequestTimeout) IsSuccess

IsSuccess returns true when this delete voicemail message request timeout response has a 2xx status code

func (*DeleteVoicemailMessageRequestTimeout) String

type DeleteVoicemailMessageServiceUnavailable

type DeleteVoicemailMessageServiceUnavailable struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewDeleteVoicemailMessageServiceUnavailable

func NewDeleteVoicemailMessageServiceUnavailable() *DeleteVoicemailMessageServiceUnavailable

NewDeleteVoicemailMessageServiceUnavailable creates a DeleteVoicemailMessageServiceUnavailable with default headers values

func (*DeleteVoicemailMessageServiceUnavailable) Error

func (*DeleteVoicemailMessageServiceUnavailable) GetPayload

func (*DeleteVoicemailMessageServiceUnavailable) IsClientError

IsClientError returns true when this delete voicemail message service unavailable response has a 4xx status code

func (*DeleteVoicemailMessageServiceUnavailable) IsCode

IsCode returns true when this delete voicemail message service unavailable response a status code equal to that given

func (*DeleteVoicemailMessageServiceUnavailable) IsRedirect

IsRedirect returns true when this delete voicemail message service unavailable response has a 3xx status code

func (*DeleteVoicemailMessageServiceUnavailable) IsServerError

IsServerError returns true when this delete voicemail message service unavailable response has a 5xx status code

func (*DeleteVoicemailMessageServiceUnavailable) IsSuccess

IsSuccess returns true when this delete voicemail message service unavailable response has a 2xx status code

func (*DeleteVoicemailMessageServiceUnavailable) String

type DeleteVoicemailMessageTooManyRequests

type DeleteVoicemailMessageTooManyRequests struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewDeleteVoicemailMessageTooManyRequests

func NewDeleteVoicemailMessageTooManyRequests() *DeleteVoicemailMessageTooManyRequests

NewDeleteVoicemailMessageTooManyRequests creates a DeleteVoicemailMessageTooManyRequests with default headers values

func (*DeleteVoicemailMessageTooManyRequests) Error

func (*DeleteVoicemailMessageTooManyRequests) GetPayload

func (*DeleteVoicemailMessageTooManyRequests) IsClientError

func (o *DeleteVoicemailMessageTooManyRequests) IsClientError() bool

IsClientError returns true when this delete voicemail message too many requests response has a 4xx status code

func (*DeleteVoicemailMessageTooManyRequests) IsCode

IsCode returns true when this delete voicemail message too many requests response a status code equal to that given

func (*DeleteVoicemailMessageTooManyRequests) IsRedirect

IsRedirect returns true when this delete voicemail message too many requests response has a 3xx status code

func (*DeleteVoicemailMessageTooManyRequests) IsServerError

func (o *DeleteVoicemailMessageTooManyRequests) IsServerError() bool

IsServerError returns true when this delete voicemail message too many requests response has a 5xx status code

func (*DeleteVoicemailMessageTooManyRequests) IsSuccess

IsSuccess returns true when this delete voicemail message too many requests response has a 2xx status code

func (*DeleteVoicemailMessageTooManyRequests) String

type DeleteVoicemailMessageUnauthorized

type DeleteVoicemailMessageUnauthorized struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewDeleteVoicemailMessageUnauthorized

func NewDeleteVoicemailMessageUnauthorized() *DeleteVoicemailMessageUnauthorized

NewDeleteVoicemailMessageUnauthorized creates a DeleteVoicemailMessageUnauthorized with default headers values

func (*DeleteVoicemailMessageUnauthorized) Error

func (*DeleteVoicemailMessageUnauthorized) GetPayload

func (*DeleteVoicemailMessageUnauthorized) IsClientError

func (o *DeleteVoicemailMessageUnauthorized) IsClientError() bool

IsClientError returns true when this delete voicemail message unauthorized response has a 4xx status code

func (*DeleteVoicemailMessageUnauthorized) IsCode

IsCode returns true when this delete voicemail message unauthorized response a status code equal to that given

func (*DeleteVoicemailMessageUnauthorized) IsRedirect

func (o *DeleteVoicemailMessageUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete voicemail message unauthorized response has a 3xx status code

func (*DeleteVoicemailMessageUnauthorized) IsServerError

func (o *DeleteVoicemailMessageUnauthorized) IsServerError() bool

IsServerError returns true when this delete voicemail message unauthorized response has a 5xx status code

func (*DeleteVoicemailMessageUnauthorized) IsSuccess

IsSuccess returns true when this delete voicemail message unauthorized response has a 2xx status code

func (*DeleteVoicemailMessageUnauthorized) String

type DeleteVoicemailMessageUnsupportedMediaType

type DeleteVoicemailMessageUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessageUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewDeleteVoicemailMessageUnsupportedMediaType

func NewDeleteVoicemailMessageUnsupportedMediaType() *DeleteVoicemailMessageUnsupportedMediaType

NewDeleteVoicemailMessageUnsupportedMediaType creates a DeleteVoicemailMessageUnsupportedMediaType with default headers values

func (*DeleteVoicemailMessageUnsupportedMediaType) Error

func (*DeleteVoicemailMessageUnsupportedMediaType) GetPayload

func (*DeleteVoicemailMessageUnsupportedMediaType) IsClientError

IsClientError returns true when this delete voicemail message unsupported media type response has a 4xx status code

func (*DeleteVoicemailMessageUnsupportedMediaType) IsCode

IsCode returns true when this delete voicemail message unsupported media type response a status code equal to that given

func (*DeleteVoicemailMessageUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete voicemail message unsupported media type response has a 3xx status code

func (*DeleteVoicemailMessageUnsupportedMediaType) IsServerError

IsServerError returns true when this delete voicemail message unsupported media type response has a 5xx status code

func (*DeleteVoicemailMessageUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete voicemail message unsupported media type response has a 2xx status code

func (*DeleteVoicemailMessageUnsupportedMediaType) String

type DeleteVoicemailMessagesBadRequest

type DeleteVoicemailMessagesBadRequest struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewDeleteVoicemailMessagesBadRequest

func NewDeleteVoicemailMessagesBadRequest() *DeleteVoicemailMessagesBadRequest

NewDeleteVoicemailMessagesBadRequest creates a DeleteVoicemailMessagesBadRequest with default headers values

func (*DeleteVoicemailMessagesBadRequest) Error

func (*DeleteVoicemailMessagesBadRequest) GetPayload

func (*DeleteVoicemailMessagesBadRequest) IsClientError

func (o *DeleteVoicemailMessagesBadRequest) IsClientError() bool

IsClientError returns true when this delete voicemail messages bad request response has a 4xx status code

func (*DeleteVoicemailMessagesBadRequest) IsCode

func (o *DeleteVoicemailMessagesBadRequest) IsCode(code int) bool

IsCode returns true when this delete voicemail messages bad request response a status code equal to that given

func (*DeleteVoicemailMessagesBadRequest) IsRedirect

func (o *DeleteVoicemailMessagesBadRequest) IsRedirect() bool

IsRedirect returns true when this delete voicemail messages bad request response has a 3xx status code

func (*DeleteVoicemailMessagesBadRequest) IsServerError

func (o *DeleteVoicemailMessagesBadRequest) IsServerError() bool

IsServerError returns true when this delete voicemail messages bad request response has a 5xx status code

func (*DeleteVoicemailMessagesBadRequest) IsSuccess

func (o *DeleteVoicemailMessagesBadRequest) IsSuccess() bool

IsSuccess returns true when this delete voicemail messages bad request response has a 2xx status code

func (*DeleteVoicemailMessagesBadRequest) String

type DeleteVoicemailMessagesForbidden

type DeleteVoicemailMessagesForbidden struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewDeleteVoicemailMessagesForbidden

func NewDeleteVoicemailMessagesForbidden() *DeleteVoicemailMessagesForbidden

NewDeleteVoicemailMessagesForbidden creates a DeleteVoicemailMessagesForbidden with default headers values

func (*DeleteVoicemailMessagesForbidden) Error

func (*DeleteVoicemailMessagesForbidden) GetPayload

func (*DeleteVoicemailMessagesForbidden) IsClientError

func (o *DeleteVoicemailMessagesForbidden) IsClientError() bool

IsClientError returns true when this delete voicemail messages forbidden response has a 4xx status code

func (*DeleteVoicemailMessagesForbidden) IsCode

func (o *DeleteVoicemailMessagesForbidden) IsCode(code int) bool

IsCode returns true when this delete voicemail messages forbidden response a status code equal to that given

func (*DeleteVoicemailMessagesForbidden) IsRedirect

func (o *DeleteVoicemailMessagesForbidden) IsRedirect() bool

IsRedirect returns true when this delete voicemail messages forbidden response has a 3xx status code

func (*DeleteVoicemailMessagesForbidden) IsServerError

func (o *DeleteVoicemailMessagesForbidden) IsServerError() bool

IsServerError returns true when this delete voicemail messages forbidden response has a 5xx status code

func (*DeleteVoicemailMessagesForbidden) IsSuccess

func (o *DeleteVoicemailMessagesForbidden) IsSuccess() bool

IsSuccess returns true when this delete voicemail messages forbidden response has a 2xx status code

func (*DeleteVoicemailMessagesForbidden) String

type DeleteVoicemailMessagesGatewayTimeout

type DeleteVoicemailMessagesGatewayTimeout struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewDeleteVoicemailMessagesGatewayTimeout

func NewDeleteVoicemailMessagesGatewayTimeout() *DeleteVoicemailMessagesGatewayTimeout

NewDeleteVoicemailMessagesGatewayTimeout creates a DeleteVoicemailMessagesGatewayTimeout with default headers values

func (*DeleteVoicemailMessagesGatewayTimeout) Error

func (*DeleteVoicemailMessagesGatewayTimeout) GetPayload

func (*DeleteVoicemailMessagesGatewayTimeout) IsClientError

func (o *DeleteVoicemailMessagesGatewayTimeout) IsClientError() bool

IsClientError returns true when this delete voicemail messages gateway timeout response has a 4xx status code

func (*DeleteVoicemailMessagesGatewayTimeout) IsCode

IsCode returns true when this delete voicemail messages gateway timeout response a status code equal to that given

func (*DeleteVoicemailMessagesGatewayTimeout) IsRedirect

IsRedirect returns true when this delete voicemail messages gateway timeout response has a 3xx status code

func (*DeleteVoicemailMessagesGatewayTimeout) IsServerError

func (o *DeleteVoicemailMessagesGatewayTimeout) IsServerError() bool

IsServerError returns true when this delete voicemail messages gateway timeout response has a 5xx status code

func (*DeleteVoicemailMessagesGatewayTimeout) IsSuccess

IsSuccess returns true when this delete voicemail messages gateway timeout response has a 2xx status code

func (*DeleteVoicemailMessagesGatewayTimeout) String

type DeleteVoicemailMessagesInternalServerError

type DeleteVoicemailMessagesInternalServerError struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewDeleteVoicemailMessagesInternalServerError

func NewDeleteVoicemailMessagesInternalServerError() *DeleteVoicemailMessagesInternalServerError

NewDeleteVoicemailMessagesInternalServerError creates a DeleteVoicemailMessagesInternalServerError with default headers values

func (*DeleteVoicemailMessagesInternalServerError) Error

func (*DeleteVoicemailMessagesInternalServerError) GetPayload

func (*DeleteVoicemailMessagesInternalServerError) IsClientError

IsClientError returns true when this delete voicemail messages internal server error response has a 4xx status code

func (*DeleteVoicemailMessagesInternalServerError) IsCode

IsCode returns true when this delete voicemail messages internal server error response a status code equal to that given

func (*DeleteVoicemailMessagesInternalServerError) IsRedirect

IsRedirect returns true when this delete voicemail messages internal server error response has a 3xx status code

func (*DeleteVoicemailMessagesInternalServerError) IsServerError

IsServerError returns true when this delete voicemail messages internal server error response has a 5xx status code

func (*DeleteVoicemailMessagesInternalServerError) IsSuccess

IsSuccess returns true when this delete voicemail messages internal server error response has a 2xx status code

func (*DeleteVoicemailMessagesInternalServerError) String

type DeleteVoicemailMessagesNotFound

type DeleteVoicemailMessagesNotFound struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewDeleteVoicemailMessagesNotFound

func NewDeleteVoicemailMessagesNotFound() *DeleteVoicemailMessagesNotFound

NewDeleteVoicemailMessagesNotFound creates a DeleteVoicemailMessagesNotFound with default headers values

func (*DeleteVoicemailMessagesNotFound) Error

func (*DeleteVoicemailMessagesNotFound) GetPayload

func (*DeleteVoicemailMessagesNotFound) IsClientError

func (o *DeleteVoicemailMessagesNotFound) IsClientError() bool

IsClientError returns true when this delete voicemail messages not found response has a 4xx status code

func (*DeleteVoicemailMessagesNotFound) IsCode

func (o *DeleteVoicemailMessagesNotFound) IsCode(code int) bool

IsCode returns true when this delete voicemail messages not found response a status code equal to that given

func (*DeleteVoicemailMessagesNotFound) IsRedirect

func (o *DeleteVoicemailMessagesNotFound) IsRedirect() bool

IsRedirect returns true when this delete voicemail messages not found response has a 3xx status code

func (*DeleteVoicemailMessagesNotFound) IsServerError

func (o *DeleteVoicemailMessagesNotFound) IsServerError() bool

IsServerError returns true when this delete voicemail messages not found response has a 5xx status code

func (*DeleteVoicemailMessagesNotFound) IsSuccess

func (o *DeleteVoicemailMessagesNotFound) IsSuccess() bool

IsSuccess returns true when this delete voicemail messages not found response has a 2xx status code

func (*DeleteVoicemailMessagesNotFound) String

type DeleteVoicemailMessagesOK

type DeleteVoicemailMessagesOK struct {
}

DeleteVoicemailMessagesOK describes a response with status code 200, with default header values.

Operation was successful.

func NewDeleteVoicemailMessagesOK

func NewDeleteVoicemailMessagesOK() *DeleteVoicemailMessagesOK

NewDeleteVoicemailMessagesOK creates a DeleteVoicemailMessagesOK with default headers values

func (*DeleteVoicemailMessagesOK) Error

func (o *DeleteVoicemailMessagesOK) Error() string

func (*DeleteVoicemailMessagesOK) IsClientError

func (o *DeleteVoicemailMessagesOK) IsClientError() bool

IsClientError returns true when this delete voicemail messages o k response has a 4xx status code

func (*DeleteVoicemailMessagesOK) IsCode

func (o *DeleteVoicemailMessagesOK) IsCode(code int) bool

IsCode returns true when this delete voicemail messages o k response a status code equal to that given

func (*DeleteVoicemailMessagesOK) IsRedirect

func (o *DeleteVoicemailMessagesOK) IsRedirect() bool

IsRedirect returns true when this delete voicemail messages o k response has a 3xx status code

func (*DeleteVoicemailMessagesOK) IsServerError

func (o *DeleteVoicemailMessagesOK) IsServerError() bool

IsServerError returns true when this delete voicemail messages o k response has a 5xx status code

func (*DeleteVoicemailMessagesOK) IsSuccess

func (o *DeleteVoicemailMessagesOK) IsSuccess() bool

IsSuccess returns true when this delete voicemail messages o k response has a 2xx status code

func (*DeleteVoicemailMessagesOK) String

func (o *DeleteVoicemailMessagesOK) String() string

type DeleteVoicemailMessagesParams

type DeleteVoicemailMessagesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteVoicemailMessagesParams contains all the parameters to send to the API endpoint

for the delete voicemail messages operation.

Typically these are written to a http.Request.

func NewDeleteVoicemailMessagesParams

func NewDeleteVoicemailMessagesParams() *DeleteVoicemailMessagesParams

NewDeleteVoicemailMessagesParams creates a new DeleteVoicemailMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteVoicemailMessagesParamsWithContext

func NewDeleteVoicemailMessagesParamsWithContext(ctx context.Context) *DeleteVoicemailMessagesParams

NewDeleteVoicemailMessagesParamsWithContext creates a new DeleteVoicemailMessagesParams object with the ability to set a context for a request.

func NewDeleteVoicemailMessagesParamsWithHTTPClient

func NewDeleteVoicemailMessagesParamsWithHTTPClient(client *http.Client) *DeleteVoicemailMessagesParams

NewDeleteVoicemailMessagesParamsWithHTTPClient creates a new DeleteVoicemailMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVoicemailMessagesParamsWithTimeout

func NewDeleteVoicemailMessagesParamsWithTimeout(timeout time.Duration) *DeleteVoicemailMessagesParams

NewDeleteVoicemailMessagesParamsWithTimeout creates a new DeleteVoicemailMessagesParams object with the ability to set a timeout on a request.

func (*DeleteVoicemailMessagesParams) SetContext

func (o *DeleteVoicemailMessagesParams) SetContext(ctx context.Context)

SetContext adds the context to the delete voicemail messages params

func (*DeleteVoicemailMessagesParams) SetDefaults

func (o *DeleteVoicemailMessagesParams) SetDefaults()

SetDefaults hydrates default values in the delete voicemail messages params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVoicemailMessagesParams) SetHTTPClient

func (o *DeleteVoicemailMessagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete voicemail messages params

func (*DeleteVoicemailMessagesParams) SetTimeout

func (o *DeleteVoicemailMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete voicemail messages params

func (*DeleteVoicemailMessagesParams) WithContext

WithContext adds the context to the delete voicemail messages params

func (*DeleteVoicemailMessagesParams) WithDefaults

WithDefaults hydrates default values in the delete voicemail messages params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteVoicemailMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete voicemail messages params

func (*DeleteVoicemailMessagesParams) WithTimeout

WithTimeout adds the timeout to the delete voicemail messages params

func (*DeleteVoicemailMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVoicemailMessagesReader

type DeleteVoicemailMessagesReader struct {
	// contains filtered or unexported fields
}

DeleteVoicemailMessagesReader is a Reader for the DeleteVoicemailMessages structure.

func (*DeleteVoicemailMessagesReader) ReadResponse

func (o *DeleteVoicemailMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVoicemailMessagesRequestEntityTooLarge

type DeleteVoicemailMessagesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewDeleteVoicemailMessagesRequestEntityTooLarge

func NewDeleteVoicemailMessagesRequestEntityTooLarge() *DeleteVoicemailMessagesRequestEntityTooLarge

NewDeleteVoicemailMessagesRequestEntityTooLarge creates a DeleteVoicemailMessagesRequestEntityTooLarge with default headers values

func (*DeleteVoicemailMessagesRequestEntityTooLarge) Error

func (*DeleteVoicemailMessagesRequestEntityTooLarge) GetPayload

func (*DeleteVoicemailMessagesRequestEntityTooLarge) IsClientError

IsClientError returns true when this delete voicemail messages request entity too large response has a 4xx status code

func (*DeleteVoicemailMessagesRequestEntityTooLarge) IsCode

IsCode returns true when this delete voicemail messages request entity too large response a status code equal to that given

func (*DeleteVoicemailMessagesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete voicemail messages request entity too large response has a 3xx status code

func (*DeleteVoicemailMessagesRequestEntityTooLarge) IsServerError

IsServerError returns true when this delete voicemail messages request entity too large response has a 5xx status code

func (*DeleteVoicemailMessagesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete voicemail messages request entity too large response has a 2xx status code

func (*DeleteVoicemailMessagesRequestEntityTooLarge) String

type DeleteVoicemailMessagesRequestTimeout

type DeleteVoicemailMessagesRequestTimeout struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewDeleteVoicemailMessagesRequestTimeout

func NewDeleteVoicemailMessagesRequestTimeout() *DeleteVoicemailMessagesRequestTimeout

NewDeleteVoicemailMessagesRequestTimeout creates a DeleteVoicemailMessagesRequestTimeout with default headers values

func (*DeleteVoicemailMessagesRequestTimeout) Error

func (*DeleteVoicemailMessagesRequestTimeout) GetPayload

func (*DeleteVoicemailMessagesRequestTimeout) IsClientError

func (o *DeleteVoicemailMessagesRequestTimeout) IsClientError() bool

IsClientError returns true when this delete voicemail messages request timeout response has a 4xx status code

func (*DeleteVoicemailMessagesRequestTimeout) IsCode

IsCode returns true when this delete voicemail messages request timeout response a status code equal to that given

func (*DeleteVoicemailMessagesRequestTimeout) IsRedirect

IsRedirect returns true when this delete voicemail messages request timeout response has a 3xx status code

func (*DeleteVoicemailMessagesRequestTimeout) IsServerError

func (o *DeleteVoicemailMessagesRequestTimeout) IsServerError() bool

IsServerError returns true when this delete voicemail messages request timeout response has a 5xx status code

func (*DeleteVoicemailMessagesRequestTimeout) IsSuccess

IsSuccess returns true when this delete voicemail messages request timeout response has a 2xx status code

func (*DeleteVoicemailMessagesRequestTimeout) String

type DeleteVoicemailMessagesServiceUnavailable

type DeleteVoicemailMessagesServiceUnavailable struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewDeleteVoicemailMessagesServiceUnavailable

func NewDeleteVoicemailMessagesServiceUnavailable() *DeleteVoicemailMessagesServiceUnavailable

NewDeleteVoicemailMessagesServiceUnavailable creates a DeleteVoicemailMessagesServiceUnavailable with default headers values

func (*DeleteVoicemailMessagesServiceUnavailable) Error

func (*DeleteVoicemailMessagesServiceUnavailable) GetPayload

func (*DeleteVoicemailMessagesServiceUnavailable) IsClientError

IsClientError returns true when this delete voicemail messages service unavailable response has a 4xx status code

func (*DeleteVoicemailMessagesServiceUnavailable) IsCode

IsCode returns true when this delete voicemail messages service unavailable response a status code equal to that given

func (*DeleteVoicemailMessagesServiceUnavailable) IsRedirect

IsRedirect returns true when this delete voicemail messages service unavailable response has a 3xx status code

func (*DeleteVoicemailMessagesServiceUnavailable) IsServerError

IsServerError returns true when this delete voicemail messages service unavailable response has a 5xx status code

func (*DeleteVoicemailMessagesServiceUnavailable) IsSuccess

IsSuccess returns true when this delete voicemail messages service unavailable response has a 2xx status code

func (*DeleteVoicemailMessagesServiceUnavailable) String

type DeleteVoicemailMessagesTooManyRequests

type DeleteVoicemailMessagesTooManyRequests struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewDeleteVoicemailMessagesTooManyRequests

func NewDeleteVoicemailMessagesTooManyRequests() *DeleteVoicemailMessagesTooManyRequests

NewDeleteVoicemailMessagesTooManyRequests creates a DeleteVoicemailMessagesTooManyRequests with default headers values

func (*DeleteVoicemailMessagesTooManyRequests) Error

func (*DeleteVoicemailMessagesTooManyRequests) GetPayload

func (*DeleteVoicemailMessagesTooManyRequests) IsClientError

func (o *DeleteVoicemailMessagesTooManyRequests) IsClientError() bool

IsClientError returns true when this delete voicemail messages too many requests response has a 4xx status code

func (*DeleteVoicemailMessagesTooManyRequests) IsCode

IsCode returns true when this delete voicemail messages too many requests response a status code equal to that given

func (*DeleteVoicemailMessagesTooManyRequests) IsRedirect

IsRedirect returns true when this delete voicemail messages too many requests response has a 3xx status code

func (*DeleteVoicemailMessagesTooManyRequests) IsServerError

func (o *DeleteVoicemailMessagesTooManyRequests) IsServerError() bool

IsServerError returns true when this delete voicemail messages too many requests response has a 5xx status code

func (*DeleteVoicemailMessagesTooManyRequests) IsSuccess

IsSuccess returns true when this delete voicemail messages too many requests response has a 2xx status code

func (*DeleteVoicemailMessagesTooManyRequests) String

type DeleteVoicemailMessagesUnauthorized

type DeleteVoicemailMessagesUnauthorized struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewDeleteVoicemailMessagesUnauthorized

func NewDeleteVoicemailMessagesUnauthorized() *DeleteVoicemailMessagesUnauthorized

NewDeleteVoicemailMessagesUnauthorized creates a DeleteVoicemailMessagesUnauthorized with default headers values

func (*DeleteVoicemailMessagesUnauthorized) Error

func (*DeleteVoicemailMessagesUnauthorized) GetPayload

func (*DeleteVoicemailMessagesUnauthorized) IsClientError

func (o *DeleteVoicemailMessagesUnauthorized) IsClientError() bool

IsClientError returns true when this delete voicemail messages unauthorized response has a 4xx status code

func (*DeleteVoicemailMessagesUnauthorized) IsCode

IsCode returns true when this delete voicemail messages unauthorized response a status code equal to that given

func (*DeleteVoicemailMessagesUnauthorized) IsRedirect

func (o *DeleteVoicemailMessagesUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete voicemail messages unauthorized response has a 3xx status code

func (*DeleteVoicemailMessagesUnauthorized) IsServerError

func (o *DeleteVoicemailMessagesUnauthorized) IsServerError() bool

IsServerError returns true when this delete voicemail messages unauthorized response has a 5xx status code

func (*DeleteVoicemailMessagesUnauthorized) IsSuccess

IsSuccess returns true when this delete voicemail messages unauthorized response has a 2xx status code

func (*DeleteVoicemailMessagesUnauthorized) String

type DeleteVoicemailMessagesUnsupportedMediaType

type DeleteVoicemailMessagesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

DeleteVoicemailMessagesUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewDeleteVoicemailMessagesUnsupportedMediaType

func NewDeleteVoicemailMessagesUnsupportedMediaType() *DeleteVoicemailMessagesUnsupportedMediaType

NewDeleteVoicemailMessagesUnsupportedMediaType creates a DeleteVoicemailMessagesUnsupportedMediaType with default headers values

func (*DeleteVoicemailMessagesUnsupportedMediaType) Error

func (*DeleteVoicemailMessagesUnsupportedMediaType) GetPayload

func (*DeleteVoicemailMessagesUnsupportedMediaType) IsClientError

IsClientError returns true when this delete voicemail messages unsupported media type response has a 4xx status code

func (*DeleteVoicemailMessagesUnsupportedMediaType) IsCode

IsCode returns true when this delete voicemail messages unsupported media type response a status code equal to that given

func (*DeleteVoicemailMessagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete voicemail messages unsupported media type response has a 3xx status code

func (*DeleteVoicemailMessagesUnsupportedMediaType) IsServerError

IsServerError returns true when this delete voicemail messages unsupported media type response has a 5xx status code

func (*DeleteVoicemailMessagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete voicemail messages unsupported media type response has a 2xx status code

func (*DeleteVoicemailMessagesUnsupportedMediaType) String

type GetVoicemailGroupMailboxBadRequest

type GetVoicemailGroupMailboxBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailGroupMailboxBadRequest

func NewGetVoicemailGroupMailboxBadRequest() *GetVoicemailGroupMailboxBadRequest

NewGetVoicemailGroupMailboxBadRequest creates a GetVoicemailGroupMailboxBadRequest with default headers values

func (*GetVoicemailGroupMailboxBadRequest) Error

func (*GetVoicemailGroupMailboxBadRequest) GetPayload

func (*GetVoicemailGroupMailboxBadRequest) IsClientError

func (o *GetVoicemailGroupMailboxBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox bad request response has a 4xx status code

func (*GetVoicemailGroupMailboxBadRequest) IsCode

IsCode returns true when this get voicemail group mailbox bad request response a status code equal to that given

func (*GetVoicemailGroupMailboxBadRequest) IsRedirect

func (o *GetVoicemailGroupMailboxBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail group mailbox bad request response has a 3xx status code

func (*GetVoicemailGroupMailboxBadRequest) IsServerError

func (o *GetVoicemailGroupMailboxBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox bad request response has a 5xx status code

func (*GetVoicemailGroupMailboxBadRequest) IsSuccess

IsSuccess returns true when this get voicemail group mailbox bad request response has a 2xx status code

func (*GetVoicemailGroupMailboxBadRequest) String

type GetVoicemailGroupMailboxForbidden

type GetVoicemailGroupMailboxForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailGroupMailboxForbidden

func NewGetVoicemailGroupMailboxForbidden() *GetVoicemailGroupMailboxForbidden

NewGetVoicemailGroupMailboxForbidden creates a GetVoicemailGroupMailboxForbidden with default headers values

func (*GetVoicemailGroupMailboxForbidden) Error

func (*GetVoicemailGroupMailboxForbidden) GetPayload

func (*GetVoicemailGroupMailboxForbidden) IsClientError

func (o *GetVoicemailGroupMailboxForbidden) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox forbidden response has a 4xx status code

func (*GetVoicemailGroupMailboxForbidden) IsCode

func (o *GetVoicemailGroupMailboxForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail group mailbox forbidden response a status code equal to that given

func (*GetVoicemailGroupMailboxForbidden) IsRedirect

func (o *GetVoicemailGroupMailboxForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail group mailbox forbidden response has a 3xx status code

func (*GetVoicemailGroupMailboxForbidden) IsServerError

func (o *GetVoicemailGroupMailboxForbidden) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox forbidden response has a 5xx status code

func (*GetVoicemailGroupMailboxForbidden) IsSuccess

func (o *GetVoicemailGroupMailboxForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail group mailbox forbidden response has a 2xx status code

func (*GetVoicemailGroupMailboxForbidden) String

type GetVoicemailGroupMailboxGatewayTimeout

type GetVoicemailGroupMailboxGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailGroupMailboxGatewayTimeout

func NewGetVoicemailGroupMailboxGatewayTimeout() *GetVoicemailGroupMailboxGatewayTimeout

NewGetVoicemailGroupMailboxGatewayTimeout creates a GetVoicemailGroupMailboxGatewayTimeout with default headers values

func (*GetVoicemailGroupMailboxGatewayTimeout) Error

func (*GetVoicemailGroupMailboxGatewayTimeout) GetPayload

func (*GetVoicemailGroupMailboxGatewayTimeout) IsClientError

func (o *GetVoicemailGroupMailboxGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox gateway timeout response has a 4xx status code

func (*GetVoicemailGroupMailboxGatewayTimeout) IsCode

IsCode returns true when this get voicemail group mailbox gateway timeout response a status code equal to that given

func (*GetVoicemailGroupMailboxGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail group mailbox gateway timeout response has a 3xx status code

func (*GetVoicemailGroupMailboxGatewayTimeout) IsServerError

func (o *GetVoicemailGroupMailboxGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox gateway timeout response has a 5xx status code

func (*GetVoicemailGroupMailboxGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail group mailbox gateway timeout response has a 2xx status code

func (*GetVoicemailGroupMailboxGatewayTimeout) String

type GetVoicemailGroupMailboxInternalServerError

type GetVoicemailGroupMailboxInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailGroupMailboxInternalServerError

func NewGetVoicemailGroupMailboxInternalServerError() *GetVoicemailGroupMailboxInternalServerError

NewGetVoicemailGroupMailboxInternalServerError creates a GetVoicemailGroupMailboxInternalServerError with default headers values

func (*GetVoicemailGroupMailboxInternalServerError) Error

func (*GetVoicemailGroupMailboxInternalServerError) GetPayload

func (*GetVoicemailGroupMailboxInternalServerError) IsClientError

IsClientError returns true when this get voicemail group mailbox internal server error response has a 4xx status code

func (*GetVoicemailGroupMailboxInternalServerError) IsCode

IsCode returns true when this get voicemail group mailbox internal server error response a status code equal to that given

func (*GetVoicemailGroupMailboxInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail group mailbox internal server error response has a 3xx status code

func (*GetVoicemailGroupMailboxInternalServerError) IsServerError

IsServerError returns true when this get voicemail group mailbox internal server error response has a 5xx status code

func (*GetVoicemailGroupMailboxInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail group mailbox internal server error response has a 2xx status code

func (*GetVoicemailGroupMailboxInternalServerError) String

type GetVoicemailGroupMailboxNotFound

type GetVoicemailGroupMailboxNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailGroupMailboxNotFound

func NewGetVoicemailGroupMailboxNotFound() *GetVoicemailGroupMailboxNotFound

NewGetVoicemailGroupMailboxNotFound creates a GetVoicemailGroupMailboxNotFound with default headers values

func (*GetVoicemailGroupMailboxNotFound) Error

func (*GetVoicemailGroupMailboxNotFound) GetPayload

func (*GetVoicemailGroupMailboxNotFound) IsClientError

func (o *GetVoicemailGroupMailboxNotFound) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox not found response has a 4xx status code

func (*GetVoicemailGroupMailboxNotFound) IsCode

func (o *GetVoicemailGroupMailboxNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail group mailbox not found response a status code equal to that given

func (*GetVoicemailGroupMailboxNotFound) IsRedirect

func (o *GetVoicemailGroupMailboxNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail group mailbox not found response has a 3xx status code

func (*GetVoicemailGroupMailboxNotFound) IsServerError

func (o *GetVoicemailGroupMailboxNotFound) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox not found response has a 5xx status code

func (*GetVoicemailGroupMailboxNotFound) IsSuccess

func (o *GetVoicemailGroupMailboxNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail group mailbox not found response has a 2xx status code

func (*GetVoicemailGroupMailboxNotFound) String

type GetVoicemailGroupMailboxOK

type GetVoicemailGroupMailboxOK struct {
	Payload *models.VoicemailMailboxInfo
}

GetVoicemailGroupMailboxOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailGroupMailboxOK

func NewGetVoicemailGroupMailboxOK() *GetVoicemailGroupMailboxOK

NewGetVoicemailGroupMailboxOK creates a GetVoicemailGroupMailboxOK with default headers values

func (*GetVoicemailGroupMailboxOK) Error

func (*GetVoicemailGroupMailboxOK) GetPayload

func (*GetVoicemailGroupMailboxOK) IsClientError

func (o *GetVoicemailGroupMailboxOK) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox o k response has a 4xx status code

func (*GetVoicemailGroupMailboxOK) IsCode

func (o *GetVoicemailGroupMailboxOK) IsCode(code int) bool

IsCode returns true when this get voicemail group mailbox o k response a status code equal to that given

func (*GetVoicemailGroupMailboxOK) IsRedirect

func (o *GetVoicemailGroupMailboxOK) IsRedirect() bool

IsRedirect returns true when this get voicemail group mailbox o k response has a 3xx status code

func (*GetVoicemailGroupMailboxOK) IsServerError

func (o *GetVoicemailGroupMailboxOK) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox o k response has a 5xx status code

func (*GetVoicemailGroupMailboxOK) IsSuccess

func (o *GetVoicemailGroupMailboxOK) IsSuccess() bool

IsSuccess returns true when this get voicemail group mailbox o k response has a 2xx status code

func (*GetVoicemailGroupMailboxOK) String

func (o *GetVoicemailGroupMailboxOK) String() string

type GetVoicemailGroupMailboxParams

type GetVoicemailGroupMailboxParams struct {

	/* GroupID.

	   groupId
	*/
	GroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailGroupMailboxParams contains all the parameters to send to the API endpoint

for the get voicemail group mailbox operation.

Typically these are written to a http.Request.

func NewGetVoicemailGroupMailboxParams

func NewGetVoicemailGroupMailboxParams() *GetVoicemailGroupMailboxParams

NewGetVoicemailGroupMailboxParams creates a new GetVoicemailGroupMailboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailGroupMailboxParamsWithContext

func NewGetVoicemailGroupMailboxParamsWithContext(ctx context.Context) *GetVoicemailGroupMailboxParams

NewGetVoicemailGroupMailboxParamsWithContext creates a new GetVoicemailGroupMailboxParams object with the ability to set a context for a request.

func NewGetVoicemailGroupMailboxParamsWithHTTPClient

func NewGetVoicemailGroupMailboxParamsWithHTTPClient(client *http.Client) *GetVoicemailGroupMailboxParams

NewGetVoicemailGroupMailboxParamsWithHTTPClient creates a new GetVoicemailGroupMailboxParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailGroupMailboxParamsWithTimeout

func NewGetVoicemailGroupMailboxParamsWithTimeout(timeout time.Duration) *GetVoicemailGroupMailboxParams

NewGetVoicemailGroupMailboxParamsWithTimeout creates a new GetVoicemailGroupMailboxParams object with the ability to set a timeout on a request.

func (*GetVoicemailGroupMailboxParams) SetContext

func (o *GetVoicemailGroupMailboxParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) SetDefaults

func (o *GetVoicemailGroupMailboxParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail group mailbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailGroupMailboxParams) SetGroupID

func (o *GetVoicemailGroupMailboxParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) SetHTTPClient

func (o *GetVoicemailGroupMailboxParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) SetTimeout

func (o *GetVoicemailGroupMailboxParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) WithContext

WithContext adds the context to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) WithDefaults

WithDefaults hydrates default values in the get voicemail group mailbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailGroupMailboxParams) WithGroupID

WithGroupID adds the groupID to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) WithTimeout

WithTimeout adds the timeout to the get voicemail group mailbox params

func (*GetVoicemailGroupMailboxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailGroupMailboxReader

type GetVoicemailGroupMailboxReader struct {
	// contains filtered or unexported fields
}

GetVoicemailGroupMailboxReader is a Reader for the GetVoicemailGroupMailbox structure.

func (*GetVoicemailGroupMailboxReader) ReadResponse

func (o *GetVoicemailGroupMailboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailGroupMailboxRequestEntityTooLarge

type GetVoicemailGroupMailboxRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailGroupMailboxRequestEntityTooLarge

func NewGetVoicemailGroupMailboxRequestEntityTooLarge() *GetVoicemailGroupMailboxRequestEntityTooLarge

NewGetVoicemailGroupMailboxRequestEntityTooLarge creates a GetVoicemailGroupMailboxRequestEntityTooLarge with default headers values

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) Error

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) GetPayload

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail group mailbox request entity too large response has a 4xx status code

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail group mailbox request entity too large response a status code equal to that given

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail group mailbox request entity too large response has a 3xx status code

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail group mailbox request entity too large response has a 5xx status code

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail group mailbox request entity too large response has a 2xx status code

func (*GetVoicemailGroupMailboxRequestEntityTooLarge) String

type GetVoicemailGroupMailboxRequestTimeout

type GetVoicemailGroupMailboxRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailGroupMailboxRequestTimeout

func NewGetVoicemailGroupMailboxRequestTimeout() *GetVoicemailGroupMailboxRequestTimeout

NewGetVoicemailGroupMailboxRequestTimeout creates a GetVoicemailGroupMailboxRequestTimeout with default headers values

func (*GetVoicemailGroupMailboxRequestTimeout) Error

func (*GetVoicemailGroupMailboxRequestTimeout) GetPayload

func (*GetVoicemailGroupMailboxRequestTimeout) IsClientError

func (o *GetVoicemailGroupMailboxRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox request timeout response has a 4xx status code

func (*GetVoicemailGroupMailboxRequestTimeout) IsCode

IsCode returns true when this get voicemail group mailbox request timeout response a status code equal to that given

func (*GetVoicemailGroupMailboxRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail group mailbox request timeout response has a 3xx status code

func (*GetVoicemailGroupMailboxRequestTimeout) IsServerError

func (o *GetVoicemailGroupMailboxRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox request timeout response has a 5xx status code

func (*GetVoicemailGroupMailboxRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail group mailbox request timeout response has a 2xx status code

func (*GetVoicemailGroupMailboxRequestTimeout) String

type GetVoicemailGroupMailboxServiceUnavailable

type GetVoicemailGroupMailboxServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailGroupMailboxServiceUnavailable

func NewGetVoicemailGroupMailboxServiceUnavailable() *GetVoicemailGroupMailboxServiceUnavailable

NewGetVoicemailGroupMailboxServiceUnavailable creates a GetVoicemailGroupMailboxServiceUnavailable with default headers values

func (*GetVoicemailGroupMailboxServiceUnavailable) Error

func (*GetVoicemailGroupMailboxServiceUnavailable) GetPayload

func (*GetVoicemailGroupMailboxServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail group mailbox service unavailable response has a 4xx status code

func (*GetVoicemailGroupMailboxServiceUnavailable) IsCode

IsCode returns true when this get voicemail group mailbox service unavailable response a status code equal to that given

func (*GetVoicemailGroupMailboxServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail group mailbox service unavailable response has a 3xx status code

func (*GetVoicemailGroupMailboxServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail group mailbox service unavailable response has a 5xx status code

func (*GetVoicemailGroupMailboxServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail group mailbox service unavailable response has a 2xx status code

func (*GetVoicemailGroupMailboxServiceUnavailable) String

type GetVoicemailGroupMailboxTooManyRequests

type GetVoicemailGroupMailboxTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailGroupMailboxTooManyRequests

func NewGetVoicemailGroupMailboxTooManyRequests() *GetVoicemailGroupMailboxTooManyRequests

NewGetVoicemailGroupMailboxTooManyRequests creates a GetVoicemailGroupMailboxTooManyRequests with default headers values

func (*GetVoicemailGroupMailboxTooManyRequests) Error

func (*GetVoicemailGroupMailboxTooManyRequests) GetPayload

func (*GetVoicemailGroupMailboxTooManyRequests) IsClientError

func (o *GetVoicemailGroupMailboxTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox too many requests response has a 4xx status code

func (*GetVoicemailGroupMailboxTooManyRequests) IsCode

IsCode returns true when this get voicemail group mailbox too many requests response a status code equal to that given

func (*GetVoicemailGroupMailboxTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail group mailbox too many requests response has a 3xx status code

func (*GetVoicemailGroupMailboxTooManyRequests) IsServerError

func (o *GetVoicemailGroupMailboxTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox too many requests response has a 5xx status code

func (*GetVoicemailGroupMailboxTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail group mailbox too many requests response has a 2xx status code

func (*GetVoicemailGroupMailboxTooManyRequests) String

type GetVoicemailGroupMailboxUnauthorized

type GetVoicemailGroupMailboxUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailGroupMailboxUnauthorized

func NewGetVoicemailGroupMailboxUnauthorized() *GetVoicemailGroupMailboxUnauthorized

NewGetVoicemailGroupMailboxUnauthorized creates a GetVoicemailGroupMailboxUnauthorized with default headers values

func (*GetVoicemailGroupMailboxUnauthorized) Error

func (*GetVoicemailGroupMailboxUnauthorized) GetPayload

func (*GetVoicemailGroupMailboxUnauthorized) IsClientError

func (o *GetVoicemailGroupMailboxUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail group mailbox unauthorized response has a 4xx status code

func (*GetVoicemailGroupMailboxUnauthorized) IsCode

IsCode returns true when this get voicemail group mailbox unauthorized response a status code equal to that given

func (*GetVoicemailGroupMailboxUnauthorized) IsRedirect

IsRedirect returns true when this get voicemail group mailbox unauthorized response has a 3xx status code

func (*GetVoicemailGroupMailboxUnauthorized) IsServerError

func (o *GetVoicemailGroupMailboxUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail group mailbox unauthorized response has a 5xx status code

func (*GetVoicemailGroupMailboxUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail group mailbox unauthorized response has a 2xx status code

func (*GetVoicemailGroupMailboxUnauthorized) String

type GetVoicemailGroupMailboxUnsupportedMediaType

type GetVoicemailGroupMailboxUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMailboxUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailGroupMailboxUnsupportedMediaType

func NewGetVoicemailGroupMailboxUnsupportedMediaType() *GetVoicemailGroupMailboxUnsupportedMediaType

NewGetVoicemailGroupMailboxUnsupportedMediaType creates a GetVoicemailGroupMailboxUnsupportedMediaType with default headers values

func (*GetVoicemailGroupMailboxUnsupportedMediaType) Error

func (*GetVoicemailGroupMailboxUnsupportedMediaType) GetPayload

func (*GetVoicemailGroupMailboxUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail group mailbox unsupported media type response has a 4xx status code

func (*GetVoicemailGroupMailboxUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail group mailbox unsupported media type response a status code equal to that given

func (*GetVoicemailGroupMailboxUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail group mailbox unsupported media type response has a 3xx status code

func (*GetVoicemailGroupMailboxUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail group mailbox unsupported media type response has a 5xx status code

func (*GetVoicemailGroupMailboxUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail group mailbox unsupported media type response has a 2xx status code

func (*GetVoicemailGroupMailboxUnsupportedMediaType) String

type GetVoicemailGroupMessagesBadRequest

type GetVoicemailGroupMessagesBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailGroupMessagesBadRequest

func NewGetVoicemailGroupMessagesBadRequest() *GetVoicemailGroupMessagesBadRequest

NewGetVoicemailGroupMessagesBadRequest creates a GetVoicemailGroupMessagesBadRequest with default headers values

func (*GetVoicemailGroupMessagesBadRequest) Error

func (*GetVoicemailGroupMessagesBadRequest) GetPayload

func (*GetVoicemailGroupMessagesBadRequest) IsClientError

func (o *GetVoicemailGroupMessagesBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail group messages bad request response has a 4xx status code

func (*GetVoicemailGroupMessagesBadRequest) IsCode

IsCode returns true when this get voicemail group messages bad request response a status code equal to that given

func (*GetVoicemailGroupMessagesBadRequest) IsRedirect

func (o *GetVoicemailGroupMessagesBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail group messages bad request response has a 3xx status code

func (*GetVoicemailGroupMessagesBadRequest) IsServerError

func (o *GetVoicemailGroupMessagesBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail group messages bad request response has a 5xx status code

func (*GetVoicemailGroupMessagesBadRequest) IsSuccess

IsSuccess returns true when this get voicemail group messages bad request response has a 2xx status code

func (*GetVoicemailGroupMessagesBadRequest) String

type GetVoicemailGroupMessagesForbidden

type GetVoicemailGroupMessagesForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailGroupMessagesForbidden

func NewGetVoicemailGroupMessagesForbidden() *GetVoicemailGroupMessagesForbidden

NewGetVoicemailGroupMessagesForbidden creates a GetVoicemailGroupMessagesForbidden with default headers values

func (*GetVoicemailGroupMessagesForbidden) Error

func (*GetVoicemailGroupMessagesForbidden) GetPayload

func (*GetVoicemailGroupMessagesForbidden) IsClientError

func (o *GetVoicemailGroupMessagesForbidden) IsClientError() bool

IsClientError returns true when this get voicemail group messages forbidden response has a 4xx status code

func (*GetVoicemailGroupMessagesForbidden) IsCode

IsCode returns true when this get voicemail group messages forbidden response a status code equal to that given

func (*GetVoicemailGroupMessagesForbidden) IsRedirect

func (o *GetVoicemailGroupMessagesForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail group messages forbidden response has a 3xx status code

func (*GetVoicemailGroupMessagesForbidden) IsServerError

func (o *GetVoicemailGroupMessagesForbidden) IsServerError() bool

IsServerError returns true when this get voicemail group messages forbidden response has a 5xx status code

func (*GetVoicemailGroupMessagesForbidden) IsSuccess

IsSuccess returns true when this get voicemail group messages forbidden response has a 2xx status code

func (*GetVoicemailGroupMessagesForbidden) String

type GetVoicemailGroupMessagesGatewayTimeout

type GetVoicemailGroupMessagesGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailGroupMessagesGatewayTimeout

func NewGetVoicemailGroupMessagesGatewayTimeout() *GetVoicemailGroupMessagesGatewayTimeout

NewGetVoicemailGroupMessagesGatewayTimeout creates a GetVoicemailGroupMessagesGatewayTimeout with default headers values

func (*GetVoicemailGroupMessagesGatewayTimeout) Error

func (*GetVoicemailGroupMessagesGatewayTimeout) GetPayload

func (*GetVoicemailGroupMessagesGatewayTimeout) IsClientError

func (o *GetVoicemailGroupMessagesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail group messages gateway timeout response has a 4xx status code

func (*GetVoicemailGroupMessagesGatewayTimeout) IsCode

IsCode returns true when this get voicemail group messages gateway timeout response a status code equal to that given

func (*GetVoicemailGroupMessagesGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail group messages gateway timeout response has a 3xx status code

func (*GetVoicemailGroupMessagesGatewayTimeout) IsServerError

func (o *GetVoicemailGroupMessagesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail group messages gateway timeout response has a 5xx status code

func (*GetVoicemailGroupMessagesGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail group messages gateway timeout response has a 2xx status code

func (*GetVoicemailGroupMessagesGatewayTimeout) String

type GetVoicemailGroupMessagesInternalServerError

type GetVoicemailGroupMessagesInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailGroupMessagesInternalServerError

func NewGetVoicemailGroupMessagesInternalServerError() *GetVoicemailGroupMessagesInternalServerError

NewGetVoicemailGroupMessagesInternalServerError creates a GetVoicemailGroupMessagesInternalServerError with default headers values

func (*GetVoicemailGroupMessagesInternalServerError) Error

func (*GetVoicemailGroupMessagesInternalServerError) GetPayload

func (*GetVoicemailGroupMessagesInternalServerError) IsClientError

IsClientError returns true when this get voicemail group messages internal server error response has a 4xx status code

func (*GetVoicemailGroupMessagesInternalServerError) IsCode

IsCode returns true when this get voicemail group messages internal server error response a status code equal to that given

func (*GetVoicemailGroupMessagesInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail group messages internal server error response has a 3xx status code

func (*GetVoicemailGroupMessagesInternalServerError) IsServerError

IsServerError returns true when this get voicemail group messages internal server error response has a 5xx status code

func (*GetVoicemailGroupMessagesInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail group messages internal server error response has a 2xx status code

func (*GetVoicemailGroupMessagesInternalServerError) String

type GetVoicemailGroupMessagesNotFound

type GetVoicemailGroupMessagesNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailGroupMessagesNotFound

func NewGetVoicemailGroupMessagesNotFound() *GetVoicemailGroupMessagesNotFound

NewGetVoicemailGroupMessagesNotFound creates a GetVoicemailGroupMessagesNotFound with default headers values

func (*GetVoicemailGroupMessagesNotFound) Error

func (*GetVoicemailGroupMessagesNotFound) GetPayload

func (*GetVoicemailGroupMessagesNotFound) IsClientError

func (o *GetVoicemailGroupMessagesNotFound) IsClientError() bool

IsClientError returns true when this get voicemail group messages not found response has a 4xx status code

func (*GetVoicemailGroupMessagesNotFound) IsCode

func (o *GetVoicemailGroupMessagesNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail group messages not found response a status code equal to that given

func (*GetVoicemailGroupMessagesNotFound) IsRedirect

func (o *GetVoicemailGroupMessagesNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail group messages not found response has a 3xx status code

func (*GetVoicemailGroupMessagesNotFound) IsServerError

func (o *GetVoicemailGroupMessagesNotFound) IsServerError() bool

IsServerError returns true when this get voicemail group messages not found response has a 5xx status code

func (*GetVoicemailGroupMessagesNotFound) IsSuccess

func (o *GetVoicemailGroupMessagesNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail group messages not found response has a 2xx status code

func (*GetVoicemailGroupMessagesNotFound) String

type GetVoicemailGroupMessagesOK

type GetVoicemailGroupMessagesOK struct {
	Payload *models.VoicemailMessageEntityListing
}

GetVoicemailGroupMessagesOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailGroupMessagesOK

func NewGetVoicemailGroupMessagesOK() *GetVoicemailGroupMessagesOK

NewGetVoicemailGroupMessagesOK creates a GetVoicemailGroupMessagesOK with default headers values

func (*GetVoicemailGroupMessagesOK) Error

func (*GetVoicemailGroupMessagesOK) GetPayload

func (*GetVoicemailGroupMessagesOK) IsClientError

func (o *GetVoicemailGroupMessagesOK) IsClientError() bool

IsClientError returns true when this get voicemail group messages o k response has a 4xx status code

func (*GetVoicemailGroupMessagesOK) IsCode

func (o *GetVoicemailGroupMessagesOK) IsCode(code int) bool

IsCode returns true when this get voicemail group messages o k response a status code equal to that given

func (*GetVoicemailGroupMessagesOK) IsRedirect

func (o *GetVoicemailGroupMessagesOK) IsRedirect() bool

IsRedirect returns true when this get voicemail group messages o k response has a 3xx status code

func (*GetVoicemailGroupMessagesOK) IsServerError

func (o *GetVoicemailGroupMessagesOK) IsServerError() bool

IsServerError returns true when this get voicemail group messages o k response has a 5xx status code

func (*GetVoicemailGroupMessagesOK) IsSuccess

func (o *GetVoicemailGroupMessagesOK) IsSuccess() bool

IsSuccess returns true when this get voicemail group messages o k response has a 2xx status code

func (*GetVoicemailGroupMessagesOK) String

func (o *GetVoicemailGroupMessagesOK) String() string

type GetVoicemailGroupMessagesParams

type GetVoicemailGroupMessagesParams struct {

	/* GroupID.

	   Group ID
	*/
	GroupID string

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailGroupMessagesParams contains all the parameters to send to the API endpoint

for the get voicemail group messages operation.

Typically these are written to a http.Request.

func NewGetVoicemailGroupMessagesParams

func NewGetVoicemailGroupMessagesParams() *GetVoicemailGroupMessagesParams

NewGetVoicemailGroupMessagesParams creates a new GetVoicemailGroupMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailGroupMessagesParamsWithContext

func NewGetVoicemailGroupMessagesParamsWithContext(ctx context.Context) *GetVoicemailGroupMessagesParams

NewGetVoicemailGroupMessagesParamsWithContext creates a new GetVoicemailGroupMessagesParams object with the ability to set a context for a request.

func NewGetVoicemailGroupMessagesParamsWithHTTPClient

func NewGetVoicemailGroupMessagesParamsWithHTTPClient(client *http.Client) *GetVoicemailGroupMessagesParams

NewGetVoicemailGroupMessagesParamsWithHTTPClient creates a new GetVoicemailGroupMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailGroupMessagesParamsWithTimeout

func NewGetVoicemailGroupMessagesParamsWithTimeout(timeout time.Duration) *GetVoicemailGroupMessagesParams

NewGetVoicemailGroupMessagesParamsWithTimeout creates a new GetVoicemailGroupMessagesParams object with the ability to set a timeout on a request.

func (*GetVoicemailGroupMessagesParams) SetContext

func (o *GetVoicemailGroupMessagesParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) SetDefaults

func (o *GetVoicemailGroupMessagesParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail group messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailGroupMessagesParams) SetGroupID

func (o *GetVoicemailGroupMessagesParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) SetHTTPClient

func (o *GetVoicemailGroupMessagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) SetPageNumber

func (o *GetVoicemailGroupMessagesParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) SetPageSize

func (o *GetVoicemailGroupMessagesParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) SetTimeout

func (o *GetVoicemailGroupMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WithContext

WithContext adds the context to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WithDefaults

WithDefaults hydrates default values in the get voicemail group messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailGroupMessagesParams) WithGroupID

WithGroupID adds the groupID to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WithPageNumber

WithPageNumber adds the pageNumber to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WithPageSize

WithPageSize adds the pageSize to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WithTimeout

WithTimeout adds the timeout to the get voicemail group messages params

func (*GetVoicemailGroupMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailGroupMessagesReader

type GetVoicemailGroupMessagesReader struct {
	// contains filtered or unexported fields
}

GetVoicemailGroupMessagesReader is a Reader for the GetVoicemailGroupMessages structure.

func (*GetVoicemailGroupMessagesReader) ReadResponse

func (o *GetVoicemailGroupMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailGroupMessagesRequestEntityTooLarge

type GetVoicemailGroupMessagesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailGroupMessagesRequestEntityTooLarge

func NewGetVoicemailGroupMessagesRequestEntityTooLarge() *GetVoicemailGroupMessagesRequestEntityTooLarge

NewGetVoicemailGroupMessagesRequestEntityTooLarge creates a GetVoicemailGroupMessagesRequestEntityTooLarge with default headers values

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) Error

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) GetPayload

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail group messages request entity too large response has a 4xx status code

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail group messages request entity too large response a status code equal to that given

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail group messages request entity too large response has a 3xx status code

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail group messages request entity too large response has a 5xx status code

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail group messages request entity too large response has a 2xx status code

func (*GetVoicemailGroupMessagesRequestEntityTooLarge) String

type GetVoicemailGroupMessagesRequestTimeout

type GetVoicemailGroupMessagesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailGroupMessagesRequestTimeout

func NewGetVoicemailGroupMessagesRequestTimeout() *GetVoicemailGroupMessagesRequestTimeout

NewGetVoicemailGroupMessagesRequestTimeout creates a GetVoicemailGroupMessagesRequestTimeout with default headers values

func (*GetVoicemailGroupMessagesRequestTimeout) Error

func (*GetVoicemailGroupMessagesRequestTimeout) GetPayload

func (*GetVoicemailGroupMessagesRequestTimeout) IsClientError

func (o *GetVoicemailGroupMessagesRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail group messages request timeout response has a 4xx status code

func (*GetVoicemailGroupMessagesRequestTimeout) IsCode

IsCode returns true when this get voicemail group messages request timeout response a status code equal to that given

func (*GetVoicemailGroupMessagesRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail group messages request timeout response has a 3xx status code

func (*GetVoicemailGroupMessagesRequestTimeout) IsServerError

func (o *GetVoicemailGroupMessagesRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail group messages request timeout response has a 5xx status code

func (*GetVoicemailGroupMessagesRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail group messages request timeout response has a 2xx status code

func (*GetVoicemailGroupMessagesRequestTimeout) String

type GetVoicemailGroupMessagesServiceUnavailable

type GetVoicemailGroupMessagesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailGroupMessagesServiceUnavailable

func NewGetVoicemailGroupMessagesServiceUnavailable() *GetVoicemailGroupMessagesServiceUnavailable

NewGetVoicemailGroupMessagesServiceUnavailable creates a GetVoicemailGroupMessagesServiceUnavailable with default headers values

func (*GetVoicemailGroupMessagesServiceUnavailable) Error

func (*GetVoicemailGroupMessagesServiceUnavailable) GetPayload

func (*GetVoicemailGroupMessagesServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail group messages service unavailable response has a 4xx status code

func (*GetVoicemailGroupMessagesServiceUnavailable) IsCode

IsCode returns true when this get voicemail group messages service unavailable response a status code equal to that given

func (*GetVoicemailGroupMessagesServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail group messages service unavailable response has a 3xx status code

func (*GetVoicemailGroupMessagesServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail group messages service unavailable response has a 5xx status code

func (*GetVoicemailGroupMessagesServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail group messages service unavailable response has a 2xx status code

func (*GetVoicemailGroupMessagesServiceUnavailable) String

type GetVoicemailGroupMessagesTooManyRequests

type GetVoicemailGroupMessagesTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailGroupMessagesTooManyRequests

func NewGetVoicemailGroupMessagesTooManyRequests() *GetVoicemailGroupMessagesTooManyRequests

NewGetVoicemailGroupMessagesTooManyRequests creates a GetVoicemailGroupMessagesTooManyRequests with default headers values

func (*GetVoicemailGroupMessagesTooManyRequests) Error

func (*GetVoicemailGroupMessagesTooManyRequests) GetPayload

func (*GetVoicemailGroupMessagesTooManyRequests) IsClientError

IsClientError returns true when this get voicemail group messages too many requests response has a 4xx status code

func (*GetVoicemailGroupMessagesTooManyRequests) IsCode

IsCode returns true when this get voicemail group messages too many requests response a status code equal to that given

func (*GetVoicemailGroupMessagesTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail group messages too many requests response has a 3xx status code

func (*GetVoicemailGroupMessagesTooManyRequests) IsServerError

IsServerError returns true when this get voicemail group messages too many requests response has a 5xx status code

func (*GetVoicemailGroupMessagesTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail group messages too many requests response has a 2xx status code

func (*GetVoicemailGroupMessagesTooManyRequests) String

type GetVoicemailGroupMessagesUnauthorized

type GetVoicemailGroupMessagesUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailGroupMessagesUnauthorized

func NewGetVoicemailGroupMessagesUnauthorized() *GetVoicemailGroupMessagesUnauthorized

NewGetVoicemailGroupMessagesUnauthorized creates a GetVoicemailGroupMessagesUnauthorized with default headers values

func (*GetVoicemailGroupMessagesUnauthorized) Error

func (*GetVoicemailGroupMessagesUnauthorized) GetPayload

func (*GetVoicemailGroupMessagesUnauthorized) IsClientError

func (o *GetVoicemailGroupMessagesUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail group messages unauthorized response has a 4xx status code

func (*GetVoicemailGroupMessagesUnauthorized) IsCode

IsCode returns true when this get voicemail group messages unauthorized response a status code equal to that given

func (*GetVoicemailGroupMessagesUnauthorized) IsRedirect

IsRedirect returns true when this get voicemail group messages unauthorized response has a 3xx status code

func (*GetVoicemailGroupMessagesUnauthorized) IsServerError

func (o *GetVoicemailGroupMessagesUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail group messages unauthorized response has a 5xx status code

func (*GetVoicemailGroupMessagesUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail group messages unauthorized response has a 2xx status code

func (*GetVoicemailGroupMessagesUnauthorized) String

type GetVoicemailGroupMessagesUnsupportedMediaType

type GetVoicemailGroupMessagesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupMessagesUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailGroupMessagesUnsupportedMediaType

func NewGetVoicemailGroupMessagesUnsupportedMediaType() *GetVoicemailGroupMessagesUnsupportedMediaType

NewGetVoicemailGroupMessagesUnsupportedMediaType creates a GetVoicemailGroupMessagesUnsupportedMediaType with default headers values

func (*GetVoicemailGroupMessagesUnsupportedMediaType) Error

func (*GetVoicemailGroupMessagesUnsupportedMediaType) GetPayload

func (*GetVoicemailGroupMessagesUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail group messages unsupported media type response has a 4xx status code

func (*GetVoicemailGroupMessagesUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail group messages unsupported media type response a status code equal to that given

func (*GetVoicemailGroupMessagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail group messages unsupported media type response has a 3xx status code

func (*GetVoicemailGroupMessagesUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail group messages unsupported media type response has a 5xx status code

func (*GetVoicemailGroupMessagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail group messages unsupported media type response has a 2xx status code

func (*GetVoicemailGroupMessagesUnsupportedMediaType) String

type GetVoicemailGroupPolicyBadRequest

type GetVoicemailGroupPolicyBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailGroupPolicyBadRequest

func NewGetVoicemailGroupPolicyBadRequest() *GetVoicemailGroupPolicyBadRequest

NewGetVoicemailGroupPolicyBadRequest creates a GetVoicemailGroupPolicyBadRequest with default headers values

func (*GetVoicemailGroupPolicyBadRequest) Error

func (*GetVoicemailGroupPolicyBadRequest) GetPayload

func (*GetVoicemailGroupPolicyBadRequest) IsClientError

func (o *GetVoicemailGroupPolicyBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail group policy bad request response has a 4xx status code

func (*GetVoicemailGroupPolicyBadRequest) IsCode

func (o *GetVoicemailGroupPolicyBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail group policy bad request response a status code equal to that given

func (*GetVoicemailGroupPolicyBadRequest) IsRedirect

func (o *GetVoicemailGroupPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail group policy bad request response has a 3xx status code

func (*GetVoicemailGroupPolicyBadRequest) IsServerError

func (o *GetVoicemailGroupPolicyBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail group policy bad request response has a 5xx status code

func (*GetVoicemailGroupPolicyBadRequest) IsSuccess

func (o *GetVoicemailGroupPolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail group policy bad request response has a 2xx status code

func (*GetVoicemailGroupPolicyBadRequest) String

type GetVoicemailGroupPolicyForbidden

type GetVoicemailGroupPolicyForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailGroupPolicyForbidden

func NewGetVoicemailGroupPolicyForbidden() *GetVoicemailGroupPolicyForbidden

NewGetVoicemailGroupPolicyForbidden creates a GetVoicemailGroupPolicyForbidden with default headers values

func (*GetVoicemailGroupPolicyForbidden) Error

func (*GetVoicemailGroupPolicyForbidden) GetPayload

func (*GetVoicemailGroupPolicyForbidden) IsClientError

func (o *GetVoicemailGroupPolicyForbidden) IsClientError() bool

IsClientError returns true when this get voicemail group policy forbidden response has a 4xx status code

func (*GetVoicemailGroupPolicyForbidden) IsCode

func (o *GetVoicemailGroupPolicyForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail group policy forbidden response a status code equal to that given

func (*GetVoicemailGroupPolicyForbidden) IsRedirect

func (o *GetVoicemailGroupPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail group policy forbidden response has a 3xx status code

func (*GetVoicemailGroupPolicyForbidden) IsServerError

func (o *GetVoicemailGroupPolicyForbidden) IsServerError() bool

IsServerError returns true when this get voicemail group policy forbidden response has a 5xx status code

func (*GetVoicemailGroupPolicyForbidden) IsSuccess

func (o *GetVoicemailGroupPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail group policy forbidden response has a 2xx status code

func (*GetVoicemailGroupPolicyForbidden) String

type GetVoicemailGroupPolicyGatewayTimeout

type GetVoicemailGroupPolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailGroupPolicyGatewayTimeout

func NewGetVoicemailGroupPolicyGatewayTimeout() *GetVoicemailGroupPolicyGatewayTimeout

NewGetVoicemailGroupPolicyGatewayTimeout creates a GetVoicemailGroupPolicyGatewayTimeout with default headers values

func (*GetVoicemailGroupPolicyGatewayTimeout) Error

func (*GetVoicemailGroupPolicyGatewayTimeout) GetPayload

func (*GetVoicemailGroupPolicyGatewayTimeout) IsClientError

func (o *GetVoicemailGroupPolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail group policy gateway timeout response has a 4xx status code

func (*GetVoicemailGroupPolicyGatewayTimeout) IsCode

IsCode returns true when this get voicemail group policy gateway timeout response a status code equal to that given

func (*GetVoicemailGroupPolicyGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail group policy gateway timeout response has a 3xx status code

func (*GetVoicemailGroupPolicyGatewayTimeout) IsServerError

func (o *GetVoicemailGroupPolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail group policy gateway timeout response has a 5xx status code

func (*GetVoicemailGroupPolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail group policy gateway timeout response has a 2xx status code

func (*GetVoicemailGroupPolicyGatewayTimeout) String

type GetVoicemailGroupPolicyInternalServerError

type GetVoicemailGroupPolicyInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailGroupPolicyInternalServerError

func NewGetVoicemailGroupPolicyInternalServerError() *GetVoicemailGroupPolicyInternalServerError

NewGetVoicemailGroupPolicyInternalServerError creates a GetVoicemailGroupPolicyInternalServerError with default headers values

func (*GetVoicemailGroupPolicyInternalServerError) Error

func (*GetVoicemailGroupPolicyInternalServerError) GetPayload

func (*GetVoicemailGroupPolicyInternalServerError) IsClientError

IsClientError returns true when this get voicemail group policy internal server error response has a 4xx status code

func (*GetVoicemailGroupPolicyInternalServerError) IsCode

IsCode returns true when this get voicemail group policy internal server error response a status code equal to that given

func (*GetVoicemailGroupPolicyInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail group policy internal server error response has a 3xx status code

func (*GetVoicemailGroupPolicyInternalServerError) IsServerError

IsServerError returns true when this get voicemail group policy internal server error response has a 5xx status code

func (*GetVoicemailGroupPolicyInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail group policy internal server error response has a 2xx status code

func (*GetVoicemailGroupPolicyInternalServerError) String

type GetVoicemailGroupPolicyNotFound

type GetVoicemailGroupPolicyNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailGroupPolicyNotFound

func NewGetVoicemailGroupPolicyNotFound() *GetVoicemailGroupPolicyNotFound

NewGetVoicemailGroupPolicyNotFound creates a GetVoicemailGroupPolicyNotFound with default headers values

func (*GetVoicemailGroupPolicyNotFound) Error

func (*GetVoicemailGroupPolicyNotFound) GetPayload

func (*GetVoicemailGroupPolicyNotFound) IsClientError

func (o *GetVoicemailGroupPolicyNotFound) IsClientError() bool

IsClientError returns true when this get voicemail group policy not found response has a 4xx status code

func (*GetVoicemailGroupPolicyNotFound) IsCode

func (o *GetVoicemailGroupPolicyNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail group policy not found response a status code equal to that given

func (*GetVoicemailGroupPolicyNotFound) IsRedirect

func (o *GetVoicemailGroupPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail group policy not found response has a 3xx status code

func (*GetVoicemailGroupPolicyNotFound) IsServerError

func (o *GetVoicemailGroupPolicyNotFound) IsServerError() bool

IsServerError returns true when this get voicemail group policy not found response has a 5xx status code

func (*GetVoicemailGroupPolicyNotFound) IsSuccess

func (o *GetVoicemailGroupPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail group policy not found response has a 2xx status code

func (*GetVoicemailGroupPolicyNotFound) String

type GetVoicemailGroupPolicyOK

type GetVoicemailGroupPolicyOK struct {
	Payload *models.VoicemailGroupPolicy
}

GetVoicemailGroupPolicyOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailGroupPolicyOK

func NewGetVoicemailGroupPolicyOK() *GetVoicemailGroupPolicyOK

NewGetVoicemailGroupPolicyOK creates a GetVoicemailGroupPolicyOK with default headers values

func (*GetVoicemailGroupPolicyOK) Error

func (o *GetVoicemailGroupPolicyOK) Error() string

func (*GetVoicemailGroupPolicyOK) GetPayload

func (*GetVoicemailGroupPolicyOK) IsClientError

func (o *GetVoicemailGroupPolicyOK) IsClientError() bool

IsClientError returns true when this get voicemail group policy o k response has a 4xx status code

func (*GetVoicemailGroupPolicyOK) IsCode

func (o *GetVoicemailGroupPolicyOK) IsCode(code int) bool

IsCode returns true when this get voicemail group policy o k response a status code equal to that given

func (*GetVoicemailGroupPolicyOK) IsRedirect

func (o *GetVoicemailGroupPolicyOK) IsRedirect() bool

IsRedirect returns true when this get voicemail group policy o k response has a 3xx status code

func (*GetVoicemailGroupPolicyOK) IsServerError

func (o *GetVoicemailGroupPolicyOK) IsServerError() bool

IsServerError returns true when this get voicemail group policy o k response has a 5xx status code

func (*GetVoicemailGroupPolicyOK) IsSuccess

func (o *GetVoicemailGroupPolicyOK) IsSuccess() bool

IsSuccess returns true when this get voicemail group policy o k response has a 2xx status code

func (*GetVoicemailGroupPolicyOK) String

func (o *GetVoicemailGroupPolicyOK) String() string

type GetVoicemailGroupPolicyParams

type GetVoicemailGroupPolicyParams struct {

	/* GroupID.

	   Group ID
	*/
	GroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailGroupPolicyParams contains all the parameters to send to the API endpoint

for the get voicemail group policy operation.

Typically these are written to a http.Request.

func NewGetVoicemailGroupPolicyParams

func NewGetVoicemailGroupPolicyParams() *GetVoicemailGroupPolicyParams

NewGetVoicemailGroupPolicyParams creates a new GetVoicemailGroupPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailGroupPolicyParamsWithContext

func NewGetVoicemailGroupPolicyParamsWithContext(ctx context.Context) *GetVoicemailGroupPolicyParams

NewGetVoicemailGroupPolicyParamsWithContext creates a new GetVoicemailGroupPolicyParams object with the ability to set a context for a request.

func NewGetVoicemailGroupPolicyParamsWithHTTPClient

func NewGetVoicemailGroupPolicyParamsWithHTTPClient(client *http.Client) *GetVoicemailGroupPolicyParams

NewGetVoicemailGroupPolicyParamsWithHTTPClient creates a new GetVoicemailGroupPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailGroupPolicyParamsWithTimeout

func NewGetVoicemailGroupPolicyParamsWithTimeout(timeout time.Duration) *GetVoicemailGroupPolicyParams

NewGetVoicemailGroupPolicyParamsWithTimeout creates a new GetVoicemailGroupPolicyParams object with the ability to set a timeout on a request.

func (*GetVoicemailGroupPolicyParams) SetContext

func (o *GetVoicemailGroupPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) SetDefaults

func (o *GetVoicemailGroupPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail group policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailGroupPolicyParams) SetGroupID

func (o *GetVoicemailGroupPolicyParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) SetHTTPClient

func (o *GetVoicemailGroupPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) SetTimeout

func (o *GetVoicemailGroupPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) WithContext

WithContext adds the context to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) WithDefaults

WithDefaults hydrates default values in the get voicemail group policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailGroupPolicyParams) WithGroupID

WithGroupID adds the groupID to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) WithTimeout

WithTimeout adds the timeout to the get voicemail group policy params

func (*GetVoicemailGroupPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailGroupPolicyReader

type GetVoicemailGroupPolicyReader struct {
	// contains filtered or unexported fields
}

GetVoicemailGroupPolicyReader is a Reader for the GetVoicemailGroupPolicy structure.

func (*GetVoicemailGroupPolicyReader) ReadResponse

func (o *GetVoicemailGroupPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailGroupPolicyRequestEntityTooLarge

type GetVoicemailGroupPolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailGroupPolicyRequestEntityTooLarge

func NewGetVoicemailGroupPolicyRequestEntityTooLarge() *GetVoicemailGroupPolicyRequestEntityTooLarge

NewGetVoicemailGroupPolicyRequestEntityTooLarge creates a GetVoicemailGroupPolicyRequestEntityTooLarge with default headers values

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) Error

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) GetPayload

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail group policy request entity too large response has a 4xx status code

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail group policy request entity too large response a status code equal to that given

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail group policy request entity too large response has a 3xx status code

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail group policy request entity too large response has a 5xx status code

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail group policy request entity too large response has a 2xx status code

func (*GetVoicemailGroupPolicyRequestEntityTooLarge) String

type GetVoicemailGroupPolicyRequestTimeout

type GetVoicemailGroupPolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailGroupPolicyRequestTimeout

func NewGetVoicemailGroupPolicyRequestTimeout() *GetVoicemailGroupPolicyRequestTimeout

NewGetVoicemailGroupPolicyRequestTimeout creates a GetVoicemailGroupPolicyRequestTimeout with default headers values

func (*GetVoicemailGroupPolicyRequestTimeout) Error

func (*GetVoicemailGroupPolicyRequestTimeout) GetPayload

func (*GetVoicemailGroupPolicyRequestTimeout) IsClientError

func (o *GetVoicemailGroupPolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail group policy request timeout response has a 4xx status code

func (*GetVoicemailGroupPolicyRequestTimeout) IsCode

IsCode returns true when this get voicemail group policy request timeout response a status code equal to that given

func (*GetVoicemailGroupPolicyRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail group policy request timeout response has a 3xx status code

func (*GetVoicemailGroupPolicyRequestTimeout) IsServerError

func (o *GetVoicemailGroupPolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail group policy request timeout response has a 5xx status code

func (*GetVoicemailGroupPolicyRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail group policy request timeout response has a 2xx status code

func (*GetVoicemailGroupPolicyRequestTimeout) String

type GetVoicemailGroupPolicyServiceUnavailable

type GetVoicemailGroupPolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailGroupPolicyServiceUnavailable

func NewGetVoicemailGroupPolicyServiceUnavailable() *GetVoicemailGroupPolicyServiceUnavailable

NewGetVoicemailGroupPolicyServiceUnavailable creates a GetVoicemailGroupPolicyServiceUnavailable with default headers values

func (*GetVoicemailGroupPolicyServiceUnavailable) Error

func (*GetVoicemailGroupPolicyServiceUnavailable) GetPayload

func (*GetVoicemailGroupPolicyServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail group policy service unavailable response has a 4xx status code

func (*GetVoicemailGroupPolicyServiceUnavailable) IsCode

IsCode returns true when this get voicemail group policy service unavailable response a status code equal to that given

func (*GetVoicemailGroupPolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail group policy service unavailable response has a 3xx status code

func (*GetVoicemailGroupPolicyServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail group policy service unavailable response has a 5xx status code

func (*GetVoicemailGroupPolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail group policy service unavailable response has a 2xx status code

func (*GetVoicemailGroupPolicyServiceUnavailable) String

type GetVoicemailGroupPolicyTooManyRequests

type GetVoicemailGroupPolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailGroupPolicyTooManyRequests

func NewGetVoicemailGroupPolicyTooManyRequests() *GetVoicemailGroupPolicyTooManyRequests

NewGetVoicemailGroupPolicyTooManyRequests creates a GetVoicemailGroupPolicyTooManyRequests with default headers values

func (*GetVoicemailGroupPolicyTooManyRequests) Error

func (*GetVoicemailGroupPolicyTooManyRequests) GetPayload

func (*GetVoicemailGroupPolicyTooManyRequests) IsClientError

func (o *GetVoicemailGroupPolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail group policy too many requests response has a 4xx status code

func (*GetVoicemailGroupPolicyTooManyRequests) IsCode

IsCode returns true when this get voicemail group policy too many requests response a status code equal to that given

func (*GetVoicemailGroupPolicyTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail group policy too many requests response has a 3xx status code

func (*GetVoicemailGroupPolicyTooManyRequests) IsServerError

func (o *GetVoicemailGroupPolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail group policy too many requests response has a 5xx status code

func (*GetVoicemailGroupPolicyTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail group policy too many requests response has a 2xx status code

func (*GetVoicemailGroupPolicyTooManyRequests) String

type GetVoicemailGroupPolicyUnauthorized

type GetVoicemailGroupPolicyUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailGroupPolicyUnauthorized

func NewGetVoicemailGroupPolicyUnauthorized() *GetVoicemailGroupPolicyUnauthorized

NewGetVoicemailGroupPolicyUnauthorized creates a GetVoicemailGroupPolicyUnauthorized with default headers values

func (*GetVoicemailGroupPolicyUnauthorized) Error

func (*GetVoicemailGroupPolicyUnauthorized) GetPayload

func (*GetVoicemailGroupPolicyUnauthorized) IsClientError

func (o *GetVoicemailGroupPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail group policy unauthorized response has a 4xx status code

func (*GetVoicemailGroupPolicyUnauthorized) IsCode

IsCode returns true when this get voicemail group policy unauthorized response a status code equal to that given

func (*GetVoicemailGroupPolicyUnauthorized) IsRedirect

func (o *GetVoicemailGroupPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail group policy unauthorized response has a 3xx status code

func (*GetVoicemailGroupPolicyUnauthorized) IsServerError

func (o *GetVoicemailGroupPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail group policy unauthorized response has a 5xx status code

func (*GetVoicemailGroupPolicyUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail group policy unauthorized response has a 2xx status code

func (*GetVoicemailGroupPolicyUnauthorized) String

type GetVoicemailGroupPolicyUnsupportedMediaType

type GetVoicemailGroupPolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailGroupPolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailGroupPolicyUnsupportedMediaType

func NewGetVoicemailGroupPolicyUnsupportedMediaType() *GetVoicemailGroupPolicyUnsupportedMediaType

NewGetVoicemailGroupPolicyUnsupportedMediaType creates a GetVoicemailGroupPolicyUnsupportedMediaType with default headers values

func (*GetVoicemailGroupPolicyUnsupportedMediaType) Error

func (*GetVoicemailGroupPolicyUnsupportedMediaType) GetPayload

func (*GetVoicemailGroupPolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail group policy unsupported media type response has a 4xx status code

func (*GetVoicemailGroupPolicyUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail group policy unsupported media type response a status code equal to that given

func (*GetVoicemailGroupPolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail group policy unsupported media type response has a 3xx status code

func (*GetVoicemailGroupPolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail group policy unsupported media type response has a 5xx status code

func (*GetVoicemailGroupPolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail group policy unsupported media type response has a 2xx status code

func (*GetVoicemailGroupPolicyUnsupportedMediaType) String

type GetVoicemailMailboxBadRequest

type GetVoicemailMailboxBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMailboxBadRequest

func NewGetVoicemailMailboxBadRequest() *GetVoicemailMailboxBadRequest

NewGetVoicemailMailboxBadRequest creates a GetVoicemailMailboxBadRequest with default headers values

func (*GetVoicemailMailboxBadRequest) Error

func (*GetVoicemailMailboxBadRequest) GetPayload

func (*GetVoicemailMailboxBadRequest) IsClientError

func (o *GetVoicemailMailboxBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail mailbox bad request response has a 4xx status code

func (*GetVoicemailMailboxBadRequest) IsCode

func (o *GetVoicemailMailboxBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox bad request response a status code equal to that given

func (*GetVoicemailMailboxBadRequest) IsRedirect

func (o *GetVoicemailMailboxBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox bad request response has a 3xx status code

func (*GetVoicemailMailboxBadRequest) IsServerError

func (o *GetVoicemailMailboxBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail mailbox bad request response has a 5xx status code

func (*GetVoicemailMailboxBadRequest) IsSuccess

func (o *GetVoicemailMailboxBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox bad request response has a 2xx status code

func (*GetVoicemailMailboxBadRequest) String

type GetVoicemailMailboxForbidden

type GetVoicemailMailboxForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMailboxForbidden

func NewGetVoicemailMailboxForbidden() *GetVoicemailMailboxForbidden

NewGetVoicemailMailboxForbidden creates a GetVoicemailMailboxForbidden with default headers values

func (*GetVoicemailMailboxForbidden) Error

func (*GetVoicemailMailboxForbidden) GetPayload

func (*GetVoicemailMailboxForbidden) IsClientError

func (o *GetVoicemailMailboxForbidden) IsClientError() bool

IsClientError returns true when this get voicemail mailbox forbidden response has a 4xx status code

func (*GetVoicemailMailboxForbidden) IsCode

func (o *GetVoicemailMailboxForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox forbidden response a status code equal to that given

func (*GetVoicemailMailboxForbidden) IsRedirect

func (o *GetVoicemailMailboxForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox forbidden response has a 3xx status code

func (*GetVoicemailMailboxForbidden) IsServerError

func (o *GetVoicemailMailboxForbidden) IsServerError() bool

IsServerError returns true when this get voicemail mailbox forbidden response has a 5xx status code

func (*GetVoicemailMailboxForbidden) IsSuccess

func (o *GetVoicemailMailboxForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox forbidden response has a 2xx status code

func (*GetVoicemailMailboxForbidden) String

type GetVoicemailMailboxGatewayTimeout

type GetVoicemailMailboxGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMailboxGatewayTimeout

func NewGetVoicemailMailboxGatewayTimeout() *GetVoicemailMailboxGatewayTimeout

NewGetVoicemailMailboxGatewayTimeout creates a GetVoicemailMailboxGatewayTimeout with default headers values

func (*GetVoicemailMailboxGatewayTimeout) Error

func (*GetVoicemailMailboxGatewayTimeout) GetPayload

func (*GetVoicemailMailboxGatewayTimeout) IsClientError

func (o *GetVoicemailMailboxGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail mailbox gateway timeout response has a 4xx status code

func (*GetVoicemailMailboxGatewayTimeout) IsCode

func (o *GetVoicemailMailboxGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox gateway timeout response a status code equal to that given

func (*GetVoicemailMailboxGatewayTimeout) IsRedirect

func (o *GetVoicemailMailboxGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox gateway timeout response has a 3xx status code

func (*GetVoicemailMailboxGatewayTimeout) IsServerError

func (o *GetVoicemailMailboxGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail mailbox gateway timeout response has a 5xx status code

func (*GetVoicemailMailboxGatewayTimeout) IsSuccess

func (o *GetVoicemailMailboxGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox gateway timeout response has a 2xx status code

func (*GetVoicemailMailboxGatewayTimeout) String

type GetVoicemailMailboxInternalServerError

type GetVoicemailMailboxInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMailboxInternalServerError

func NewGetVoicemailMailboxInternalServerError() *GetVoicemailMailboxInternalServerError

NewGetVoicemailMailboxInternalServerError creates a GetVoicemailMailboxInternalServerError with default headers values

func (*GetVoicemailMailboxInternalServerError) Error

func (*GetVoicemailMailboxInternalServerError) GetPayload

func (*GetVoicemailMailboxInternalServerError) IsClientError

func (o *GetVoicemailMailboxInternalServerError) IsClientError() bool

IsClientError returns true when this get voicemail mailbox internal server error response has a 4xx status code

func (*GetVoicemailMailboxInternalServerError) IsCode

IsCode returns true when this get voicemail mailbox internal server error response a status code equal to that given

func (*GetVoicemailMailboxInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail mailbox internal server error response has a 3xx status code

func (*GetVoicemailMailboxInternalServerError) IsServerError

func (o *GetVoicemailMailboxInternalServerError) IsServerError() bool

IsServerError returns true when this get voicemail mailbox internal server error response has a 5xx status code

func (*GetVoicemailMailboxInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail mailbox internal server error response has a 2xx status code

func (*GetVoicemailMailboxInternalServerError) String

type GetVoicemailMailboxNotFound

type GetVoicemailMailboxNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMailboxNotFound

func NewGetVoicemailMailboxNotFound() *GetVoicemailMailboxNotFound

NewGetVoicemailMailboxNotFound creates a GetVoicemailMailboxNotFound with default headers values

func (*GetVoicemailMailboxNotFound) Error

func (*GetVoicemailMailboxNotFound) GetPayload

func (o *GetVoicemailMailboxNotFound) GetPayload() *models.ErrorBody

func (*GetVoicemailMailboxNotFound) IsClientError

func (o *GetVoicemailMailboxNotFound) IsClientError() bool

IsClientError returns true when this get voicemail mailbox not found response has a 4xx status code

func (*GetVoicemailMailboxNotFound) IsCode

func (o *GetVoicemailMailboxNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox not found response a status code equal to that given

func (*GetVoicemailMailboxNotFound) IsRedirect

func (o *GetVoicemailMailboxNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox not found response has a 3xx status code

func (*GetVoicemailMailboxNotFound) IsServerError

func (o *GetVoicemailMailboxNotFound) IsServerError() bool

IsServerError returns true when this get voicemail mailbox not found response has a 5xx status code

func (*GetVoicemailMailboxNotFound) IsSuccess

func (o *GetVoicemailMailboxNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox not found response has a 2xx status code

func (*GetVoicemailMailboxNotFound) String

func (o *GetVoicemailMailboxNotFound) String() string

type GetVoicemailMailboxOK

type GetVoicemailMailboxOK struct {
	Payload *models.VoicemailMailboxInfo
}

GetVoicemailMailboxOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMailboxOK

func NewGetVoicemailMailboxOK() *GetVoicemailMailboxOK

NewGetVoicemailMailboxOK creates a GetVoicemailMailboxOK with default headers values

func (*GetVoicemailMailboxOK) Error

func (o *GetVoicemailMailboxOK) Error() string

func (*GetVoicemailMailboxOK) GetPayload

func (*GetVoicemailMailboxOK) IsClientError

func (o *GetVoicemailMailboxOK) IsClientError() bool

IsClientError returns true when this get voicemail mailbox o k response has a 4xx status code

func (*GetVoicemailMailboxOK) IsCode

func (o *GetVoicemailMailboxOK) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox o k response a status code equal to that given

func (*GetVoicemailMailboxOK) IsRedirect

func (o *GetVoicemailMailboxOK) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox o k response has a 3xx status code

func (*GetVoicemailMailboxOK) IsServerError

func (o *GetVoicemailMailboxOK) IsServerError() bool

IsServerError returns true when this get voicemail mailbox o k response has a 5xx status code

func (*GetVoicemailMailboxOK) IsSuccess

func (o *GetVoicemailMailboxOK) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox o k response has a 2xx status code

func (*GetVoicemailMailboxOK) String

func (o *GetVoicemailMailboxOK) String() string

type GetVoicemailMailboxParams

type GetVoicemailMailboxParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMailboxParams contains all the parameters to send to the API endpoint

for the get voicemail mailbox operation.

Typically these are written to a http.Request.

func NewGetVoicemailMailboxParams

func NewGetVoicemailMailboxParams() *GetVoicemailMailboxParams

NewGetVoicemailMailboxParams creates a new GetVoicemailMailboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMailboxParamsWithContext

func NewGetVoicemailMailboxParamsWithContext(ctx context.Context) *GetVoicemailMailboxParams

NewGetVoicemailMailboxParamsWithContext creates a new GetVoicemailMailboxParams object with the ability to set a context for a request.

func NewGetVoicemailMailboxParamsWithHTTPClient

func NewGetVoicemailMailboxParamsWithHTTPClient(client *http.Client) *GetVoicemailMailboxParams

NewGetVoicemailMailboxParamsWithHTTPClient creates a new GetVoicemailMailboxParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMailboxParamsWithTimeout

func NewGetVoicemailMailboxParamsWithTimeout(timeout time.Duration) *GetVoicemailMailboxParams

NewGetVoicemailMailboxParamsWithTimeout creates a new GetVoicemailMailboxParams object with the ability to set a timeout on a request.

func (*GetVoicemailMailboxParams) SetContext

func (o *GetVoicemailMailboxParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail mailbox params

func (*GetVoicemailMailboxParams) SetDefaults

func (o *GetVoicemailMailboxParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail mailbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMailboxParams) SetHTTPClient

func (o *GetVoicemailMailboxParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail mailbox params

func (*GetVoicemailMailboxParams) SetTimeout

func (o *GetVoicemailMailboxParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail mailbox params

func (*GetVoicemailMailboxParams) WithContext

WithContext adds the context to the get voicemail mailbox params

func (*GetVoicemailMailboxParams) WithDefaults

WithDefaults hydrates default values in the get voicemail mailbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMailboxParams) WithHTTPClient

func (o *GetVoicemailMailboxParams) WithHTTPClient(client *http.Client) *GetVoicemailMailboxParams

WithHTTPClient adds the HTTPClient to the get voicemail mailbox params

func (*GetVoicemailMailboxParams) WithTimeout

WithTimeout adds the timeout to the get voicemail mailbox params

func (*GetVoicemailMailboxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMailboxReader

type GetVoicemailMailboxReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMailboxReader is a Reader for the GetVoicemailMailbox structure.

func (*GetVoicemailMailboxReader) ReadResponse

func (o *GetVoicemailMailboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMailboxRequestEntityTooLarge

type GetVoicemailMailboxRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMailboxRequestEntityTooLarge

func NewGetVoicemailMailboxRequestEntityTooLarge() *GetVoicemailMailboxRequestEntityTooLarge

NewGetVoicemailMailboxRequestEntityTooLarge creates a GetVoicemailMailboxRequestEntityTooLarge with default headers values

func (*GetVoicemailMailboxRequestEntityTooLarge) Error

func (*GetVoicemailMailboxRequestEntityTooLarge) GetPayload

func (*GetVoicemailMailboxRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail mailbox request entity too large response has a 4xx status code

func (*GetVoicemailMailboxRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail mailbox request entity too large response a status code equal to that given

func (*GetVoicemailMailboxRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail mailbox request entity too large response has a 3xx status code

func (*GetVoicemailMailboxRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail mailbox request entity too large response has a 5xx status code

func (*GetVoicemailMailboxRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail mailbox request entity too large response has a 2xx status code

func (*GetVoicemailMailboxRequestEntityTooLarge) String

type GetVoicemailMailboxRequestTimeout

type GetVoicemailMailboxRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMailboxRequestTimeout

func NewGetVoicemailMailboxRequestTimeout() *GetVoicemailMailboxRequestTimeout

NewGetVoicemailMailboxRequestTimeout creates a GetVoicemailMailboxRequestTimeout with default headers values

func (*GetVoicemailMailboxRequestTimeout) Error

func (*GetVoicemailMailboxRequestTimeout) GetPayload

func (*GetVoicemailMailboxRequestTimeout) IsClientError

func (o *GetVoicemailMailboxRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail mailbox request timeout response has a 4xx status code

func (*GetVoicemailMailboxRequestTimeout) IsCode

func (o *GetVoicemailMailboxRequestTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox request timeout response a status code equal to that given

func (*GetVoicemailMailboxRequestTimeout) IsRedirect

func (o *GetVoicemailMailboxRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox request timeout response has a 3xx status code

func (*GetVoicemailMailboxRequestTimeout) IsServerError

func (o *GetVoicemailMailboxRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail mailbox request timeout response has a 5xx status code

func (*GetVoicemailMailboxRequestTimeout) IsSuccess

func (o *GetVoicemailMailboxRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox request timeout response has a 2xx status code

func (*GetVoicemailMailboxRequestTimeout) String

type GetVoicemailMailboxServiceUnavailable

type GetVoicemailMailboxServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMailboxServiceUnavailable

func NewGetVoicemailMailboxServiceUnavailable() *GetVoicemailMailboxServiceUnavailable

NewGetVoicemailMailboxServiceUnavailable creates a GetVoicemailMailboxServiceUnavailable with default headers values

func (*GetVoicemailMailboxServiceUnavailable) Error

func (*GetVoicemailMailboxServiceUnavailable) GetPayload

func (*GetVoicemailMailboxServiceUnavailable) IsClientError

func (o *GetVoicemailMailboxServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail mailbox service unavailable response has a 4xx status code

func (*GetVoicemailMailboxServiceUnavailable) IsCode

IsCode returns true when this get voicemail mailbox service unavailable response a status code equal to that given

func (*GetVoicemailMailboxServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail mailbox service unavailable response has a 3xx status code

func (*GetVoicemailMailboxServiceUnavailable) IsServerError

func (o *GetVoicemailMailboxServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail mailbox service unavailable response has a 5xx status code

func (*GetVoicemailMailboxServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail mailbox service unavailable response has a 2xx status code

func (*GetVoicemailMailboxServiceUnavailable) String

type GetVoicemailMailboxTooManyRequests

type GetVoicemailMailboxTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMailboxTooManyRequests

func NewGetVoicemailMailboxTooManyRequests() *GetVoicemailMailboxTooManyRequests

NewGetVoicemailMailboxTooManyRequests creates a GetVoicemailMailboxTooManyRequests with default headers values

func (*GetVoicemailMailboxTooManyRequests) Error

func (*GetVoicemailMailboxTooManyRequests) GetPayload

func (*GetVoicemailMailboxTooManyRequests) IsClientError

func (o *GetVoicemailMailboxTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail mailbox too many requests response has a 4xx status code

func (*GetVoicemailMailboxTooManyRequests) IsCode

IsCode returns true when this get voicemail mailbox too many requests response a status code equal to that given

func (*GetVoicemailMailboxTooManyRequests) IsRedirect

func (o *GetVoicemailMailboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox too many requests response has a 3xx status code

func (*GetVoicemailMailboxTooManyRequests) IsServerError

func (o *GetVoicemailMailboxTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail mailbox too many requests response has a 5xx status code

func (*GetVoicemailMailboxTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail mailbox too many requests response has a 2xx status code

func (*GetVoicemailMailboxTooManyRequests) String

type GetVoicemailMailboxUnauthorized

type GetVoicemailMailboxUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMailboxUnauthorized

func NewGetVoicemailMailboxUnauthorized() *GetVoicemailMailboxUnauthorized

NewGetVoicemailMailboxUnauthorized creates a GetVoicemailMailboxUnauthorized with default headers values

func (*GetVoicemailMailboxUnauthorized) Error

func (*GetVoicemailMailboxUnauthorized) GetPayload

func (*GetVoicemailMailboxUnauthorized) IsClientError

func (o *GetVoicemailMailboxUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail mailbox unauthorized response has a 4xx status code

func (*GetVoicemailMailboxUnauthorized) IsCode

func (o *GetVoicemailMailboxUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail mailbox unauthorized response a status code equal to that given

func (*GetVoicemailMailboxUnauthorized) IsRedirect

func (o *GetVoicemailMailboxUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail mailbox unauthorized response has a 3xx status code

func (*GetVoicemailMailboxUnauthorized) IsServerError

func (o *GetVoicemailMailboxUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail mailbox unauthorized response has a 5xx status code

func (*GetVoicemailMailboxUnauthorized) IsSuccess

func (o *GetVoicemailMailboxUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail mailbox unauthorized response has a 2xx status code

func (*GetVoicemailMailboxUnauthorized) String

type GetVoicemailMailboxUnsupportedMediaType

type GetVoicemailMailboxUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMailboxUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMailboxUnsupportedMediaType

func NewGetVoicemailMailboxUnsupportedMediaType() *GetVoicemailMailboxUnsupportedMediaType

NewGetVoicemailMailboxUnsupportedMediaType creates a GetVoicemailMailboxUnsupportedMediaType with default headers values

func (*GetVoicemailMailboxUnsupportedMediaType) Error

func (*GetVoicemailMailboxUnsupportedMediaType) GetPayload

func (*GetVoicemailMailboxUnsupportedMediaType) IsClientError

func (o *GetVoicemailMailboxUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get voicemail mailbox unsupported media type response has a 4xx status code

func (*GetVoicemailMailboxUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail mailbox unsupported media type response a status code equal to that given

func (*GetVoicemailMailboxUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail mailbox unsupported media type response has a 3xx status code

func (*GetVoicemailMailboxUnsupportedMediaType) IsServerError

func (o *GetVoicemailMailboxUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get voicemail mailbox unsupported media type response has a 5xx status code

func (*GetVoicemailMailboxUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail mailbox unsupported media type response has a 2xx status code

func (*GetVoicemailMailboxUnsupportedMediaType) String

type GetVoicemailMeMailboxBadRequest

type GetVoicemailMeMailboxBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMeMailboxBadRequest

func NewGetVoicemailMeMailboxBadRequest() *GetVoicemailMeMailboxBadRequest

NewGetVoicemailMeMailboxBadRequest creates a GetVoicemailMeMailboxBadRequest with default headers values

func (*GetVoicemailMeMailboxBadRequest) Error

func (*GetVoicemailMeMailboxBadRequest) GetPayload

func (*GetVoicemailMeMailboxBadRequest) IsClientError

func (o *GetVoicemailMeMailboxBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox bad request response has a 4xx status code

func (*GetVoicemailMeMailboxBadRequest) IsCode

func (o *GetVoicemailMeMailboxBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail me mailbox bad request response a status code equal to that given

func (*GetVoicemailMeMailboxBadRequest) IsRedirect

func (o *GetVoicemailMeMailboxBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox bad request response has a 3xx status code

func (*GetVoicemailMeMailboxBadRequest) IsServerError

func (o *GetVoicemailMeMailboxBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox bad request response has a 5xx status code

func (*GetVoicemailMeMailboxBadRequest) IsSuccess

func (o *GetVoicemailMeMailboxBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail me mailbox bad request response has a 2xx status code

func (*GetVoicemailMeMailboxBadRequest) String

type GetVoicemailMeMailboxForbidden

type GetVoicemailMeMailboxForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMeMailboxForbidden

func NewGetVoicemailMeMailboxForbidden() *GetVoicemailMeMailboxForbidden

NewGetVoicemailMeMailboxForbidden creates a GetVoicemailMeMailboxForbidden with default headers values

func (*GetVoicemailMeMailboxForbidden) Error

func (*GetVoicemailMeMailboxForbidden) GetPayload

func (*GetVoicemailMeMailboxForbidden) IsClientError

func (o *GetVoicemailMeMailboxForbidden) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox forbidden response has a 4xx status code

func (*GetVoicemailMeMailboxForbidden) IsCode

func (o *GetVoicemailMeMailboxForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail me mailbox forbidden response a status code equal to that given

func (*GetVoicemailMeMailboxForbidden) IsRedirect

func (o *GetVoicemailMeMailboxForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox forbidden response has a 3xx status code

func (*GetVoicemailMeMailboxForbidden) IsServerError

func (o *GetVoicemailMeMailboxForbidden) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox forbidden response has a 5xx status code

func (*GetVoicemailMeMailboxForbidden) IsSuccess

func (o *GetVoicemailMeMailboxForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail me mailbox forbidden response has a 2xx status code

func (*GetVoicemailMeMailboxForbidden) String

type GetVoicemailMeMailboxGatewayTimeout

type GetVoicemailMeMailboxGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMeMailboxGatewayTimeout

func NewGetVoicemailMeMailboxGatewayTimeout() *GetVoicemailMeMailboxGatewayTimeout

NewGetVoicemailMeMailboxGatewayTimeout creates a GetVoicemailMeMailboxGatewayTimeout with default headers values

func (*GetVoicemailMeMailboxGatewayTimeout) Error

func (*GetVoicemailMeMailboxGatewayTimeout) GetPayload

func (*GetVoicemailMeMailboxGatewayTimeout) IsClientError

func (o *GetVoicemailMeMailboxGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox gateway timeout response has a 4xx status code

func (*GetVoicemailMeMailboxGatewayTimeout) IsCode

IsCode returns true when this get voicemail me mailbox gateway timeout response a status code equal to that given

func (*GetVoicemailMeMailboxGatewayTimeout) IsRedirect

func (o *GetVoicemailMeMailboxGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox gateway timeout response has a 3xx status code

func (*GetVoicemailMeMailboxGatewayTimeout) IsServerError

func (o *GetVoicemailMeMailboxGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox gateway timeout response has a 5xx status code

func (*GetVoicemailMeMailboxGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail me mailbox gateway timeout response has a 2xx status code

func (*GetVoicemailMeMailboxGatewayTimeout) String

type GetVoicemailMeMailboxInternalServerError

type GetVoicemailMeMailboxInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMeMailboxInternalServerError

func NewGetVoicemailMeMailboxInternalServerError() *GetVoicemailMeMailboxInternalServerError

NewGetVoicemailMeMailboxInternalServerError creates a GetVoicemailMeMailboxInternalServerError with default headers values

func (*GetVoicemailMeMailboxInternalServerError) Error

func (*GetVoicemailMeMailboxInternalServerError) GetPayload

func (*GetVoicemailMeMailboxInternalServerError) IsClientError

IsClientError returns true when this get voicemail me mailbox internal server error response has a 4xx status code

func (*GetVoicemailMeMailboxInternalServerError) IsCode

IsCode returns true when this get voicemail me mailbox internal server error response a status code equal to that given

func (*GetVoicemailMeMailboxInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail me mailbox internal server error response has a 3xx status code

func (*GetVoicemailMeMailboxInternalServerError) IsServerError

IsServerError returns true when this get voicemail me mailbox internal server error response has a 5xx status code

func (*GetVoicemailMeMailboxInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail me mailbox internal server error response has a 2xx status code

func (*GetVoicemailMeMailboxInternalServerError) String

type GetVoicemailMeMailboxNotFound

type GetVoicemailMeMailboxNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMeMailboxNotFound

func NewGetVoicemailMeMailboxNotFound() *GetVoicemailMeMailboxNotFound

NewGetVoicemailMeMailboxNotFound creates a GetVoicemailMeMailboxNotFound with default headers values

func (*GetVoicemailMeMailboxNotFound) Error

func (*GetVoicemailMeMailboxNotFound) GetPayload

func (*GetVoicemailMeMailboxNotFound) IsClientError

func (o *GetVoicemailMeMailboxNotFound) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox not found response has a 4xx status code

func (*GetVoicemailMeMailboxNotFound) IsCode

func (o *GetVoicemailMeMailboxNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail me mailbox not found response a status code equal to that given

func (*GetVoicemailMeMailboxNotFound) IsRedirect

func (o *GetVoicemailMeMailboxNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox not found response has a 3xx status code

func (*GetVoicemailMeMailboxNotFound) IsServerError

func (o *GetVoicemailMeMailboxNotFound) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox not found response has a 5xx status code

func (*GetVoicemailMeMailboxNotFound) IsSuccess

func (o *GetVoicemailMeMailboxNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail me mailbox not found response has a 2xx status code

func (*GetVoicemailMeMailboxNotFound) String

type GetVoicemailMeMailboxOK

type GetVoicemailMeMailboxOK struct {
	Payload *models.VoicemailMailboxInfo
}

GetVoicemailMeMailboxOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMeMailboxOK

func NewGetVoicemailMeMailboxOK() *GetVoicemailMeMailboxOK

NewGetVoicemailMeMailboxOK creates a GetVoicemailMeMailboxOK with default headers values

func (*GetVoicemailMeMailboxOK) Error

func (o *GetVoicemailMeMailboxOK) Error() string

func (*GetVoicemailMeMailboxOK) GetPayload

func (*GetVoicemailMeMailboxOK) IsClientError

func (o *GetVoicemailMeMailboxOK) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox o k response has a 4xx status code

func (*GetVoicemailMeMailboxOK) IsCode

func (o *GetVoicemailMeMailboxOK) IsCode(code int) bool

IsCode returns true when this get voicemail me mailbox o k response a status code equal to that given

func (*GetVoicemailMeMailboxOK) IsRedirect

func (o *GetVoicemailMeMailboxOK) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox o k response has a 3xx status code

func (*GetVoicemailMeMailboxOK) IsServerError

func (o *GetVoicemailMeMailboxOK) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox o k response has a 5xx status code

func (*GetVoicemailMeMailboxOK) IsSuccess

func (o *GetVoicemailMeMailboxOK) IsSuccess() bool

IsSuccess returns true when this get voicemail me mailbox o k response has a 2xx status code

func (*GetVoicemailMeMailboxOK) String

func (o *GetVoicemailMeMailboxOK) String() string

type GetVoicemailMeMailboxParams

type GetVoicemailMeMailboxParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMeMailboxParams contains all the parameters to send to the API endpoint

for the get voicemail me mailbox operation.

Typically these are written to a http.Request.

func NewGetVoicemailMeMailboxParams

func NewGetVoicemailMeMailboxParams() *GetVoicemailMeMailboxParams

NewGetVoicemailMeMailboxParams creates a new GetVoicemailMeMailboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMeMailboxParamsWithContext

func NewGetVoicemailMeMailboxParamsWithContext(ctx context.Context) *GetVoicemailMeMailboxParams

NewGetVoicemailMeMailboxParamsWithContext creates a new GetVoicemailMeMailboxParams object with the ability to set a context for a request.

func NewGetVoicemailMeMailboxParamsWithHTTPClient

func NewGetVoicemailMeMailboxParamsWithHTTPClient(client *http.Client) *GetVoicemailMeMailboxParams

NewGetVoicemailMeMailboxParamsWithHTTPClient creates a new GetVoicemailMeMailboxParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMeMailboxParamsWithTimeout

func NewGetVoicemailMeMailboxParamsWithTimeout(timeout time.Duration) *GetVoicemailMeMailboxParams

NewGetVoicemailMeMailboxParamsWithTimeout creates a new GetVoicemailMeMailboxParams object with the ability to set a timeout on a request.

func (*GetVoicemailMeMailboxParams) SetContext

func (o *GetVoicemailMeMailboxParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail me mailbox params

func (*GetVoicemailMeMailboxParams) SetDefaults

func (o *GetVoicemailMeMailboxParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail me mailbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMeMailboxParams) SetHTTPClient

func (o *GetVoicemailMeMailboxParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail me mailbox params

func (*GetVoicemailMeMailboxParams) SetTimeout

func (o *GetVoicemailMeMailboxParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail me mailbox params

func (*GetVoicemailMeMailboxParams) WithContext

WithContext adds the context to the get voicemail me mailbox params

func (*GetVoicemailMeMailboxParams) WithDefaults

WithDefaults hydrates default values in the get voicemail me mailbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMeMailboxParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail me mailbox params

func (*GetVoicemailMeMailboxParams) WithTimeout

WithTimeout adds the timeout to the get voicemail me mailbox params

func (*GetVoicemailMeMailboxParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMeMailboxReader

type GetVoicemailMeMailboxReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMeMailboxReader is a Reader for the GetVoicemailMeMailbox structure.

func (*GetVoicemailMeMailboxReader) ReadResponse

func (o *GetVoicemailMeMailboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMeMailboxRequestEntityTooLarge

type GetVoicemailMeMailboxRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMeMailboxRequestEntityTooLarge

func NewGetVoicemailMeMailboxRequestEntityTooLarge() *GetVoicemailMeMailboxRequestEntityTooLarge

NewGetVoicemailMeMailboxRequestEntityTooLarge creates a GetVoicemailMeMailboxRequestEntityTooLarge with default headers values

func (*GetVoicemailMeMailboxRequestEntityTooLarge) Error

func (*GetVoicemailMeMailboxRequestEntityTooLarge) GetPayload

func (*GetVoicemailMeMailboxRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail me mailbox request entity too large response has a 4xx status code

func (*GetVoicemailMeMailboxRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail me mailbox request entity too large response a status code equal to that given

func (*GetVoicemailMeMailboxRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail me mailbox request entity too large response has a 3xx status code

func (*GetVoicemailMeMailboxRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail me mailbox request entity too large response has a 5xx status code

func (*GetVoicemailMeMailboxRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail me mailbox request entity too large response has a 2xx status code

func (*GetVoicemailMeMailboxRequestEntityTooLarge) String

type GetVoicemailMeMailboxRequestTimeout

type GetVoicemailMeMailboxRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMeMailboxRequestTimeout

func NewGetVoicemailMeMailboxRequestTimeout() *GetVoicemailMeMailboxRequestTimeout

NewGetVoicemailMeMailboxRequestTimeout creates a GetVoicemailMeMailboxRequestTimeout with default headers values

func (*GetVoicemailMeMailboxRequestTimeout) Error

func (*GetVoicemailMeMailboxRequestTimeout) GetPayload

func (*GetVoicemailMeMailboxRequestTimeout) IsClientError

func (o *GetVoicemailMeMailboxRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox request timeout response has a 4xx status code

func (*GetVoicemailMeMailboxRequestTimeout) IsCode

IsCode returns true when this get voicemail me mailbox request timeout response a status code equal to that given

func (*GetVoicemailMeMailboxRequestTimeout) IsRedirect

func (o *GetVoicemailMeMailboxRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox request timeout response has a 3xx status code

func (*GetVoicemailMeMailboxRequestTimeout) IsServerError

func (o *GetVoicemailMeMailboxRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox request timeout response has a 5xx status code

func (*GetVoicemailMeMailboxRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail me mailbox request timeout response has a 2xx status code

func (*GetVoicemailMeMailboxRequestTimeout) String

type GetVoicemailMeMailboxServiceUnavailable

type GetVoicemailMeMailboxServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMeMailboxServiceUnavailable

func NewGetVoicemailMeMailboxServiceUnavailable() *GetVoicemailMeMailboxServiceUnavailable

NewGetVoicemailMeMailboxServiceUnavailable creates a GetVoicemailMeMailboxServiceUnavailable with default headers values

func (*GetVoicemailMeMailboxServiceUnavailable) Error

func (*GetVoicemailMeMailboxServiceUnavailable) GetPayload

func (*GetVoicemailMeMailboxServiceUnavailable) IsClientError

func (o *GetVoicemailMeMailboxServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox service unavailable response has a 4xx status code

func (*GetVoicemailMeMailboxServiceUnavailable) IsCode

IsCode returns true when this get voicemail me mailbox service unavailable response a status code equal to that given

func (*GetVoicemailMeMailboxServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail me mailbox service unavailable response has a 3xx status code

func (*GetVoicemailMeMailboxServiceUnavailable) IsServerError

func (o *GetVoicemailMeMailboxServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox service unavailable response has a 5xx status code

func (*GetVoicemailMeMailboxServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail me mailbox service unavailable response has a 2xx status code

func (*GetVoicemailMeMailboxServiceUnavailable) String

type GetVoicemailMeMailboxTooManyRequests

type GetVoicemailMeMailboxTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMeMailboxTooManyRequests

func NewGetVoicemailMeMailboxTooManyRequests() *GetVoicemailMeMailboxTooManyRequests

NewGetVoicemailMeMailboxTooManyRequests creates a GetVoicemailMeMailboxTooManyRequests with default headers values

func (*GetVoicemailMeMailboxTooManyRequests) Error

func (*GetVoicemailMeMailboxTooManyRequests) GetPayload

func (*GetVoicemailMeMailboxTooManyRequests) IsClientError

func (o *GetVoicemailMeMailboxTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox too many requests response has a 4xx status code

func (*GetVoicemailMeMailboxTooManyRequests) IsCode

IsCode returns true when this get voicemail me mailbox too many requests response a status code equal to that given

func (*GetVoicemailMeMailboxTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail me mailbox too many requests response has a 3xx status code

func (*GetVoicemailMeMailboxTooManyRequests) IsServerError

func (o *GetVoicemailMeMailboxTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox too many requests response has a 5xx status code

func (*GetVoicemailMeMailboxTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail me mailbox too many requests response has a 2xx status code

func (*GetVoicemailMeMailboxTooManyRequests) String

type GetVoicemailMeMailboxUnauthorized

type GetVoicemailMeMailboxUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMeMailboxUnauthorized

func NewGetVoicemailMeMailboxUnauthorized() *GetVoicemailMeMailboxUnauthorized

NewGetVoicemailMeMailboxUnauthorized creates a GetVoicemailMeMailboxUnauthorized with default headers values

func (*GetVoicemailMeMailboxUnauthorized) Error

func (*GetVoicemailMeMailboxUnauthorized) GetPayload

func (*GetVoicemailMeMailboxUnauthorized) IsClientError

func (o *GetVoicemailMeMailboxUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail me mailbox unauthorized response has a 4xx status code

func (*GetVoicemailMeMailboxUnauthorized) IsCode

func (o *GetVoicemailMeMailboxUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail me mailbox unauthorized response a status code equal to that given

func (*GetVoicemailMeMailboxUnauthorized) IsRedirect

func (o *GetVoicemailMeMailboxUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail me mailbox unauthorized response has a 3xx status code

func (*GetVoicemailMeMailboxUnauthorized) IsServerError

func (o *GetVoicemailMeMailboxUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail me mailbox unauthorized response has a 5xx status code

func (*GetVoicemailMeMailboxUnauthorized) IsSuccess

func (o *GetVoicemailMeMailboxUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail me mailbox unauthorized response has a 2xx status code

func (*GetVoicemailMeMailboxUnauthorized) String

type GetVoicemailMeMailboxUnsupportedMediaType

type GetVoicemailMeMailboxUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMailboxUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMeMailboxUnsupportedMediaType

func NewGetVoicemailMeMailboxUnsupportedMediaType() *GetVoicemailMeMailboxUnsupportedMediaType

NewGetVoicemailMeMailboxUnsupportedMediaType creates a GetVoicemailMeMailboxUnsupportedMediaType with default headers values

func (*GetVoicemailMeMailboxUnsupportedMediaType) Error

func (*GetVoicemailMeMailboxUnsupportedMediaType) GetPayload

func (*GetVoicemailMeMailboxUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail me mailbox unsupported media type response has a 4xx status code

func (*GetVoicemailMeMailboxUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail me mailbox unsupported media type response a status code equal to that given

func (*GetVoicemailMeMailboxUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail me mailbox unsupported media type response has a 3xx status code

func (*GetVoicemailMeMailboxUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail me mailbox unsupported media type response has a 5xx status code

func (*GetVoicemailMeMailboxUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail me mailbox unsupported media type response has a 2xx status code

func (*GetVoicemailMeMailboxUnsupportedMediaType) String

type GetVoicemailMeMessagesBadRequest

type GetVoicemailMeMessagesBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMeMessagesBadRequest

func NewGetVoicemailMeMessagesBadRequest() *GetVoicemailMeMessagesBadRequest

NewGetVoicemailMeMessagesBadRequest creates a GetVoicemailMeMessagesBadRequest with default headers values

func (*GetVoicemailMeMessagesBadRequest) Error

func (*GetVoicemailMeMessagesBadRequest) GetPayload

func (*GetVoicemailMeMessagesBadRequest) IsClientError

func (o *GetVoicemailMeMessagesBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail me messages bad request response has a 4xx status code

func (*GetVoicemailMeMessagesBadRequest) IsCode

func (o *GetVoicemailMeMessagesBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail me messages bad request response a status code equal to that given

func (*GetVoicemailMeMessagesBadRequest) IsRedirect

func (o *GetVoicemailMeMessagesBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail me messages bad request response has a 3xx status code

func (*GetVoicemailMeMessagesBadRequest) IsServerError

func (o *GetVoicemailMeMessagesBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail me messages bad request response has a 5xx status code

func (*GetVoicemailMeMessagesBadRequest) IsSuccess

func (o *GetVoicemailMeMessagesBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail me messages bad request response has a 2xx status code

func (*GetVoicemailMeMessagesBadRequest) String

type GetVoicemailMeMessagesForbidden

type GetVoicemailMeMessagesForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMeMessagesForbidden

func NewGetVoicemailMeMessagesForbidden() *GetVoicemailMeMessagesForbidden

NewGetVoicemailMeMessagesForbidden creates a GetVoicemailMeMessagesForbidden with default headers values

func (*GetVoicemailMeMessagesForbidden) Error

func (*GetVoicemailMeMessagesForbidden) GetPayload

func (*GetVoicemailMeMessagesForbidden) IsClientError

func (o *GetVoicemailMeMessagesForbidden) IsClientError() bool

IsClientError returns true when this get voicemail me messages forbidden response has a 4xx status code

func (*GetVoicemailMeMessagesForbidden) IsCode

func (o *GetVoicemailMeMessagesForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail me messages forbidden response a status code equal to that given

func (*GetVoicemailMeMessagesForbidden) IsRedirect

func (o *GetVoicemailMeMessagesForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail me messages forbidden response has a 3xx status code

func (*GetVoicemailMeMessagesForbidden) IsServerError

func (o *GetVoicemailMeMessagesForbidden) IsServerError() bool

IsServerError returns true when this get voicemail me messages forbidden response has a 5xx status code

func (*GetVoicemailMeMessagesForbidden) IsSuccess

func (o *GetVoicemailMeMessagesForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail me messages forbidden response has a 2xx status code

func (*GetVoicemailMeMessagesForbidden) String

type GetVoicemailMeMessagesGatewayTimeout

type GetVoicemailMeMessagesGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMeMessagesGatewayTimeout

func NewGetVoicemailMeMessagesGatewayTimeout() *GetVoicemailMeMessagesGatewayTimeout

NewGetVoicemailMeMessagesGatewayTimeout creates a GetVoicemailMeMessagesGatewayTimeout with default headers values

func (*GetVoicemailMeMessagesGatewayTimeout) Error

func (*GetVoicemailMeMessagesGatewayTimeout) GetPayload

func (*GetVoicemailMeMessagesGatewayTimeout) IsClientError

func (o *GetVoicemailMeMessagesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail me messages gateway timeout response has a 4xx status code

func (*GetVoicemailMeMessagesGatewayTimeout) IsCode

IsCode returns true when this get voicemail me messages gateway timeout response a status code equal to that given

func (*GetVoicemailMeMessagesGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail me messages gateway timeout response has a 3xx status code

func (*GetVoicemailMeMessagesGatewayTimeout) IsServerError

func (o *GetVoicemailMeMessagesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail me messages gateway timeout response has a 5xx status code

func (*GetVoicemailMeMessagesGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail me messages gateway timeout response has a 2xx status code

func (*GetVoicemailMeMessagesGatewayTimeout) String

type GetVoicemailMeMessagesInternalServerError

type GetVoicemailMeMessagesInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMeMessagesInternalServerError

func NewGetVoicemailMeMessagesInternalServerError() *GetVoicemailMeMessagesInternalServerError

NewGetVoicemailMeMessagesInternalServerError creates a GetVoicemailMeMessagesInternalServerError with default headers values

func (*GetVoicemailMeMessagesInternalServerError) Error

func (*GetVoicemailMeMessagesInternalServerError) GetPayload

func (*GetVoicemailMeMessagesInternalServerError) IsClientError

IsClientError returns true when this get voicemail me messages internal server error response has a 4xx status code

func (*GetVoicemailMeMessagesInternalServerError) IsCode

IsCode returns true when this get voicemail me messages internal server error response a status code equal to that given

func (*GetVoicemailMeMessagesInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail me messages internal server error response has a 3xx status code

func (*GetVoicemailMeMessagesInternalServerError) IsServerError

IsServerError returns true when this get voicemail me messages internal server error response has a 5xx status code

func (*GetVoicemailMeMessagesInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail me messages internal server error response has a 2xx status code

func (*GetVoicemailMeMessagesInternalServerError) String

type GetVoicemailMeMessagesNotFound

type GetVoicemailMeMessagesNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMeMessagesNotFound

func NewGetVoicemailMeMessagesNotFound() *GetVoicemailMeMessagesNotFound

NewGetVoicemailMeMessagesNotFound creates a GetVoicemailMeMessagesNotFound with default headers values

func (*GetVoicemailMeMessagesNotFound) Error

func (*GetVoicemailMeMessagesNotFound) GetPayload

func (*GetVoicemailMeMessagesNotFound) IsClientError

func (o *GetVoicemailMeMessagesNotFound) IsClientError() bool

IsClientError returns true when this get voicemail me messages not found response has a 4xx status code

func (*GetVoicemailMeMessagesNotFound) IsCode

func (o *GetVoicemailMeMessagesNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail me messages not found response a status code equal to that given

func (*GetVoicemailMeMessagesNotFound) IsRedirect

func (o *GetVoicemailMeMessagesNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail me messages not found response has a 3xx status code

func (*GetVoicemailMeMessagesNotFound) IsServerError

func (o *GetVoicemailMeMessagesNotFound) IsServerError() bool

IsServerError returns true when this get voicemail me messages not found response has a 5xx status code

func (*GetVoicemailMeMessagesNotFound) IsSuccess

func (o *GetVoicemailMeMessagesNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail me messages not found response has a 2xx status code

func (*GetVoicemailMeMessagesNotFound) String

type GetVoicemailMeMessagesOK

type GetVoicemailMeMessagesOK struct {
	Payload *models.VoicemailMessageEntityListing
}

GetVoicemailMeMessagesOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMeMessagesOK

func NewGetVoicemailMeMessagesOK() *GetVoicemailMeMessagesOK

NewGetVoicemailMeMessagesOK creates a GetVoicemailMeMessagesOK with default headers values

func (*GetVoicemailMeMessagesOK) Error

func (o *GetVoicemailMeMessagesOK) Error() string

func (*GetVoicemailMeMessagesOK) GetPayload

func (*GetVoicemailMeMessagesOK) IsClientError

func (o *GetVoicemailMeMessagesOK) IsClientError() bool

IsClientError returns true when this get voicemail me messages o k response has a 4xx status code

func (*GetVoicemailMeMessagesOK) IsCode

func (o *GetVoicemailMeMessagesOK) IsCode(code int) bool

IsCode returns true when this get voicemail me messages o k response a status code equal to that given

func (*GetVoicemailMeMessagesOK) IsRedirect

func (o *GetVoicemailMeMessagesOK) IsRedirect() bool

IsRedirect returns true when this get voicemail me messages o k response has a 3xx status code

func (*GetVoicemailMeMessagesOK) IsServerError

func (o *GetVoicemailMeMessagesOK) IsServerError() bool

IsServerError returns true when this get voicemail me messages o k response has a 5xx status code

func (*GetVoicemailMeMessagesOK) IsSuccess

func (o *GetVoicemailMeMessagesOK) IsSuccess() bool

IsSuccess returns true when this get voicemail me messages o k response has a 2xx status code

func (*GetVoicemailMeMessagesOK) String

func (o *GetVoicemailMeMessagesOK) String() string

type GetVoicemailMeMessagesParams

type GetVoicemailMeMessagesParams struct {

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMeMessagesParams contains all the parameters to send to the API endpoint

for the get voicemail me messages operation.

Typically these are written to a http.Request.

func NewGetVoicemailMeMessagesParams

func NewGetVoicemailMeMessagesParams() *GetVoicemailMeMessagesParams

NewGetVoicemailMeMessagesParams creates a new GetVoicemailMeMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMeMessagesParamsWithContext

func NewGetVoicemailMeMessagesParamsWithContext(ctx context.Context) *GetVoicemailMeMessagesParams

NewGetVoicemailMeMessagesParamsWithContext creates a new GetVoicemailMeMessagesParams object with the ability to set a context for a request.

func NewGetVoicemailMeMessagesParamsWithHTTPClient

func NewGetVoicemailMeMessagesParamsWithHTTPClient(client *http.Client) *GetVoicemailMeMessagesParams

NewGetVoicemailMeMessagesParamsWithHTTPClient creates a new GetVoicemailMeMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMeMessagesParamsWithTimeout

func NewGetVoicemailMeMessagesParamsWithTimeout(timeout time.Duration) *GetVoicemailMeMessagesParams

NewGetVoicemailMeMessagesParamsWithTimeout creates a new GetVoicemailMeMessagesParams object with the ability to set a timeout on a request.

func (*GetVoicemailMeMessagesParams) SetContext

func (o *GetVoicemailMeMessagesParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) SetDefaults

func (o *GetVoicemailMeMessagesParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail me messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMeMessagesParams) SetHTTPClient

func (o *GetVoicemailMeMessagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) SetPageNumber

func (o *GetVoicemailMeMessagesParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) SetPageSize

func (o *GetVoicemailMeMessagesParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) SetTimeout

func (o *GetVoicemailMeMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) WithContext

WithContext adds the context to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) WithDefaults

WithDefaults hydrates default values in the get voicemail me messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMeMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) WithPageNumber

func (o *GetVoicemailMeMessagesParams) WithPageNumber(pageNumber *int32) *GetVoicemailMeMessagesParams

WithPageNumber adds the pageNumber to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) WithPageSize

WithPageSize adds the pageSize to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) WithTimeout

WithTimeout adds the timeout to the get voicemail me messages params

func (*GetVoicemailMeMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMeMessagesReader

type GetVoicemailMeMessagesReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMeMessagesReader is a Reader for the GetVoicemailMeMessages structure.

func (*GetVoicemailMeMessagesReader) ReadResponse

func (o *GetVoicemailMeMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMeMessagesRequestEntityTooLarge

type GetVoicemailMeMessagesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMeMessagesRequestEntityTooLarge

func NewGetVoicemailMeMessagesRequestEntityTooLarge() *GetVoicemailMeMessagesRequestEntityTooLarge

NewGetVoicemailMeMessagesRequestEntityTooLarge creates a GetVoicemailMeMessagesRequestEntityTooLarge with default headers values

func (*GetVoicemailMeMessagesRequestEntityTooLarge) Error

func (*GetVoicemailMeMessagesRequestEntityTooLarge) GetPayload

func (*GetVoicemailMeMessagesRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail me messages request entity too large response has a 4xx status code

func (*GetVoicemailMeMessagesRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail me messages request entity too large response a status code equal to that given

func (*GetVoicemailMeMessagesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail me messages request entity too large response has a 3xx status code

func (*GetVoicemailMeMessagesRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail me messages request entity too large response has a 5xx status code

func (*GetVoicemailMeMessagesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail me messages request entity too large response has a 2xx status code

func (*GetVoicemailMeMessagesRequestEntityTooLarge) String

type GetVoicemailMeMessagesRequestTimeout

type GetVoicemailMeMessagesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMeMessagesRequestTimeout

func NewGetVoicemailMeMessagesRequestTimeout() *GetVoicemailMeMessagesRequestTimeout

NewGetVoicemailMeMessagesRequestTimeout creates a GetVoicemailMeMessagesRequestTimeout with default headers values

func (*GetVoicemailMeMessagesRequestTimeout) Error

func (*GetVoicemailMeMessagesRequestTimeout) GetPayload

func (*GetVoicemailMeMessagesRequestTimeout) IsClientError

func (o *GetVoicemailMeMessagesRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail me messages request timeout response has a 4xx status code

func (*GetVoicemailMeMessagesRequestTimeout) IsCode

IsCode returns true when this get voicemail me messages request timeout response a status code equal to that given

func (*GetVoicemailMeMessagesRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail me messages request timeout response has a 3xx status code

func (*GetVoicemailMeMessagesRequestTimeout) IsServerError

func (o *GetVoicemailMeMessagesRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail me messages request timeout response has a 5xx status code

func (*GetVoicemailMeMessagesRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail me messages request timeout response has a 2xx status code

func (*GetVoicemailMeMessagesRequestTimeout) String

type GetVoicemailMeMessagesServiceUnavailable

type GetVoicemailMeMessagesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMeMessagesServiceUnavailable

func NewGetVoicemailMeMessagesServiceUnavailable() *GetVoicemailMeMessagesServiceUnavailable

NewGetVoicemailMeMessagesServiceUnavailable creates a GetVoicemailMeMessagesServiceUnavailable with default headers values

func (*GetVoicemailMeMessagesServiceUnavailable) Error

func (*GetVoicemailMeMessagesServiceUnavailable) GetPayload

func (*GetVoicemailMeMessagesServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail me messages service unavailable response has a 4xx status code

func (*GetVoicemailMeMessagesServiceUnavailable) IsCode

IsCode returns true when this get voicemail me messages service unavailable response a status code equal to that given

func (*GetVoicemailMeMessagesServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail me messages service unavailable response has a 3xx status code

func (*GetVoicemailMeMessagesServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail me messages service unavailable response has a 5xx status code

func (*GetVoicemailMeMessagesServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail me messages service unavailable response has a 2xx status code

func (*GetVoicemailMeMessagesServiceUnavailable) String

type GetVoicemailMeMessagesTooManyRequests

type GetVoicemailMeMessagesTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMeMessagesTooManyRequests

func NewGetVoicemailMeMessagesTooManyRequests() *GetVoicemailMeMessagesTooManyRequests

NewGetVoicemailMeMessagesTooManyRequests creates a GetVoicemailMeMessagesTooManyRequests with default headers values

func (*GetVoicemailMeMessagesTooManyRequests) Error

func (*GetVoicemailMeMessagesTooManyRequests) GetPayload

func (*GetVoicemailMeMessagesTooManyRequests) IsClientError

func (o *GetVoicemailMeMessagesTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail me messages too many requests response has a 4xx status code

func (*GetVoicemailMeMessagesTooManyRequests) IsCode

IsCode returns true when this get voicemail me messages too many requests response a status code equal to that given

func (*GetVoicemailMeMessagesTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail me messages too many requests response has a 3xx status code

func (*GetVoicemailMeMessagesTooManyRequests) IsServerError

func (o *GetVoicemailMeMessagesTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail me messages too many requests response has a 5xx status code

func (*GetVoicemailMeMessagesTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail me messages too many requests response has a 2xx status code

func (*GetVoicemailMeMessagesTooManyRequests) String

type GetVoicemailMeMessagesUnauthorized

type GetVoicemailMeMessagesUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMeMessagesUnauthorized

func NewGetVoicemailMeMessagesUnauthorized() *GetVoicemailMeMessagesUnauthorized

NewGetVoicemailMeMessagesUnauthorized creates a GetVoicemailMeMessagesUnauthorized with default headers values

func (*GetVoicemailMeMessagesUnauthorized) Error

func (*GetVoicemailMeMessagesUnauthorized) GetPayload

func (*GetVoicemailMeMessagesUnauthorized) IsClientError

func (o *GetVoicemailMeMessagesUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail me messages unauthorized response has a 4xx status code

func (*GetVoicemailMeMessagesUnauthorized) IsCode

IsCode returns true when this get voicemail me messages unauthorized response a status code equal to that given

func (*GetVoicemailMeMessagesUnauthorized) IsRedirect

func (o *GetVoicemailMeMessagesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail me messages unauthorized response has a 3xx status code

func (*GetVoicemailMeMessagesUnauthorized) IsServerError

func (o *GetVoicemailMeMessagesUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail me messages unauthorized response has a 5xx status code

func (*GetVoicemailMeMessagesUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail me messages unauthorized response has a 2xx status code

func (*GetVoicemailMeMessagesUnauthorized) String

type GetVoicemailMeMessagesUnsupportedMediaType

type GetVoicemailMeMessagesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMeMessagesUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMeMessagesUnsupportedMediaType

func NewGetVoicemailMeMessagesUnsupportedMediaType() *GetVoicemailMeMessagesUnsupportedMediaType

NewGetVoicemailMeMessagesUnsupportedMediaType creates a GetVoicemailMeMessagesUnsupportedMediaType with default headers values

func (*GetVoicemailMeMessagesUnsupportedMediaType) Error

func (*GetVoicemailMeMessagesUnsupportedMediaType) GetPayload

func (*GetVoicemailMeMessagesUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail me messages unsupported media type response has a 4xx status code

func (*GetVoicemailMeMessagesUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail me messages unsupported media type response a status code equal to that given

func (*GetVoicemailMeMessagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail me messages unsupported media type response has a 3xx status code

func (*GetVoicemailMeMessagesUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail me messages unsupported media type response has a 5xx status code

func (*GetVoicemailMeMessagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail me messages unsupported media type response has a 2xx status code

func (*GetVoicemailMeMessagesUnsupportedMediaType) String

type GetVoicemailMePolicyBadRequest

type GetVoicemailMePolicyBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMePolicyBadRequest

func NewGetVoicemailMePolicyBadRequest() *GetVoicemailMePolicyBadRequest

NewGetVoicemailMePolicyBadRequest creates a GetVoicemailMePolicyBadRequest with default headers values

func (*GetVoicemailMePolicyBadRequest) Error

func (*GetVoicemailMePolicyBadRequest) GetPayload

func (*GetVoicemailMePolicyBadRequest) IsClientError

func (o *GetVoicemailMePolicyBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail me policy bad request response has a 4xx status code

func (*GetVoicemailMePolicyBadRequest) IsCode

func (o *GetVoicemailMePolicyBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail me policy bad request response a status code equal to that given

func (*GetVoicemailMePolicyBadRequest) IsRedirect

func (o *GetVoicemailMePolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy bad request response has a 3xx status code

func (*GetVoicemailMePolicyBadRequest) IsServerError

func (o *GetVoicemailMePolicyBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail me policy bad request response has a 5xx status code

func (*GetVoicemailMePolicyBadRequest) IsSuccess

func (o *GetVoicemailMePolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail me policy bad request response has a 2xx status code

func (*GetVoicemailMePolicyBadRequest) String

type GetVoicemailMePolicyForbidden

type GetVoicemailMePolicyForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMePolicyForbidden

func NewGetVoicemailMePolicyForbidden() *GetVoicemailMePolicyForbidden

NewGetVoicemailMePolicyForbidden creates a GetVoicemailMePolicyForbidden with default headers values

func (*GetVoicemailMePolicyForbidden) Error

func (*GetVoicemailMePolicyForbidden) GetPayload

func (*GetVoicemailMePolicyForbidden) IsClientError

func (o *GetVoicemailMePolicyForbidden) IsClientError() bool

IsClientError returns true when this get voicemail me policy forbidden response has a 4xx status code

func (*GetVoicemailMePolicyForbidden) IsCode

func (o *GetVoicemailMePolicyForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail me policy forbidden response a status code equal to that given

func (*GetVoicemailMePolicyForbidden) IsRedirect

func (o *GetVoicemailMePolicyForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy forbidden response has a 3xx status code

func (*GetVoicemailMePolicyForbidden) IsServerError

func (o *GetVoicemailMePolicyForbidden) IsServerError() bool

IsServerError returns true when this get voicemail me policy forbidden response has a 5xx status code

func (*GetVoicemailMePolicyForbidden) IsSuccess

func (o *GetVoicemailMePolicyForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail me policy forbidden response has a 2xx status code

func (*GetVoicemailMePolicyForbidden) String

type GetVoicemailMePolicyGatewayTimeout

type GetVoicemailMePolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMePolicyGatewayTimeout

func NewGetVoicemailMePolicyGatewayTimeout() *GetVoicemailMePolicyGatewayTimeout

NewGetVoicemailMePolicyGatewayTimeout creates a GetVoicemailMePolicyGatewayTimeout with default headers values

func (*GetVoicemailMePolicyGatewayTimeout) Error

func (*GetVoicemailMePolicyGatewayTimeout) GetPayload

func (*GetVoicemailMePolicyGatewayTimeout) IsClientError

func (o *GetVoicemailMePolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail me policy gateway timeout response has a 4xx status code

func (*GetVoicemailMePolicyGatewayTimeout) IsCode

IsCode returns true when this get voicemail me policy gateway timeout response a status code equal to that given

func (*GetVoicemailMePolicyGatewayTimeout) IsRedirect

func (o *GetVoicemailMePolicyGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy gateway timeout response has a 3xx status code

func (*GetVoicemailMePolicyGatewayTimeout) IsServerError

func (o *GetVoicemailMePolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail me policy gateway timeout response has a 5xx status code

func (*GetVoicemailMePolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail me policy gateway timeout response has a 2xx status code

func (*GetVoicemailMePolicyGatewayTimeout) String

type GetVoicemailMePolicyInternalServerError

type GetVoicemailMePolicyInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMePolicyInternalServerError

func NewGetVoicemailMePolicyInternalServerError() *GetVoicemailMePolicyInternalServerError

NewGetVoicemailMePolicyInternalServerError creates a GetVoicemailMePolicyInternalServerError with default headers values

func (*GetVoicemailMePolicyInternalServerError) Error

func (*GetVoicemailMePolicyInternalServerError) GetPayload

func (*GetVoicemailMePolicyInternalServerError) IsClientError

func (o *GetVoicemailMePolicyInternalServerError) IsClientError() bool

IsClientError returns true when this get voicemail me policy internal server error response has a 4xx status code

func (*GetVoicemailMePolicyInternalServerError) IsCode

IsCode returns true when this get voicemail me policy internal server error response a status code equal to that given

func (*GetVoicemailMePolicyInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail me policy internal server error response has a 3xx status code

func (*GetVoicemailMePolicyInternalServerError) IsServerError

func (o *GetVoicemailMePolicyInternalServerError) IsServerError() bool

IsServerError returns true when this get voicemail me policy internal server error response has a 5xx status code

func (*GetVoicemailMePolicyInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail me policy internal server error response has a 2xx status code

func (*GetVoicemailMePolicyInternalServerError) String

type GetVoicemailMePolicyNotFound

type GetVoicemailMePolicyNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMePolicyNotFound

func NewGetVoicemailMePolicyNotFound() *GetVoicemailMePolicyNotFound

NewGetVoicemailMePolicyNotFound creates a GetVoicemailMePolicyNotFound with default headers values

func (*GetVoicemailMePolicyNotFound) Error

func (*GetVoicemailMePolicyNotFound) GetPayload

func (*GetVoicemailMePolicyNotFound) IsClientError

func (o *GetVoicemailMePolicyNotFound) IsClientError() bool

IsClientError returns true when this get voicemail me policy not found response has a 4xx status code

func (*GetVoicemailMePolicyNotFound) IsCode

func (o *GetVoicemailMePolicyNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail me policy not found response a status code equal to that given

func (*GetVoicemailMePolicyNotFound) IsRedirect

func (o *GetVoicemailMePolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy not found response has a 3xx status code

func (*GetVoicemailMePolicyNotFound) IsServerError

func (o *GetVoicemailMePolicyNotFound) IsServerError() bool

IsServerError returns true when this get voicemail me policy not found response has a 5xx status code

func (*GetVoicemailMePolicyNotFound) IsSuccess

func (o *GetVoicemailMePolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail me policy not found response has a 2xx status code

func (*GetVoicemailMePolicyNotFound) String

type GetVoicemailMePolicyOK

type GetVoicemailMePolicyOK struct {
	Payload *models.VoicemailUserPolicy
}

GetVoicemailMePolicyOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMePolicyOK

func NewGetVoicemailMePolicyOK() *GetVoicemailMePolicyOK

NewGetVoicemailMePolicyOK creates a GetVoicemailMePolicyOK with default headers values

func (*GetVoicemailMePolicyOK) Error

func (o *GetVoicemailMePolicyOK) Error() string

func (*GetVoicemailMePolicyOK) GetPayload

func (*GetVoicemailMePolicyOK) IsClientError

func (o *GetVoicemailMePolicyOK) IsClientError() bool

IsClientError returns true when this get voicemail me policy o k response has a 4xx status code

func (*GetVoicemailMePolicyOK) IsCode

func (o *GetVoicemailMePolicyOK) IsCode(code int) bool

IsCode returns true when this get voicemail me policy o k response a status code equal to that given

func (*GetVoicemailMePolicyOK) IsRedirect

func (o *GetVoicemailMePolicyOK) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy o k response has a 3xx status code

func (*GetVoicemailMePolicyOK) IsServerError

func (o *GetVoicemailMePolicyOK) IsServerError() bool

IsServerError returns true when this get voicemail me policy o k response has a 5xx status code

func (*GetVoicemailMePolicyOK) IsSuccess

func (o *GetVoicemailMePolicyOK) IsSuccess() bool

IsSuccess returns true when this get voicemail me policy o k response has a 2xx status code

func (*GetVoicemailMePolicyOK) String

func (o *GetVoicemailMePolicyOK) String() string

type GetVoicemailMePolicyParams

type GetVoicemailMePolicyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMePolicyParams contains all the parameters to send to the API endpoint

for the get voicemail me policy operation.

Typically these are written to a http.Request.

func NewGetVoicemailMePolicyParams

func NewGetVoicemailMePolicyParams() *GetVoicemailMePolicyParams

NewGetVoicemailMePolicyParams creates a new GetVoicemailMePolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMePolicyParamsWithContext

func NewGetVoicemailMePolicyParamsWithContext(ctx context.Context) *GetVoicemailMePolicyParams

NewGetVoicemailMePolicyParamsWithContext creates a new GetVoicemailMePolicyParams object with the ability to set a context for a request.

func NewGetVoicemailMePolicyParamsWithHTTPClient

func NewGetVoicemailMePolicyParamsWithHTTPClient(client *http.Client) *GetVoicemailMePolicyParams

NewGetVoicemailMePolicyParamsWithHTTPClient creates a new GetVoicemailMePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMePolicyParamsWithTimeout

func NewGetVoicemailMePolicyParamsWithTimeout(timeout time.Duration) *GetVoicemailMePolicyParams

NewGetVoicemailMePolicyParamsWithTimeout creates a new GetVoicemailMePolicyParams object with the ability to set a timeout on a request.

func (*GetVoicemailMePolicyParams) SetContext

func (o *GetVoicemailMePolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail me policy params

func (*GetVoicemailMePolicyParams) SetDefaults

func (o *GetVoicemailMePolicyParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail me policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMePolicyParams) SetHTTPClient

func (o *GetVoicemailMePolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail me policy params

func (*GetVoicemailMePolicyParams) SetTimeout

func (o *GetVoicemailMePolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail me policy params

func (*GetVoicemailMePolicyParams) WithContext

WithContext adds the context to the get voicemail me policy params

func (*GetVoicemailMePolicyParams) WithDefaults

WithDefaults hydrates default values in the get voicemail me policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMePolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail me policy params

func (*GetVoicemailMePolicyParams) WithTimeout

WithTimeout adds the timeout to the get voicemail me policy params

func (*GetVoicemailMePolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMePolicyReader

type GetVoicemailMePolicyReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMePolicyReader is a Reader for the GetVoicemailMePolicy structure.

func (*GetVoicemailMePolicyReader) ReadResponse

func (o *GetVoicemailMePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMePolicyRequestEntityTooLarge

type GetVoicemailMePolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMePolicyRequestEntityTooLarge

func NewGetVoicemailMePolicyRequestEntityTooLarge() *GetVoicemailMePolicyRequestEntityTooLarge

NewGetVoicemailMePolicyRequestEntityTooLarge creates a GetVoicemailMePolicyRequestEntityTooLarge with default headers values

func (*GetVoicemailMePolicyRequestEntityTooLarge) Error

func (*GetVoicemailMePolicyRequestEntityTooLarge) GetPayload

func (*GetVoicemailMePolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail me policy request entity too large response has a 4xx status code

func (*GetVoicemailMePolicyRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail me policy request entity too large response a status code equal to that given

func (*GetVoicemailMePolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail me policy request entity too large response has a 3xx status code

func (*GetVoicemailMePolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail me policy request entity too large response has a 5xx status code

func (*GetVoicemailMePolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail me policy request entity too large response has a 2xx status code

func (*GetVoicemailMePolicyRequestEntityTooLarge) String

type GetVoicemailMePolicyRequestTimeout

type GetVoicemailMePolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMePolicyRequestTimeout

func NewGetVoicemailMePolicyRequestTimeout() *GetVoicemailMePolicyRequestTimeout

NewGetVoicemailMePolicyRequestTimeout creates a GetVoicemailMePolicyRequestTimeout with default headers values

func (*GetVoicemailMePolicyRequestTimeout) Error

func (*GetVoicemailMePolicyRequestTimeout) GetPayload

func (*GetVoicemailMePolicyRequestTimeout) IsClientError

func (o *GetVoicemailMePolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail me policy request timeout response has a 4xx status code

func (*GetVoicemailMePolicyRequestTimeout) IsCode

IsCode returns true when this get voicemail me policy request timeout response a status code equal to that given

func (*GetVoicemailMePolicyRequestTimeout) IsRedirect

func (o *GetVoicemailMePolicyRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy request timeout response has a 3xx status code

func (*GetVoicemailMePolicyRequestTimeout) IsServerError

func (o *GetVoicemailMePolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail me policy request timeout response has a 5xx status code

func (*GetVoicemailMePolicyRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail me policy request timeout response has a 2xx status code

func (*GetVoicemailMePolicyRequestTimeout) String

type GetVoicemailMePolicyServiceUnavailable

type GetVoicemailMePolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMePolicyServiceUnavailable

func NewGetVoicemailMePolicyServiceUnavailable() *GetVoicemailMePolicyServiceUnavailable

NewGetVoicemailMePolicyServiceUnavailable creates a GetVoicemailMePolicyServiceUnavailable with default headers values

func (*GetVoicemailMePolicyServiceUnavailable) Error

func (*GetVoicemailMePolicyServiceUnavailable) GetPayload

func (*GetVoicemailMePolicyServiceUnavailable) IsClientError

func (o *GetVoicemailMePolicyServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail me policy service unavailable response has a 4xx status code

func (*GetVoicemailMePolicyServiceUnavailable) IsCode

IsCode returns true when this get voicemail me policy service unavailable response a status code equal to that given

func (*GetVoicemailMePolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail me policy service unavailable response has a 3xx status code

func (*GetVoicemailMePolicyServiceUnavailable) IsServerError

func (o *GetVoicemailMePolicyServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail me policy service unavailable response has a 5xx status code

func (*GetVoicemailMePolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail me policy service unavailable response has a 2xx status code

func (*GetVoicemailMePolicyServiceUnavailable) String

type GetVoicemailMePolicyTooManyRequests

type GetVoicemailMePolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMePolicyTooManyRequests

func NewGetVoicemailMePolicyTooManyRequests() *GetVoicemailMePolicyTooManyRequests

NewGetVoicemailMePolicyTooManyRequests creates a GetVoicemailMePolicyTooManyRequests with default headers values

func (*GetVoicemailMePolicyTooManyRequests) Error

func (*GetVoicemailMePolicyTooManyRequests) GetPayload

func (*GetVoicemailMePolicyTooManyRequests) IsClientError

func (o *GetVoicemailMePolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail me policy too many requests response has a 4xx status code

func (*GetVoicemailMePolicyTooManyRequests) IsCode

IsCode returns true when this get voicemail me policy too many requests response a status code equal to that given

func (*GetVoicemailMePolicyTooManyRequests) IsRedirect

func (o *GetVoicemailMePolicyTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy too many requests response has a 3xx status code

func (*GetVoicemailMePolicyTooManyRequests) IsServerError

func (o *GetVoicemailMePolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail me policy too many requests response has a 5xx status code

func (*GetVoicemailMePolicyTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail me policy too many requests response has a 2xx status code

func (*GetVoicemailMePolicyTooManyRequests) String

type GetVoicemailMePolicyUnauthorized

type GetVoicemailMePolicyUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMePolicyUnauthorized

func NewGetVoicemailMePolicyUnauthorized() *GetVoicemailMePolicyUnauthorized

NewGetVoicemailMePolicyUnauthorized creates a GetVoicemailMePolicyUnauthorized with default headers values

func (*GetVoicemailMePolicyUnauthorized) Error

func (*GetVoicemailMePolicyUnauthorized) GetPayload

func (*GetVoicemailMePolicyUnauthorized) IsClientError

func (o *GetVoicemailMePolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail me policy unauthorized response has a 4xx status code

func (*GetVoicemailMePolicyUnauthorized) IsCode

func (o *GetVoicemailMePolicyUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail me policy unauthorized response a status code equal to that given

func (*GetVoicemailMePolicyUnauthorized) IsRedirect

func (o *GetVoicemailMePolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail me policy unauthorized response has a 3xx status code

func (*GetVoicemailMePolicyUnauthorized) IsServerError

func (o *GetVoicemailMePolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail me policy unauthorized response has a 5xx status code

func (*GetVoicemailMePolicyUnauthorized) IsSuccess

func (o *GetVoicemailMePolicyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail me policy unauthorized response has a 2xx status code

func (*GetVoicemailMePolicyUnauthorized) String

type GetVoicemailMePolicyUnsupportedMediaType

type GetVoicemailMePolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMePolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMePolicyUnsupportedMediaType

func NewGetVoicemailMePolicyUnsupportedMediaType() *GetVoicemailMePolicyUnsupportedMediaType

NewGetVoicemailMePolicyUnsupportedMediaType creates a GetVoicemailMePolicyUnsupportedMediaType with default headers values

func (*GetVoicemailMePolicyUnsupportedMediaType) Error

func (*GetVoicemailMePolicyUnsupportedMediaType) GetPayload

func (*GetVoicemailMePolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail me policy unsupported media type response has a 4xx status code

func (*GetVoicemailMePolicyUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail me policy unsupported media type response a status code equal to that given

func (*GetVoicemailMePolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail me policy unsupported media type response has a 3xx status code

func (*GetVoicemailMePolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail me policy unsupported media type response has a 5xx status code

func (*GetVoicemailMePolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail me policy unsupported media type response has a 2xx status code

func (*GetVoicemailMePolicyUnsupportedMediaType) String

type GetVoicemailMessageBadRequest

type GetVoicemailMessageBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMessageBadRequest

func NewGetVoicemailMessageBadRequest() *GetVoicemailMessageBadRequest

NewGetVoicemailMessageBadRequest creates a GetVoicemailMessageBadRequest with default headers values

func (*GetVoicemailMessageBadRequest) Error

func (*GetVoicemailMessageBadRequest) GetPayload

func (*GetVoicemailMessageBadRequest) IsClientError

func (o *GetVoicemailMessageBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail message bad request response has a 4xx status code

func (*GetVoicemailMessageBadRequest) IsCode

func (o *GetVoicemailMessageBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail message bad request response a status code equal to that given

func (*GetVoicemailMessageBadRequest) IsRedirect

func (o *GetVoicemailMessageBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail message bad request response has a 3xx status code

func (*GetVoicemailMessageBadRequest) IsServerError

func (o *GetVoicemailMessageBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail message bad request response has a 5xx status code

func (*GetVoicemailMessageBadRequest) IsSuccess

func (o *GetVoicemailMessageBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail message bad request response has a 2xx status code

func (*GetVoicemailMessageBadRequest) String

type GetVoicemailMessageForbidden

type GetVoicemailMessageForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMessageForbidden

func NewGetVoicemailMessageForbidden() *GetVoicemailMessageForbidden

NewGetVoicemailMessageForbidden creates a GetVoicemailMessageForbidden with default headers values

func (*GetVoicemailMessageForbidden) Error

func (*GetVoicemailMessageForbidden) GetPayload

func (*GetVoicemailMessageForbidden) IsClientError

func (o *GetVoicemailMessageForbidden) IsClientError() bool

IsClientError returns true when this get voicemail message forbidden response has a 4xx status code

func (*GetVoicemailMessageForbidden) IsCode

func (o *GetVoicemailMessageForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail message forbidden response a status code equal to that given

func (*GetVoicemailMessageForbidden) IsRedirect

func (o *GetVoicemailMessageForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail message forbidden response has a 3xx status code

func (*GetVoicemailMessageForbidden) IsServerError

func (o *GetVoicemailMessageForbidden) IsServerError() bool

IsServerError returns true when this get voicemail message forbidden response has a 5xx status code

func (*GetVoicemailMessageForbidden) IsSuccess

func (o *GetVoicemailMessageForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail message forbidden response has a 2xx status code

func (*GetVoicemailMessageForbidden) String

type GetVoicemailMessageGatewayTimeout

type GetVoicemailMessageGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMessageGatewayTimeout

func NewGetVoicemailMessageGatewayTimeout() *GetVoicemailMessageGatewayTimeout

NewGetVoicemailMessageGatewayTimeout creates a GetVoicemailMessageGatewayTimeout with default headers values

func (*GetVoicemailMessageGatewayTimeout) Error

func (*GetVoicemailMessageGatewayTimeout) GetPayload

func (*GetVoicemailMessageGatewayTimeout) IsClientError

func (o *GetVoicemailMessageGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail message gateway timeout response has a 4xx status code

func (*GetVoicemailMessageGatewayTimeout) IsCode

func (o *GetVoicemailMessageGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail message gateway timeout response a status code equal to that given

func (*GetVoicemailMessageGatewayTimeout) IsRedirect

func (o *GetVoicemailMessageGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail message gateway timeout response has a 3xx status code

func (*GetVoicemailMessageGatewayTimeout) IsServerError

func (o *GetVoicemailMessageGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail message gateway timeout response has a 5xx status code

func (*GetVoicemailMessageGatewayTimeout) IsSuccess

func (o *GetVoicemailMessageGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail message gateway timeout response has a 2xx status code

func (*GetVoicemailMessageGatewayTimeout) String

type GetVoicemailMessageInternalServerError

type GetVoicemailMessageInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMessageInternalServerError

func NewGetVoicemailMessageInternalServerError() *GetVoicemailMessageInternalServerError

NewGetVoicemailMessageInternalServerError creates a GetVoicemailMessageInternalServerError with default headers values

func (*GetVoicemailMessageInternalServerError) Error

func (*GetVoicemailMessageInternalServerError) GetPayload

func (*GetVoicemailMessageInternalServerError) IsClientError

func (o *GetVoicemailMessageInternalServerError) IsClientError() bool

IsClientError returns true when this get voicemail message internal server error response has a 4xx status code

func (*GetVoicemailMessageInternalServerError) IsCode

IsCode returns true when this get voicemail message internal server error response a status code equal to that given

func (*GetVoicemailMessageInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail message internal server error response has a 3xx status code

func (*GetVoicemailMessageInternalServerError) IsServerError

func (o *GetVoicemailMessageInternalServerError) IsServerError() bool

IsServerError returns true when this get voicemail message internal server error response has a 5xx status code

func (*GetVoicemailMessageInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail message internal server error response has a 2xx status code

func (*GetVoicemailMessageInternalServerError) String

type GetVoicemailMessageMediaBadRequest

type GetVoicemailMessageMediaBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMessageMediaBadRequest

func NewGetVoicemailMessageMediaBadRequest() *GetVoicemailMessageMediaBadRequest

NewGetVoicemailMessageMediaBadRequest creates a GetVoicemailMessageMediaBadRequest with default headers values

func (*GetVoicemailMessageMediaBadRequest) Error

func (*GetVoicemailMessageMediaBadRequest) GetPayload

func (*GetVoicemailMessageMediaBadRequest) IsClientError

func (o *GetVoicemailMessageMediaBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail message media bad request response has a 4xx status code

func (*GetVoicemailMessageMediaBadRequest) IsCode

IsCode returns true when this get voicemail message media bad request response a status code equal to that given

func (*GetVoicemailMessageMediaBadRequest) IsRedirect

func (o *GetVoicemailMessageMediaBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail message media bad request response has a 3xx status code

func (*GetVoicemailMessageMediaBadRequest) IsServerError

func (o *GetVoicemailMessageMediaBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail message media bad request response has a 5xx status code

func (*GetVoicemailMessageMediaBadRequest) IsSuccess

IsSuccess returns true when this get voicemail message media bad request response has a 2xx status code

func (*GetVoicemailMessageMediaBadRequest) String

type GetVoicemailMessageMediaForbidden

type GetVoicemailMessageMediaForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMessageMediaForbidden

func NewGetVoicemailMessageMediaForbidden() *GetVoicemailMessageMediaForbidden

NewGetVoicemailMessageMediaForbidden creates a GetVoicemailMessageMediaForbidden with default headers values

func (*GetVoicemailMessageMediaForbidden) Error

func (*GetVoicemailMessageMediaForbidden) GetPayload

func (*GetVoicemailMessageMediaForbidden) IsClientError

func (o *GetVoicemailMessageMediaForbidden) IsClientError() bool

IsClientError returns true when this get voicemail message media forbidden response has a 4xx status code

func (*GetVoicemailMessageMediaForbidden) IsCode

func (o *GetVoicemailMessageMediaForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail message media forbidden response a status code equal to that given

func (*GetVoicemailMessageMediaForbidden) IsRedirect

func (o *GetVoicemailMessageMediaForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail message media forbidden response has a 3xx status code

func (*GetVoicemailMessageMediaForbidden) IsServerError

func (o *GetVoicemailMessageMediaForbidden) IsServerError() bool

IsServerError returns true when this get voicemail message media forbidden response has a 5xx status code

func (*GetVoicemailMessageMediaForbidden) IsSuccess

func (o *GetVoicemailMessageMediaForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail message media forbidden response has a 2xx status code

func (*GetVoicemailMessageMediaForbidden) String

type GetVoicemailMessageMediaGatewayTimeout

type GetVoicemailMessageMediaGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMessageMediaGatewayTimeout

func NewGetVoicemailMessageMediaGatewayTimeout() *GetVoicemailMessageMediaGatewayTimeout

NewGetVoicemailMessageMediaGatewayTimeout creates a GetVoicemailMessageMediaGatewayTimeout with default headers values

func (*GetVoicemailMessageMediaGatewayTimeout) Error

func (*GetVoicemailMessageMediaGatewayTimeout) GetPayload

func (*GetVoicemailMessageMediaGatewayTimeout) IsClientError

func (o *GetVoicemailMessageMediaGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail message media gateway timeout response has a 4xx status code

func (*GetVoicemailMessageMediaGatewayTimeout) IsCode

IsCode returns true when this get voicemail message media gateway timeout response a status code equal to that given

func (*GetVoicemailMessageMediaGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail message media gateway timeout response has a 3xx status code

func (*GetVoicemailMessageMediaGatewayTimeout) IsServerError

func (o *GetVoicemailMessageMediaGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail message media gateway timeout response has a 5xx status code

func (*GetVoicemailMessageMediaGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail message media gateway timeout response has a 2xx status code

func (*GetVoicemailMessageMediaGatewayTimeout) String

type GetVoicemailMessageMediaInternalServerError

type GetVoicemailMessageMediaInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMessageMediaInternalServerError

func NewGetVoicemailMessageMediaInternalServerError() *GetVoicemailMessageMediaInternalServerError

NewGetVoicemailMessageMediaInternalServerError creates a GetVoicemailMessageMediaInternalServerError with default headers values

func (*GetVoicemailMessageMediaInternalServerError) Error

func (*GetVoicemailMessageMediaInternalServerError) GetPayload

func (*GetVoicemailMessageMediaInternalServerError) IsClientError

IsClientError returns true when this get voicemail message media internal server error response has a 4xx status code

func (*GetVoicemailMessageMediaInternalServerError) IsCode

IsCode returns true when this get voicemail message media internal server error response a status code equal to that given

func (*GetVoicemailMessageMediaInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail message media internal server error response has a 3xx status code

func (*GetVoicemailMessageMediaInternalServerError) IsServerError

IsServerError returns true when this get voicemail message media internal server error response has a 5xx status code

func (*GetVoicemailMessageMediaInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail message media internal server error response has a 2xx status code

func (*GetVoicemailMessageMediaInternalServerError) String

type GetVoicemailMessageMediaNotFound

type GetVoicemailMessageMediaNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMessageMediaNotFound

func NewGetVoicemailMessageMediaNotFound() *GetVoicemailMessageMediaNotFound

NewGetVoicemailMessageMediaNotFound creates a GetVoicemailMessageMediaNotFound with default headers values

func (*GetVoicemailMessageMediaNotFound) Error

func (*GetVoicemailMessageMediaNotFound) GetPayload

func (*GetVoicemailMessageMediaNotFound) IsClientError

func (o *GetVoicemailMessageMediaNotFound) IsClientError() bool

IsClientError returns true when this get voicemail message media not found response has a 4xx status code

func (*GetVoicemailMessageMediaNotFound) IsCode

func (o *GetVoicemailMessageMediaNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail message media not found response a status code equal to that given

func (*GetVoicemailMessageMediaNotFound) IsRedirect

func (o *GetVoicemailMessageMediaNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail message media not found response has a 3xx status code

func (*GetVoicemailMessageMediaNotFound) IsServerError

func (o *GetVoicemailMessageMediaNotFound) IsServerError() bool

IsServerError returns true when this get voicemail message media not found response has a 5xx status code

func (*GetVoicemailMessageMediaNotFound) IsSuccess

func (o *GetVoicemailMessageMediaNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail message media not found response has a 2xx status code

func (*GetVoicemailMessageMediaNotFound) String

type GetVoicemailMessageMediaOK

type GetVoicemailMessageMediaOK struct {
	Payload *models.VoicemailMediaInfo
}

GetVoicemailMessageMediaOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMessageMediaOK

func NewGetVoicemailMessageMediaOK() *GetVoicemailMessageMediaOK

NewGetVoicemailMessageMediaOK creates a GetVoicemailMessageMediaOK with default headers values

func (*GetVoicemailMessageMediaOK) Error

func (*GetVoicemailMessageMediaOK) GetPayload

func (*GetVoicemailMessageMediaOK) IsClientError

func (o *GetVoicemailMessageMediaOK) IsClientError() bool

IsClientError returns true when this get voicemail message media o k response has a 4xx status code

func (*GetVoicemailMessageMediaOK) IsCode

func (o *GetVoicemailMessageMediaOK) IsCode(code int) bool

IsCode returns true when this get voicemail message media o k response a status code equal to that given

func (*GetVoicemailMessageMediaOK) IsRedirect

func (o *GetVoicemailMessageMediaOK) IsRedirect() bool

IsRedirect returns true when this get voicemail message media o k response has a 3xx status code

func (*GetVoicemailMessageMediaOK) IsServerError

func (o *GetVoicemailMessageMediaOK) IsServerError() bool

IsServerError returns true when this get voicemail message media o k response has a 5xx status code

func (*GetVoicemailMessageMediaOK) IsSuccess

func (o *GetVoicemailMessageMediaOK) IsSuccess() bool

IsSuccess returns true when this get voicemail message media o k response has a 2xx status code

func (*GetVoicemailMessageMediaOK) String

func (o *GetVoicemailMessageMediaOK) String() string

type GetVoicemailMessageMediaParams

type GetVoicemailMessageMediaParams struct {

	/* FormatID.

	   The desired media format.

	   Default: "WEBM"
	*/
	FormatID *string

	/* MessageID.

	   Message ID
	*/
	MessageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMessageMediaParams contains all the parameters to send to the API endpoint

for the get voicemail message media operation.

Typically these are written to a http.Request.

func NewGetVoicemailMessageMediaParams

func NewGetVoicemailMessageMediaParams() *GetVoicemailMessageMediaParams

NewGetVoicemailMessageMediaParams creates a new GetVoicemailMessageMediaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMessageMediaParamsWithContext

func NewGetVoicemailMessageMediaParamsWithContext(ctx context.Context) *GetVoicemailMessageMediaParams

NewGetVoicemailMessageMediaParamsWithContext creates a new GetVoicemailMessageMediaParams object with the ability to set a context for a request.

func NewGetVoicemailMessageMediaParamsWithHTTPClient

func NewGetVoicemailMessageMediaParamsWithHTTPClient(client *http.Client) *GetVoicemailMessageMediaParams

NewGetVoicemailMessageMediaParamsWithHTTPClient creates a new GetVoicemailMessageMediaParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMessageMediaParamsWithTimeout

func NewGetVoicemailMessageMediaParamsWithTimeout(timeout time.Duration) *GetVoicemailMessageMediaParams

NewGetVoicemailMessageMediaParamsWithTimeout creates a new GetVoicemailMessageMediaParams object with the ability to set a timeout on a request.

func (*GetVoicemailMessageMediaParams) SetContext

func (o *GetVoicemailMessageMediaParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) SetDefaults

func (o *GetVoicemailMessageMediaParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail message media params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMessageMediaParams) SetFormatID

func (o *GetVoicemailMessageMediaParams) SetFormatID(formatID *string)

SetFormatID adds the formatId to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) SetHTTPClient

func (o *GetVoicemailMessageMediaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) SetMessageID

func (o *GetVoicemailMessageMediaParams) SetMessageID(messageID string)

SetMessageID adds the messageId to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) SetTimeout

func (o *GetVoicemailMessageMediaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) WithContext

WithContext adds the context to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) WithDefaults

WithDefaults hydrates default values in the get voicemail message media params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMessageMediaParams) WithFormatID

WithFormatID adds the formatID to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) WithMessageID

WithMessageID adds the messageID to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) WithTimeout

WithTimeout adds the timeout to the get voicemail message media params

func (*GetVoicemailMessageMediaParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMessageMediaReader

type GetVoicemailMessageMediaReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMessageMediaReader is a Reader for the GetVoicemailMessageMedia structure.

func (*GetVoicemailMessageMediaReader) ReadResponse

func (o *GetVoicemailMessageMediaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMessageMediaRequestEntityTooLarge

type GetVoicemailMessageMediaRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMessageMediaRequestEntityTooLarge

func NewGetVoicemailMessageMediaRequestEntityTooLarge() *GetVoicemailMessageMediaRequestEntityTooLarge

NewGetVoicemailMessageMediaRequestEntityTooLarge creates a GetVoicemailMessageMediaRequestEntityTooLarge with default headers values

func (*GetVoicemailMessageMediaRequestEntityTooLarge) Error

func (*GetVoicemailMessageMediaRequestEntityTooLarge) GetPayload

func (*GetVoicemailMessageMediaRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail message media request entity too large response has a 4xx status code

func (*GetVoicemailMessageMediaRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail message media request entity too large response a status code equal to that given

func (*GetVoicemailMessageMediaRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail message media request entity too large response has a 3xx status code

func (*GetVoicemailMessageMediaRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail message media request entity too large response has a 5xx status code

func (*GetVoicemailMessageMediaRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail message media request entity too large response has a 2xx status code

func (*GetVoicemailMessageMediaRequestEntityTooLarge) String

type GetVoicemailMessageMediaRequestTimeout

type GetVoicemailMessageMediaRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMessageMediaRequestTimeout

func NewGetVoicemailMessageMediaRequestTimeout() *GetVoicemailMessageMediaRequestTimeout

NewGetVoicemailMessageMediaRequestTimeout creates a GetVoicemailMessageMediaRequestTimeout with default headers values

func (*GetVoicemailMessageMediaRequestTimeout) Error

func (*GetVoicemailMessageMediaRequestTimeout) GetPayload

func (*GetVoicemailMessageMediaRequestTimeout) IsClientError

func (o *GetVoicemailMessageMediaRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail message media request timeout response has a 4xx status code

func (*GetVoicemailMessageMediaRequestTimeout) IsCode

IsCode returns true when this get voicemail message media request timeout response a status code equal to that given

func (*GetVoicemailMessageMediaRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail message media request timeout response has a 3xx status code

func (*GetVoicemailMessageMediaRequestTimeout) IsServerError

func (o *GetVoicemailMessageMediaRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail message media request timeout response has a 5xx status code

func (*GetVoicemailMessageMediaRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail message media request timeout response has a 2xx status code

func (*GetVoicemailMessageMediaRequestTimeout) String

type GetVoicemailMessageMediaServiceUnavailable

type GetVoicemailMessageMediaServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMessageMediaServiceUnavailable

func NewGetVoicemailMessageMediaServiceUnavailable() *GetVoicemailMessageMediaServiceUnavailable

NewGetVoicemailMessageMediaServiceUnavailable creates a GetVoicemailMessageMediaServiceUnavailable with default headers values

func (*GetVoicemailMessageMediaServiceUnavailable) Error

func (*GetVoicemailMessageMediaServiceUnavailable) GetPayload

func (*GetVoicemailMessageMediaServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail message media service unavailable response has a 4xx status code

func (*GetVoicemailMessageMediaServiceUnavailable) IsCode

IsCode returns true when this get voicemail message media service unavailable response a status code equal to that given

func (*GetVoicemailMessageMediaServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail message media service unavailable response has a 3xx status code

func (*GetVoicemailMessageMediaServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail message media service unavailable response has a 5xx status code

func (*GetVoicemailMessageMediaServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail message media service unavailable response has a 2xx status code

func (*GetVoicemailMessageMediaServiceUnavailable) String

type GetVoicemailMessageMediaTooManyRequests

type GetVoicemailMessageMediaTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMessageMediaTooManyRequests

func NewGetVoicemailMessageMediaTooManyRequests() *GetVoicemailMessageMediaTooManyRequests

NewGetVoicemailMessageMediaTooManyRequests creates a GetVoicemailMessageMediaTooManyRequests with default headers values

func (*GetVoicemailMessageMediaTooManyRequests) Error

func (*GetVoicemailMessageMediaTooManyRequests) GetPayload

func (*GetVoicemailMessageMediaTooManyRequests) IsClientError

func (o *GetVoicemailMessageMediaTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail message media too many requests response has a 4xx status code

func (*GetVoicemailMessageMediaTooManyRequests) IsCode

IsCode returns true when this get voicemail message media too many requests response a status code equal to that given

func (*GetVoicemailMessageMediaTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail message media too many requests response has a 3xx status code

func (*GetVoicemailMessageMediaTooManyRequests) IsServerError

func (o *GetVoicemailMessageMediaTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail message media too many requests response has a 5xx status code

func (*GetVoicemailMessageMediaTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail message media too many requests response has a 2xx status code

func (*GetVoicemailMessageMediaTooManyRequests) String

type GetVoicemailMessageMediaUnauthorized

type GetVoicemailMessageMediaUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMessageMediaUnauthorized

func NewGetVoicemailMessageMediaUnauthorized() *GetVoicemailMessageMediaUnauthorized

NewGetVoicemailMessageMediaUnauthorized creates a GetVoicemailMessageMediaUnauthorized with default headers values

func (*GetVoicemailMessageMediaUnauthorized) Error

func (*GetVoicemailMessageMediaUnauthorized) GetPayload

func (*GetVoicemailMessageMediaUnauthorized) IsClientError

func (o *GetVoicemailMessageMediaUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail message media unauthorized response has a 4xx status code

func (*GetVoicemailMessageMediaUnauthorized) IsCode

IsCode returns true when this get voicemail message media unauthorized response a status code equal to that given

func (*GetVoicemailMessageMediaUnauthorized) IsRedirect

IsRedirect returns true when this get voicemail message media unauthorized response has a 3xx status code

func (*GetVoicemailMessageMediaUnauthorized) IsServerError

func (o *GetVoicemailMessageMediaUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail message media unauthorized response has a 5xx status code

func (*GetVoicemailMessageMediaUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail message media unauthorized response has a 2xx status code

func (*GetVoicemailMessageMediaUnauthorized) String

type GetVoicemailMessageMediaUnsupportedMediaType

type GetVoicemailMessageMediaUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageMediaUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMessageMediaUnsupportedMediaType

func NewGetVoicemailMessageMediaUnsupportedMediaType() *GetVoicemailMessageMediaUnsupportedMediaType

NewGetVoicemailMessageMediaUnsupportedMediaType creates a GetVoicemailMessageMediaUnsupportedMediaType with default headers values

func (*GetVoicemailMessageMediaUnsupportedMediaType) Error

func (*GetVoicemailMessageMediaUnsupportedMediaType) GetPayload

func (*GetVoicemailMessageMediaUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail message media unsupported media type response has a 4xx status code

func (*GetVoicemailMessageMediaUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail message media unsupported media type response a status code equal to that given

func (*GetVoicemailMessageMediaUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail message media unsupported media type response has a 3xx status code

func (*GetVoicemailMessageMediaUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail message media unsupported media type response has a 5xx status code

func (*GetVoicemailMessageMediaUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail message media unsupported media type response has a 2xx status code

func (*GetVoicemailMessageMediaUnsupportedMediaType) String

type GetVoicemailMessageNotFound

type GetVoicemailMessageNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMessageNotFound

func NewGetVoicemailMessageNotFound() *GetVoicemailMessageNotFound

NewGetVoicemailMessageNotFound creates a GetVoicemailMessageNotFound with default headers values

func (*GetVoicemailMessageNotFound) Error

func (*GetVoicemailMessageNotFound) GetPayload

func (o *GetVoicemailMessageNotFound) GetPayload() *models.ErrorBody

func (*GetVoicemailMessageNotFound) IsClientError

func (o *GetVoicemailMessageNotFound) IsClientError() bool

IsClientError returns true when this get voicemail message not found response has a 4xx status code

func (*GetVoicemailMessageNotFound) IsCode

func (o *GetVoicemailMessageNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail message not found response a status code equal to that given

func (*GetVoicemailMessageNotFound) IsRedirect

func (o *GetVoicemailMessageNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail message not found response has a 3xx status code

func (*GetVoicemailMessageNotFound) IsServerError

func (o *GetVoicemailMessageNotFound) IsServerError() bool

IsServerError returns true when this get voicemail message not found response has a 5xx status code

func (*GetVoicemailMessageNotFound) IsSuccess

func (o *GetVoicemailMessageNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail message not found response has a 2xx status code

func (*GetVoicemailMessageNotFound) String

func (o *GetVoicemailMessageNotFound) String() string

type GetVoicemailMessageOK

type GetVoicemailMessageOK struct {
	Payload *models.VoicemailMessage
}

GetVoicemailMessageOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMessageOK

func NewGetVoicemailMessageOK() *GetVoicemailMessageOK

NewGetVoicemailMessageOK creates a GetVoicemailMessageOK with default headers values

func (*GetVoicemailMessageOK) Error

func (o *GetVoicemailMessageOK) Error() string

func (*GetVoicemailMessageOK) GetPayload

func (*GetVoicemailMessageOK) IsClientError

func (o *GetVoicemailMessageOK) IsClientError() bool

IsClientError returns true when this get voicemail message o k response has a 4xx status code

func (*GetVoicemailMessageOK) IsCode

func (o *GetVoicemailMessageOK) IsCode(code int) bool

IsCode returns true when this get voicemail message o k response a status code equal to that given

func (*GetVoicemailMessageOK) IsRedirect

func (o *GetVoicemailMessageOK) IsRedirect() bool

IsRedirect returns true when this get voicemail message o k response has a 3xx status code

func (*GetVoicemailMessageOK) IsServerError

func (o *GetVoicemailMessageOK) IsServerError() bool

IsServerError returns true when this get voicemail message o k response has a 5xx status code

func (*GetVoicemailMessageOK) IsSuccess

func (o *GetVoicemailMessageOK) IsSuccess() bool

IsSuccess returns true when this get voicemail message o k response has a 2xx status code

func (*GetVoicemailMessageOK) String

func (o *GetVoicemailMessageOK) String() string

type GetVoicemailMessageParams

type GetVoicemailMessageParams struct {

	/* Expand.

	   If the caller is a known user, which fields, if any, to expand
	*/
	Expand []string

	/* MessageID.

	   Message ID
	*/
	MessageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMessageParams contains all the parameters to send to the API endpoint

for the get voicemail message operation.

Typically these are written to a http.Request.

func NewGetVoicemailMessageParams

func NewGetVoicemailMessageParams() *GetVoicemailMessageParams

NewGetVoicemailMessageParams creates a new GetVoicemailMessageParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMessageParamsWithContext

func NewGetVoicemailMessageParamsWithContext(ctx context.Context) *GetVoicemailMessageParams

NewGetVoicemailMessageParamsWithContext creates a new GetVoicemailMessageParams object with the ability to set a context for a request.

func NewGetVoicemailMessageParamsWithHTTPClient

func NewGetVoicemailMessageParamsWithHTTPClient(client *http.Client) *GetVoicemailMessageParams

NewGetVoicemailMessageParamsWithHTTPClient creates a new GetVoicemailMessageParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMessageParamsWithTimeout

func NewGetVoicemailMessageParamsWithTimeout(timeout time.Duration) *GetVoicemailMessageParams

NewGetVoicemailMessageParamsWithTimeout creates a new GetVoicemailMessageParams object with the ability to set a timeout on a request.

func (*GetVoicemailMessageParams) SetContext

func (o *GetVoicemailMessageParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail message params

func (*GetVoicemailMessageParams) SetDefaults

func (o *GetVoicemailMessageParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMessageParams) SetExpand

func (o *GetVoicemailMessageParams) SetExpand(expand []string)

SetExpand adds the expand to the get voicemail message params

func (*GetVoicemailMessageParams) SetHTTPClient

func (o *GetVoicemailMessageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail message params

func (*GetVoicemailMessageParams) SetMessageID

func (o *GetVoicemailMessageParams) SetMessageID(messageID string)

SetMessageID adds the messageId to the get voicemail message params

func (*GetVoicemailMessageParams) SetTimeout

func (o *GetVoicemailMessageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail message params

func (*GetVoicemailMessageParams) WithContext

WithContext adds the context to the get voicemail message params

func (*GetVoicemailMessageParams) WithDefaults

WithDefaults hydrates default values in the get voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMessageParams) WithExpand

WithExpand adds the expand to the get voicemail message params

func (*GetVoicemailMessageParams) WithHTTPClient

func (o *GetVoicemailMessageParams) WithHTTPClient(client *http.Client) *GetVoicemailMessageParams

WithHTTPClient adds the HTTPClient to the get voicemail message params

func (*GetVoicemailMessageParams) WithMessageID

func (o *GetVoicemailMessageParams) WithMessageID(messageID string) *GetVoicemailMessageParams

WithMessageID adds the messageID to the get voicemail message params

func (*GetVoicemailMessageParams) WithTimeout

WithTimeout adds the timeout to the get voicemail message params

func (*GetVoicemailMessageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMessageReader

type GetVoicemailMessageReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMessageReader is a Reader for the GetVoicemailMessage structure.

func (*GetVoicemailMessageReader) ReadResponse

func (o *GetVoicemailMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMessageRequestEntityTooLarge

type GetVoicemailMessageRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMessageRequestEntityTooLarge

func NewGetVoicemailMessageRequestEntityTooLarge() *GetVoicemailMessageRequestEntityTooLarge

NewGetVoicemailMessageRequestEntityTooLarge creates a GetVoicemailMessageRequestEntityTooLarge with default headers values

func (*GetVoicemailMessageRequestEntityTooLarge) Error

func (*GetVoicemailMessageRequestEntityTooLarge) GetPayload

func (*GetVoicemailMessageRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail message request entity too large response has a 4xx status code

func (*GetVoicemailMessageRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail message request entity too large response a status code equal to that given

func (*GetVoicemailMessageRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail message request entity too large response has a 3xx status code

func (*GetVoicemailMessageRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail message request entity too large response has a 5xx status code

func (*GetVoicemailMessageRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail message request entity too large response has a 2xx status code

func (*GetVoicemailMessageRequestEntityTooLarge) String

type GetVoicemailMessageRequestTimeout

type GetVoicemailMessageRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMessageRequestTimeout

func NewGetVoicemailMessageRequestTimeout() *GetVoicemailMessageRequestTimeout

NewGetVoicemailMessageRequestTimeout creates a GetVoicemailMessageRequestTimeout with default headers values

func (*GetVoicemailMessageRequestTimeout) Error

func (*GetVoicemailMessageRequestTimeout) GetPayload

func (*GetVoicemailMessageRequestTimeout) IsClientError

func (o *GetVoicemailMessageRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail message request timeout response has a 4xx status code

func (*GetVoicemailMessageRequestTimeout) IsCode

func (o *GetVoicemailMessageRequestTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail message request timeout response a status code equal to that given

func (*GetVoicemailMessageRequestTimeout) IsRedirect

func (o *GetVoicemailMessageRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail message request timeout response has a 3xx status code

func (*GetVoicemailMessageRequestTimeout) IsServerError

func (o *GetVoicemailMessageRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail message request timeout response has a 5xx status code

func (*GetVoicemailMessageRequestTimeout) IsSuccess

func (o *GetVoicemailMessageRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail message request timeout response has a 2xx status code

func (*GetVoicemailMessageRequestTimeout) String

type GetVoicemailMessageServiceUnavailable

type GetVoicemailMessageServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMessageServiceUnavailable

func NewGetVoicemailMessageServiceUnavailable() *GetVoicemailMessageServiceUnavailable

NewGetVoicemailMessageServiceUnavailable creates a GetVoicemailMessageServiceUnavailable with default headers values

func (*GetVoicemailMessageServiceUnavailable) Error

func (*GetVoicemailMessageServiceUnavailable) GetPayload

func (*GetVoicemailMessageServiceUnavailable) IsClientError

func (o *GetVoicemailMessageServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail message service unavailable response has a 4xx status code

func (*GetVoicemailMessageServiceUnavailable) IsCode

IsCode returns true when this get voicemail message service unavailable response a status code equal to that given

func (*GetVoicemailMessageServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail message service unavailable response has a 3xx status code

func (*GetVoicemailMessageServiceUnavailable) IsServerError

func (o *GetVoicemailMessageServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail message service unavailable response has a 5xx status code

func (*GetVoicemailMessageServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail message service unavailable response has a 2xx status code

func (*GetVoicemailMessageServiceUnavailable) String

type GetVoicemailMessageTooManyRequests

type GetVoicemailMessageTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMessageTooManyRequests

func NewGetVoicemailMessageTooManyRequests() *GetVoicemailMessageTooManyRequests

NewGetVoicemailMessageTooManyRequests creates a GetVoicemailMessageTooManyRequests with default headers values

func (*GetVoicemailMessageTooManyRequests) Error

func (*GetVoicemailMessageTooManyRequests) GetPayload

func (*GetVoicemailMessageTooManyRequests) IsClientError

func (o *GetVoicemailMessageTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail message too many requests response has a 4xx status code

func (*GetVoicemailMessageTooManyRequests) IsCode

IsCode returns true when this get voicemail message too many requests response a status code equal to that given

func (*GetVoicemailMessageTooManyRequests) IsRedirect

func (o *GetVoicemailMessageTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get voicemail message too many requests response has a 3xx status code

func (*GetVoicemailMessageTooManyRequests) IsServerError

func (o *GetVoicemailMessageTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail message too many requests response has a 5xx status code

func (*GetVoicemailMessageTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail message too many requests response has a 2xx status code

func (*GetVoicemailMessageTooManyRequests) String

type GetVoicemailMessageUnauthorized

type GetVoicemailMessageUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMessageUnauthorized

func NewGetVoicemailMessageUnauthorized() *GetVoicemailMessageUnauthorized

NewGetVoicemailMessageUnauthorized creates a GetVoicemailMessageUnauthorized with default headers values

func (*GetVoicemailMessageUnauthorized) Error

func (*GetVoicemailMessageUnauthorized) GetPayload

func (*GetVoicemailMessageUnauthorized) IsClientError

func (o *GetVoicemailMessageUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail message unauthorized response has a 4xx status code

func (*GetVoicemailMessageUnauthorized) IsCode

func (o *GetVoicemailMessageUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail message unauthorized response a status code equal to that given

func (*GetVoicemailMessageUnauthorized) IsRedirect

func (o *GetVoicemailMessageUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail message unauthorized response has a 3xx status code

func (*GetVoicemailMessageUnauthorized) IsServerError

func (o *GetVoicemailMessageUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail message unauthorized response has a 5xx status code

func (*GetVoicemailMessageUnauthorized) IsSuccess

func (o *GetVoicemailMessageUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail message unauthorized response has a 2xx status code

func (*GetVoicemailMessageUnauthorized) String

type GetVoicemailMessageUnsupportedMediaType

type GetVoicemailMessageUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMessageUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMessageUnsupportedMediaType

func NewGetVoicemailMessageUnsupportedMediaType() *GetVoicemailMessageUnsupportedMediaType

NewGetVoicemailMessageUnsupportedMediaType creates a GetVoicemailMessageUnsupportedMediaType with default headers values

func (*GetVoicemailMessageUnsupportedMediaType) Error

func (*GetVoicemailMessageUnsupportedMediaType) GetPayload

func (*GetVoicemailMessageUnsupportedMediaType) IsClientError

func (o *GetVoicemailMessageUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get voicemail message unsupported media type response has a 4xx status code

func (*GetVoicemailMessageUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail message unsupported media type response a status code equal to that given

func (*GetVoicemailMessageUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail message unsupported media type response has a 3xx status code

func (*GetVoicemailMessageUnsupportedMediaType) IsServerError

func (o *GetVoicemailMessageUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get voicemail message unsupported media type response has a 5xx status code

func (*GetVoicemailMessageUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail message unsupported media type response has a 2xx status code

func (*GetVoicemailMessageUnsupportedMediaType) String

type GetVoicemailMessagesBadRequest

type GetVoicemailMessagesBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailMessagesBadRequest

func NewGetVoicemailMessagesBadRequest() *GetVoicemailMessagesBadRequest

NewGetVoicemailMessagesBadRequest creates a GetVoicemailMessagesBadRequest with default headers values

func (*GetVoicemailMessagesBadRequest) Error

func (*GetVoicemailMessagesBadRequest) GetPayload

func (*GetVoicemailMessagesBadRequest) IsClientError

func (o *GetVoicemailMessagesBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail messages bad request response has a 4xx status code

func (*GetVoicemailMessagesBadRequest) IsCode

func (o *GetVoicemailMessagesBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail messages bad request response a status code equal to that given

func (*GetVoicemailMessagesBadRequest) IsRedirect

func (o *GetVoicemailMessagesBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail messages bad request response has a 3xx status code

func (*GetVoicemailMessagesBadRequest) IsServerError

func (o *GetVoicemailMessagesBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail messages bad request response has a 5xx status code

func (*GetVoicemailMessagesBadRequest) IsSuccess

func (o *GetVoicemailMessagesBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail messages bad request response has a 2xx status code

func (*GetVoicemailMessagesBadRequest) String

type GetVoicemailMessagesForbidden

type GetVoicemailMessagesForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailMessagesForbidden

func NewGetVoicemailMessagesForbidden() *GetVoicemailMessagesForbidden

NewGetVoicemailMessagesForbidden creates a GetVoicemailMessagesForbidden with default headers values

func (*GetVoicemailMessagesForbidden) Error

func (*GetVoicemailMessagesForbidden) GetPayload

func (*GetVoicemailMessagesForbidden) IsClientError

func (o *GetVoicemailMessagesForbidden) IsClientError() bool

IsClientError returns true when this get voicemail messages forbidden response has a 4xx status code

func (*GetVoicemailMessagesForbidden) IsCode

func (o *GetVoicemailMessagesForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail messages forbidden response a status code equal to that given

func (*GetVoicemailMessagesForbidden) IsRedirect

func (o *GetVoicemailMessagesForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail messages forbidden response has a 3xx status code

func (*GetVoicemailMessagesForbidden) IsServerError

func (o *GetVoicemailMessagesForbidden) IsServerError() bool

IsServerError returns true when this get voicemail messages forbidden response has a 5xx status code

func (*GetVoicemailMessagesForbidden) IsSuccess

func (o *GetVoicemailMessagesForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail messages forbidden response has a 2xx status code

func (*GetVoicemailMessagesForbidden) String

type GetVoicemailMessagesGatewayTimeout

type GetVoicemailMessagesGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailMessagesGatewayTimeout

func NewGetVoicemailMessagesGatewayTimeout() *GetVoicemailMessagesGatewayTimeout

NewGetVoicemailMessagesGatewayTimeout creates a GetVoicemailMessagesGatewayTimeout with default headers values

func (*GetVoicemailMessagesGatewayTimeout) Error

func (*GetVoicemailMessagesGatewayTimeout) GetPayload

func (*GetVoicemailMessagesGatewayTimeout) IsClientError

func (o *GetVoicemailMessagesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail messages gateway timeout response has a 4xx status code

func (*GetVoicemailMessagesGatewayTimeout) IsCode

IsCode returns true when this get voicemail messages gateway timeout response a status code equal to that given

func (*GetVoicemailMessagesGatewayTimeout) IsRedirect

func (o *GetVoicemailMessagesGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail messages gateway timeout response has a 3xx status code

func (*GetVoicemailMessagesGatewayTimeout) IsServerError

func (o *GetVoicemailMessagesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail messages gateway timeout response has a 5xx status code

func (*GetVoicemailMessagesGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail messages gateway timeout response has a 2xx status code

func (*GetVoicemailMessagesGatewayTimeout) String

type GetVoicemailMessagesInternalServerError

type GetVoicemailMessagesInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailMessagesInternalServerError

func NewGetVoicemailMessagesInternalServerError() *GetVoicemailMessagesInternalServerError

NewGetVoicemailMessagesInternalServerError creates a GetVoicemailMessagesInternalServerError with default headers values

func (*GetVoicemailMessagesInternalServerError) Error

func (*GetVoicemailMessagesInternalServerError) GetPayload

func (*GetVoicemailMessagesInternalServerError) IsClientError

func (o *GetVoicemailMessagesInternalServerError) IsClientError() bool

IsClientError returns true when this get voicemail messages internal server error response has a 4xx status code

func (*GetVoicemailMessagesInternalServerError) IsCode

IsCode returns true when this get voicemail messages internal server error response a status code equal to that given

func (*GetVoicemailMessagesInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail messages internal server error response has a 3xx status code

func (*GetVoicemailMessagesInternalServerError) IsServerError

func (o *GetVoicemailMessagesInternalServerError) IsServerError() bool

IsServerError returns true when this get voicemail messages internal server error response has a 5xx status code

func (*GetVoicemailMessagesInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail messages internal server error response has a 2xx status code

func (*GetVoicemailMessagesInternalServerError) String

type GetVoicemailMessagesNotFound

type GetVoicemailMessagesNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailMessagesNotFound

func NewGetVoicemailMessagesNotFound() *GetVoicemailMessagesNotFound

NewGetVoicemailMessagesNotFound creates a GetVoicemailMessagesNotFound with default headers values

func (*GetVoicemailMessagesNotFound) Error

func (*GetVoicemailMessagesNotFound) GetPayload

func (*GetVoicemailMessagesNotFound) IsClientError

func (o *GetVoicemailMessagesNotFound) IsClientError() bool

IsClientError returns true when this get voicemail messages not found response has a 4xx status code

func (*GetVoicemailMessagesNotFound) IsCode

func (o *GetVoicemailMessagesNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail messages not found response a status code equal to that given

func (*GetVoicemailMessagesNotFound) IsRedirect

func (o *GetVoicemailMessagesNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail messages not found response has a 3xx status code

func (*GetVoicemailMessagesNotFound) IsServerError

func (o *GetVoicemailMessagesNotFound) IsServerError() bool

IsServerError returns true when this get voicemail messages not found response has a 5xx status code

func (*GetVoicemailMessagesNotFound) IsSuccess

func (o *GetVoicemailMessagesNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail messages not found response has a 2xx status code

func (*GetVoicemailMessagesNotFound) String

type GetVoicemailMessagesOK

type GetVoicemailMessagesOK struct {
	Payload *models.VoicemailMessageEntityListing
}

GetVoicemailMessagesOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailMessagesOK

func NewGetVoicemailMessagesOK() *GetVoicemailMessagesOK

NewGetVoicemailMessagesOK creates a GetVoicemailMessagesOK with default headers values

func (*GetVoicemailMessagesOK) Error

func (o *GetVoicemailMessagesOK) Error() string

func (*GetVoicemailMessagesOK) GetPayload

func (*GetVoicemailMessagesOK) IsClientError

func (o *GetVoicemailMessagesOK) IsClientError() bool

IsClientError returns true when this get voicemail messages o k response has a 4xx status code

func (*GetVoicemailMessagesOK) IsCode

func (o *GetVoicemailMessagesOK) IsCode(code int) bool

IsCode returns true when this get voicemail messages o k response a status code equal to that given

func (*GetVoicemailMessagesOK) IsRedirect

func (o *GetVoicemailMessagesOK) IsRedirect() bool

IsRedirect returns true when this get voicemail messages o k response has a 3xx status code

func (*GetVoicemailMessagesOK) IsServerError

func (o *GetVoicemailMessagesOK) IsServerError() bool

IsServerError returns true when this get voicemail messages o k response has a 5xx status code

func (*GetVoicemailMessagesOK) IsSuccess

func (o *GetVoicemailMessagesOK) IsSuccess() bool

IsSuccess returns true when this get voicemail messages o k response has a 2xx status code

func (*GetVoicemailMessagesOK) String

func (o *GetVoicemailMessagesOK) String() string

type GetVoicemailMessagesParams

type GetVoicemailMessagesParams struct {

	/* Expand.

	   If the caller is a known user, which fields, if any, to expand
	*/
	Expand []string

	/* Ids.

	   An optional comma separated list of VoicemailMessage ids
	*/
	Ids *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailMessagesParams contains all the parameters to send to the API endpoint

for the get voicemail messages operation.

Typically these are written to a http.Request.

func NewGetVoicemailMessagesParams

func NewGetVoicemailMessagesParams() *GetVoicemailMessagesParams

NewGetVoicemailMessagesParams creates a new GetVoicemailMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailMessagesParamsWithContext

func NewGetVoicemailMessagesParamsWithContext(ctx context.Context) *GetVoicemailMessagesParams

NewGetVoicemailMessagesParamsWithContext creates a new GetVoicemailMessagesParams object with the ability to set a context for a request.

func NewGetVoicemailMessagesParamsWithHTTPClient

func NewGetVoicemailMessagesParamsWithHTTPClient(client *http.Client) *GetVoicemailMessagesParams

NewGetVoicemailMessagesParamsWithHTTPClient creates a new GetVoicemailMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailMessagesParamsWithTimeout

func NewGetVoicemailMessagesParamsWithTimeout(timeout time.Duration) *GetVoicemailMessagesParams

NewGetVoicemailMessagesParamsWithTimeout creates a new GetVoicemailMessagesParams object with the ability to set a timeout on a request.

func (*GetVoicemailMessagesParams) SetContext

func (o *GetVoicemailMessagesParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail messages params

func (*GetVoicemailMessagesParams) SetDefaults

func (o *GetVoicemailMessagesParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMessagesParams) SetExpand

func (o *GetVoicemailMessagesParams) SetExpand(expand []string)

SetExpand adds the expand to the get voicemail messages params

func (*GetVoicemailMessagesParams) SetHTTPClient

func (o *GetVoicemailMessagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail messages params

func (*GetVoicemailMessagesParams) SetIds

func (o *GetVoicemailMessagesParams) SetIds(ids *string)

SetIds adds the ids to the get voicemail messages params

func (*GetVoicemailMessagesParams) SetTimeout

func (o *GetVoicemailMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail messages params

func (*GetVoicemailMessagesParams) WithContext

WithContext adds the context to the get voicemail messages params

func (*GetVoicemailMessagesParams) WithDefaults

WithDefaults hydrates default values in the get voicemail messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailMessagesParams) WithExpand

WithExpand adds the expand to the get voicemail messages params

func (*GetVoicemailMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail messages params

func (*GetVoicemailMessagesParams) WithIds

WithIds adds the ids to the get voicemail messages params

func (*GetVoicemailMessagesParams) WithTimeout

WithTimeout adds the timeout to the get voicemail messages params

func (*GetVoicemailMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailMessagesReader

type GetVoicemailMessagesReader struct {
	// contains filtered or unexported fields
}

GetVoicemailMessagesReader is a Reader for the GetVoicemailMessages structure.

func (*GetVoicemailMessagesReader) ReadResponse

func (o *GetVoicemailMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailMessagesRequestEntityTooLarge

type GetVoicemailMessagesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailMessagesRequestEntityTooLarge

func NewGetVoicemailMessagesRequestEntityTooLarge() *GetVoicemailMessagesRequestEntityTooLarge

NewGetVoicemailMessagesRequestEntityTooLarge creates a GetVoicemailMessagesRequestEntityTooLarge with default headers values

func (*GetVoicemailMessagesRequestEntityTooLarge) Error

func (*GetVoicemailMessagesRequestEntityTooLarge) GetPayload

func (*GetVoicemailMessagesRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail messages request entity too large response has a 4xx status code

func (*GetVoicemailMessagesRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail messages request entity too large response a status code equal to that given

func (*GetVoicemailMessagesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail messages request entity too large response has a 3xx status code

func (*GetVoicemailMessagesRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail messages request entity too large response has a 5xx status code

func (*GetVoicemailMessagesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail messages request entity too large response has a 2xx status code

func (*GetVoicemailMessagesRequestEntityTooLarge) String

type GetVoicemailMessagesRequestTimeout

type GetVoicemailMessagesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailMessagesRequestTimeout

func NewGetVoicemailMessagesRequestTimeout() *GetVoicemailMessagesRequestTimeout

NewGetVoicemailMessagesRequestTimeout creates a GetVoicemailMessagesRequestTimeout with default headers values

func (*GetVoicemailMessagesRequestTimeout) Error

func (*GetVoicemailMessagesRequestTimeout) GetPayload

func (*GetVoicemailMessagesRequestTimeout) IsClientError

func (o *GetVoicemailMessagesRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail messages request timeout response has a 4xx status code

func (*GetVoicemailMessagesRequestTimeout) IsCode

IsCode returns true when this get voicemail messages request timeout response a status code equal to that given

func (*GetVoicemailMessagesRequestTimeout) IsRedirect

func (o *GetVoicemailMessagesRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail messages request timeout response has a 3xx status code

func (*GetVoicemailMessagesRequestTimeout) IsServerError

func (o *GetVoicemailMessagesRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail messages request timeout response has a 5xx status code

func (*GetVoicemailMessagesRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail messages request timeout response has a 2xx status code

func (*GetVoicemailMessagesRequestTimeout) String

type GetVoicemailMessagesServiceUnavailable

type GetVoicemailMessagesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailMessagesServiceUnavailable

func NewGetVoicemailMessagesServiceUnavailable() *GetVoicemailMessagesServiceUnavailable

NewGetVoicemailMessagesServiceUnavailable creates a GetVoicemailMessagesServiceUnavailable with default headers values

func (*GetVoicemailMessagesServiceUnavailable) Error

func (*GetVoicemailMessagesServiceUnavailable) GetPayload

func (*GetVoicemailMessagesServiceUnavailable) IsClientError

func (o *GetVoicemailMessagesServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail messages service unavailable response has a 4xx status code

func (*GetVoicemailMessagesServiceUnavailable) IsCode

IsCode returns true when this get voicemail messages service unavailable response a status code equal to that given

func (*GetVoicemailMessagesServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail messages service unavailable response has a 3xx status code

func (*GetVoicemailMessagesServiceUnavailable) IsServerError

func (o *GetVoicemailMessagesServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail messages service unavailable response has a 5xx status code

func (*GetVoicemailMessagesServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail messages service unavailable response has a 2xx status code

func (*GetVoicemailMessagesServiceUnavailable) String

type GetVoicemailMessagesTooManyRequests

type GetVoicemailMessagesTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailMessagesTooManyRequests

func NewGetVoicemailMessagesTooManyRequests() *GetVoicemailMessagesTooManyRequests

NewGetVoicemailMessagesTooManyRequests creates a GetVoicemailMessagesTooManyRequests with default headers values

func (*GetVoicemailMessagesTooManyRequests) Error

func (*GetVoicemailMessagesTooManyRequests) GetPayload

func (*GetVoicemailMessagesTooManyRequests) IsClientError

func (o *GetVoicemailMessagesTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail messages too many requests response has a 4xx status code

func (*GetVoicemailMessagesTooManyRequests) IsCode

IsCode returns true when this get voicemail messages too many requests response a status code equal to that given

func (*GetVoicemailMessagesTooManyRequests) IsRedirect

func (o *GetVoicemailMessagesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get voicemail messages too many requests response has a 3xx status code

func (*GetVoicemailMessagesTooManyRequests) IsServerError

func (o *GetVoicemailMessagesTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail messages too many requests response has a 5xx status code

func (*GetVoicemailMessagesTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail messages too many requests response has a 2xx status code

func (*GetVoicemailMessagesTooManyRequests) String

type GetVoicemailMessagesUnauthorized

type GetVoicemailMessagesUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailMessagesUnauthorized

func NewGetVoicemailMessagesUnauthorized() *GetVoicemailMessagesUnauthorized

NewGetVoicemailMessagesUnauthorized creates a GetVoicemailMessagesUnauthorized with default headers values

func (*GetVoicemailMessagesUnauthorized) Error

func (*GetVoicemailMessagesUnauthorized) GetPayload

func (*GetVoicemailMessagesUnauthorized) IsClientError

func (o *GetVoicemailMessagesUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail messages unauthorized response has a 4xx status code

func (*GetVoicemailMessagesUnauthorized) IsCode

func (o *GetVoicemailMessagesUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail messages unauthorized response a status code equal to that given

func (*GetVoicemailMessagesUnauthorized) IsRedirect

func (o *GetVoicemailMessagesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail messages unauthorized response has a 3xx status code

func (*GetVoicemailMessagesUnauthorized) IsServerError

func (o *GetVoicemailMessagesUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail messages unauthorized response has a 5xx status code

func (*GetVoicemailMessagesUnauthorized) IsSuccess

func (o *GetVoicemailMessagesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail messages unauthorized response has a 2xx status code

func (*GetVoicemailMessagesUnauthorized) String

type GetVoicemailMessagesUnsupportedMediaType

type GetVoicemailMessagesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailMessagesUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailMessagesUnsupportedMediaType

func NewGetVoicemailMessagesUnsupportedMediaType() *GetVoicemailMessagesUnsupportedMediaType

NewGetVoicemailMessagesUnsupportedMediaType creates a GetVoicemailMessagesUnsupportedMediaType with default headers values

func (*GetVoicemailMessagesUnsupportedMediaType) Error

func (*GetVoicemailMessagesUnsupportedMediaType) GetPayload

func (*GetVoicemailMessagesUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail messages unsupported media type response has a 4xx status code

func (*GetVoicemailMessagesUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail messages unsupported media type response a status code equal to that given

func (*GetVoicemailMessagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail messages unsupported media type response has a 3xx status code

func (*GetVoicemailMessagesUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail messages unsupported media type response has a 5xx status code

func (*GetVoicemailMessagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail messages unsupported media type response has a 2xx status code

func (*GetVoicemailMessagesUnsupportedMediaType) String

type GetVoicemailPolicyBadRequest

type GetVoicemailPolicyBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailPolicyBadRequest

func NewGetVoicemailPolicyBadRequest() *GetVoicemailPolicyBadRequest

NewGetVoicemailPolicyBadRequest creates a GetVoicemailPolicyBadRequest with default headers values

func (*GetVoicemailPolicyBadRequest) Error

func (*GetVoicemailPolicyBadRequest) GetPayload

func (*GetVoicemailPolicyBadRequest) IsClientError

func (o *GetVoicemailPolicyBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail policy bad request response has a 4xx status code

func (*GetVoicemailPolicyBadRequest) IsCode

func (o *GetVoicemailPolicyBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail policy bad request response a status code equal to that given

func (*GetVoicemailPolicyBadRequest) IsRedirect

func (o *GetVoicemailPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail policy bad request response has a 3xx status code

func (*GetVoicemailPolicyBadRequest) IsServerError

func (o *GetVoicemailPolicyBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail policy bad request response has a 5xx status code

func (*GetVoicemailPolicyBadRequest) IsSuccess

func (o *GetVoicemailPolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail policy bad request response has a 2xx status code

func (*GetVoicemailPolicyBadRequest) String

type GetVoicemailPolicyForbidden

type GetVoicemailPolicyForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailPolicyForbidden

func NewGetVoicemailPolicyForbidden() *GetVoicemailPolicyForbidden

NewGetVoicemailPolicyForbidden creates a GetVoicemailPolicyForbidden with default headers values

func (*GetVoicemailPolicyForbidden) Error

func (*GetVoicemailPolicyForbidden) GetPayload

func (o *GetVoicemailPolicyForbidden) GetPayload() *models.ErrorBody

func (*GetVoicemailPolicyForbidden) IsClientError

func (o *GetVoicemailPolicyForbidden) IsClientError() bool

IsClientError returns true when this get voicemail policy forbidden response has a 4xx status code

func (*GetVoicemailPolicyForbidden) IsCode

func (o *GetVoicemailPolicyForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail policy forbidden response a status code equal to that given

func (*GetVoicemailPolicyForbidden) IsRedirect

func (o *GetVoicemailPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail policy forbidden response has a 3xx status code

func (*GetVoicemailPolicyForbidden) IsServerError

func (o *GetVoicemailPolicyForbidden) IsServerError() bool

IsServerError returns true when this get voicemail policy forbidden response has a 5xx status code

func (*GetVoicemailPolicyForbidden) IsSuccess

func (o *GetVoicemailPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail policy forbidden response has a 2xx status code

func (*GetVoicemailPolicyForbidden) String

func (o *GetVoicemailPolicyForbidden) String() string

type GetVoicemailPolicyGatewayTimeout

type GetVoicemailPolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailPolicyGatewayTimeout

func NewGetVoicemailPolicyGatewayTimeout() *GetVoicemailPolicyGatewayTimeout

NewGetVoicemailPolicyGatewayTimeout creates a GetVoicemailPolicyGatewayTimeout with default headers values

func (*GetVoicemailPolicyGatewayTimeout) Error

func (*GetVoicemailPolicyGatewayTimeout) GetPayload

func (*GetVoicemailPolicyGatewayTimeout) IsClientError

func (o *GetVoicemailPolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail policy gateway timeout response has a 4xx status code

func (*GetVoicemailPolicyGatewayTimeout) IsCode

func (o *GetVoicemailPolicyGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail policy gateway timeout response a status code equal to that given

func (*GetVoicemailPolicyGatewayTimeout) IsRedirect

func (o *GetVoicemailPolicyGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail policy gateway timeout response has a 3xx status code

func (*GetVoicemailPolicyGatewayTimeout) IsServerError

func (o *GetVoicemailPolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail policy gateway timeout response has a 5xx status code

func (*GetVoicemailPolicyGatewayTimeout) IsSuccess

func (o *GetVoicemailPolicyGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail policy gateway timeout response has a 2xx status code

func (*GetVoicemailPolicyGatewayTimeout) String

type GetVoicemailPolicyInternalServerError

type GetVoicemailPolicyInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailPolicyInternalServerError

func NewGetVoicemailPolicyInternalServerError() *GetVoicemailPolicyInternalServerError

NewGetVoicemailPolicyInternalServerError creates a GetVoicemailPolicyInternalServerError with default headers values

func (*GetVoicemailPolicyInternalServerError) Error

func (*GetVoicemailPolicyInternalServerError) GetPayload

func (*GetVoicemailPolicyInternalServerError) IsClientError

func (o *GetVoicemailPolicyInternalServerError) IsClientError() bool

IsClientError returns true when this get voicemail policy internal server error response has a 4xx status code

func (*GetVoicemailPolicyInternalServerError) IsCode

IsCode returns true when this get voicemail policy internal server error response a status code equal to that given

func (*GetVoicemailPolicyInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail policy internal server error response has a 3xx status code

func (*GetVoicemailPolicyInternalServerError) IsServerError

func (o *GetVoicemailPolicyInternalServerError) IsServerError() bool

IsServerError returns true when this get voicemail policy internal server error response has a 5xx status code

func (*GetVoicemailPolicyInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail policy internal server error response has a 2xx status code

func (*GetVoicemailPolicyInternalServerError) String

type GetVoicemailPolicyNotFound

type GetVoicemailPolicyNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailPolicyNotFound

func NewGetVoicemailPolicyNotFound() *GetVoicemailPolicyNotFound

NewGetVoicemailPolicyNotFound creates a GetVoicemailPolicyNotFound with default headers values

func (*GetVoicemailPolicyNotFound) Error

func (*GetVoicemailPolicyNotFound) GetPayload

func (o *GetVoicemailPolicyNotFound) GetPayload() *models.ErrorBody

func (*GetVoicemailPolicyNotFound) IsClientError

func (o *GetVoicemailPolicyNotFound) IsClientError() bool

IsClientError returns true when this get voicemail policy not found response has a 4xx status code

func (*GetVoicemailPolicyNotFound) IsCode

func (o *GetVoicemailPolicyNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail policy not found response a status code equal to that given

func (*GetVoicemailPolicyNotFound) IsRedirect

func (o *GetVoicemailPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail policy not found response has a 3xx status code

func (*GetVoicemailPolicyNotFound) IsServerError

func (o *GetVoicemailPolicyNotFound) IsServerError() bool

IsServerError returns true when this get voicemail policy not found response has a 5xx status code

func (*GetVoicemailPolicyNotFound) IsSuccess

func (o *GetVoicemailPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail policy not found response has a 2xx status code

func (*GetVoicemailPolicyNotFound) String

func (o *GetVoicemailPolicyNotFound) String() string

type GetVoicemailPolicyOK

type GetVoicemailPolicyOK struct {
	Payload *models.VoicemailOrganizationPolicy
}

GetVoicemailPolicyOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailPolicyOK

func NewGetVoicemailPolicyOK() *GetVoicemailPolicyOK

NewGetVoicemailPolicyOK creates a GetVoicemailPolicyOK with default headers values

func (*GetVoicemailPolicyOK) Error

func (o *GetVoicemailPolicyOK) Error() string

func (*GetVoicemailPolicyOK) GetPayload

func (*GetVoicemailPolicyOK) IsClientError

func (o *GetVoicemailPolicyOK) IsClientError() bool

IsClientError returns true when this get voicemail policy o k response has a 4xx status code

func (*GetVoicemailPolicyOK) IsCode

func (o *GetVoicemailPolicyOK) IsCode(code int) bool

IsCode returns true when this get voicemail policy o k response a status code equal to that given

func (*GetVoicemailPolicyOK) IsRedirect

func (o *GetVoicemailPolicyOK) IsRedirect() bool

IsRedirect returns true when this get voicemail policy o k response has a 3xx status code

func (*GetVoicemailPolicyOK) IsServerError

func (o *GetVoicemailPolicyOK) IsServerError() bool

IsServerError returns true when this get voicemail policy o k response has a 5xx status code

func (*GetVoicemailPolicyOK) IsSuccess

func (o *GetVoicemailPolicyOK) IsSuccess() bool

IsSuccess returns true when this get voicemail policy o k response has a 2xx status code

func (*GetVoicemailPolicyOK) String

func (o *GetVoicemailPolicyOK) String() string

type GetVoicemailPolicyParams

type GetVoicemailPolicyParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailPolicyParams contains all the parameters to send to the API endpoint

for the get voicemail policy operation.

Typically these are written to a http.Request.

func NewGetVoicemailPolicyParams

func NewGetVoicemailPolicyParams() *GetVoicemailPolicyParams

NewGetVoicemailPolicyParams creates a new GetVoicemailPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailPolicyParamsWithContext

func NewGetVoicemailPolicyParamsWithContext(ctx context.Context) *GetVoicemailPolicyParams

NewGetVoicemailPolicyParamsWithContext creates a new GetVoicemailPolicyParams object with the ability to set a context for a request.

func NewGetVoicemailPolicyParamsWithHTTPClient

func NewGetVoicemailPolicyParamsWithHTTPClient(client *http.Client) *GetVoicemailPolicyParams

NewGetVoicemailPolicyParamsWithHTTPClient creates a new GetVoicemailPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailPolicyParamsWithTimeout

func NewGetVoicemailPolicyParamsWithTimeout(timeout time.Duration) *GetVoicemailPolicyParams

NewGetVoicemailPolicyParamsWithTimeout creates a new GetVoicemailPolicyParams object with the ability to set a timeout on a request.

func (*GetVoicemailPolicyParams) SetContext

func (o *GetVoicemailPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail policy params

func (*GetVoicemailPolicyParams) SetDefaults

func (o *GetVoicemailPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailPolicyParams) SetHTTPClient

func (o *GetVoicemailPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail policy params

func (*GetVoicemailPolicyParams) SetTimeout

func (o *GetVoicemailPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail policy params

func (*GetVoicemailPolicyParams) WithContext

WithContext adds the context to the get voicemail policy params

func (*GetVoicemailPolicyParams) WithDefaults

WithDefaults hydrates default values in the get voicemail policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailPolicyParams) WithHTTPClient

func (o *GetVoicemailPolicyParams) WithHTTPClient(client *http.Client) *GetVoicemailPolicyParams

WithHTTPClient adds the HTTPClient to the get voicemail policy params

func (*GetVoicemailPolicyParams) WithTimeout

WithTimeout adds the timeout to the get voicemail policy params

func (*GetVoicemailPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailPolicyReader

type GetVoicemailPolicyReader struct {
	// contains filtered or unexported fields
}

GetVoicemailPolicyReader is a Reader for the GetVoicemailPolicy structure.

func (*GetVoicemailPolicyReader) ReadResponse

func (o *GetVoicemailPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailPolicyRequestEntityTooLarge

type GetVoicemailPolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailPolicyRequestEntityTooLarge

func NewGetVoicemailPolicyRequestEntityTooLarge() *GetVoicemailPolicyRequestEntityTooLarge

NewGetVoicemailPolicyRequestEntityTooLarge creates a GetVoicemailPolicyRequestEntityTooLarge with default headers values

func (*GetVoicemailPolicyRequestEntityTooLarge) Error

func (*GetVoicemailPolicyRequestEntityTooLarge) GetPayload

func (*GetVoicemailPolicyRequestEntityTooLarge) IsClientError

func (o *GetVoicemailPolicyRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get voicemail policy request entity too large response has a 4xx status code

func (*GetVoicemailPolicyRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail policy request entity too large response a status code equal to that given

func (*GetVoicemailPolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail policy request entity too large response has a 3xx status code

func (*GetVoicemailPolicyRequestEntityTooLarge) IsServerError

func (o *GetVoicemailPolicyRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get voicemail policy request entity too large response has a 5xx status code

func (*GetVoicemailPolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail policy request entity too large response has a 2xx status code

func (*GetVoicemailPolicyRequestEntityTooLarge) String

type GetVoicemailPolicyRequestTimeout

type GetVoicemailPolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailPolicyRequestTimeout

func NewGetVoicemailPolicyRequestTimeout() *GetVoicemailPolicyRequestTimeout

NewGetVoicemailPolicyRequestTimeout creates a GetVoicemailPolicyRequestTimeout with default headers values

func (*GetVoicemailPolicyRequestTimeout) Error

func (*GetVoicemailPolicyRequestTimeout) GetPayload

func (*GetVoicemailPolicyRequestTimeout) IsClientError

func (o *GetVoicemailPolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail policy request timeout response has a 4xx status code

func (*GetVoicemailPolicyRequestTimeout) IsCode

func (o *GetVoicemailPolicyRequestTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail policy request timeout response a status code equal to that given

func (*GetVoicemailPolicyRequestTimeout) IsRedirect

func (o *GetVoicemailPolicyRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail policy request timeout response has a 3xx status code

func (*GetVoicemailPolicyRequestTimeout) IsServerError

func (o *GetVoicemailPolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail policy request timeout response has a 5xx status code

func (*GetVoicemailPolicyRequestTimeout) IsSuccess

func (o *GetVoicemailPolicyRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail policy request timeout response has a 2xx status code

func (*GetVoicemailPolicyRequestTimeout) String

type GetVoicemailPolicyServiceUnavailable

type GetVoicemailPolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailPolicyServiceUnavailable

func NewGetVoicemailPolicyServiceUnavailable() *GetVoicemailPolicyServiceUnavailable

NewGetVoicemailPolicyServiceUnavailable creates a GetVoicemailPolicyServiceUnavailable with default headers values

func (*GetVoicemailPolicyServiceUnavailable) Error

func (*GetVoicemailPolicyServiceUnavailable) GetPayload

func (*GetVoicemailPolicyServiceUnavailable) IsClientError

func (o *GetVoicemailPolicyServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail policy service unavailable response has a 4xx status code

func (*GetVoicemailPolicyServiceUnavailable) IsCode

IsCode returns true when this get voicemail policy service unavailable response a status code equal to that given

func (*GetVoicemailPolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail policy service unavailable response has a 3xx status code

func (*GetVoicemailPolicyServiceUnavailable) IsServerError

func (o *GetVoicemailPolicyServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail policy service unavailable response has a 5xx status code

func (*GetVoicemailPolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail policy service unavailable response has a 2xx status code

func (*GetVoicemailPolicyServiceUnavailable) String

type GetVoicemailPolicyTooManyRequests

type GetVoicemailPolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailPolicyTooManyRequests

func NewGetVoicemailPolicyTooManyRequests() *GetVoicemailPolicyTooManyRequests

NewGetVoicemailPolicyTooManyRequests creates a GetVoicemailPolicyTooManyRequests with default headers values

func (*GetVoicemailPolicyTooManyRequests) Error

func (*GetVoicemailPolicyTooManyRequests) GetPayload

func (*GetVoicemailPolicyTooManyRequests) IsClientError

func (o *GetVoicemailPolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail policy too many requests response has a 4xx status code

func (*GetVoicemailPolicyTooManyRequests) IsCode

func (o *GetVoicemailPolicyTooManyRequests) IsCode(code int) bool

IsCode returns true when this get voicemail policy too many requests response a status code equal to that given

func (*GetVoicemailPolicyTooManyRequests) IsRedirect

func (o *GetVoicemailPolicyTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get voicemail policy too many requests response has a 3xx status code

func (*GetVoicemailPolicyTooManyRequests) IsServerError

func (o *GetVoicemailPolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail policy too many requests response has a 5xx status code

func (*GetVoicemailPolicyTooManyRequests) IsSuccess

func (o *GetVoicemailPolicyTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get voicemail policy too many requests response has a 2xx status code

func (*GetVoicemailPolicyTooManyRequests) String

type GetVoicemailPolicyUnauthorized

type GetVoicemailPolicyUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailPolicyUnauthorized

func NewGetVoicemailPolicyUnauthorized() *GetVoicemailPolicyUnauthorized

NewGetVoicemailPolicyUnauthorized creates a GetVoicemailPolicyUnauthorized with default headers values

func (*GetVoicemailPolicyUnauthorized) Error

func (*GetVoicemailPolicyUnauthorized) GetPayload

func (*GetVoicemailPolicyUnauthorized) IsClientError

func (o *GetVoicemailPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail policy unauthorized response has a 4xx status code

func (*GetVoicemailPolicyUnauthorized) IsCode

func (o *GetVoicemailPolicyUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail policy unauthorized response a status code equal to that given

func (*GetVoicemailPolicyUnauthorized) IsRedirect

func (o *GetVoicemailPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail policy unauthorized response has a 3xx status code

func (*GetVoicemailPolicyUnauthorized) IsServerError

func (o *GetVoicemailPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail policy unauthorized response has a 5xx status code

func (*GetVoicemailPolicyUnauthorized) IsSuccess

func (o *GetVoicemailPolicyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail policy unauthorized response has a 2xx status code

func (*GetVoicemailPolicyUnauthorized) String

type GetVoicemailPolicyUnsupportedMediaType

type GetVoicemailPolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailPolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailPolicyUnsupportedMediaType

func NewGetVoicemailPolicyUnsupportedMediaType() *GetVoicemailPolicyUnsupportedMediaType

NewGetVoicemailPolicyUnsupportedMediaType creates a GetVoicemailPolicyUnsupportedMediaType with default headers values

func (*GetVoicemailPolicyUnsupportedMediaType) Error

func (*GetVoicemailPolicyUnsupportedMediaType) GetPayload

func (*GetVoicemailPolicyUnsupportedMediaType) IsClientError

func (o *GetVoicemailPolicyUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get voicemail policy unsupported media type response has a 4xx status code

func (*GetVoicemailPolicyUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail policy unsupported media type response a status code equal to that given

func (*GetVoicemailPolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail policy unsupported media type response has a 3xx status code

func (*GetVoicemailPolicyUnsupportedMediaType) IsServerError

func (o *GetVoicemailPolicyUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get voicemail policy unsupported media type response has a 5xx status code

func (*GetVoicemailPolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail policy unsupported media type response has a 2xx status code

func (*GetVoicemailPolicyUnsupportedMediaType) String

type GetVoicemailQueueMessagesBadRequest

type GetVoicemailQueueMessagesBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailQueueMessagesBadRequest

func NewGetVoicemailQueueMessagesBadRequest() *GetVoicemailQueueMessagesBadRequest

NewGetVoicemailQueueMessagesBadRequest creates a GetVoicemailQueueMessagesBadRequest with default headers values

func (*GetVoicemailQueueMessagesBadRequest) Error

func (*GetVoicemailQueueMessagesBadRequest) GetPayload

func (*GetVoicemailQueueMessagesBadRequest) IsClientError

func (o *GetVoicemailQueueMessagesBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail queue messages bad request response has a 4xx status code

func (*GetVoicemailQueueMessagesBadRequest) IsCode

IsCode returns true when this get voicemail queue messages bad request response a status code equal to that given

func (*GetVoicemailQueueMessagesBadRequest) IsRedirect

func (o *GetVoicemailQueueMessagesBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail queue messages bad request response has a 3xx status code

func (*GetVoicemailQueueMessagesBadRequest) IsServerError

func (o *GetVoicemailQueueMessagesBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail queue messages bad request response has a 5xx status code

func (*GetVoicemailQueueMessagesBadRequest) IsSuccess

IsSuccess returns true when this get voicemail queue messages bad request response has a 2xx status code

func (*GetVoicemailQueueMessagesBadRequest) String

type GetVoicemailQueueMessagesForbidden

type GetVoicemailQueueMessagesForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailQueueMessagesForbidden

func NewGetVoicemailQueueMessagesForbidden() *GetVoicemailQueueMessagesForbidden

NewGetVoicemailQueueMessagesForbidden creates a GetVoicemailQueueMessagesForbidden with default headers values

func (*GetVoicemailQueueMessagesForbidden) Error

func (*GetVoicemailQueueMessagesForbidden) GetPayload

func (*GetVoicemailQueueMessagesForbidden) IsClientError

func (o *GetVoicemailQueueMessagesForbidden) IsClientError() bool

IsClientError returns true when this get voicemail queue messages forbidden response has a 4xx status code

func (*GetVoicemailQueueMessagesForbidden) IsCode

IsCode returns true when this get voicemail queue messages forbidden response a status code equal to that given

func (*GetVoicemailQueueMessagesForbidden) IsRedirect

func (o *GetVoicemailQueueMessagesForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail queue messages forbidden response has a 3xx status code

func (*GetVoicemailQueueMessagesForbidden) IsServerError

func (o *GetVoicemailQueueMessagesForbidden) IsServerError() bool

IsServerError returns true when this get voicemail queue messages forbidden response has a 5xx status code

func (*GetVoicemailQueueMessagesForbidden) IsSuccess

IsSuccess returns true when this get voicemail queue messages forbidden response has a 2xx status code

func (*GetVoicemailQueueMessagesForbidden) String

type GetVoicemailQueueMessagesGatewayTimeout

type GetVoicemailQueueMessagesGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailQueueMessagesGatewayTimeout

func NewGetVoicemailQueueMessagesGatewayTimeout() *GetVoicemailQueueMessagesGatewayTimeout

NewGetVoicemailQueueMessagesGatewayTimeout creates a GetVoicemailQueueMessagesGatewayTimeout with default headers values

func (*GetVoicemailQueueMessagesGatewayTimeout) Error

func (*GetVoicemailQueueMessagesGatewayTimeout) GetPayload

func (*GetVoicemailQueueMessagesGatewayTimeout) IsClientError

func (o *GetVoicemailQueueMessagesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail queue messages gateway timeout response has a 4xx status code

func (*GetVoicemailQueueMessagesGatewayTimeout) IsCode

IsCode returns true when this get voicemail queue messages gateway timeout response a status code equal to that given

func (*GetVoicemailQueueMessagesGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail queue messages gateway timeout response has a 3xx status code

func (*GetVoicemailQueueMessagesGatewayTimeout) IsServerError

func (o *GetVoicemailQueueMessagesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail queue messages gateway timeout response has a 5xx status code

func (*GetVoicemailQueueMessagesGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail queue messages gateway timeout response has a 2xx status code

func (*GetVoicemailQueueMessagesGatewayTimeout) String

type GetVoicemailQueueMessagesInternalServerError

type GetVoicemailQueueMessagesInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailQueueMessagesInternalServerError

func NewGetVoicemailQueueMessagesInternalServerError() *GetVoicemailQueueMessagesInternalServerError

NewGetVoicemailQueueMessagesInternalServerError creates a GetVoicemailQueueMessagesInternalServerError with default headers values

func (*GetVoicemailQueueMessagesInternalServerError) Error

func (*GetVoicemailQueueMessagesInternalServerError) GetPayload

func (*GetVoicemailQueueMessagesInternalServerError) IsClientError

IsClientError returns true when this get voicemail queue messages internal server error response has a 4xx status code

func (*GetVoicemailQueueMessagesInternalServerError) IsCode

IsCode returns true when this get voicemail queue messages internal server error response a status code equal to that given

func (*GetVoicemailQueueMessagesInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail queue messages internal server error response has a 3xx status code

func (*GetVoicemailQueueMessagesInternalServerError) IsServerError

IsServerError returns true when this get voicemail queue messages internal server error response has a 5xx status code

func (*GetVoicemailQueueMessagesInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail queue messages internal server error response has a 2xx status code

func (*GetVoicemailQueueMessagesInternalServerError) String

type GetVoicemailQueueMessagesNotFound

type GetVoicemailQueueMessagesNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailQueueMessagesNotFound

func NewGetVoicemailQueueMessagesNotFound() *GetVoicemailQueueMessagesNotFound

NewGetVoicemailQueueMessagesNotFound creates a GetVoicemailQueueMessagesNotFound with default headers values

func (*GetVoicemailQueueMessagesNotFound) Error

func (*GetVoicemailQueueMessagesNotFound) GetPayload

func (*GetVoicemailQueueMessagesNotFound) IsClientError

func (o *GetVoicemailQueueMessagesNotFound) IsClientError() bool

IsClientError returns true when this get voicemail queue messages not found response has a 4xx status code

func (*GetVoicemailQueueMessagesNotFound) IsCode

func (o *GetVoicemailQueueMessagesNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail queue messages not found response a status code equal to that given

func (*GetVoicemailQueueMessagesNotFound) IsRedirect

func (o *GetVoicemailQueueMessagesNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail queue messages not found response has a 3xx status code

func (*GetVoicemailQueueMessagesNotFound) IsServerError

func (o *GetVoicemailQueueMessagesNotFound) IsServerError() bool

IsServerError returns true when this get voicemail queue messages not found response has a 5xx status code

func (*GetVoicemailQueueMessagesNotFound) IsSuccess

func (o *GetVoicemailQueueMessagesNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail queue messages not found response has a 2xx status code

func (*GetVoicemailQueueMessagesNotFound) String

type GetVoicemailQueueMessagesOK

type GetVoicemailQueueMessagesOK struct {
	Payload *models.VoicemailMessageEntityListing
}

GetVoicemailQueueMessagesOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailQueueMessagesOK

func NewGetVoicemailQueueMessagesOK() *GetVoicemailQueueMessagesOK

NewGetVoicemailQueueMessagesOK creates a GetVoicemailQueueMessagesOK with default headers values

func (*GetVoicemailQueueMessagesOK) Error

func (*GetVoicemailQueueMessagesOK) GetPayload

func (*GetVoicemailQueueMessagesOK) IsClientError

func (o *GetVoicemailQueueMessagesOK) IsClientError() bool

IsClientError returns true when this get voicemail queue messages o k response has a 4xx status code

func (*GetVoicemailQueueMessagesOK) IsCode

func (o *GetVoicemailQueueMessagesOK) IsCode(code int) bool

IsCode returns true when this get voicemail queue messages o k response a status code equal to that given

func (*GetVoicemailQueueMessagesOK) IsRedirect

func (o *GetVoicemailQueueMessagesOK) IsRedirect() bool

IsRedirect returns true when this get voicemail queue messages o k response has a 3xx status code

func (*GetVoicemailQueueMessagesOK) IsServerError

func (o *GetVoicemailQueueMessagesOK) IsServerError() bool

IsServerError returns true when this get voicemail queue messages o k response has a 5xx status code

func (*GetVoicemailQueueMessagesOK) IsSuccess

func (o *GetVoicemailQueueMessagesOK) IsSuccess() bool

IsSuccess returns true when this get voicemail queue messages o k response has a 2xx status code

func (*GetVoicemailQueueMessagesOK) String

func (o *GetVoicemailQueueMessagesOK) String() string

type GetVoicemailQueueMessagesParams

type GetVoicemailQueueMessagesParams struct {

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

	/* QueueID.

	   Queue ID
	*/
	QueueID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailQueueMessagesParams contains all the parameters to send to the API endpoint

for the get voicemail queue messages operation.

Typically these are written to a http.Request.

func NewGetVoicemailQueueMessagesParams

func NewGetVoicemailQueueMessagesParams() *GetVoicemailQueueMessagesParams

NewGetVoicemailQueueMessagesParams creates a new GetVoicemailQueueMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailQueueMessagesParamsWithContext

func NewGetVoicemailQueueMessagesParamsWithContext(ctx context.Context) *GetVoicemailQueueMessagesParams

NewGetVoicemailQueueMessagesParamsWithContext creates a new GetVoicemailQueueMessagesParams object with the ability to set a context for a request.

func NewGetVoicemailQueueMessagesParamsWithHTTPClient

func NewGetVoicemailQueueMessagesParamsWithHTTPClient(client *http.Client) *GetVoicemailQueueMessagesParams

NewGetVoicemailQueueMessagesParamsWithHTTPClient creates a new GetVoicemailQueueMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailQueueMessagesParamsWithTimeout

func NewGetVoicemailQueueMessagesParamsWithTimeout(timeout time.Duration) *GetVoicemailQueueMessagesParams

NewGetVoicemailQueueMessagesParamsWithTimeout creates a new GetVoicemailQueueMessagesParams object with the ability to set a timeout on a request.

func (*GetVoicemailQueueMessagesParams) SetContext

func (o *GetVoicemailQueueMessagesParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) SetDefaults

func (o *GetVoicemailQueueMessagesParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail queue messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailQueueMessagesParams) SetHTTPClient

func (o *GetVoicemailQueueMessagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) SetPageNumber

func (o *GetVoicemailQueueMessagesParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) SetPageSize

func (o *GetVoicemailQueueMessagesParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) SetQueueID

func (o *GetVoicemailQueueMessagesParams) SetQueueID(queueID string)

SetQueueID adds the queueId to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) SetTimeout

func (o *GetVoicemailQueueMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WithContext

WithContext adds the context to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WithDefaults

WithDefaults hydrates default values in the get voicemail queue messages params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailQueueMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WithPageNumber

WithPageNumber adds the pageNumber to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WithPageSize

WithPageSize adds the pageSize to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WithQueueID

WithQueueID adds the queueID to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WithTimeout

WithTimeout adds the timeout to the get voicemail queue messages params

func (*GetVoicemailQueueMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailQueueMessagesReader

type GetVoicemailQueueMessagesReader struct {
	// contains filtered or unexported fields
}

GetVoicemailQueueMessagesReader is a Reader for the GetVoicemailQueueMessages structure.

func (*GetVoicemailQueueMessagesReader) ReadResponse

func (o *GetVoicemailQueueMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailQueueMessagesRequestEntityTooLarge

type GetVoicemailQueueMessagesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailQueueMessagesRequestEntityTooLarge

func NewGetVoicemailQueueMessagesRequestEntityTooLarge() *GetVoicemailQueueMessagesRequestEntityTooLarge

NewGetVoicemailQueueMessagesRequestEntityTooLarge creates a GetVoicemailQueueMessagesRequestEntityTooLarge with default headers values

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) Error

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) GetPayload

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail queue messages request entity too large response has a 4xx status code

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail queue messages request entity too large response a status code equal to that given

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail queue messages request entity too large response has a 3xx status code

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail queue messages request entity too large response has a 5xx status code

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail queue messages request entity too large response has a 2xx status code

func (*GetVoicemailQueueMessagesRequestEntityTooLarge) String

type GetVoicemailQueueMessagesRequestTimeout

type GetVoicemailQueueMessagesRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailQueueMessagesRequestTimeout

func NewGetVoicemailQueueMessagesRequestTimeout() *GetVoicemailQueueMessagesRequestTimeout

NewGetVoicemailQueueMessagesRequestTimeout creates a GetVoicemailQueueMessagesRequestTimeout with default headers values

func (*GetVoicemailQueueMessagesRequestTimeout) Error

func (*GetVoicemailQueueMessagesRequestTimeout) GetPayload

func (*GetVoicemailQueueMessagesRequestTimeout) IsClientError

func (o *GetVoicemailQueueMessagesRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail queue messages request timeout response has a 4xx status code

func (*GetVoicemailQueueMessagesRequestTimeout) IsCode

IsCode returns true when this get voicemail queue messages request timeout response a status code equal to that given

func (*GetVoicemailQueueMessagesRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail queue messages request timeout response has a 3xx status code

func (*GetVoicemailQueueMessagesRequestTimeout) IsServerError

func (o *GetVoicemailQueueMessagesRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail queue messages request timeout response has a 5xx status code

func (*GetVoicemailQueueMessagesRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail queue messages request timeout response has a 2xx status code

func (*GetVoicemailQueueMessagesRequestTimeout) String

type GetVoicemailQueueMessagesServiceUnavailable

type GetVoicemailQueueMessagesServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailQueueMessagesServiceUnavailable

func NewGetVoicemailQueueMessagesServiceUnavailable() *GetVoicemailQueueMessagesServiceUnavailable

NewGetVoicemailQueueMessagesServiceUnavailable creates a GetVoicemailQueueMessagesServiceUnavailable with default headers values

func (*GetVoicemailQueueMessagesServiceUnavailable) Error

func (*GetVoicemailQueueMessagesServiceUnavailable) GetPayload

func (*GetVoicemailQueueMessagesServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail queue messages service unavailable response has a 4xx status code

func (*GetVoicemailQueueMessagesServiceUnavailable) IsCode

IsCode returns true when this get voicemail queue messages service unavailable response a status code equal to that given

func (*GetVoicemailQueueMessagesServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail queue messages service unavailable response has a 3xx status code

func (*GetVoicemailQueueMessagesServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail queue messages service unavailable response has a 5xx status code

func (*GetVoicemailQueueMessagesServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail queue messages service unavailable response has a 2xx status code

func (*GetVoicemailQueueMessagesServiceUnavailable) String

type GetVoicemailQueueMessagesTooManyRequests

type GetVoicemailQueueMessagesTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailQueueMessagesTooManyRequests

func NewGetVoicemailQueueMessagesTooManyRequests() *GetVoicemailQueueMessagesTooManyRequests

NewGetVoicemailQueueMessagesTooManyRequests creates a GetVoicemailQueueMessagesTooManyRequests with default headers values

func (*GetVoicemailQueueMessagesTooManyRequests) Error

func (*GetVoicemailQueueMessagesTooManyRequests) GetPayload

func (*GetVoicemailQueueMessagesTooManyRequests) IsClientError

IsClientError returns true when this get voicemail queue messages too many requests response has a 4xx status code

func (*GetVoicemailQueueMessagesTooManyRequests) IsCode

IsCode returns true when this get voicemail queue messages too many requests response a status code equal to that given

func (*GetVoicemailQueueMessagesTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail queue messages too many requests response has a 3xx status code

func (*GetVoicemailQueueMessagesTooManyRequests) IsServerError

IsServerError returns true when this get voicemail queue messages too many requests response has a 5xx status code

func (*GetVoicemailQueueMessagesTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail queue messages too many requests response has a 2xx status code

func (*GetVoicemailQueueMessagesTooManyRequests) String

type GetVoicemailQueueMessagesUnauthorized

type GetVoicemailQueueMessagesUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailQueueMessagesUnauthorized

func NewGetVoicemailQueueMessagesUnauthorized() *GetVoicemailQueueMessagesUnauthorized

NewGetVoicemailQueueMessagesUnauthorized creates a GetVoicemailQueueMessagesUnauthorized with default headers values

func (*GetVoicemailQueueMessagesUnauthorized) Error

func (*GetVoicemailQueueMessagesUnauthorized) GetPayload

func (*GetVoicemailQueueMessagesUnauthorized) IsClientError

func (o *GetVoicemailQueueMessagesUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail queue messages unauthorized response has a 4xx status code

func (*GetVoicemailQueueMessagesUnauthorized) IsCode

IsCode returns true when this get voicemail queue messages unauthorized response a status code equal to that given

func (*GetVoicemailQueueMessagesUnauthorized) IsRedirect

IsRedirect returns true when this get voicemail queue messages unauthorized response has a 3xx status code

func (*GetVoicemailQueueMessagesUnauthorized) IsServerError

func (o *GetVoicemailQueueMessagesUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail queue messages unauthorized response has a 5xx status code

func (*GetVoicemailQueueMessagesUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail queue messages unauthorized response has a 2xx status code

func (*GetVoicemailQueueMessagesUnauthorized) String

type GetVoicemailQueueMessagesUnsupportedMediaType

type GetVoicemailQueueMessagesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailQueueMessagesUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailQueueMessagesUnsupportedMediaType

func NewGetVoicemailQueueMessagesUnsupportedMediaType() *GetVoicemailQueueMessagesUnsupportedMediaType

NewGetVoicemailQueueMessagesUnsupportedMediaType creates a GetVoicemailQueueMessagesUnsupportedMediaType with default headers values

func (*GetVoicemailQueueMessagesUnsupportedMediaType) Error

func (*GetVoicemailQueueMessagesUnsupportedMediaType) GetPayload

func (*GetVoicemailQueueMessagesUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail queue messages unsupported media type response has a 4xx status code

func (*GetVoicemailQueueMessagesUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail queue messages unsupported media type response a status code equal to that given

func (*GetVoicemailQueueMessagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail queue messages unsupported media type response has a 3xx status code

func (*GetVoicemailQueueMessagesUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail queue messages unsupported media type response has a 5xx status code

func (*GetVoicemailQueueMessagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail queue messages unsupported media type response has a 2xx status code

func (*GetVoicemailQueueMessagesUnsupportedMediaType) String

type GetVoicemailSearchBadRequest

type GetVoicemailSearchBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailSearchBadRequest

func NewGetVoicemailSearchBadRequest() *GetVoicemailSearchBadRequest

NewGetVoicemailSearchBadRequest creates a GetVoicemailSearchBadRequest with default headers values

func (*GetVoicemailSearchBadRequest) Error

func (*GetVoicemailSearchBadRequest) GetPayload

func (*GetVoicemailSearchBadRequest) IsClientError

func (o *GetVoicemailSearchBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail search bad request response has a 4xx status code

func (*GetVoicemailSearchBadRequest) IsCode

func (o *GetVoicemailSearchBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail search bad request response a status code equal to that given

func (*GetVoicemailSearchBadRequest) IsRedirect

func (o *GetVoicemailSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail search bad request response has a 3xx status code

func (*GetVoicemailSearchBadRequest) IsServerError

func (o *GetVoicemailSearchBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail search bad request response has a 5xx status code

func (*GetVoicemailSearchBadRequest) IsSuccess

func (o *GetVoicemailSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail search bad request response has a 2xx status code

func (*GetVoicemailSearchBadRequest) String

type GetVoicemailSearchForbidden

type GetVoicemailSearchForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailSearchForbidden

func NewGetVoicemailSearchForbidden() *GetVoicemailSearchForbidden

NewGetVoicemailSearchForbidden creates a GetVoicemailSearchForbidden with default headers values

func (*GetVoicemailSearchForbidden) Error

func (*GetVoicemailSearchForbidden) GetPayload

func (o *GetVoicemailSearchForbidden) GetPayload() *models.ErrorBody

func (*GetVoicemailSearchForbidden) IsClientError

func (o *GetVoicemailSearchForbidden) IsClientError() bool

IsClientError returns true when this get voicemail search forbidden response has a 4xx status code

func (*GetVoicemailSearchForbidden) IsCode

func (o *GetVoicemailSearchForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail search forbidden response a status code equal to that given

func (*GetVoicemailSearchForbidden) IsRedirect

func (o *GetVoicemailSearchForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail search forbidden response has a 3xx status code

func (*GetVoicemailSearchForbidden) IsServerError

func (o *GetVoicemailSearchForbidden) IsServerError() bool

IsServerError returns true when this get voicemail search forbidden response has a 5xx status code

func (*GetVoicemailSearchForbidden) IsSuccess

func (o *GetVoicemailSearchForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail search forbidden response has a 2xx status code

func (*GetVoicemailSearchForbidden) String

func (o *GetVoicemailSearchForbidden) String() string

type GetVoicemailSearchGatewayTimeout

type GetVoicemailSearchGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailSearchGatewayTimeout

func NewGetVoicemailSearchGatewayTimeout() *GetVoicemailSearchGatewayTimeout

NewGetVoicemailSearchGatewayTimeout creates a GetVoicemailSearchGatewayTimeout with default headers values

func (*GetVoicemailSearchGatewayTimeout) Error

func (*GetVoicemailSearchGatewayTimeout) GetPayload

func (*GetVoicemailSearchGatewayTimeout) IsClientError

func (o *GetVoicemailSearchGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail search gateway timeout response has a 4xx status code

func (*GetVoicemailSearchGatewayTimeout) IsCode

func (o *GetVoicemailSearchGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail search gateway timeout response a status code equal to that given

func (*GetVoicemailSearchGatewayTimeout) IsRedirect

func (o *GetVoicemailSearchGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail search gateway timeout response has a 3xx status code

func (*GetVoicemailSearchGatewayTimeout) IsServerError

func (o *GetVoicemailSearchGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail search gateway timeout response has a 5xx status code

func (*GetVoicemailSearchGatewayTimeout) IsSuccess

func (o *GetVoicemailSearchGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail search gateway timeout response has a 2xx status code

func (*GetVoicemailSearchGatewayTimeout) String

type GetVoicemailSearchInternalServerError

type GetVoicemailSearchInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailSearchInternalServerError

func NewGetVoicemailSearchInternalServerError() *GetVoicemailSearchInternalServerError

NewGetVoicemailSearchInternalServerError creates a GetVoicemailSearchInternalServerError with default headers values

func (*GetVoicemailSearchInternalServerError) Error

func (*GetVoicemailSearchInternalServerError) GetPayload

func (*GetVoicemailSearchInternalServerError) IsClientError

func (o *GetVoicemailSearchInternalServerError) IsClientError() bool

IsClientError returns true when this get voicemail search internal server error response has a 4xx status code

func (*GetVoicemailSearchInternalServerError) IsCode

IsCode returns true when this get voicemail search internal server error response a status code equal to that given

func (*GetVoicemailSearchInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail search internal server error response has a 3xx status code

func (*GetVoicemailSearchInternalServerError) IsServerError

func (o *GetVoicemailSearchInternalServerError) IsServerError() bool

IsServerError returns true when this get voicemail search internal server error response has a 5xx status code

func (*GetVoicemailSearchInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail search internal server error response has a 2xx status code

func (*GetVoicemailSearchInternalServerError) String

type GetVoicemailSearchNotFound

type GetVoicemailSearchNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailSearchNotFound

func NewGetVoicemailSearchNotFound() *GetVoicemailSearchNotFound

NewGetVoicemailSearchNotFound creates a GetVoicemailSearchNotFound with default headers values

func (*GetVoicemailSearchNotFound) Error

func (*GetVoicemailSearchNotFound) GetPayload

func (o *GetVoicemailSearchNotFound) GetPayload() *models.ErrorBody

func (*GetVoicemailSearchNotFound) IsClientError

func (o *GetVoicemailSearchNotFound) IsClientError() bool

IsClientError returns true when this get voicemail search not found response has a 4xx status code

func (*GetVoicemailSearchNotFound) IsCode

func (o *GetVoicemailSearchNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail search not found response a status code equal to that given

func (*GetVoicemailSearchNotFound) IsRedirect

func (o *GetVoicemailSearchNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail search not found response has a 3xx status code

func (*GetVoicemailSearchNotFound) IsServerError

func (o *GetVoicemailSearchNotFound) IsServerError() bool

IsServerError returns true when this get voicemail search not found response has a 5xx status code

func (*GetVoicemailSearchNotFound) IsSuccess

func (o *GetVoicemailSearchNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail search not found response has a 2xx status code

func (*GetVoicemailSearchNotFound) String

func (o *GetVoicemailSearchNotFound) String() string

type GetVoicemailSearchOK

type GetVoicemailSearchOK struct {
	Payload *models.VoicemailsSearchResponse
}

GetVoicemailSearchOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailSearchOK

func NewGetVoicemailSearchOK() *GetVoicemailSearchOK

NewGetVoicemailSearchOK creates a GetVoicemailSearchOK with default headers values

func (*GetVoicemailSearchOK) Error

func (o *GetVoicemailSearchOK) Error() string

func (*GetVoicemailSearchOK) GetPayload

func (*GetVoicemailSearchOK) IsClientError

func (o *GetVoicemailSearchOK) IsClientError() bool

IsClientError returns true when this get voicemail search o k response has a 4xx status code

func (*GetVoicemailSearchOK) IsCode

func (o *GetVoicemailSearchOK) IsCode(code int) bool

IsCode returns true when this get voicemail search o k response a status code equal to that given

func (*GetVoicemailSearchOK) IsRedirect

func (o *GetVoicemailSearchOK) IsRedirect() bool

IsRedirect returns true when this get voicemail search o k response has a 3xx status code

func (*GetVoicemailSearchOK) IsServerError

func (o *GetVoicemailSearchOK) IsServerError() bool

IsServerError returns true when this get voicemail search o k response has a 5xx status code

func (*GetVoicemailSearchOK) IsSuccess

func (o *GetVoicemailSearchOK) IsSuccess() bool

IsSuccess returns true when this get voicemail search o k response has a 2xx status code

func (*GetVoicemailSearchOK) String

func (o *GetVoicemailSearchOK) String() string

type GetVoicemailSearchParams

type GetVoicemailSearchParams struct {

	/* Expand.

	   expand
	*/
	Expand []string

	/* Q64.

	   q64
	*/
	Q64 string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailSearchParams contains all the parameters to send to the API endpoint

for the get voicemail search operation.

Typically these are written to a http.Request.

func NewGetVoicemailSearchParams

func NewGetVoicemailSearchParams() *GetVoicemailSearchParams

NewGetVoicemailSearchParams creates a new GetVoicemailSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailSearchParamsWithContext

func NewGetVoicemailSearchParamsWithContext(ctx context.Context) *GetVoicemailSearchParams

NewGetVoicemailSearchParamsWithContext creates a new GetVoicemailSearchParams object with the ability to set a context for a request.

func NewGetVoicemailSearchParamsWithHTTPClient

func NewGetVoicemailSearchParamsWithHTTPClient(client *http.Client) *GetVoicemailSearchParams

NewGetVoicemailSearchParamsWithHTTPClient creates a new GetVoicemailSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailSearchParamsWithTimeout

func NewGetVoicemailSearchParamsWithTimeout(timeout time.Duration) *GetVoicemailSearchParams

NewGetVoicemailSearchParamsWithTimeout creates a new GetVoicemailSearchParams object with the ability to set a timeout on a request.

func (*GetVoicemailSearchParams) SetContext

func (o *GetVoicemailSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail search params

func (*GetVoicemailSearchParams) SetDefaults

func (o *GetVoicemailSearchParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail search params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailSearchParams) SetExpand

func (o *GetVoicemailSearchParams) SetExpand(expand []string)

SetExpand adds the expand to the get voicemail search params

func (*GetVoicemailSearchParams) SetHTTPClient

func (o *GetVoicemailSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail search params

func (*GetVoicemailSearchParams) SetQ64

func (o *GetVoicemailSearchParams) SetQ64(q64 string)

SetQ64 adds the q64 to the get voicemail search params

func (*GetVoicemailSearchParams) SetTimeout

func (o *GetVoicemailSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail search params

func (*GetVoicemailSearchParams) WithContext

WithContext adds the context to the get voicemail search params

func (*GetVoicemailSearchParams) WithDefaults

WithDefaults hydrates default values in the get voicemail search params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailSearchParams) WithExpand

func (o *GetVoicemailSearchParams) WithExpand(expand []string) *GetVoicemailSearchParams

WithExpand adds the expand to the get voicemail search params

func (*GetVoicemailSearchParams) WithHTTPClient

func (o *GetVoicemailSearchParams) WithHTTPClient(client *http.Client) *GetVoicemailSearchParams

WithHTTPClient adds the HTTPClient to the get voicemail search params

func (*GetVoicemailSearchParams) WithQ64

WithQ64 adds the q64 to the get voicemail search params

func (*GetVoicemailSearchParams) WithTimeout

WithTimeout adds the timeout to the get voicemail search params

func (*GetVoicemailSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailSearchReader

type GetVoicemailSearchReader struct {
	// contains filtered or unexported fields
}

GetVoicemailSearchReader is a Reader for the GetVoicemailSearch structure.

func (*GetVoicemailSearchReader) ReadResponse

func (o *GetVoicemailSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailSearchRequestEntityTooLarge

type GetVoicemailSearchRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailSearchRequestEntityTooLarge

func NewGetVoicemailSearchRequestEntityTooLarge() *GetVoicemailSearchRequestEntityTooLarge

NewGetVoicemailSearchRequestEntityTooLarge creates a GetVoicemailSearchRequestEntityTooLarge with default headers values

func (*GetVoicemailSearchRequestEntityTooLarge) Error

func (*GetVoicemailSearchRequestEntityTooLarge) GetPayload

func (*GetVoicemailSearchRequestEntityTooLarge) IsClientError

func (o *GetVoicemailSearchRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get voicemail search request entity too large response has a 4xx status code

func (*GetVoicemailSearchRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail search request entity too large response a status code equal to that given

func (*GetVoicemailSearchRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail search request entity too large response has a 3xx status code

func (*GetVoicemailSearchRequestEntityTooLarge) IsServerError

func (o *GetVoicemailSearchRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get voicemail search request entity too large response has a 5xx status code

func (*GetVoicemailSearchRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail search request entity too large response has a 2xx status code

func (*GetVoicemailSearchRequestEntityTooLarge) String

type GetVoicemailSearchRequestTimeout

type GetVoicemailSearchRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailSearchRequestTimeout

func NewGetVoicemailSearchRequestTimeout() *GetVoicemailSearchRequestTimeout

NewGetVoicemailSearchRequestTimeout creates a GetVoicemailSearchRequestTimeout with default headers values

func (*GetVoicemailSearchRequestTimeout) Error

func (*GetVoicemailSearchRequestTimeout) GetPayload

func (*GetVoicemailSearchRequestTimeout) IsClientError

func (o *GetVoicemailSearchRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail search request timeout response has a 4xx status code

func (*GetVoicemailSearchRequestTimeout) IsCode

func (o *GetVoicemailSearchRequestTimeout) IsCode(code int) bool

IsCode returns true when this get voicemail search request timeout response a status code equal to that given

func (*GetVoicemailSearchRequestTimeout) IsRedirect

func (o *GetVoicemailSearchRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get voicemail search request timeout response has a 3xx status code

func (*GetVoicemailSearchRequestTimeout) IsServerError

func (o *GetVoicemailSearchRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail search request timeout response has a 5xx status code

func (*GetVoicemailSearchRequestTimeout) IsSuccess

func (o *GetVoicemailSearchRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get voicemail search request timeout response has a 2xx status code

func (*GetVoicemailSearchRequestTimeout) String

type GetVoicemailSearchServiceUnavailable

type GetVoicemailSearchServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailSearchServiceUnavailable

func NewGetVoicemailSearchServiceUnavailable() *GetVoicemailSearchServiceUnavailable

NewGetVoicemailSearchServiceUnavailable creates a GetVoicemailSearchServiceUnavailable with default headers values

func (*GetVoicemailSearchServiceUnavailable) Error

func (*GetVoicemailSearchServiceUnavailable) GetPayload

func (*GetVoicemailSearchServiceUnavailable) IsClientError

func (o *GetVoicemailSearchServiceUnavailable) IsClientError() bool

IsClientError returns true when this get voicemail search service unavailable response has a 4xx status code

func (*GetVoicemailSearchServiceUnavailable) IsCode

IsCode returns true when this get voicemail search service unavailable response a status code equal to that given

func (*GetVoicemailSearchServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail search service unavailable response has a 3xx status code

func (*GetVoicemailSearchServiceUnavailable) IsServerError

func (o *GetVoicemailSearchServiceUnavailable) IsServerError() bool

IsServerError returns true when this get voicemail search service unavailable response has a 5xx status code

func (*GetVoicemailSearchServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail search service unavailable response has a 2xx status code

func (*GetVoicemailSearchServiceUnavailable) String

type GetVoicemailSearchTooManyRequests

type GetVoicemailSearchTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailSearchTooManyRequests

func NewGetVoicemailSearchTooManyRequests() *GetVoicemailSearchTooManyRequests

NewGetVoicemailSearchTooManyRequests creates a GetVoicemailSearchTooManyRequests with default headers values

func (*GetVoicemailSearchTooManyRequests) Error

func (*GetVoicemailSearchTooManyRequests) GetPayload

func (*GetVoicemailSearchTooManyRequests) IsClientError

func (o *GetVoicemailSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail search too many requests response has a 4xx status code

func (*GetVoicemailSearchTooManyRequests) IsCode

func (o *GetVoicemailSearchTooManyRequests) IsCode(code int) bool

IsCode returns true when this get voicemail search too many requests response a status code equal to that given

func (*GetVoicemailSearchTooManyRequests) IsRedirect

func (o *GetVoicemailSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get voicemail search too many requests response has a 3xx status code

func (*GetVoicemailSearchTooManyRequests) IsServerError

func (o *GetVoicemailSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail search too many requests response has a 5xx status code

func (*GetVoicemailSearchTooManyRequests) IsSuccess

func (o *GetVoicemailSearchTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get voicemail search too many requests response has a 2xx status code

func (*GetVoicemailSearchTooManyRequests) String

type GetVoicemailSearchUnauthorized

type GetVoicemailSearchUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailSearchUnauthorized

func NewGetVoicemailSearchUnauthorized() *GetVoicemailSearchUnauthorized

NewGetVoicemailSearchUnauthorized creates a GetVoicemailSearchUnauthorized with default headers values

func (*GetVoicemailSearchUnauthorized) Error

func (*GetVoicemailSearchUnauthorized) GetPayload

func (*GetVoicemailSearchUnauthorized) IsClientError

func (o *GetVoicemailSearchUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail search unauthorized response has a 4xx status code

func (*GetVoicemailSearchUnauthorized) IsCode

func (o *GetVoicemailSearchUnauthorized) IsCode(code int) bool

IsCode returns true when this get voicemail search unauthorized response a status code equal to that given

func (*GetVoicemailSearchUnauthorized) IsRedirect

func (o *GetVoicemailSearchUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail search unauthorized response has a 3xx status code

func (*GetVoicemailSearchUnauthorized) IsServerError

func (o *GetVoicemailSearchUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail search unauthorized response has a 5xx status code

func (*GetVoicemailSearchUnauthorized) IsSuccess

func (o *GetVoicemailSearchUnauthorized) IsSuccess() bool

IsSuccess returns true when this get voicemail search unauthorized response has a 2xx status code

func (*GetVoicemailSearchUnauthorized) String

type GetVoicemailSearchUnsupportedMediaType

type GetVoicemailSearchUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailSearchUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailSearchUnsupportedMediaType

func NewGetVoicemailSearchUnsupportedMediaType() *GetVoicemailSearchUnsupportedMediaType

NewGetVoicemailSearchUnsupportedMediaType creates a GetVoicemailSearchUnsupportedMediaType with default headers values

func (*GetVoicemailSearchUnsupportedMediaType) Error

func (*GetVoicemailSearchUnsupportedMediaType) GetPayload

func (*GetVoicemailSearchUnsupportedMediaType) IsClientError

func (o *GetVoicemailSearchUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get voicemail search unsupported media type response has a 4xx status code

func (*GetVoicemailSearchUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail search unsupported media type response a status code equal to that given

func (*GetVoicemailSearchUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail search unsupported media type response has a 3xx status code

func (*GetVoicemailSearchUnsupportedMediaType) IsServerError

func (o *GetVoicemailSearchUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get voicemail search unsupported media type response has a 5xx status code

func (*GetVoicemailSearchUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail search unsupported media type response has a 2xx status code

func (*GetVoicemailSearchUnsupportedMediaType) String

type GetVoicemailUserpolicyBadRequest

type GetVoicemailUserpolicyBadRequest struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetVoicemailUserpolicyBadRequest

func NewGetVoicemailUserpolicyBadRequest() *GetVoicemailUserpolicyBadRequest

NewGetVoicemailUserpolicyBadRequest creates a GetVoicemailUserpolicyBadRequest with default headers values

func (*GetVoicemailUserpolicyBadRequest) Error

func (*GetVoicemailUserpolicyBadRequest) GetPayload

func (*GetVoicemailUserpolicyBadRequest) IsClientError

func (o *GetVoicemailUserpolicyBadRequest) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy bad request response has a 4xx status code

func (*GetVoicemailUserpolicyBadRequest) IsCode

func (o *GetVoicemailUserpolicyBadRequest) IsCode(code int) bool

IsCode returns true when this get voicemail userpolicy bad request response a status code equal to that given

func (*GetVoicemailUserpolicyBadRequest) IsRedirect

func (o *GetVoicemailUserpolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this get voicemail userpolicy bad request response has a 3xx status code

func (*GetVoicemailUserpolicyBadRequest) IsServerError

func (o *GetVoicemailUserpolicyBadRequest) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy bad request response has a 5xx status code

func (*GetVoicemailUserpolicyBadRequest) IsSuccess

func (o *GetVoicemailUserpolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this get voicemail userpolicy bad request response has a 2xx status code

func (*GetVoicemailUserpolicyBadRequest) String

type GetVoicemailUserpolicyForbidden

type GetVoicemailUserpolicyForbidden struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetVoicemailUserpolicyForbidden

func NewGetVoicemailUserpolicyForbidden() *GetVoicemailUserpolicyForbidden

NewGetVoicemailUserpolicyForbidden creates a GetVoicemailUserpolicyForbidden with default headers values

func (*GetVoicemailUserpolicyForbidden) Error

func (*GetVoicemailUserpolicyForbidden) GetPayload

func (*GetVoicemailUserpolicyForbidden) IsClientError

func (o *GetVoicemailUserpolicyForbidden) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy forbidden response has a 4xx status code

func (*GetVoicemailUserpolicyForbidden) IsCode

func (o *GetVoicemailUserpolicyForbidden) IsCode(code int) bool

IsCode returns true when this get voicemail userpolicy forbidden response a status code equal to that given

func (*GetVoicemailUserpolicyForbidden) IsRedirect

func (o *GetVoicemailUserpolicyForbidden) IsRedirect() bool

IsRedirect returns true when this get voicemail userpolicy forbidden response has a 3xx status code

func (*GetVoicemailUserpolicyForbidden) IsServerError

func (o *GetVoicemailUserpolicyForbidden) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy forbidden response has a 5xx status code

func (*GetVoicemailUserpolicyForbidden) IsSuccess

func (o *GetVoicemailUserpolicyForbidden) IsSuccess() bool

IsSuccess returns true when this get voicemail userpolicy forbidden response has a 2xx status code

func (*GetVoicemailUserpolicyForbidden) String

type GetVoicemailUserpolicyGatewayTimeout

type GetVoicemailUserpolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetVoicemailUserpolicyGatewayTimeout

func NewGetVoicemailUserpolicyGatewayTimeout() *GetVoicemailUserpolicyGatewayTimeout

NewGetVoicemailUserpolicyGatewayTimeout creates a GetVoicemailUserpolicyGatewayTimeout with default headers values

func (*GetVoicemailUserpolicyGatewayTimeout) Error

func (*GetVoicemailUserpolicyGatewayTimeout) GetPayload

func (*GetVoicemailUserpolicyGatewayTimeout) IsClientError

func (o *GetVoicemailUserpolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy gateway timeout response has a 4xx status code

func (*GetVoicemailUserpolicyGatewayTimeout) IsCode

IsCode returns true when this get voicemail userpolicy gateway timeout response a status code equal to that given

func (*GetVoicemailUserpolicyGatewayTimeout) IsRedirect

IsRedirect returns true when this get voicemail userpolicy gateway timeout response has a 3xx status code

func (*GetVoicemailUserpolicyGatewayTimeout) IsServerError

func (o *GetVoicemailUserpolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy gateway timeout response has a 5xx status code

func (*GetVoicemailUserpolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this get voicemail userpolicy gateway timeout response has a 2xx status code

func (*GetVoicemailUserpolicyGatewayTimeout) String

type GetVoicemailUserpolicyInternalServerError

type GetVoicemailUserpolicyInternalServerError struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetVoicemailUserpolicyInternalServerError

func NewGetVoicemailUserpolicyInternalServerError() *GetVoicemailUserpolicyInternalServerError

NewGetVoicemailUserpolicyInternalServerError creates a GetVoicemailUserpolicyInternalServerError with default headers values

func (*GetVoicemailUserpolicyInternalServerError) Error

func (*GetVoicemailUserpolicyInternalServerError) GetPayload

func (*GetVoicemailUserpolicyInternalServerError) IsClientError

IsClientError returns true when this get voicemail userpolicy internal server error response has a 4xx status code

func (*GetVoicemailUserpolicyInternalServerError) IsCode

IsCode returns true when this get voicemail userpolicy internal server error response a status code equal to that given

func (*GetVoicemailUserpolicyInternalServerError) IsRedirect

IsRedirect returns true when this get voicemail userpolicy internal server error response has a 3xx status code

func (*GetVoicemailUserpolicyInternalServerError) IsServerError

IsServerError returns true when this get voicemail userpolicy internal server error response has a 5xx status code

func (*GetVoicemailUserpolicyInternalServerError) IsSuccess

IsSuccess returns true when this get voicemail userpolicy internal server error response has a 2xx status code

func (*GetVoicemailUserpolicyInternalServerError) String

type GetVoicemailUserpolicyNotFound

type GetVoicemailUserpolicyNotFound struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetVoicemailUserpolicyNotFound

func NewGetVoicemailUserpolicyNotFound() *GetVoicemailUserpolicyNotFound

NewGetVoicemailUserpolicyNotFound creates a GetVoicemailUserpolicyNotFound with default headers values

func (*GetVoicemailUserpolicyNotFound) Error

func (*GetVoicemailUserpolicyNotFound) GetPayload

func (*GetVoicemailUserpolicyNotFound) IsClientError

func (o *GetVoicemailUserpolicyNotFound) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy not found response has a 4xx status code

func (*GetVoicemailUserpolicyNotFound) IsCode

func (o *GetVoicemailUserpolicyNotFound) IsCode(code int) bool

IsCode returns true when this get voicemail userpolicy not found response a status code equal to that given

func (*GetVoicemailUserpolicyNotFound) IsRedirect

func (o *GetVoicemailUserpolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get voicemail userpolicy not found response has a 3xx status code

func (*GetVoicemailUserpolicyNotFound) IsServerError

func (o *GetVoicemailUserpolicyNotFound) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy not found response has a 5xx status code

func (*GetVoicemailUserpolicyNotFound) IsSuccess

func (o *GetVoicemailUserpolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get voicemail userpolicy not found response has a 2xx status code

func (*GetVoicemailUserpolicyNotFound) String

type GetVoicemailUserpolicyOK

type GetVoicemailUserpolicyOK struct {
	Payload *models.VoicemailUserPolicy
}

GetVoicemailUserpolicyOK describes a response with status code 200, with default header values.

successful operation

func NewGetVoicemailUserpolicyOK

func NewGetVoicemailUserpolicyOK() *GetVoicemailUserpolicyOK

NewGetVoicemailUserpolicyOK creates a GetVoicemailUserpolicyOK with default headers values

func (*GetVoicemailUserpolicyOK) Error

func (o *GetVoicemailUserpolicyOK) Error() string

func (*GetVoicemailUserpolicyOK) GetPayload

func (*GetVoicemailUserpolicyOK) IsClientError

func (o *GetVoicemailUserpolicyOK) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy o k response has a 4xx status code

func (*GetVoicemailUserpolicyOK) IsCode

func (o *GetVoicemailUserpolicyOK) IsCode(code int) bool

IsCode returns true when this get voicemail userpolicy o k response a status code equal to that given

func (*GetVoicemailUserpolicyOK) IsRedirect

func (o *GetVoicemailUserpolicyOK) IsRedirect() bool

IsRedirect returns true when this get voicemail userpolicy o k response has a 3xx status code

func (*GetVoicemailUserpolicyOK) IsServerError

func (o *GetVoicemailUserpolicyOK) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy o k response has a 5xx status code

func (*GetVoicemailUserpolicyOK) IsSuccess

func (o *GetVoicemailUserpolicyOK) IsSuccess() bool

IsSuccess returns true when this get voicemail userpolicy o k response has a 2xx status code

func (*GetVoicemailUserpolicyOK) String

func (o *GetVoicemailUserpolicyOK) String() string

type GetVoicemailUserpolicyParams

type GetVoicemailUserpolicyParams struct {

	/* UserID.

	   User ID
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVoicemailUserpolicyParams contains all the parameters to send to the API endpoint

for the get voicemail userpolicy operation.

Typically these are written to a http.Request.

func NewGetVoicemailUserpolicyParams

func NewGetVoicemailUserpolicyParams() *GetVoicemailUserpolicyParams

NewGetVoicemailUserpolicyParams creates a new GetVoicemailUserpolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetVoicemailUserpolicyParamsWithContext

func NewGetVoicemailUserpolicyParamsWithContext(ctx context.Context) *GetVoicemailUserpolicyParams

NewGetVoicemailUserpolicyParamsWithContext creates a new GetVoicemailUserpolicyParams object with the ability to set a context for a request.

func NewGetVoicemailUserpolicyParamsWithHTTPClient

func NewGetVoicemailUserpolicyParamsWithHTTPClient(client *http.Client) *GetVoicemailUserpolicyParams

NewGetVoicemailUserpolicyParamsWithHTTPClient creates a new GetVoicemailUserpolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetVoicemailUserpolicyParamsWithTimeout

func NewGetVoicemailUserpolicyParamsWithTimeout(timeout time.Duration) *GetVoicemailUserpolicyParams

NewGetVoicemailUserpolicyParamsWithTimeout creates a new GetVoicemailUserpolicyParams object with the ability to set a timeout on a request.

func (*GetVoicemailUserpolicyParams) SetContext

func (o *GetVoicemailUserpolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) SetDefaults

func (o *GetVoicemailUserpolicyParams) SetDefaults()

SetDefaults hydrates default values in the get voicemail userpolicy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailUserpolicyParams) SetHTTPClient

func (o *GetVoicemailUserpolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) SetTimeout

func (o *GetVoicemailUserpolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) SetUserID

func (o *GetVoicemailUserpolicyParams) SetUserID(userID string)

SetUserID adds the userId to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) WithContext

WithContext adds the context to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) WithDefaults

WithDefaults hydrates default values in the get voicemail userpolicy params (not the query body).

All values with no default are reset to their zero value.

func (*GetVoicemailUserpolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) WithTimeout

WithTimeout adds the timeout to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) WithUserID

WithUserID adds the userID to the get voicemail userpolicy params

func (*GetVoicemailUserpolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVoicemailUserpolicyReader

type GetVoicemailUserpolicyReader struct {
	// contains filtered or unexported fields
}

GetVoicemailUserpolicyReader is a Reader for the GetVoicemailUserpolicy structure.

func (*GetVoicemailUserpolicyReader) ReadResponse

func (o *GetVoicemailUserpolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVoicemailUserpolicyRequestEntityTooLarge

type GetVoicemailUserpolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetVoicemailUserpolicyRequestEntityTooLarge

func NewGetVoicemailUserpolicyRequestEntityTooLarge() *GetVoicemailUserpolicyRequestEntityTooLarge

NewGetVoicemailUserpolicyRequestEntityTooLarge creates a GetVoicemailUserpolicyRequestEntityTooLarge with default headers values

func (*GetVoicemailUserpolicyRequestEntityTooLarge) Error

func (*GetVoicemailUserpolicyRequestEntityTooLarge) GetPayload

func (*GetVoicemailUserpolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this get voicemail userpolicy request entity too large response has a 4xx status code

func (*GetVoicemailUserpolicyRequestEntityTooLarge) IsCode

IsCode returns true when this get voicemail userpolicy request entity too large response a status code equal to that given

func (*GetVoicemailUserpolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get voicemail userpolicy request entity too large response has a 3xx status code

func (*GetVoicemailUserpolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this get voicemail userpolicy request entity too large response has a 5xx status code

func (*GetVoicemailUserpolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get voicemail userpolicy request entity too large response has a 2xx status code

func (*GetVoicemailUserpolicyRequestEntityTooLarge) String

type GetVoicemailUserpolicyRequestTimeout

type GetVoicemailUserpolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetVoicemailUserpolicyRequestTimeout

func NewGetVoicemailUserpolicyRequestTimeout() *GetVoicemailUserpolicyRequestTimeout

NewGetVoicemailUserpolicyRequestTimeout creates a GetVoicemailUserpolicyRequestTimeout with default headers values

func (*GetVoicemailUserpolicyRequestTimeout) Error

func (*GetVoicemailUserpolicyRequestTimeout) GetPayload

func (*GetVoicemailUserpolicyRequestTimeout) IsClientError

func (o *GetVoicemailUserpolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy request timeout response has a 4xx status code

func (*GetVoicemailUserpolicyRequestTimeout) IsCode

IsCode returns true when this get voicemail userpolicy request timeout response a status code equal to that given

func (*GetVoicemailUserpolicyRequestTimeout) IsRedirect

IsRedirect returns true when this get voicemail userpolicy request timeout response has a 3xx status code

func (*GetVoicemailUserpolicyRequestTimeout) IsServerError

func (o *GetVoicemailUserpolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy request timeout response has a 5xx status code

func (*GetVoicemailUserpolicyRequestTimeout) IsSuccess

IsSuccess returns true when this get voicemail userpolicy request timeout response has a 2xx status code

func (*GetVoicemailUserpolicyRequestTimeout) String

type GetVoicemailUserpolicyServiceUnavailable

type GetVoicemailUserpolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetVoicemailUserpolicyServiceUnavailable

func NewGetVoicemailUserpolicyServiceUnavailable() *GetVoicemailUserpolicyServiceUnavailable

NewGetVoicemailUserpolicyServiceUnavailable creates a GetVoicemailUserpolicyServiceUnavailable with default headers values

func (*GetVoicemailUserpolicyServiceUnavailable) Error

func (*GetVoicemailUserpolicyServiceUnavailable) GetPayload

func (*GetVoicemailUserpolicyServiceUnavailable) IsClientError

IsClientError returns true when this get voicemail userpolicy service unavailable response has a 4xx status code

func (*GetVoicemailUserpolicyServiceUnavailable) IsCode

IsCode returns true when this get voicemail userpolicy service unavailable response a status code equal to that given

func (*GetVoicemailUserpolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this get voicemail userpolicy service unavailable response has a 3xx status code

func (*GetVoicemailUserpolicyServiceUnavailable) IsServerError

IsServerError returns true when this get voicemail userpolicy service unavailable response has a 5xx status code

func (*GetVoicemailUserpolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this get voicemail userpolicy service unavailable response has a 2xx status code

func (*GetVoicemailUserpolicyServiceUnavailable) String

type GetVoicemailUserpolicyTooManyRequests

type GetVoicemailUserpolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetVoicemailUserpolicyTooManyRequests

func NewGetVoicemailUserpolicyTooManyRequests() *GetVoicemailUserpolicyTooManyRequests

NewGetVoicemailUserpolicyTooManyRequests creates a GetVoicemailUserpolicyTooManyRequests with default headers values

func (*GetVoicemailUserpolicyTooManyRequests) Error

func (*GetVoicemailUserpolicyTooManyRequests) GetPayload

func (*GetVoicemailUserpolicyTooManyRequests) IsClientError

func (o *GetVoicemailUserpolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy too many requests response has a 4xx status code

func (*GetVoicemailUserpolicyTooManyRequests) IsCode

IsCode returns true when this get voicemail userpolicy too many requests response a status code equal to that given

func (*GetVoicemailUserpolicyTooManyRequests) IsRedirect

IsRedirect returns true when this get voicemail userpolicy too many requests response has a 3xx status code

func (*GetVoicemailUserpolicyTooManyRequests) IsServerError

func (o *GetVoicemailUserpolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy too many requests response has a 5xx status code

func (*GetVoicemailUserpolicyTooManyRequests) IsSuccess

IsSuccess returns true when this get voicemail userpolicy too many requests response has a 2xx status code

func (*GetVoicemailUserpolicyTooManyRequests) String

type GetVoicemailUserpolicyUnauthorized

type GetVoicemailUserpolicyUnauthorized struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetVoicemailUserpolicyUnauthorized

func NewGetVoicemailUserpolicyUnauthorized() *GetVoicemailUserpolicyUnauthorized

NewGetVoicemailUserpolicyUnauthorized creates a GetVoicemailUserpolicyUnauthorized with default headers values

func (*GetVoicemailUserpolicyUnauthorized) Error

func (*GetVoicemailUserpolicyUnauthorized) GetPayload

func (*GetVoicemailUserpolicyUnauthorized) IsClientError

func (o *GetVoicemailUserpolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get voicemail userpolicy unauthorized response has a 4xx status code

func (*GetVoicemailUserpolicyUnauthorized) IsCode

IsCode returns true when this get voicemail userpolicy unauthorized response a status code equal to that given

func (*GetVoicemailUserpolicyUnauthorized) IsRedirect

func (o *GetVoicemailUserpolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get voicemail userpolicy unauthorized response has a 3xx status code

func (*GetVoicemailUserpolicyUnauthorized) IsServerError

func (o *GetVoicemailUserpolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get voicemail userpolicy unauthorized response has a 5xx status code

func (*GetVoicemailUserpolicyUnauthorized) IsSuccess

IsSuccess returns true when this get voicemail userpolicy unauthorized response has a 2xx status code

func (*GetVoicemailUserpolicyUnauthorized) String

type GetVoicemailUserpolicyUnsupportedMediaType

type GetVoicemailUserpolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetVoicemailUserpolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetVoicemailUserpolicyUnsupportedMediaType

func NewGetVoicemailUserpolicyUnsupportedMediaType() *GetVoicemailUserpolicyUnsupportedMediaType

NewGetVoicemailUserpolicyUnsupportedMediaType creates a GetVoicemailUserpolicyUnsupportedMediaType with default headers values

func (*GetVoicemailUserpolicyUnsupportedMediaType) Error

func (*GetVoicemailUserpolicyUnsupportedMediaType) GetPayload

func (*GetVoicemailUserpolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this get voicemail userpolicy unsupported media type response has a 4xx status code

func (*GetVoicemailUserpolicyUnsupportedMediaType) IsCode

IsCode returns true when this get voicemail userpolicy unsupported media type response a status code equal to that given

func (*GetVoicemailUserpolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get voicemail userpolicy unsupported media type response has a 3xx status code

func (*GetVoicemailUserpolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this get voicemail userpolicy unsupported media type response has a 5xx status code

func (*GetVoicemailUserpolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get voicemail userpolicy unsupported media type response has a 2xx status code

func (*GetVoicemailUserpolicyUnsupportedMediaType) String

type PatchVoicemailGroupPolicyBadRequest

type PatchVoicemailGroupPolicyBadRequest struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPatchVoicemailGroupPolicyBadRequest

func NewPatchVoicemailGroupPolicyBadRequest() *PatchVoicemailGroupPolicyBadRequest

NewPatchVoicemailGroupPolicyBadRequest creates a PatchVoicemailGroupPolicyBadRequest with default headers values

func (*PatchVoicemailGroupPolicyBadRequest) Error

func (*PatchVoicemailGroupPolicyBadRequest) GetPayload

func (*PatchVoicemailGroupPolicyBadRequest) IsClientError

func (o *PatchVoicemailGroupPolicyBadRequest) IsClientError() bool

IsClientError returns true when this patch voicemail group policy bad request response has a 4xx status code

func (*PatchVoicemailGroupPolicyBadRequest) IsCode

IsCode returns true when this patch voicemail group policy bad request response a status code equal to that given

func (*PatchVoicemailGroupPolicyBadRequest) IsRedirect

func (o *PatchVoicemailGroupPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this patch voicemail group policy bad request response has a 3xx status code

func (*PatchVoicemailGroupPolicyBadRequest) IsServerError

func (o *PatchVoicemailGroupPolicyBadRequest) IsServerError() bool

IsServerError returns true when this patch voicemail group policy bad request response has a 5xx status code

func (*PatchVoicemailGroupPolicyBadRequest) IsSuccess

IsSuccess returns true when this patch voicemail group policy bad request response has a 2xx status code

func (*PatchVoicemailGroupPolicyBadRequest) String

type PatchVoicemailGroupPolicyForbidden

type PatchVoicemailGroupPolicyForbidden struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPatchVoicemailGroupPolicyForbidden

func NewPatchVoicemailGroupPolicyForbidden() *PatchVoicemailGroupPolicyForbidden

NewPatchVoicemailGroupPolicyForbidden creates a PatchVoicemailGroupPolicyForbidden with default headers values

func (*PatchVoicemailGroupPolicyForbidden) Error

func (*PatchVoicemailGroupPolicyForbidden) GetPayload

func (*PatchVoicemailGroupPolicyForbidden) IsClientError

func (o *PatchVoicemailGroupPolicyForbidden) IsClientError() bool

IsClientError returns true when this patch voicemail group policy forbidden response has a 4xx status code

func (*PatchVoicemailGroupPolicyForbidden) IsCode

IsCode returns true when this patch voicemail group policy forbidden response a status code equal to that given

func (*PatchVoicemailGroupPolicyForbidden) IsRedirect

func (o *PatchVoicemailGroupPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this patch voicemail group policy forbidden response has a 3xx status code

func (*PatchVoicemailGroupPolicyForbidden) IsServerError

func (o *PatchVoicemailGroupPolicyForbidden) IsServerError() bool

IsServerError returns true when this patch voicemail group policy forbidden response has a 5xx status code

func (*PatchVoicemailGroupPolicyForbidden) IsSuccess

IsSuccess returns true when this patch voicemail group policy forbidden response has a 2xx status code

func (*PatchVoicemailGroupPolicyForbidden) String

type PatchVoicemailGroupPolicyGatewayTimeout

type PatchVoicemailGroupPolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPatchVoicemailGroupPolicyGatewayTimeout

func NewPatchVoicemailGroupPolicyGatewayTimeout() *PatchVoicemailGroupPolicyGatewayTimeout

NewPatchVoicemailGroupPolicyGatewayTimeout creates a PatchVoicemailGroupPolicyGatewayTimeout with default headers values

func (*PatchVoicemailGroupPolicyGatewayTimeout) Error

func (*PatchVoicemailGroupPolicyGatewayTimeout) GetPayload

func (*PatchVoicemailGroupPolicyGatewayTimeout) IsClientError

func (o *PatchVoicemailGroupPolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail group policy gateway timeout response has a 4xx status code

func (*PatchVoicemailGroupPolicyGatewayTimeout) IsCode

IsCode returns true when this patch voicemail group policy gateway timeout response a status code equal to that given

func (*PatchVoicemailGroupPolicyGatewayTimeout) IsRedirect

IsRedirect returns true when this patch voicemail group policy gateway timeout response has a 3xx status code

func (*PatchVoicemailGroupPolicyGatewayTimeout) IsServerError

func (o *PatchVoicemailGroupPolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail group policy gateway timeout response has a 5xx status code

func (*PatchVoicemailGroupPolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this patch voicemail group policy gateway timeout response has a 2xx status code

func (*PatchVoicemailGroupPolicyGatewayTimeout) String

type PatchVoicemailGroupPolicyInternalServerError

type PatchVoicemailGroupPolicyInternalServerError struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPatchVoicemailGroupPolicyInternalServerError

func NewPatchVoicemailGroupPolicyInternalServerError() *PatchVoicemailGroupPolicyInternalServerError

NewPatchVoicemailGroupPolicyInternalServerError creates a PatchVoicemailGroupPolicyInternalServerError with default headers values

func (*PatchVoicemailGroupPolicyInternalServerError) Error

func (*PatchVoicemailGroupPolicyInternalServerError) GetPayload

func (*PatchVoicemailGroupPolicyInternalServerError) IsClientError

IsClientError returns true when this patch voicemail group policy internal server error response has a 4xx status code

func (*PatchVoicemailGroupPolicyInternalServerError) IsCode

IsCode returns true when this patch voicemail group policy internal server error response a status code equal to that given

func (*PatchVoicemailGroupPolicyInternalServerError) IsRedirect

IsRedirect returns true when this patch voicemail group policy internal server error response has a 3xx status code

func (*PatchVoicemailGroupPolicyInternalServerError) IsServerError

IsServerError returns true when this patch voicemail group policy internal server error response has a 5xx status code

func (*PatchVoicemailGroupPolicyInternalServerError) IsSuccess

IsSuccess returns true when this patch voicemail group policy internal server error response has a 2xx status code

func (*PatchVoicemailGroupPolicyInternalServerError) String

type PatchVoicemailGroupPolicyNotFound

type PatchVoicemailGroupPolicyNotFound struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPatchVoicemailGroupPolicyNotFound

func NewPatchVoicemailGroupPolicyNotFound() *PatchVoicemailGroupPolicyNotFound

NewPatchVoicemailGroupPolicyNotFound creates a PatchVoicemailGroupPolicyNotFound with default headers values

func (*PatchVoicemailGroupPolicyNotFound) Error

func (*PatchVoicemailGroupPolicyNotFound) GetPayload

func (*PatchVoicemailGroupPolicyNotFound) IsClientError

func (o *PatchVoicemailGroupPolicyNotFound) IsClientError() bool

IsClientError returns true when this patch voicemail group policy not found response has a 4xx status code

func (*PatchVoicemailGroupPolicyNotFound) IsCode

func (o *PatchVoicemailGroupPolicyNotFound) IsCode(code int) bool

IsCode returns true when this patch voicemail group policy not found response a status code equal to that given

func (*PatchVoicemailGroupPolicyNotFound) IsRedirect

func (o *PatchVoicemailGroupPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this patch voicemail group policy not found response has a 3xx status code

func (*PatchVoicemailGroupPolicyNotFound) IsServerError

func (o *PatchVoicemailGroupPolicyNotFound) IsServerError() bool

IsServerError returns true when this patch voicemail group policy not found response has a 5xx status code

func (*PatchVoicemailGroupPolicyNotFound) IsSuccess

func (o *PatchVoicemailGroupPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this patch voicemail group policy not found response has a 2xx status code

func (*PatchVoicemailGroupPolicyNotFound) String

type PatchVoicemailGroupPolicyOK

type PatchVoicemailGroupPolicyOK struct {
	Payload *models.VoicemailGroupPolicy
}

PatchVoicemailGroupPolicyOK describes a response with status code 200, with default header values.

successful operation

func NewPatchVoicemailGroupPolicyOK

func NewPatchVoicemailGroupPolicyOK() *PatchVoicemailGroupPolicyOK

NewPatchVoicemailGroupPolicyOK creates a PatchVoicemailGroupPolicyOK with default headers values

func (*PatchVoicemailGroupPolicyOK) Error

func (*PatchVoicemailGroupPolicyOK) GetPayload

func (*PatchVoicemailGroupPolicyOK) IsClientError

func (o *PatchVoicemailGroupPolicyOK) IsClientError() bool

IsClientError returns true when this patch voicemail group policy o k response has a 4xx status code

func (*PatchVoicemailGroupPolicyOK) IsCode

func (o *PatchVoicemailGroupPolicyOK) IsCode(code int) bool

IsCode returns true when this patch voicemail group policy o k response a status code equal to that given

func (*PatchVoicemailGroupPolicyOK) IsRedirect

func (o *PatchVoicemailGroupPolicyOK) IsRedirect() bool

IsRedirect returns true when this patch voicemail group policy o k response has a 3xx status code

func (*PatchVoicemailGroupPolicyOK) IsServerError

func (o *PatchVoicemailGroupPolicyOK) IsServerError() bool

IsServerError returns true when this patch voicemail group policy o k response has a 5xx status code

func (*PatchVoicemailGroupPolicyOK) IsSuccess

func (o *PatchVoicemailGroupPolicyOK) IsSuccess() bool

IsSuccess returns true when this patch voicemail group policy o k response has a 2xx status code

func (*PatchVoicemailGroupPolicyOK) String

func (o *PatchVoicemailGroupPolicyOK) String() string

type PatchVoicemailGroupPolicyParams

type PatchVoicemailGroupPolicyParams struct {

	/* Body.

	   The group's voicemail policy
	*/
	Body *models.VoicemailGroupPolicy

	/* GroupID.

	   Group ID
	*/
	GroupID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchVoicemailGroupPolicyParams contains all the parameters to send to the API endpoint

for the patch voicemail group policy operation.

Typically these are written to a http.Request.

func NewPatchVoicemailGroupPolicyParams

func NewPatchVoicemailGroupPolicyParams() *PatchVoicemailGroupPolicyParams

NewPatchVoicemailGroupPolicyParams creates a new PatchVoicemailGroupPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchVoicemailGroupPolicyParamsWithContext

func NewPatchVoicemailGroupPolicyParamsWithContext(ctx context.Context) *PatchVoicemailGroupPolicyParams

NewPatchVoicemailGroupPolicyParamsWithContext creates a new PatchVoicemailGroupPolicyParams object with the ability to set a context for a request.

func NewPatchVoicemailGroupPolicyParamsWithHTTPClient

func NewPatchVoicemailGroupPolicyParamsWithHTTPClient(client *http.Client) *PatchVoicemailGroupPolicyParams

NewPatchVoicemailGroupPolicyParamsWithHTTPClient creates a new PatchVoicemailGroupPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPatchVoicemailGroupPolicyParamsWithTimeout

func NewPatchVoicemailGroupPolicyParamsWithTimeout(timeout time.Duration) *PatchVoicemailGroupPolicyParams

NewPatchVoicemailGroupPolicyParamsWithTimeout creates a new PatchVoicemailGroupPolicyParams object with the ability to set a timeout on a request.

func (*PatchVoicemailGroupPolicyParams) SetBody

SetBody adds the body to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) SetContext

func (o *PatchVoicemailGroupPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) SetDefaults

func (o *PatchVoicemailGroupPolicyParams) SetDefaults()

SetDefaults hydrates default values in the patch voicemail group policy params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailGroupPolicyParams) SetGroupID

func (o *PatchVoicemailGroupPolicyParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) SetHTTPClient

func (o *PatchVoicemailGroupPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) SetTimeout

func (o *PatchVoicemailGroupPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) WithBody

WithBody adds the body to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) WithContext

WithContext adds the context to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) WithDefaults

WithDefaults hydrates default values in the patch voicemail group policy params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailGroupPolicyParams) WithGroupID

WithGroupID adds the groupID to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) WithTimeout

WithTimeout adds the timeout to the patch voicemail group policy params

func (*PatchVoicemailGroupPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchVoicemailGroupPolicyReader

type PatchVoicemailGroupPolicyReader struct {
	// contains filtered or unexported fields
}

PatchVoicemailGroupPolicyReader is a Reader for the PatchVoicemailGroupPolicy structure.

func (*PatchVoicemailGroupPolicyReader) ReadResponse

func (o *PatchVoicemailGroupPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchVoicemailGroupPolicyRequestEntityTooLarge

type PatchVoicemailGroupPolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPatchVoicemailGroupPolicyRequestEntityTooLarge

func NewPatchVoicemailGroupPolicyRequestEntityTooLarge() *PatchVoicemailGroupPolicyRequestEntityTooLarge

NewPatchVoicemailGroupPolicyRequestEntityTooLarge creates a PatchVoicemailGroupPolicyRequestEntityTooLarge with default headers values

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) Error

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) GetPayload

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this patch voicemail group policy request entity too large response has a 4xx status code

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) IsCode

IsCode returns true when this patch voicemail group policy request entity too large response a status code equal to that given

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch voicemail group policy request entity too large response has a 3xx status code

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this patch voicemail group policy request entity too large response has a 5xx status code

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch voicemail group policy request entity too large response has a 2xx status code

func (*PatchVoicemailGroupPolicyRequestEntityTooLarge) String

type PatchVoicemailGroupPolicyRequestTimeout

type PatchVoicemailGroupPolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPatchVoicemailGroupPolicyRequestTimeout

func NewPatchVoicemailGroupPolicyRequestTimeout() *PatchVoicemailGroupPolicyRequestTimeout

NewPatchVoicemailGroupPolicyRequestTimeout creates a PatchVoicemailGroupPolicyRequestTimeout with default headers values

func (*PatchVoicemailGroupPolicyRequestTimeout) Error

func (*PatchVoicemailGroupPolicyRequestTimeout) GetPayload

func (*PatchVoicemailGroupPolicyRequestTimeout) IsClientError

func (o *PatchVoicemailGroupPolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail group policy request timeout response has a 4xx status code

func (*PatchVoicemailGroupPolicyRequestTimeout) IsCode

IsCode returns true when this patch voicemail group policy request timeout response a status code equal to that given

func (*PatchVoicemailGroupPolicyRequestTimeout) IsRedirect

IsRedirect returns true when this patch voicemail group policy request timeout response has a 3xx status code

func (*PatchVoicemailGroupPolicyRequestTimeout) IsServerError

func (o *PatchVoicemailGroupPolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail group policy request timeout response has a 5xx status code

func (*PatchVoicemailGroupPolicyRequestTimeout) IsSuccess

IsSuccess returns true when this patch voicemail group policy request timeout response has a 2xx status code

func (*PatchVoicemailGroupPolicyRequestTimeout) String

type PatchVoicemailGroupPolicyServiceUnavailable

type PatchVoicemailGroupPolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPatchVoicemailGroupPolicyServiceUnavailable

func NewPatchVoicemailGroupPolicyServiceUnavailable() *PatchVoicemailGroupPolicyServiceUnavailable

NewPatchVoicemailGroupPolicyServiceUnavailable creates a PatchVoicemailGroupPolicyServiceUnavailable with default headers values

func (*PatchVoicemailGroupPolicyServiceUnavailable) Error

func (*PatchVoicemailGroupPolicyServiceUnavailable) GetPayload

func (*PatchVoicemailGroupPolicyServiceUnavailable) IsClientError

IsClientError returns true when this patch voicemail group policy service unavailable response has a 4xx status code

func (*PatchVoicemailGroupPolicyServiceUnavailable) IsCode

IsCode returns true when this patch voicemail group policy service unavailable response a status code equal to that given

func (*PatchVoicemailGroupPolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this patch voicemail group policy service unavailable response has a 3xx status code

func (*PatchVoicemailGroupPolicyServiceUnavailable) IsServerError

IsServerError returns true when this patch voicemail group policy service unavailable response has a 5xx status code

func (*PatchVoicemailGroupPolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this patch voicemail group policy service unavailable response has a 2xx status code

func (*PatchVoicemailGroupPolicyServiceUnavailable) String

type PatchVoicemailGroupPolicyTooManyRequests

type PatchVoicemailGroupPolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPatchVoicemailGroupPolicyTooManyRequests

func NewPatchVoicemailGroupPolicyTooManyRequests() *PatchVoicemailGroupPolicyTooManyRequests

NewPatchVoicemailGroupPolicyTooManyRequests creates a PatchVoicemailGroupPolicyTooManyRequests with default headers values

func (*PatchVoicemailGroupPolicyTooManyRequests) Error

func (*PatchVoicemailGroupPolicyTooManyRequests) GetPayload

func (*PatchVoicemailGroupPolicyTooManyRequests) IsClientError

IsClientError returns true when this patch voicemail group policy too many requests response has a 4xx status code

func (*PatchVoicemailGroupPolicyTooManyRequests) IsCode

IsCode returns true when this patch voicemail group policy too many requests response a status code equal to that given

func (*PatchVoicemailGroupPolicyTooManyRequests) IsRedirect

IsRedirect returns true when this patch voicemail group policy too many requests response has a 3xx status code

func (*PatchVoicemailGroupPolicyTooManyRequests) IsServerError

IsServerError returns true when this patch voicemail group policy too many requests response has a 5xx status code

func (*PatchVoicemailGroupPolicyTooManyRequests) IsSuccess

IsSuccess returns true when this patch voicemail group policy too many requests response has a 2xx status code

func (*PatchVoicemailGroupPolicyTooManyRequests) String

type PatchVoicemailGroupPolicyUnauthorized

type PatchVoicemailGroupPolicyUnauthorized struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPatchVoicemailGroupPolicyUnauthorized

func NewPatchVoicemailGroupPolicyUnauthorized() *PatchVoicemailGroupPolicyUnauthorized

NewPatchVoicemailGroupPolicyUnauthorized creates a PatchVoicemailGroupPolicyUnauthorized with default headers values

func (*PatchVoicemailGroupPolicyUnauthorized) Error

func (*PatchVoicemailGroupPolicyUnauthorized) GetPayload

func (*PatchVoicemailGroupPolicyUnauthorized) IsClientError

func (o *PatchVoicemailGroupPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this patch voicemail group policy unauthorized response has a 4xx status code

func (*PatchVoicemailGroupPolicyUnauthorized) IsCode

IsCode returns true when this patch voicemail group policy unauthorized response a status code equal to that given

func (*PatchVoicemailGroupPolicyUnauthorized) IsRedirect

IsRedirect returns true when this patch voicemail group policy unauthorized response has a 3xx status code

func (*PatchVoicemailGroupPolicyUnauthorized) IsServerError

func (o *PatchVoicemailGroupPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this patch voicemail group policy unauthorized response has a 5xx status code

func (*PatchVoicemailGroupPolicyUnauthorized) IsSuccess

IsSuccess returns true when this patch voicemail group policy unauthorized response has a 2xx status code

func (*PatchVoicemailGroupPolicyUnauthorized) String

type PatchVoicemailGroupPolicyUnsupportedMediaType

type PatchVoicemailGroupPolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchVoicemailGroupPolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPatchVoicemailGroupPolicyUnsupportedMediaType

func NewPatchVoicemailGroupPolicyUnsupportedMediaType() *PatchVoicemailGroupPolicyUnsupportedMediaType

NewPatchVoicemailGroupPolicyUnsupportedMediaType creates a PatchVoicemailGroupPolicyUnsupportedMediaType with default headers values

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) Error

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) GetPayload

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this patch voicemail group policy unsupported media type response has a 4xx status code

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) IsCode

IsCode returns true when this patch voicemail group policy unsupported media type response a status code equal to that given

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch voicemail group policy unsupported media type response has a 3xx status code

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this patch voicemail group policy unsupported media type response has a 5xx status code

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch voicemail group policy unsupported media type response has a 2xx status code

func (*PatchVoicemailGroupPolicyUnsupportedMediaType) String

type PatchVoicemailMePolicyBadRequest

type PatchVoicemailMePolicyBadRequest struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPatchVoicemailMePolicyBadRequest

func NewPatchVoicemailMePolicyBadRequest() *PatchVoicemailMePolicyBadRequest

NewPatchVoicemailMePolicyBadRequest creates a PatchVoicemailMePolicyBadRequest with default headers values

func (*PatchVoicemailMePolicyBadRequest) Error

func (*PatchVoicemailMePolicyBadRequest) GetPayload

func (*PatchVoicemailMePolicyBadRequest) IsClientError

func (o *PatchVoicemailMePolicyBadRequest) IsClientError() bool

IsClientError returns true when this patch voicemail me policy bad request response has a 4xx status code

func (*PatchVoicemailMePolicyBadRequest) IsCode

func (o *PatchVoicemailMePolicyBadRequest) IsCode(code int) bool

IsCode returns true when this patch voicemail me policy bad request response a status code equal to that given

func (*PatchVoicemailMePolicyBadRequest) IsRedirect

func (o *PatchVoicemailMePolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this patch voicemail me policy bad request response has a 3xx status code

func (*PatchVoicemailMePolicyBadRequest) IsServerError

func (o *PatchVoicemailMePolicyBadRequest) IsServerError() bool

IsServerError returns true when this patch voicemail me policy bad request response has a 5xx status code

func (*PatchVoicemailMePolicyBadRequest) IsSuccess

func (o *PatchVoicemailMePolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this patch voicemail me policy bad request response has a 2xx status code

func (*PatchVoicemailMePolicyBadRequest) String

type PatchVoicemailMePolicyForbidden

type PatchVoicemailMePolicyForbidden struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPatchVoicemailMePolicyForbidden

func NewPatchVoicemailMePolicyForbidden() *PatchVoicemailMePolicyForbidden

NewPatchVoicemailMePolicyForbidden creates a PatchVoicemailMePolicyForbidden with default headers values

func (*PatchVoicemailMePolicyForbidden) Error

func (*PatchVoicemailMePolicyForbidden) GetPayload

func (*PatchVoicemailMePolicyForbidden) IsClientError

func (o *PatchVoicemailMePolicyForbidden) IsClientError() bool

IsClientError returns true when this patch voicemail me policy forbidden response has a 4xx status code

func (*PatchVoicemailMePolicyForbidden) IsCode

func (o *PatchVoicemailMePolicyForbidden) IsCode(code int) bool

IsCode returns true when this patch voicemail me policy forbidden response a status code equal to that given

func (*PatchVoicemailMePolicyForbidden) IsRedirect

func (o *PatchVoicemailMePolicyForbidden) IsRedirect() bool

IsRedirect returns true when this patch voicemail me policy forbidden response has a 3xx status code

func (*PatchVoicemailMePolicyForbidden) IsServerError

func (o *PatchVoicemailMePolicyForbidden) IsServerError() bool

IsServerError returns true when this patch voicemail me policy forbidden response has a 5xx status code

func (*PatchVoicemailMePolicyForbidden) IsSuccess

func (o *PatchVoicemailMePolicyForbidden) IsSuccess() bool

IsSuccess returns true when this patch voicemail me policy forbidden response has a 2xx status code

func (*PatchVoicemailMePolicyForbidden) String

type PatchVoicemailMePolicyGatewayTimeout

type PatchVoicemailMePolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPatchVoicemailMePolicyGatewayTimeout

func NewPatchVoicemailMePolicyGatewayTimeout() *PatchVoicemailMePolicyGatewayTimeout

NewPatchVoicemailMePolicyGatewayTimeout creates a PatchVoicemailMePolicyGatewayTimeout with default headers values

func (*PatchVoicemailMePolicyGatewayTimeout) Error

func (*PatchVoicemailMePolicyGatewayTimeout) GetPayload

func (*PatchVoicemailMePolicyGatewayTimeout) IsClientError

func (o *PatchVoicemailMePolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail me policy gateway timeout response has a 4xx status code

func (*PatchVoicemailMePolicyGatewayTimeout) IsCode

IsCode returns true when this patch voicemail me policy gateway timeout response a status code equal to that given

func (*PatchVoicemailMePolicyGatewayTimeout) IsRedirect

IsRedirect returns true when this patch voicemail me policy gateway timeout response has a 3xx status code

func (*PatchVoicemailMePolicyGatewayTimeout) IsServerError

func (o *PatchVoicemailMePolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail me policy gateway timeout response has a 5xx status code

func (*PatchVoicemailMePolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this patch voicemail me policy gateway timeout response has a 2xx status code

func (*PatchVoicemailMePolicyGatewayTimeout) String

type PatchVoicemailMePolicyInternalServerError

type PatchVoicemailMePolicyInternalServerError struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPatchVoicemailMePolicyInternalServerError

func NewPatchVoicemailMePolicyInternalServerError() *PatchVoicemailMePolicyInternalServerError

NewPatchVoicemailMePolicyInternalServerError creates a PatchVoicemailMePolicyInternalServerError with default headers values

func (*PatchVoicemailMePolicyInternalServerError) Error

func (*PatchVoicemailMePolicyInternalServerError) GetPayload

func (*PatchVoicemailMePolicyInternalServerError) IsClientError

IsClientError returns true when this patch voicemail me policy internal server error response has a 4xx status code

func (*PatchVoicemailMePolicyInternalServerError) IsCode

IsCode returns true when this patch voicemail me policy internal server error response a status code equal to that given

func (*PatchVoicemailMePolicyInternalServerError) IsRedirect

IsRedirect returns true when this patch voicemail me policy internal server error response has a 3xx status code

func (*PatchVoicemailMePolicyInternalServerError) IsServerError

IsServerError returns true when this patch voicemail me policy internal server error response has a 5xx status code

func (*PatchVoicemailMePolicyInternalServerError) IsSuccess

IsSuccess returns true when this patch voicemail me policy internal server error response has a 2xx status code

func (*PatchVoicemailMePolicyInternalServerError) String

type PatchVoicemailMePolicyNotFound

type PatchVoicemailMePolicyNotFound struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPatchVoicemailMePolicyNotFound

func NewPatchVoicemailMePolicyNotFound() *PatchVoicemailMePolicyNotFound

NewPatchVoicemailMePolicyNotFound creates a PatchVoicemailMePolicyNotFound with default headers values

func (*PatchVoicemailMePolicyNotFound) Error

func (*PatchVoicemailMePolicyNotFound) GetPayload

func (*PatchVoicemailMePolicyNotFound) IsClientError

func (o *PatchVoicemailMePolicyNotFound) IsClientError() bool

IsClientError returns true when this patch voicemail me policy not found response has a 4xx status code

func (*PatchVoicemailMePolicyNotFound) IsCode

func (o *PatchVoicemailMePolicyNotFound) IsCode(code int) bool

IsCode returns true when this patch voicemail me policy not found response a status code equal to that given

func (*PatchVoicemailMePolicyNotFound) IsRedirect

func (o *PatchVoicemailMePolicyNotFound) IsRedirect() bool

IsRedirect returns true when this patch voicemail me policy not found response has a 3xx status code

func (*PatchVoicemailMePolicyNotFound) IsServerError

func (o *PatchVoicemailMePolicyNotFound) IsServerError() bool

IsServerError returns true when this patch voicemail me policy not found response has a 5xx status code

func (*PatchVoicemailMePolicyNotFound) IsSuccess

func (o *PatchVoicemailMePolicyNotFound) IsSuccess() bool

IsSuccess returns true when this patch voicemail me policy not found response has a 2xx status code

func (*PatchVoicemailMePolicyNotFound) String

type PatchVoicemailMePolicyOK

type PatchVoicemailMePolicyOK struct {
	Payload *models.VoicemailUserPolicy
}

PatchVoicemailMePolicyOK describes a response with status code 200, with default header values.

successful operation

func NewPatchVoicemailMePolicyOK

func NewPatchVoicemailMePolicyOK() *PatchVoicemailMePolicyOK

NewPatchVoicemailMePolicyOK creates a PatchVoicemailMePolicyOK with default headers values

func (*PatchVoicemailMePolicyOK) Error

func (o *PatchVoicemailMePolicyOK) Error() string

func (*PatchVoicemailMePolicyOK) GetPayload

func (*PatchVoicemailMePolicyOK) IsClientError

func (o *PatchVoicemailMePolicyOK) IsClientError() bool

IsClientError returns true when this patch voicemail me policy o k response has a 4xx status code

func (*PatchVoicemailMePolicyOK) IsCode

func (o *PatchVoicemailMePolicyOK) IsCode(code int) bool

IsCode returns true when this patch voicemail me policy o k response a status code equal to that given

func (*PatchVoicemailMePolicyOK) IsRedirect

func (o *PatchVoicemailMePolicyOK) IsRedirect() bool

IsRedirect returns true when this patch voicemail me policy o k response has a 3xx status code

func (*PatchVoicemailMePolicyOK) IsServerError

func (o *PatchVoicemailMePolicyOK) IsServerError() bool

IsServerError returns true when this patch voicemail me policy o k response has a 5xx status code

func (*PatchVoicemailMePolicyOK) IsSuccess

func (o *PatchVoicemailMePolicyOK) IsSuccess() bool

IsSuccess returns true when this patch voicemail me policy o k response has a 2xx status code

func (*PatchVoicemailMePolicyOK) String

func (o *PatchVoicemailMePolicyOK) String() string

type PatchVoicemailMePolicyParams

type PatchVoicemailMePolicyParams struct {

	/* Body.

	   The user's voicemail policy
	*/
	Body *models.VoicemailUserPolicy

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchVoicemailMePolicyParams contains all the parameters to send to the API endpoint

for the patch voicemail me policy operation.

Typically these are written to a http.Request.

func NewPatchVoicemailMePolicyParams

func NewPatchVoicemailMePolicyParams() *PatchVoicemailMePolicyParams

NewPatchVoicemailMePolicyParams creates a new PatchVoicemailMePolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchVoicemailMePolicyParamsWithContext

func NewPatchVoicemailMePolicyParamsWithContext(ctx context.Context) *PatchVoicemailMePolicyParams

NewPatchVoicemailMePolicyParamsWithContext creates a new PatchVoicemailMePolicyParams object with the ability to set a context for a request.

func NewPatchVoicemailMePolicyParamsWithHTTPClient

func NewPatchVoicemailMePolicyParamsWithHTTPClient(client *http.Client) *PatchVoicemailMePolicyParams

NewPatchVoicemailMePolicyParamsWithHTTPClient creates a new PatchVoicemailMePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPatchVoicemailMePolicyParamsWithTimeout

func NewPatchVoicemailMePolicyParamsWithTimeout(timeout time.Duration) *PatchVoicemailMePolicyParams

NewPatchVoicemailMePolicyParamsWithTimeout creates a new PatchVoicemailMePolicyParams object with the ability to set a timeout on a request.

func (*PatchVoicemailMePolicyParams) SetBody

SetBody adds the body to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) SetContext

func (o *PatchVoicemailMePolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) SetDefaults

func (o *PatchVoicemailMePolicyParams) SetDefaults()

SetDefaults hydrates default values in the patch voicemail me policy params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailMePolicyParams) SetHTTPClient

func (o *PatchVoicemailMePolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) SetTimeout

func (o *PatchVoicemailMePolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) WithBody

WithBody adds the body to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) WithContext

WithContext adds the context to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) WithDefaults

WithDefaults hydrates default values in the patch voicemail me policy params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailMePolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) WithTimeout

WithTimeout adds the timeout to the patch voicemail me policy params

func (*PatchVoicemailMePolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchVoicemailMePolicyReader

type PatchVoicemailMePolicyReader struct {
	// contains filtered or unexported fields
}

PatchVoicemailMePolicyReader is a Reader for the PatchVoicemailMePolicy structure.

func (*PatchVoicemailMePolicyReader) ReadResponse

func (o *PatchVoicemailMePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchVoicemailMePolicyRequestEntityTooLarge

type PatchVoicemailMePolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPatchVoicemailMePolicyRequestEntityTooLarge

func NewPatchVoicemailMePolicyRequestEntityTooLarge() *PatchVoicemailMePolicyRequestEntityTooLarge

NewPatchVoicemailMePolicyRequestEntityTooLarge creates a PatchVoicemailMePolicyRequestEntityTooLarge with default headers values

func (*PatchVoicemailMePolicyRequestEntityTooLarge) Error

func (*PatchVoicemailMePolicyRequestEntityTooLarge) GetPayload

func (*PatchVoicemailMePolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this patch voicemail me policy request entity too large response has a 4xx status code

func (*PatchVoicemailMePolicyRequestEntityTooLarge) IsCode

IsCode returns true when this patch voicemail me policy request entity too large response a status code equal to that given

func (*PatchVoicemailMePolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch voicemail me policy request entity too large response has a 3xx status code

func (*PatchVoicemailMePolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this patch voicemail me policy request entity too large response has a 5xx status code

func (*PatchVoicemailMePolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch voicemail me policy request entity too large response has a 2xx status code

func (*PatchVoicemailMePolicyRequestEntityTooLarge) String

type PatchVoicemailMePolicyRequestTimeout

type PatchVoicemailMePolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPatchVoicemailMePolicyRequestTimeout

func NewPatchVoicemailMePolicyRequestTimeout() *PatchVoicemailMePolicyRequestTimeout

NewPatchVoicemailMePolicyRequestTimeout creates a PatchVoicemailMePolicyRequestTimeout with default headers values

func (*PatchVoicemailMePolicyRequestTimeout) Error

func (*PatchVoicemailMePolicyRequestTimeout) GetPayload

func (*PatchVoicemailMePolicyRequestTimeout) IsClientError

func (o *PatchVoicemailMePolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail me policy request timeout response has a 4xx status code

func (*PatchVoicemailMePolicyRequestTimeout) IsCode

IsCode returns true when this patch voicemail me policy request timeout response a status code equal to that given

func (*PatchVoicemailMePolicyRequestTimeout) IsRedirect

IsRedirect returns true when this patch voicemail me policy request timeout response has a 3xx status code

func (*PatchVoicemailMePolicyRequestTimeout) IsServerError

func (o *PatchVoicemailMePolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail me policy request timeout response has a 5xx status code

func (*PatchVoicemailMePolicyRequestTimeout) IsSuccess

IsSuccess returns true when this patch voicemail me policy request timeout response has a 2xx status code

func (*PatchVoicemailMePolicyRequestTimeout) String

type PatchVoicemailMePolicyServiceUnavailable

type PatchVoicemailMePolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPatchVoicemailMePolicyServiceUnavailable

func NewPatchVoicemailMePolicyServiceUnavailable() *PatchVoicemailMePolicyServiceUnavailable

NewPatchVoicemailMePolicyServiceUnavailable creates a PatchVoicemailMePolicyServiceUnavailable with default headers values

func (*PatchVoicemailMePolicyServiceUnavailable) Error

func (*PatchVoicemailMePolicyServiceUnavailable) GetPayload

func (*PatchVoicemailMePolicyServiceUnavailable) IsClientError

IsClientError returns true when this patch voicemail me policy service unavailable response has a 4xx status code

func (*PatchVoicemailMePolicyServiceUnavailable) IsCode

IsCode returns true when this patch voicemail me policy service unavailable response a status code equal to that given

func (*PatchVoicemailMePolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this patch voicemail me policy service unavailable response has a 3xx status code

func (*PatchVoicemailMePolicyServiceUnavailable) IsServerError

IsServerError returns true when this patch voicemail me policy service unavailable response has a 5xx status code

func (*PatchVoicemailMePolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this patch voicemail me policy service unavailable response has a 2xx status code

func (*PatchVoicemailMePolicyServiceUnavailable) String

type PatchVoicemailMePolicyTooManyRequests

type PatchVoicemailMePolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPatchVoicemailMePolicyTooManyRequests

func NewPatchVoicemailMePolicyTooManyRequests() *PatchVoicemailMePolicyTooManyRequests

NewPatchVoicemailMePolicyTooManyRequests creates a PatchVoicemailMePolicyTooManyRequests with default headers values

func (*PatchVoicemailMePolicyTooManyRequests) Error

func (*PatchVoicemailMePolicyTooManyRequests) GetPayload

func (*PatchVoicemailMePolicyTooManyRequests) IsClientError

func (o *PatchVoicemailMePolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this patch voicemail me policy too many requests response has a 4xx status code

func (*PatchVoicemailMePolicyTooManyRequests) IsCode

IsCode returns true when this patch voicemail me policy too many requests response a status code equal to that given

func (*PatchVoicemailMePolicyTooManyRequests) IsRedirect

IsRedirect returns true when this patch voicemail me policy too many requests response has a 3xx status code

func (*PatchVoicemailMePolicyTooManyRequests) IsServerError

func (o *PatchVoicemailMePolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this patch voicemail me policy too many requests response has a 5xx status code

func (*PatchVoicemailMePolicyTooManyRequests) IsSuccess

IsSuccess returns true when this patch voicemail me policy too many requests response has a 2xx status code

func (*PatchVoicemailMePolicyTooManyRequests) String

type PatchVoicemailMePolicyUnauthorized

type PatchVoicemailMePolicyUnauthorized struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPatchVoicemailMePolicyUnauthorized

func NewPatchVoicemailMePolicyUnauthorized() *PatchVoicemailMePolicyUnauthorized

NewPatchVoicemailMePolicyUnauthorized creates a PatchVoicemailMePolicyUnauthorized with default headers values

func (*PatchVoicemailMePolicyUnauthorized) Error

func (*PatchVoicemailMePolicyUnauthorized) GetPayload

func (*PatchVoicemailMePolicyUnauthorized) IsClientError

func (o *PatchVoicemailMePolicyUnauthorized) IsClientError() bool

IsClientError returns true when this patch voicemail me policy unauthorized response has a 4xx status code

func (*PatchVoicemailMePolicyUnauthorized) IsCode

IsCode returns true when this patch voicemail me policy unauthorized response a status code equal to that given

func (*PatchVoicemailMePolicyUnauthorized) IsRedirect

func (o *PatchVoicemailMePolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch voicemail me policy unauthorized response has a 3xx status code

func (*PatchVoicemailMePolicyUnauthorized) IsServerError

func (o *PatchVoicemailMePolicyUnauthorized) IsServerError() bool

IsServerError returns true when this patch voicemail me policy unauthorized response has a 5xx status code

func (*PatchVoicemailMePolicyUnauthorized) IsSuccess

IsSuccess returns true when this patch voicemail me policy unauthorized response has a 2xx status code

func (*PatchVoicemailMePolicyUnauthorized) String

type PatchVoicemailMePolicyUnsupportedMediaType

type PatchVoicemailMePolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchVoicemailMePolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPatchVoicemailMePolicyUnsupportedMediaType

func NewPatchVoicemailMePolicyUnsupportedMediaType() *PatchVoicemailMePolicyUnsupportedMediaType

NewPatchVoicemailMePolicyUnsupportedMediaType creates a PatchVoicemailMePolicyUnsupportedMediaType with default headers values

func (*PatchVoicemailMePolicyUnsupportedMediaType) Error

func (*PatchVoicemailMePolicyUnsupportedMediaType) GetPayload

func (*PatchVoicemailMePolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this patch voicemail me policy unsupported media type response has a 4xx status code

func (*PatchVoicemailMePolicyUnsupportedMediaType) IsCode

IsCode returns true when this patch voicemail me policy unsupported media type response a status code equal to that given

func (*PatchVoicemailMePolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch voicemail me policy unsupported media type response has a 3xx status code

func (*PatchVoicemailMePolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this patch voicemail me policy unsupported media type response has a 5xx status code

func (*PatchVoicemailMePolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch voicemail me policy unsupported media type response has a 2xx status code

func (*PatchVoicemailMePolicyUnsupportedMediaType) String

type PatchVoicemailMessageBadRequest

type PatchVoicemailMessageBadRequest struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPatchVoicemailMessageBadRequest

func NewPatchVoicemailMessageBadRequest() *PatchVoicemailMessageBadRequest

NewPatchVoicemailMessageBadRequest creates a PatchVoicemailMessageBadRequest with default headers values

func (*PatchVoicemailMessageBadRequest) Error

func (*PatchVoicemailMessageBadRequest) GetPayload

func (*PatchVoicemailMessageBadRequest) IsClientError

func (o *PatchVoicemailMessageBadRequest) IsClientError() bool

IsClientError returns true when this patch voicemail message bad request response has a 4xx status code

func (*PatchVoicemailMessageBadRequest) IsCode

func (o *PatchVoicemailMessageBadRequest) IsCode(code int) bool

IsCode returns true when this patch voicemail message bad request response a status code equal to that given

func (*PatchVoicemailMessageBadRequest) IsRedirect

func (o *PatchVoicemailMessageBadRequest) IsRedirect() bool

IsRedirect returns true when this patch voicemail message bad request response has a 3xx status code

func (*PatchVoicemailMessageBadRequest) IsServerError

func (o *PatchVoicemailMessageBadRequest) IsServerError() bool

IsServerError returns true when this patch voicemail message bad request response has a 5xx status code

func (*PatchVoicemailMessageBadRequest) IsSuccess

func (o *PatchVoicemailMessageBadRequest) IsSuccess() bool

IsSuccess returns true when this patch voicemail message bad request response has a 2xx status code

func (*PatchVoicemailMessageBadRequest) String

type PatchVoicemailMessageConflict

type PatchVoicemailMessageConflict struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchVoicemailMessageConflict

func NewPatchVoicemailMessageConflict() *PatchVoicemailMessageConflict

NewPatchVoicemailMessageConflict creates a PatchVoicemailMessageConflict with default headers values

func (*PatchVoicemailMessageConflict) Error

func (*PatchVoicemailMessageConflict) GetPayload

func (*PatchVoicemailMessageConflict) IsClientError

func (o *PatchVoicemailMessageConflict) IsClientError() bool

IsClientError returns true when this patch voicemail message conflict response has a 4xx status code

func (*PatchVoicemailMessageConflict) IsCode

func (o *PatchVoicemailMessageConflict) IsCode(code int) bool

IsCode returns true when this patch voicemail message conflict response a status code equal to that given

func (*PatchVoicemailMessageConflict) IsRedirect

func (o *PatchVoicemailMessageConflict) IsRedirect() bool

IsRedirect returns true when this patch voicemail message conflict response has a 3xx status code

func (*PatchVoicemailMessageConflict) IsServerError

func (o *PatchVoicemailMessageConflict) IsServerError() bool

IsServerError returns true when this patch voicemail message conflict response has a 5xx status code

func (*PatchVoicemailMessageConflict) IsSuccess

func (o *PatchVoicemailMessageConflict) IsSuccess() bool

IsSuccess returns true when this patch voicemail message conflict response has a 2xx status code

func (*PatchVoicemailMessageConflict) String

type PatchVoicemailMessageForbidden

type PatchVoicemailMessageForbidden struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPatchVoicemailMessageForbidden

func NewPatchVoicemailMessageForbidden() *PatchVoicemailMessageForbidden

NewPatchVoicemailMessageForbidden creates a PatchVoicemailMessageForbidden with default headers values

func (*PatchVoicemailMessageForbidden) Error

func (*PatchVoicemailMessageForbidden) GetPayload

func (*PatchVoicemailMessageForbidden) IsClientError

func (o *PatchVoicemailMessageForbidden) IsClientError() bool

IsClientError returns true when this patch voicemail message forbidden response has a 4xx status code

func (*PatchVoicemailMessageForbidden) IsCode

func (o *PatchVoicemailMessageForbidden) IsCode(code int) bool

IsCode returns true when this patch voicemail message forbidden response a status code equal to that given

func (*PatchVoicemailMessageForbidden) IsRedirect

func (o *PatchVoicemailMessageForbidden) IsRedirect() bool

IsRedirect returns true when this patch voicemail message forbidden response has a 3xx status code

func (*PatchVoicemailMessageForbidden) IsServerError

func (o *PatchVoicemailMessageForbidden) IsServerError() bool

IsServerError returns true when this patch voicemail message forbidden response has a 5xx status code

func (*PatchVoicemailMessageForbidden) IsSuccess

func (o *PatchVoicemailMessageForbidden) IsSuccess() bool

IsSuccess returns true when this patch voicemail message forbidden response has a 2xx status code

func (*PatchVoicemailMessageForbidden) String

type PatchVoicemailMessageGatewayTimeout

type PatchVoicemailMessageGatewayTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPatchVoicemailMessageGatewayTimeout

func NewPatchVoicemailMessageGatewayTimeout() *PatchVoicemailMessageGatewayTimeout

NewPatchVoicemailMessageGatewayTimeout creates a PatchVoicemailMessageGatewayTimeout with default headers values

func (*PatchVoicemailMessageGatewayTimeout) Error

func (*PatchVoicemailMessageGatewayTimeout) GetPayload

func (*PatchVoicemailMessageGatewayTimeout) IsClientError

func (o *PatchVoicemailMessageGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail message gateway timeout response has a 4xx status code

func (*PatchVoicemailMessageGatewayTimeout) IsCode

IsCode returns true when this patch voicemail message gateway timeout response a status code equal to that given

func (*PatchVoicemailMessageGatewayTimeout) IsRedirect

func (o *PatchVoicemailMessageGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this patch voicemail message gateway timeout response has a 3xx status code

func (*PatchVoicemailMessageGatewayTimeout) IsServerError

func (o *PatchVoicemailMessageGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail message gateway timeout response has a 5xx status code

func (*PatchVoicemailMessageGatewayTimeout) IsSuccess

IsSuccess returns true when this patch voicemail message gateway timeout response has a 2xx status code

func (*PatchVoicemailMessageGatewayTimeout) String

type PatchVoicemailMessageInternalServerError

type PatchVoicemailMessageInternalServerError struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPatchVoicemailMessageInternalServerError

func NewPatchVoicemailMessageInternalServerError() *PatchVoicemailMessageInternalServerError

NewPatchVoicemailMessageInternalServerError creates a PatchVoicemailMessageInternalServerError with default headers values

func (*PatchVoicemailMessageInternalServerError) Error

func (*PatchVoicemailMessageInternalServerError) GetPayload

func (*PatchVoicemailMessageInternalServerError) IsClientError

IsClientError returns true when this patch voicemail message internal server error response has a 4xx status code

func (*PatchVoicemailMessageInternalServerError) IsCode

IsCode returns true when this patch voicemail message internal server error response a status code equal to that given

func (*PatchVoicemailMessageInternalServerError) IsRedirect

IsRedirect returns true when this patch voicemail message internal server error response has a 3xx status code

func (*PatchVoicemailMessageInternalServerError) IsServerError

IsServerError returns true when this patch voicemail message internal server error response has a 5xx status code

func (*PatchVoicemailMessageInternalServerError) IsSuccess

IsSuccess returns true when this patch voicemail message internal server error response has a 2xx status code

func (*PatchVoicemailMessageInternalServerError) String

type PatchVoicemailMessageNotFound

type PatchVoicemailMessageNotFound struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPatchVoicemailMessageNotFound

func NewPatchVoicemailMessageNotFound() *PatchVoicemailMessageNotFound

NewPatchVoicemailMessageNotFound creates a PatchVoicemailMessageNotFound with default headers values

func (*PatchVoicemailMessageNotFound) Error

func (*PatchVoicemailMessageNotFound) GetPayload

func (*PatchVoicemailMessageNotFound) IsClientError

func (o *PatchVoicemailMessageNotFound) IsClientError() bool

IsClientError returns true when this patch voicemail message not found response has a 4xx status code

func (*PatchVoicemailMessageNotFound) IsCode

func (o *PatchVoicemailMessageNotFound) IsCode(code int) bool

IsCode returns true when this patch voicemail message not found response a status code equal to that given

func (*PatchVoicemailMessageNotFound) IsRedirect

func (o *PatchVoicemailMessageNotFound) IsRedirect() bool

IsRedirect returns true when this patch voicemail message not found response has a 3xx status code

func (*PatchVoicemailMessageNotFound) IsServerError

func (o *PatchVoicemailMessageNotFound) IsServerError() bool

IsServerError returns true when this patch voicemail message not found response has a 5xx status code

func (*PatchVoicemailMessageNotFound) IsSuccess

func (o *PatchVoicemailMessageNotFound) IsSuccess() bool

IsSuccess returns true when this patch voicemail message not found response has a 2xx status code

func (*PatchVoicemailMessageNotFound) String

type PatchVoicemailMessageOK

type PatchVoicemailMessageOK struct {
	Payload *models.VoicemailMessage
}

PatchVoicemailMessageOK describes a response with status code 200, with default header values.

successful operation

func NewPatchVoicemailMessageOK

func NewPatchVoicemailMessageOK() *PatchVoicemailMessageOK

NewPatchVoicemailMessageOK creates a PatchVoicemailMessageOK with default headers values

func (*PatchVoicemailMessageOK) Error

func (o *PatchVoicemailMessageOK) Error() string

func (*PatchVoicemailMessageOK) GetPayload

func (*PatchVoicemailMessageOK) IsClientError

func (o *PatchVoicemailMessageOK) IsClientError() bool

IsClientError returns true when this patch voicemail message o k response has a 4xx status code

func (*PatchVoicemailMessageOK) IsCode

func (o *PatchVoicemailMessageOK) IsCode(code int) bool

IsCode returns true when this patch voicemail message o k response a status code equal to that given

func (*PatchVoicemailMessageOK) IsRedirect

func (o *PatchVoicemailMessageOK) IsRedirect() bool

IsRedirect returns true when this patch voicemail message o k response has a 3xx status code

func (*PatchVoicemailMessageOK) IsServerError

func (o *PatchVoicemailMessageOK) IsServerError() bool

IsServerError returns true when this patch voicemail message o k response has a 5xx status code

func (*PatchVoicemailMessageOK) IsSuccess

func (o *PatchVoicemailMessageOK) IsSuccess() bool

IsSuccess returns true when this patch voicemail message o k response has a 2xx status code

func (*PatchVoicemailMessageOK) String

func (o *PatchVoicemailMessageOK) String() string

type PatchVoicemailMessageParams

type PatchVoicemailMessageParams struct {

	/* Body.

	   VoicemailMessage
	*/
	Body *models.VoicemailMessage

	/* MessageID.

	   Message ID
	*/
	MessageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchVoicemailMessageParams contains all the parameters to send to the API endpoint

for the patch voicemail message operation.

Typically these are written to a http.Request.

func NewPatchVoicemailMessageParams

func NewPatchVoicemailMessageParams() *PatchVoicemailMessageParams

NewPatchVoicemailMessageParams creates a new PatchVoicemailMessageParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchVoicemailMessageParamsWithContext

func NewPatchVoicemailMessageParamsWithContext(ctx context.Context) *PatchVoicemailMessageParams

NewPatchVoicemailMessageParamsWithContext creates a new PatchVoicemailMessageParams object with the ability to set a context for a request.

func NewPatchVoicemailMessageParamsWithHTTPClient

func NewPatchVoicemailMessageParamsWithHTTPClient(client *http.Client) *PatchVoicemailMessageParams

NewPatchVoicemailMessageParamsWithHTTPClient creates a new PatchVoicemailMessageParams object with the ability to set a custom HTTPClient for a request.

func NewPatchVoicemailMessageParamsWithTimeout

func NewPatchVoicemailMessageParamsWithTimeout(timeout time.Duration) *PatchVoicemailMessageParams

NewPatchVoicemailMessageParamsWithTimeout creates a new PatchVoicemailMessageParams object with the ability to set a timeout on a request.

func (*PatchVoicemailMessageParams) SetBody

SetBody adds the body to the patch voicemail message params

func (*PatchVoicemailMessageParams) SetContext

func (o *PatchVoicemailMessageParams) SetContext(ctx context.Context)

SetContext adds the context to the patch voicemail message params

func (*PatchVoicemailMessageParams) SetDefaults

func (o *PatchVoicemailMessageParams) SetDefaults()

SetDefaults hydrates default values in the patch voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailMessageParams) SetHTTPClient

func (o *PatchVoicemailMessageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch voicemail message params

func (*PatchVoicemailMessageParams) SetMessageID

func (o *PatchVoicemailMessageParams) SetMessageID(messageID string)

SetMessageID adds the messageId to the patch voicemail message params

func (*PatchVoicemailMessageParams) SetTimeout

func (o *PatchVoicemailMessageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch voicemail message params

func (*PatchVoicemailMessageParams) WithBody

WithBody adds the body to the patch voicemail message params

func (*PatchVoicemailMessageParams) WithContext

WithContext adds the context to the patch voicemail message params

func (*PatchVoicemailMessageParams) WithDefaults

WithDefaults hydrates default values in the patch voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailMessageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch voicemail message params

func (*PatchVoicemailMessageParams) WithMessageID

func (o *PatchVoicemailMessageParams) WithMessageID(messageID string) *PatchVoicemailMessageParams

WithMessageID adds the messageID to the patch voicemail message params

func (*PatchVoicemailMessageParams) WithTimeout

WithTimeout adds the timeout to the patch voicemail message params

func (*PatchVoicemailMessageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchVoicemailMessageReader

type PatchVoicemailMessageReader struct {
	// contains filtered or unexported fields
}

PatchVoicemailMessageReader is a Reader for the PatchVoicemailMessage structure.

func (*PatchVoicemailMessageReader) ReadResponse

func (o *PatchVoicemailMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchVoicemailMessageRequestEntityTooLarge

type PatchVoicemailMessageRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPatchVoicemailMessageRequestEntityTooLarge

func NewPatchVoicemailMessageRequestEntityTooLarge() *PatchVoicemailMessageRequestEntityTooLarge

NewPatchVoicemailMessageRequestEntityTooLarge creates a PatchVoicemailMessageRequestEntityTooLarge with default headers values

func (*PatchVoicemailMessageRequestEntityTooLarge) Error

func (*PatchVoicemailMessageRequestEntityTooLarge) GetPayload

func (*PatchVoicemailMessageRequestEntityTooLarge) IsClientError

IsClientError returns true when this patch voicemail message request entity too large response has a 4xx status code

func (*PatchVoicemailMessageRequestEntityTooLarge) IsCode

IsCode returns true when this patch voicemail message request entity too large response a status code equal to that given

func (*PatchVoicemailMessageRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch voicemail message request entity too large response has a 3xx status code

func (*PatchVoicemailMessageRequestEntityTooLarge) IsServerError

IsServerError returns true when this patch voicemail message request entity too large response has a 5xx status code

func (*PatchVoicemailMessageRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch voicemail message request entity too large response has a 2xx status code

func (*PatchVoicemailMessageRequestEntityTooLarge) String

type PatchVoicemailMessageRequestTimeout

type PatchVoicemailMessageRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPatchVoicemailMessageRequestTimeout

func NewPatchVoicemailMessageRequestTimeout() *PatchVoicemailMessageRequestTimeout

NewPatchVoicemailMessageRequestTimeout creates a PatchVoicemailMessageRequestTimeout with default headers values

func (*PatchVoicemailMessageRequestTimeout) Error

func (*PatchVoicemailMessageRequestTimeout) GetPayload

func (*PatchVoicemailMessageRequestTimeout) IsClientError

func (o *PatchVoicemailMessageRequestTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail message request timeout response has a 4xx status code

func (*PatchVoicemailMessageRequestTimeout) IsCode

IsCode returns true when this patch voicemail message request timeout response a status code equal to that given

func (*PatchVoicemailMessageRequestTimeout) IsRedirect

func (o *PatchVoicemailMessageRequestTimeout) IsRedirect() bool

IsRedirect returns true when this patch voicemail message request timeout response has a 3xx status code

func (*PatchVoicemailMessageRequestTimeout) IsServerError

func (o *PatchVoicemailMessageRequestTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail message request timeout response has a 5xx status code

func (*PatchVoicemailMessageRequestTimeout) IsSuccess

IsSuccess returns true when this patch voicemail message request timeout response has a 2xx status code

func (*PatchVoicemailMessageRequestTimeout) String

type PatchVoicemailMessageServiceUnavailable

type PatchVoicemailMessageServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPatchVoicemailMessageServiceUnavailable

func NewPatchVoicemailMessageServiceUnavailable() *PatchVoicemailMessageServiceUnavailable

NewPatchVoicemailMessageServiceUnavailable creates a PatchVoicemailMessageServiceUnavailable with default headers values

func (*PatchVoicemailMessageServiceUnavailable) Error

func (*PatchVoicemailMessageServiceUnavailable) GetPayload

func (*PatchVoicemailMessageServiceUnavailable) IsClientError

func (o *PatchVoicemailMessageServiceUnavailable) IsClientError() bool

IsClientError returns true when this patch voicemail message service unavailable response has a 4xx status code

func (*PatchVoicemailMessageServiceUnavailable) IsCode

IsCode returns true when this patch voicemail message service unavailable response a status code equal to that given

func (*PatchVoicemailMessageServiceUnavailable) IsRedirect

IsRedirect returns true when this patch voicemail message service unavailable response has a 3xx status code

func (*PatchVoicemailMessageServiceUnavailable) IsServerError

func (o *PatchVoicemailMessageServiceUnavailable) IsServerError() bool

IsServerError returns true when this patch voicemail message service unavailable response has a 5xx status code

func (*PatchVoicemailMessageServiceUnavailable) IsSuccess

IsSuccess returns true when this patch voicemail message service unavailable response has a 2xx status code

func (*PatchVoicemailMessageServiceUnavailable) String

type PatchVoicemailMessageTooManyRequests

type PatchVoicemailMessageTooManyRequests struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPatchVoicemailMessageTooManyRequests

func NewPatchVoicemailMessageTooManyRequests() *PatchVoicemailMessageTooManyRequests

NewPatchVoicemailMessageTooManyRequests creates a PatchVoicemailMessageTooManyRequests with default headers values

func (*PatchVoicemailMessageTooManyRequests) Error

func (*PatchVoicemailMessageTooManyRequests) GetPayload

func (*PatchVoicemailMessageTooManyRequests) IsClientError

func (o *PatchVoicemailMessageTooManyRequests) IsClientError() bool

IsClientError returns true when this patch voicemail message too many requests response has a 4xx status code

func (*PatchVoicemailMessageTooManyRequests) IsCode

IsCode returns true when this patch voicemail message too many requests response a status code equal to that given

func (*PatchVoicemailMessageTooManyRequests) IsRedirect

IsRedirect returns true when this patch voicemail message too many requests response has a 3xx status code

func (*PatchVoicemailMessageTooManyRequests) IsServerError

func (o *PatchVoicemailMessageTooManyRequests) IsServerError() bool

IsServerError returns true when this patch voicemail message too many requests response has a 5xx status code

func (*PatchVoicemailMessageTooManyRequests) IsSuccess

IsSuccess returns true when this patch voicemail message too many requests response has a 2xx status code

func (*PatchVoicemailMessageTooManyRequests) String

type PatchVoicemailMessageUnauthorized

type PatchVoicemailMessageUnauthorized struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPatchVoicemailMessageUnauthorized

func NewPatchVoicemailMessageUnauthorized() *PatchVoicemailMessageUnauthorized

NewPatchVoicemailMessageUnauthorized creates a PatchVoicemailMessageUnauthorized with default headers values

func (*PatchVoicemailMessageUnauthorized) Error

func (*PatchVoicemailMessageUnauthorized) GetPayload

func (*PatchVoicemailMessageUnauthorized) IsClientError

func (o *PatchVoicemailMessageUnauthorized) IsClientError() bool

IsClientError returns true when this patch voicemail message unauthorized response has a 4xx status code

func (*PatchVoicemailMessageUnauthorized) IsCode

func (o *PatchVoicemailMessageUnauthorized) IsCode(code int) bool

IsCode returns true when this patch voicemail message unauthorized response a status code equal to that given

func (*PatchVoicemailMessageUnauthorized) IsRedirect

func (o *PatchVoicemailMessageUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch voicemail message unauthorized response has a 3xx status code

func (*PatchVoicemailMessageUnauthorized) IsServerError

func (o *PatchVoicemailMessageUnauthorized) IsServerError() bool

IsServerError returns true when this patch voicemail message unauthorized response has a 5xx status code

func (*PatchVoicemailMessageUnauthorized) IsSuccess

func (o *PatchVoicemailMessageUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch voicemail message unauthorized response has a 2xx status code

func (*PatchVoicemailMessageUnauthorized) String

type PatchVoicemailMessageUnsupportedMediaType

type PatchVoicemailMessageUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchVoicemailMessageUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPatchVoicemailMessageUnsupportedMediaType

func NewPatchVoicemailMessageUnsupportedMediaType() *PatchVoicemailMessageUnsupportedMediaType

NewPatchVoicemailMessageUnsupportedMediaType creates a PatchVoicemailMessageUnsupportedMediaType with default headers values

func (*PatchVoicemailMessageUnsupportedMediaType) Error

func (*PatchVoicemailMessageUnsupportedMediaType) GetPayload

func (*PatchVoicemailMessageUnsupportedMediaType) IsClientError

IsClientError returns true when this patch voicemail message unsupported media type response has a 4xx status code

func (*PatchVoicemailMessageUnsupportedMediaType) IsCode

IsCode returns true when this patch voicemail message unsupported media type response a status code equal to that given

func (*PatchVoicemailMessageUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch voicemail message unsupported media type response has a 3xx status code

func (*PatchVoicemailMessageUnsupportedMediaType) IsServerError

IsServerError returns true when this patch voicemail message unsupported media type response has a 5xx status code

func (*PatchVoicemailMessageUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch voicemail message unsupported media type response has a 2xx status code

func (*PatchVoicemailMessageUnsupportedMediaType) String

type PatchVoicemailUserpolicyBadRequest

type PatchVoicemailUserpolicyBadRequest struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPatchVoicemailUserpolicyBadRequest

func NewPatchVoicemailUserpolicyBadRequest() *PatchVoicemailUserpolicyBadRequest

NewPatchVoicemailUserpolicyBadRequest creates a PatchVoicemailUserpolicyBadRequest with default headers values

func (*PatchVoicemailUserpolicyBadRequest) Error

func (*PatchVoicemailUserpolicyBadRequest) GetPayload

func (*PatchVoicemailUserpolicyBadRequest) IsClientError

func (o *PatchVoicemailUserpolicyBadRequest) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy bad request response has a 4xx status code

func (*PatchVoicemailUserpolicyBadRequest) IsCode

IsCode returns true when this patch voicemail userpolicy bad request response a status code equal to that given

func (*PatchVoicemailUserpolicyBadRequest) IsRedirect

func (o *PatchVoicemailUserpolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this patch voicemail userpolicy bad request response has a 3xx status code

func (*PatchVoicemailUserpolicyBadRequest) IsServerError

func (o *PatchVoicemailUserpolicyBadRequest) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy bad request response has a 5xx status code

func (*PatchVoicemailUserpolicyBadRequest) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy bad request response has a 2xx status code

func (*PatchVoicemailUserpolicyBadRequest) String

type PatchVoicemailUserpolicyForbidden

type PatchVoicemailUserpolicyForbidden struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPatchVoicemailUserpolicyForbidden

func NewPatchVoicemailUserpolicyForbidden() *PatchVoicemailUserpolicyForbidden

NewPatchVoicemailUserpolicyForbidden creates a PatchVoicemailUserpolicyForbidden with default headers values

func (*PatchVoicemailUserpolicyForbidden) Error

func (*PatchVoicemailUserpolicyForbidden) GetPayload

func (*PatchVoicemailUserpolicyForbidden) IsClientError

func (o *PatchVoicemailUserpolicyForbidden) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy forbidden response has a 4xx status code

func (*PatchVoicemailUserpolicyForbidden) IsCode

func (o *PatchVoicemailUserpolicyForbidden) IsCode(code int) bool

IsCode returns true when this patch voicemail userpolicy forbidden response a status code equal to that given

func (*PatchVoicemailUserpolicyForbidden) IsRedirect

func (o *PatchVoicemailUserpolicyForbidden) IsRedirect() bool

IsRedirect returns true when this patch voicemail userpolicy forbidden response has a 3xx status code

func (*PatchVoicemailUserpolicyForbidden) IsServerError

func (o *PatchVoicemailUserpolicyForbidden) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy forbidden response has a 5xx status code

func (*PatchVoicemailUserpolicyForbidden) IsSuccess

func (o *PatchVoicemailUserpolicyForbidden) IsSuccess() bool

IsSuccess returns true when this patch voicemail userpolicy forbidden response has a 2xx status code

func (*PatchVoicemailUserpolicyForbidden) String

type PatchVoicemailUserpolicyGatewayTimeout

type PatchVoicemailUserpolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPatchVoicemailUserpolicyGatewayTimeout

func NewPatchVoicemailUserpolicyGatewayTimeout() *PatchVoicemailUserpolicyGatewayTimeout

NewPatchVoicemailUserpolicyGatewayTimeout creates a PatchVoicemailUserpolicyGatewayTimeout with default headers values

func (*PatchVoicemailUserpolicyGatewayTimeout) Error

func (*PatchVoicemailUserpolicyGatewayTimeout) GetPayload

func (*PatchVoicemailUserpolicyGatewayTimeout) IsClientError

func (o *PatchVoicemailUserpolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy gateway timeout response has a 4xx status code

func (*PatchVoicemailUserpolicyGatewayTimeout) IsCode

IsCode returns true when this patch voicemail userpolicy gateway timeout response a status code equal to that given

func (*PatchVoicemailUserpolicyGatewayTimeout) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy gateway timeout response has a 3xx status code

func (*PatchVoicemailUserpolicyGatewayTimeout) IsServerError

func (o *PatchVoicemailUserpolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy gateway timeout response has a 5xx status code

func (*PatchVoicemailUserpolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy gateway timeout response has a 2xx status code

func (*PatchVoicemailUserpolicyGatewayTimeout) String

type PatchVoicemailUserpolicyInternalServerError

type PatchVoicemailUserpolicyInternalServerError struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPatchVoicemailUserpolicyInternalServerError

func NewPatchVoicemailUserpolicyInternalServerError() *PatchVoicemailUserpolicyInternalServerError

NewPatchVoicemailUserpolicyInternalServerError creates a PatchVoicemailUserpolicyInternalServerError with default headers values

func (*PatchVoicemailUserpolicyInternalServerError) Error

func (*PatchVoicemailUserpolicyInternalServerError) GetPayload

func (*PatchVoicemailUserpolicyInternalServerError) IsClientError

IsClientError returns true when this patch voicemail userpolicy internal server error response has a 4xx status code

func (*PatchVoicemailUserpolicyInternalServerError) IsCode

IsCode returns true when this patch voicemail userpolicy internal server error response a status code equal to that given

func (*PatchVoicemailUserpolicyInternalServerError) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy internal server error response has a 3xx status code

func (*PatchVoicemailUserpolicyInternalServerError) IsServerError

IsServerError returns true when this patch voicemail userpolicy internal server error response has a 5xx status code

func (*PatchVoicemailUserpolicyInternalServerError) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy internal server error response has a 2xx status code

func (*PatchVoicemailUserpolicyInternalServerError) String

type PatchVoicemailUserpolicyNotFound

type PatchVoicemailUserpolicyNotFound struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPatchVoicemailUserpolicyNotFound

func NewPatchVoicemailUserpolicyNotFound() *PatchVoicemailUserpolicyNotFound

NewPatchVoicemailUserpolicyNotFound creates a PatchVoicemailUserpolicyNotFound with default headers values

func (*PatchVoicemailUserpolicyNotFound) Error

func (*PatchVoicemailUserpolicyNotFound) GetPayload

func (*PatchVoicemailUserpolicyNotFound) IsClientError

func (o *PatchVoicemailUserpolicyNotFound) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy not found response has a 4xx status code

func (*PatchVoicemailUserpolicyNotFound) IsCode

func (o *PatchVoicemailUserpolicyNotFound) IsCode(code int) bool

IsCode returns true when this patch voicemail userpolicy not found response a status code equal to that given

func (*PatchVoicemailUserpolicyNotFound) IsRedirect

func (o *PatchVoicemailUserpolicyNotFound) IsRedirect() bool

IsRedirect returns true when this patch voicemail userpolicy not found response has a 3xx status code

func (*PatchVoicemailUserpolicyNotFound) IsServerError

func (o *PatchVoicemailUserpolicyNotFound) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy not found response has a 5xx status code

func (*PatchVoicemailUserpolicyNotFound) IsSuccess

func (o *PatchVoicemailUserpolicyNotFound) IsSuccess() bool

IsSuccess returns true when this patch voicemail userpolicy not found response has a 2xx status code

func (*PatchVoicemailUserpolicyNotFound) String

type PatchVoicemailUserpolicyOK

type PatchVoicemailUserpolicyOK struct {
	Payload *models.VoicemailUserPolicy
}

PatchVoicemailUserpolicyOK describes a response with status code 200, with default header values.

successful operation

func NewPatchVoicemailUserpolicyOK

func NewPatchVoicemailUserpolicyOK() *PatchVoicemailUserpolicyOK

NewPatchVoicemailUserpolicyOK creates a PatchVoicemailUserpolicyOK with default headers values

func (*PatchVoicemailUserpolicyOK) Error

func (*PatchVoicemailUserpolicyOK) GetPayload

func (*PatchVoicemailUserpolicyOK) IsClientError

func (o *PatchVoicemailUserpolicyOK) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy o k response has a 4xx status code

func (*PatchVoicemailUserpolicyOK) IsCode

func (o *PatchVoicemailUserpolicyOK) IsCode(code int) bool

IsCode returns true when this patch voicemail userpolicy o k response a status code equal to that given

func (*PatchVoicemailUserpolicyOK) IsRedirect

func (o *PatchVoicemailUserpolicyOK) IsRedirect() bool

IsRedirect returns true when this patch voicemail userpolicy o k response has a 3xx status code

func (*PatchVoicemailUserpolicyOK) IsServerError

func (o *PatchVoicemailUserpolicyOK) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy o k response has a 5xx status code

func (*PatchVoicemailUserpolicyOK) IsSuccess

func (o *PatchVoicemailUserpolicyOK) IsSuccess() bool

IsSuccess returns true when this patch voicemail userpolicy o k response has a 2xx status code

func (*PatchVoicemailUserpolicyOK) String

func (o *PatchVoicemailUserpolicyOK) String() string

type PatchVoicemailUserpolicyParams

type PatchVoicemailUserpolicyParams struct {

	/* Body.

	   The user's voicemail policy
	*/
	Body *models.VoicemailUserPolicy

	/* UserID.

	   User ID
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchVoicemailUserpolicyParams contains all the parameters to send to the API endpoint

for the patch voicemail userpolicy operation.

Typically these are written to a http.Request.

func NewPatchVoicemailUserpolicyParams

func NewPatchVoicemailUserpolicyParams() *PatchVoicemailUserpolicyParams

NewPatchVoicemailUserpolicyParams creates a new PatchVoicemailUserpolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchVoicemailUserpolicyParamsWithContext

func NewPatchVoicemailUserpolicyParamsWithContext(ctx context.Context) *PatchVoicemailUserpolicyParams

NewPatchVoicemailUserpolicyParamsWithContext creates a new PatchVoicemailUserpolicyParams object with the ability to set a context for a request.

func NewPatchVoicemailUserpolicyParamsWithHTTPClient

func NewPatchVoicemailUserpolicyParamsWithHTTPClient(client *http.Client) *PatchVoicemailUserpolicyParams

NewPatchVoicemailUserpolicyParamsWithHTTPClient creates a new PatchVoicemailUserpolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPatchVoicemailUserpolicyParamsWithTimeout

func NewPatchVoicemailUserpolicyParamsWithTimeout(timeout time.Duration) *PatchVoicemailUserpolicyParams

NewPatchVoicemailUserpolicyParamsWithTimeout creates a new PatchVoicemailUserpolicyParams object with the ability to set a timeout on a request.

func (*PatchVoicemailUserpolicyParams) SetBody

SetBody adds the body to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) SetContext

func (o *PatchVoicemailUserpolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) SetDefaults

func (o *PatchVoicemailUserpolicyParams) SetDefaults()

SetDefaults hydrates default values in the patch voicemail userpolicy params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailUserpolicyParams) SetHTTPClient

func (o *PatchVoicemailUserpolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) SetTimeout

func (o *PatchVoicemailUserpolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) SetUserID

func (o *PatchVoicemailUserpolicyParams) SetUserID(userID string)

SetUserID adds the userId to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) WithBody

WithBody adds the body to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) WithContext

WithContext adds the context to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) WithDefaults

WithDefaults hydrates default values in the patch voicemail userpolicy params (not the query body).

All values with no default are reset to their zero value.

func (*PatchVoicemailUserpolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) WithTimeout

WithTimeout adds the timeout to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) WithUserID

WithUserID adds the userID to the patch voicemail userpolicy params

func (*PatchVoicemailUserpolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchVoicemailUserpolicyReader

type PatchVoicemailUserpolicyReader struct {
	// contains filtered or unexported fields
}

PatchVoicemailUserpolicyReader is a Reader for the PatchVoicemailUserpolicy structure.

func (*PatchVoicemailUserpolicyReader) ReadResponse

func (o *PatchVoicemailUserpolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchVoicemailUserpolicyRequestEntityTooLarge

type PatchVoicemailUserpolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPatchVoicemailUserpolicyRequestEntityTooLarge

func NewPatchVoicemailUserpolicyRequestEntityTooLarge() *PatchVoicemailUserpolicyRequestEntityTooLarge

NewPatchVoicemailUserpolicyRequestEntityTooLarge creates a PatchVoicemailUserpolicyRequestEntityTooLarge with default headers values

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) Error

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) GetPayload

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this patch voicemail userpolicy request entity too large response has a 4xx status code

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) IsCode

IsCode returns true when this patch voicemail userpolicy request entity too large response a status code equal to that given

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy request entity too large response has a 3xx status code

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this patch voicemail userpolicy request entity too large response has a 5xx status code

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy request entity too large response has a 2xx status code

func (*PatchVoicemailUserpolicyRequestEntityTooLarge) String

type PatchVoicemailUserpolicyRequestTimeout

type PatchVoicemailUserpolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPatchVoicemailUserpolicyRequestTimeout

func NewPatchVoicemailUserpolicyRequestTimeout() *PatchVoicemailUserpolicyRequestTimeout

NewPatchVoicemailUserpolicyRequestTimeout creates a PatchVoicemailUserpolicyRequestTimeout with default headers values

func (*PatchVoicemailUserpolicyRequestTimeout) Error

func (*PatchVoicemailUserpolicyRequestTimeout) GetPayload

func (*PatchVoicemailUserpolicyRequestTimeout) IsClientError

func (o *PatchVoicemailUserpolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy request timeout response has a 4xx status code

func (*PatchVoicemailUserpolicyRequestTimeout) IsCode

IsCode returns true when this patch voicemail userpolicy request timeout response a status code equal to that given

func (*PatchVoicemailUserpolicyRequestTimeout) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy request timeout response has a 3xx status code

func (*PatchVoicemailUserpolicyRequestTimeout) IsServerError

func (o *PatchVoicemailUserpolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy request timeout response has a 5xx status code

func (*PatchVoicemailUserpolicyRequestTimeout) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy request timeout response has a 2xx status code

func (*PatchVoicemailUserpolicyRequestTimeout) String

type PatchVoicemailUserpolicyServiceUnavailable

type PatchVoicemailUserpolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPatchVoicemailUserpolicyServiceUnavailable

func NewPatchVoicemailUserpolicyServiceUnavailable() *PatchVoicemailUserpolicyServiceUnavailable

NewPatchVoicemailUserpolicyServiceUnavailable creates a PatchVoicemailUserpolicyServiceUnavailable with default headers values

func (*PatchVoicemailUserpolicyServiceUnavailable) Error

func (*PatchVoicemailUserpolicyServiceUnavailable) GetPayload

func (*PatchVoicemailUserpolicyServiceUnavailable) IsClientError

IsClientError returns true when this patch voicemail userpolicy service unavailable response has a 4xx status code

func (*PatchVoicemailUserpolicyServiceUnavailable) IsCode

IsCode returns true when this patch voicemail userpolicy service unavailable response a status code equal to that given

func (*PatchVoicemailUserpolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy service unavailable response has a 3xx status code

func (*PatchVoicemailUserpolicyServiceUnavailable) IsServerError

IsServerError returns true when this patch voicemail userpolicy service unavailable response has a 5xx status code

func (*PatchVoicemailUserpolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy service unavailable response has a 2xx status code

func (*PatchVoicemailUserpolicyServiceUnavailable) String

type PatchVoicemailUserpolicyTooManyRequests

type PatchVoicemailUserpolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPatchVoicemailUserpolicyTooManyRequests

func NewPatchVoicemailUserpolicyTooManyRequests() *PatchVoicemailUserpolicyTooManyRequests

NewPatchVoicemailUserpolicyTooManyRequests creates a PatchVoicemailUserpolicyTooManyRequests with default headers values

func (*PatchVoicemailUserpolicyTooManyRequests) Error

func (*PatchVoicemailUserpolicyTooManyRequests) GetPayload

func (*PatchVoicemailUserpolicyTooManyRequests) IsClientError

func (o *PatchVoicemailUserpolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy too many requests response has a 4xx status code

func (*PatchVoicemailUserpolicyTooManyRequests) IsCode

IsCode returns true when this patch voicemail userpolicy too many requests response a status code equal to that given

func (*PatchVoicemailUserpolicyTooManyRequests) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy too many requests response has a 3xx status code

func (*PatchVoicemailUserpolicyTooManyRequests) IsServerError

func (o *PatchVoicemailUserpolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy too many requests response has a 5xx status code

func (*PatchVoicemailUserpolicyTooManyRequests) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy too many requests response has a 2xx status code

func (*PatchVoicemailUserpolicyTooManyRequests) String

type PatchVoicemailUserpolicyUnauthorized

type PatchVoicemailUserpolicyUnauthorized struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPatchVoicemailUserpolicyUnauthorized

func NewPatchVoicemailUserpolicyUnauthorized() *PatchVoicemailUserpolicyUnauthorized

NewPatchVoicemailUserpolicyUnauthorized creates a PatchVoicemailUserpolicyUnauthorized with default headers values

func (*PatchVoicemailUserpolicyUnauthorized) Error

func (*PatchVoicemailUserpolicyUnauthorized) GetPayload

func (*PatchVoicemailUserpolicyUnauthorized) IsClientError

func (o *PatchVoicemailUserpolicyUnauthorized) IsClientError() bool

IsClientError returns true when this patch voicemail userpolicy unauthorized response has a 4xx status code

func (*PatchVoicemailUserpolicyUnauthorized) IsCode

IsCode returns true when this patch voicemail userpolicy unauthorized response a status code equal to that given

func (*PatchVoicemailUserpolicyUnauthorized) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy unauthorized response has a 3xx status code

func (*PatchVoicemailUserpolicyUnauthorized) IsServerError

func (o *PatchVoicemailUserpolicyUnauthorized) IsServerError() bool

IsServerError returns true when this patch voicemail userpolicy unauthorized response has a 5xx status code

func (*PatchVoicemailUserpolicyUnauthorized) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy unauthorized response has a 2xx status code

func (*PatchVoicemailUserpolicyUnauthorized) String

type PatchVoicemailUserpolicyUnsupportedMediaType

type PatchVoicemailUserpolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchVoicemailUserpolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPatchVoicemailUserpolicyUnsupportedMediaType

func NewPatchVoicemailUserpolicyUnsupportedMediaType() *PatchVoicemailUserpolicyUnsupportedMediaType

NewPatchVoicemailUserpolicyUnsupportedMediaType creates a PatchVoicemailUserpolicyUnsupportedMediaType with default headers values

func (*PatchVoicemailUserpolicyUnsupportedMediaType) Error

func (*PatchVoicemailUserpolicyUnsupportedMediaType) GetPayload

func (*PatchVoicemailUserpolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this patch voicemail userpolicy unsupported media type response has a 4xx status code

func (*PatchVoicemailUserpolicyUnsupportedMediaType) IsCode

IsCode returns true when this patch voicemail userpolicy unsupported media type response a status code equal to that given

func (*PatchVoicemailUserpolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch voicemail userpolicy unsupported media type response has a 3xx status code

func (*PatchVoicemailUserpolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this patch voicemail userpolicy unsupported media type response has a 5xx status code

func (*PatchVoicemailUserpolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch voicemail userpolicy unsupported media type response has a 2xx status code

func (*PatchVoicemailUserpolicyUnsupportedMediaType) String

type PostVoicemailMessagesBadRequest

type PostVoicemailMessagesBadRequest struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostVoicemailMessagesBadRequest

func NewPostVoicemailMessagesBadRequest() *PostVoicemailMessagesBadRequest

NewPostVoicemailMessagesBadRequest creates a PostVoicemailMessagesBadRequest with default headers values

func (*PostVoicemailMessagesBadRequest) Error

func (*PostVoicemailMessagesBadRequest) GetPayload

func (*PostVoicemailMessagesBadRequest) IsClientError

func (o *PostVoicemailMessagesBadRequest) IsClientError() bool

IsClientError returns true when this post voicemail messages bad request response has a 4xx status code

func (*PostVoicemailMessagesBadRequest) IsCode

func (o *PostVoicemailMessagesBadRequest) IsCode(code int) bool

IsCode returns true when this post voicemail messages bad request response a status code equal to that given

func (*PostVoicemailMessagesBadRequest) IsRedirect

func (o *PostVoicemailMessagesBadRequest) IsRedirect() bool

IsRedirect returns true when this post voicemail messages bad request response has a 3xx status code

func (*PostVoicemailMessagesBadRequest) IsServerError

func (o *PostVoicemailMessagesBadRequest) IsServerError() bool

IsServerError returns true when this post voicemail messages bad request response has a 5xx status code

func (*PostVoicemailMessagesBadRequest) IsSuccess

func (o *PostVoicemailMessagesBadRequest) IsSuccess() bool

IsSuccess returns true when this post voicemail messages bad request response has a 2xx status code

func (*PostVoicemailMessagesBadRequest) String

type PostVoicemailMessagesConflict

type PostVoicemailMessagesConflict struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesConflict describes a response with status code 409, with default header values.

Conflict

func NewPostVoicemailMessagesConflict

func NewPostVoicemailMessagesConflict() *PostVoicemailMessagesConflict

NewPostVoicemailMessagesConflict creates a PostVoicemailMessagesConflict with default headers values

func (*PostVoicemailMessagesConflict) Error

func (*PostVoicemailMessagesConflict) GetPayload

func (*PostVoicemailMessagesConflict) IsClientError

func (o *PostVoicemailMessagesConflict) IsClientError() bool

IsClientError returns true when this post voicemail messages conflict response has a 4xx status code

func (*PostVoicemailMessagesConflict) IsCode

func (o *PostVoicemailMessagesConflict) IsCode(code int) bool

IsCode returns true when this post voicemail messages conflict response a status code equal to that given

func (*PostVoicemailMessagesConflict) IsRedirect

func (o *PostVoicemailMessagesConflict) IsRedirect() bool

IsRedirect returns true when this post voicemail messages conflict response has a 3xx status code

func (*PostVoicemailMessagesConflict) IsServerError

func (o *PostVoicemailMessagesConflict) IsServerError() bool

IsServerError returns true when this post voicemail messages conflict response has a 5xx status code

func (*PostVoicemailMessagesConflict) IsSuccess

func (o *PostVoicemailMessagesConflict) IsSuccess() bool

IsSuccess returns true when this post voicemail messages conflict response has a 2xx status code

func (*PostVoicemailMessagesConflict) String

type PostVoicemailMessagesForbidden

type PostVoicemailMessagesForbidden struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostVoicemailMessagesForbidden

func NewPostVoicemailMessagesForbidden() *PostVoicemailMessagesForbidden

NewPostVoicemailMessagesForbidden creates a PostVoicemailMessagesForbidden with default headers values

func (*PostVoicemailMessagesForbidden) Error

func (*PostVoicemailMessagesForbidden) GetPayload

func (*PostVoicemailMessagesForbidden) IsClientError

func (o *PostVoicemailMessagesForbidden) IsClientError() bool

IsClientError returns true when this post voicemail messages forbidden response has a 4xx status code

func (*PostVoicemailMessagesForbidden) IsCode

func (o *PostVoicemailMessagesForbidden) IsCode(code int) bool

IsCode returns true when this post voicemail messages forbidden response a status code equal to that given

func (*PostVoicemailMessagesForbidden) IsRedirect

func (o *PostVoicemailMessagesForbidden) IsRedirect() bool

IsRedirect returns true when this post voicemail messages forbidden response has a 3xx status code

func (*PostVoicemailMessagesForbidden) IsServerError

func (o *PostVoicemailMessagesForbidden) IsServerError() bool

IsServerError returns true when this post voicemail messages forbidden response has a 5xx status code

func (*PostVoicemailMessagesForbidden) IsSuccess

func (o *PostVoicemailMessagesForbidden) IsSuccess() bool

IsSuccess returns true when this post voicemail messages forbidden response has a 2xx status code

func (*PostVoicemailMessagesForbidden) String

type PostVoicemailMessagesGatewayTimeout

type PostVoicemailMessagesGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostVoicemailMessagesGatewayTimeout

func NewPostVoicemailMessagesGatewayTimeout() *PostVoicemailMessagesGatewayTimeout

NewPostVoicemailMessagesGatewayTimeout creates a PostVoicemailMessagesGatewayTimeout with default headers values

func (*PostVoicemailMessagesGatewayTimeout) Error

func (*PostVoicemailMessagesGatewayTimeout) GetPayload

func (*PostVoicemailMessagesGatewayTimeout) IsClientError

func (o *PostVoicemailMessagesGatewayTimeout) IsClientError() bool

IsClientError returns true when this post voicemail messages gateway timeout response has a 4xx status code

func (*PostVoicemailMessagesGatewayTimeout) IsCode

IsCode returns true when this post voicemail messages gateway timeout response a status code equal to that given

func (*PostVoicemailMessagesGatewayTimeout) IsRedirect

func (o *PostVoicemailMessagesGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this post voicemail messages gateway timeout response has a 3xx status code

func (*PostVoicemailMessagesGatewayTimeout) IsServerError

func (o *PostVoicemailMessagesGatewayTimeout) IsServerError() bool

IsServerError returns true when this post voicemail messages gateway timeout response has a 5xx status code

func (*PostVoicemailMessagesGatewayTimeout) IsSuccess

IsSuccess returns true when this post voicemail messages gateway timeout response has a 2xx status code

func (*PostVoicemailMessagesGatewayTimeout) String

type PostVoicemailMessagesInternalServerError

type PostVoicemailMessagesInternalServerError struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostVoicemailMessagesInternalServerError

func NewPostVoicemailMessagesInternalServerError() *PostVoicemailMessagesInternalServerError

NewPostVoicemailMessagesInternalServerError creates a PostVoicemailMessagesInternalServerError with default headers values

func (*PostVoicemailMessagesInternalServerError) Error

func (*PostVoicemailMessagesInternalServerError) GetPayload

func (*PostVoicemailMessagesInternalServerError) IsClientError

IsClientError returns true when this post voicemail messages internal server error response has a 4xx status code

func (*PostVoicemailMessagesInternalServerError) IsCode

IsCode returns true when this post voicemail messages internal server error response a status code equal to that given

func (*PostVoicemailMessagesInternalServerError) IsRedirect

IsRedirect returns true when this post voicemail messages internal server error response has a 3xx status code

func (*PostVoicemailMessagesInternalServerError) IsServerError

IsServerError returns true when this post voicemail messages internal server error response has a 5xx status code

func (*PostVoicemailMessagesInternalServerError) IsSuccess

IsSuccess returns true when this post voicemail messages internal server error response has a 2xx status code

func (*PostVoicemailMessagesInternalServerError) String

type PostVoicemailMessagesNotFound

type PostVoicemailMessagesNotFound struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostVoicemailMessagesNotFound

func NewPostVoicemailMessagesNotFound() *PostVoicemailMessagesNotFound

NewPostVoicemailMessagesNotFound creates a PostVoicemailMessagesNotFound with default headers values

func (*PostVoicemailMessagesNotFound) Error

func (*PostVoicemailMessagesNotFound) GetPayload

func (*PostVoicemailMessagesNotFound) IsClientError

func (o *PostVoicemailMessagesNotFound) IsClientError() bool

IsClientError returns true when this post voicemail messages not found response has a 4xx status code

func (*PostVoicemailMessagesNotFound) IsCode

func (o *PostVoicemailMessagesNotFound) IsCode(code int) bool

IsCode returns true when this post voicemail messages not found response a status code equal to that given

func (*PostVoicemailMessagesNotFound) IsRedirect

func (o *PostVoicemailMessagesNotFound) IsRedirect() bool

IsRedirect returns true when this post voicemail messages not found response has a 3xx status code

func (*PostVoicemailMessagesNotFound) IsServerError

func (o *PostVoicemailMessagesNotFound) IsServerError() bool

IsServerError returns true when this post voicemail messages not found response has a 5xx status code

func (*PostVoicemailMessagesNotFound) IsSuccess

func (o *PostVoicemailMessagesNotFound) IsSuccess() bool

IsSuccess returns true when this post voicemail messages not found response has a 2xx status code

func (*PostVoicemailMessagesNotFound) String

type PostVoicemailMessagesOK

type PostVoicemailMessagesOK struct {
	Payload *models.VoicemailMessage
}

PostVoicemailMessagesOK describes a response with status code 200, with default header values.

successful operation

func NewPostVoicemailMessagesOK

func NewPostVoicemailMessagesOK() *PostVoicemailMessagesOK

NewPostVoicemailMessagesOK creates a PostVoicemailMessagesOK with default headers values

func (*PostVoicemailMessagesOK) Error

func (o *PostVoicemailMessagesOK) Error() string

func (*PostVoicemailMessagesOK) GetPayload

func (*PostVoicemailMessagesOK) IsClientError

func (o *PostVoicemailMessagesOK) IsClientError() bool

IsClientError returns true when this post voicemail messages o k response has a 4xx status code

func (*PostVoicemailMessagesOK) IsCode

func (o *PostVoicemailMessagesOK) IsCode(code int) bool

IsCode returns true when this post voicemail messages o k response a status code equal to that given

func (*PostVoicemailMessagesOK) IsRedirect

func (o *PostVoicemailMessagesOK) IsRedirect() bool

IsRedirect returns true when this post voicemail messages o k response has a 3xx status code

func (*PostVoicemailMessagesOK) IsServerError

func (o *PostVoicemailMessagesOK) IsServerError() bool

IsServerError returns true when this post voicemail messages o k response has a 5xx status code

func (*PostVoicemailMessagesOK) IsSuccess

func (o *PostVoicemailMessagesOK) IsSuccess() bool

IsSuccess returns true when this post voicemail messages o k response has a 2xx status code

func (*PostVoicemailMessagesOK) String

func (o *PostVoicemailMessagesOK) String() string

type PostVoicemailMessagesParams

type PostVoicemailMessagesParams struct {

	// Body.
	Body *models.CopyVoicemailMessage

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostVoicemailMessagesParams contains all the parameters to send to the API endpoint

for the post voicemail messages operation.

Typically these are written to a http.Request.

func NewPostVoicemailMessagesParams

func NewPostVoicemailMessagesParams() *PostVoicemailMessagesParams

NewPostVoicemailMessagesParams creates a new PostVoicemailMessagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostVoicemailMessagesParamsWithContext

func NewPostVoicemailMessagesParamsWithContext(ctx context.Context) *PostVoicemailMessagesParams

NewPostVoicemailMessagesParamsWithContext creates a new PostVoicemailMessagesParams object with the ability to set a context for a request.

func NewPostVoicemailMessagesParamsWithHTTPClient

func NewPostVoicemailMessagesParamsWithHTTPClient(client *http.Client) *PostVoicemailMessagesParams

NewPostVoicemailMessagesParamsWithHTTPClient creates a new PostVoicemailMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewPostVoicemailMessagesParamsWithTimeout

func NewPostVoicemailMessagesParamsWithTimeout(timeout time.Duration) *PostVoicemailMessagesParams

NewPostVoicemailMessagesParamsWithTimeout creates a new PostVoicemailMessagesParams object with the ability to set a timeout on a request.

func (*PostVoicemailMessagesParams) SetBody

SetBody adds the body to the post voicemail messages params

func (*PostVoicemailMessagesParams) SetContext

func (o *PostVoicemailMessagesParams) SetContext(ctx context.Context)

SetContext adds the context to the post voicemail messages params

func (*PostVoicemailMessagesParams) SetDefaults

func (o *PostVoicemailMessagesParams) SetDefaults()

SetDefaults hydrates default values in the post voicemail messages params (not the query body).

All values with no default are reset to their zero value.

func (*PostVoicemailMessagesParams) SetHTTPClient

func (o *PostVoicemailMessagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post voicemail messages params

func (*PostVoicemailMessagesParams) SetTimeout

func (o *PostVoicemailMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post voicemail messages params

func (*PostVoicemailMessagesParams) WithBody

WithBody adds the body to the post voicemail messages params

func (*PostVoicemailMessagesParams) WithContext

WithContext adds the context to the post voicemail messages params

func (*PostVoicemailMessagesParams) WithDefaults

WithDefaults hydrates default values in the post voicemail messages params (not the query body).

All values with no default are reset to their zero value.

func (*PostVoicemailMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post voicemail messages params

func (*PostVoicemailMessagesParams) WithTimeout

WithTimeout adds the timeout to the post voicemail messages params

func (*PostVoicemailMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostVoicemailMessagesReader

type PostVoicemailMessagesReader struct {
	// contains filtered or unexported fields
}

PostVoicemailMessagesReader is a Reader for the PostVoicemailMessages structure.

func (*PostVoicemailMessagesReader) ReadResponse

func (o *PostVoicemailMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostVoicemailMessagesRequestEntityTooLarge

type PostVoicemailMessagesRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostVoicemailMessagesRequestEntityTooLarge

func NewPostVoicemailMessagesRequestEntityTooLarge() *PostVoicemailMessagesRequestEntityTooLarge

NewPostVoicemailMessagesRequestEntityTooLarge creates a PostVoicemailMessagesRequestEntityTooLarge with default headers values

func (*PostVoicemailMessagesRequestEntityTooLarge) Error

func (*PostVoicemailMessagesRequestEntityTooLarge) GetPayload

func (*PostVoicemailMessagesRequestEntityTooLarge) IsClientError

IsClientError returns true when this post voicemail messages request entity too large response has a 4xx status code

func (*PostVoicemailMessagesRequestEntityTooLarge) IsCode

IsCode returns true when this post voicemail messages request entity too large response a status code equal to that given

func (*PostVoicemailMessagesRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this post voicemail messages request entity too large response has a 3xx status code

func (*PostVoicemailMessagesRequestEntityTooLarge) IsServerError

IsServerError returns true when this post voicemail messages request entity too large response has a 5xx status code

func (*PostVoicemailMessagesRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post voicemail messages request entity too large response has a 2xx status code

func (*PostVoicemailMessagesRequestEntityTooLarge) String

type PostVoicemailMessagesRequestTimeout

type PostVoicemailMessagesRequestTimeout struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostVoicemailMessagesRequestTimeout

func NewPostVoicemailMessagesRequestTimeout() *PostVoicemailMessagesRequestTimeout

NewPostVoicemailMessagesRequestTimeout creates a PostVoicemailMessagesRequestTimeout with default headers values

func (*PostVoicemailMessagesRequestTimeout) Error

func (*PostVoicemailMessagesRequestTimeout) GetPayload

func (*PostVoicemailMessagesRequestTimeout) IsClientError

func (o *PostVoicemailMessagesRequestTimeout) IsClientError() bool

IsClientError returns true when this post voicemail messages request timeout response has a 4xx status code

func (*PostVoicemailMessagesRequestTimeout) IsCode

IsCode returns true when this post voicemail messages request timeout response a status code equal to that given

func (*PostVoicemailMessagesRequestTimeout) IsRedirect

func (o *PostVoicemailMessagesRequestTimeout) IsRedirect() bool

IsRedirect returns true when this post voicemail messages request timeout response has a 3xx status code

func (*PostVoicemailMessagesRequestTimeout) IsServerError

func (o *PostVoicemailMessagesRequestTimeout) IsServerError() bool

IsServerError returns true when this post voicemail messages request timeout response has a 5xx status code

func (*PostVoicemailMessagesRequestTimeout) IsSuccess

IsSuccess returns true when this post voicemail messages request timeout response has a 2xx status code

func (*PostVoicemailMessagesRequestTimeout) String

type PostVoicemailMessagesServiceUnavailable

type PostVoicemailMessagesServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostVoicemailMessagesServiceUnavailable

func NewPostVoicemailMessagesServiceUnavailable() *PostVoicemailMessagesServiceUnavailable

NewPostVoicemailMessagesServiceUnavailable creates a PostVoicemailMessagesServiceUnavailable with default headers values

func (*PostVoicemailMessagesServiceUnavailable) Error

func (*PostVoicemailMessagesServiceUnavailable) GetPayload

func (*PostVoicemailMessagesServiceUnavailable) IsClientError

func (o *PostVoicemailMessagesServiceUnavailable) IsClientError() bool

IsClientError returns true when this post voicemail messages service unavailable response has a 4xx status code

func (*PostVoicemailMessagesServiceUnavailable) IsCode

IsCode returns true when this post voicemail messages service unavailable response a status code equal to that given

func (*PostVoicemailMessagesServiceUnavailable) IsRedirect

IsRedirect returns true when this post voicemail messages service unavailable response has a 3xx status code

func (*PostVoicemailMessagesServiceUnavailable) IsServerError

func (o *PostVoicemailMessagesServiceUnavailable) IsServerError() bool

IsServerError returns true when this post voicemail messages service unavailable response has a 5xx status code

func (*PostVoicemailMessagesServiceUnavailable) IsSuccess

IsSuccess returns true when this post voicemail messages service unavailable response has a 2xx status code

func (*PostVoicemailMessagesServiceUnavailable) String

type PostVoicemailMessagesTooManyRequests

type PostVoicemailMessagesTooManyRequests struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostVoicemailMessagesTooManyRequests

func NewPostVoicemailMessagesTooManyRequests() *PostVoicemailMessagesTooManyRequests

NewPostVoicemailMessagesTooManyRequests creates a PostVoicemailMessagesTooManyRequests with default headers values

func (*PostVoicemailMessagesTooManyRequests) Error

func (*PostVoicemailMessagesTooManyRequests) GetPayload

func (*PostVoicemailMessagesTooManyRequests) IsClientError

func (o *PostVoicemailMessagesTooManyRequests) IsClientError() bool

IsClientError returns true when this post voicemail messages too many requests response has a 4xx status code

func (*PostVoicemailMessagesTooManyRequests) IsCode

IsCode returns true when this post voicemail messages too many requests response a status code equal to that given

func (*PostVoicemailMessagesTooManyRequests) IsRedirect

IsRedirect returns true when this post voicemail messages too many requests response has a 3xx status code

func (*PostVoicemailMessagesTooManyRequests) IsServerError

func (o *PostVoicemailMessagesTooManyRequests) IsServerError() bool

IsServerError returns true when this post voicemail messages too many requests response has a 5xx status code

func (*PostVoicemailMessagesTooManyRequests) IsSuccess

IsSuccess returns true when this post voicemail messages too many requests response has a 2xx status code

func (*PostVoicemailMessagesTooManyRequests) String

type PostVoicemailMessagesUnauthorized

type PostVoicemailMessagesUnauthorized struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostVoicemailMessagesUnauthorized

func NewPostVoicemailMessagesUnauthorized() *PostVoicemailMessagesUnauthorized

NewPostVoicemailMessagesUnauthorized creates a PostVoicemailMessagesUnauthorized with default headers values

func (*PostVoicemailMessagesUnauthorized) Error

func (*PostVoicemailMessagesUnauthorized) GetPayload

func (*PostVoicemailMessagesUnauthorized) IsClientError

func (o *PostVoicemailMessagesUnauthorized) IsClientError() bool

IsClientError returns true when this post voicemail messages unauthorized response has a 4xx status code

func (*PostVoicemailMessagesUnauthorized) IsCode

func (o *PostVoicemailMessagesUnauthorized) IsCode(code int) bool

IsCode returns true when this post voicemail messages unauthorized response a status code equal to that given

func (*PostVoicemailMessagesUnauthorized) IsRedirect

func (o *PostVoicemailMessagesUnauthorized) IsRedirect() bool

IsRedirect returns true when this post voicemail messages unauthorized response has a 3xx status code

func (*PostVoicemailMessagesUnauthorized) IsServerError

func (o *PostVoicemailMessagesUnauthorized) IsServerError() bool

IsServerError returns true when this post voicemail messages unauthorized response has a 5xx status code

func (*PostVoicemailMessagesUnauthorized) IsSuccess

func (o *PostVoicemailMessagesUnauthorized) IsSuccess() bool

IsSuccess returns true when this post voicemail messages unauthorized response has a 2xx status code

func (*PostVoicemailMessagesUnauthorized) String

type PostVoicemailMessagesUnsupportedMediaType

type PostVoicemailMessagesUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostVoicemailMessagesUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostVoicemailMessagesUnsupportedMediaType

func NewPostVoicemailMessagesUnsupportedMediaType() *PostVoicemailMessagesUnsupportedMediaType

NewPostVoicemailMessagesUnsupportedMediaType creates a PostVoicemailMessagesUnsupportedMediaType with default headers values

func (*PostVoicemailMessagesUnsupportedMediaType) Error

func (*PostVoicemailMessagesUnsupportedMediaType) GetPayload

func (*PostVoicemailMessagesUnsupportedMediaType) IsClientError

IsClientError returns true when this post voicemail messages unsupported media type response has a 4xx status code

func (*PostVoicemailMessagesUnsupportedMediaType) IsCode

IsCode returns true when this post voicemail messages unsupported media type response a status code equal to that given

func (*PostVoicemailMessagesUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post voicemail messages unsupported media type response has a 3xx status code

func (*PostVoicemailMessagesUnsupportedMediaType) IsServerError

IsServerError returns true when this post voicemail messages unsupported media type response has a 5xx status code

func (*PostVoicemailMessagesUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post voicemail messages unsupported media type response has a 2xx status code

func (*PostVoicemailMessagesUnsupportedMediaType) String

type PostVoicemailSearchBadRequest

type PostVoicemailSearchBadRequest struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPostVoicemailSearchBadRequest

func NewPostVoicemailSearchBadRequest() *PostVoicemailSearchBadRequest

NewPostVoicemailSearchBadRequest creates a PostVoicemailSearchBadRequest with default headers values

func (*PostVoicemailSearchBadRequest) Error

func (*PostVoicemailSearchBadRequest) GetPayload

func (*PostVoicemailSearchBadRequest) IsClientError

func (o *PostVoicemailSearchBadRequest) IsClientError() bool

IsClientError returns true when this post voicemail search bad request response has a 4xx status code

func (*PostVoicemailSearchBadRequest) IsCode

func (o *PostVoicemailSearchBadRequest) IsCode(code int) bool

IsCode returns true when this post voicemail search bad request response a status code equal to that given

func (*PostVoicemailSearchBadRequest) IsRedirect

func (o *PostVoicemailSearchBadRequest) IsRedirect() bool

IsRedirect returns true when this post voicemail search bad request response has a 3xx status code

func (*PostVoicemailSearchBadRequest) IsServerError

func (o *PostVoicemailSearchBadRequest) IsServerError() bool

IsServerError returns true when this post voicemail search bad request response has a 5xx status code

func (*PostVoicemailSearchBadRequest) IsSuccess

func (o *PostVoicemailSearchBadRequest) IsSuccess() bool

IsSuccess returns true when this post voicemail search bad request response has a 2xx status code

func (*PostVoicemailSearchBadRequest) String

type PostVoicemailSearchForbidden

type PostVoicemailSearchForbidden struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPostVoicemailSearchForbidden

func NewPostVoicemailSearchForbidden() *PostVoicemailSearchForbidden

NewPostVoicemailSearchForbidden creates a PostVoicemailSearchForbidden with default headers values

func (*PostVoicemailSearchForbidden) Error

func (*PostVoicemailSearchForbidden) GetPayload

func (*PostVoicemailSearchForbidden) IsClientError

func (o *PostVoicemailSearchForbidden) IsClientError() bool

IsClientError returns true when this post voicemail search forbidden response has a 4xx status code

func (*PostVoicemailSearchForbidden) IsCode

func (o *PostVoicemailSearchForbidden) IsCode(code int) bool

IsCode returns true when this post voicemail search forbidden response a status code equal to that given

func (*PostVoicemailSearchForbidden) IsRedirect

func (o *PostVoicemailSearchForbidden) IsRedirect() bool

IsRedirect returns true when this post voicemail search forbidden response has a 3xx status code

func (*PostVoicemailSearchForbidden) IsServerError

func (o *PostVoicemailSearchForbidden) IsServerError() bool

IsServerError returns true when this post voicemail search forbidden response has a 5xx status code

func (*PostVoicemailSearchForbidden) IsSuccess

func (o *PostVoicemailSearchForbidden) IsSuccess() bool

IsSuccess returns true when this post voicemail search forbidden response has a 2xx status code

func (*PostVoicemailSearchForbidden) String

type PostVoicemailSearchGatewayTimeout

type PostVoicemailSearchGatewayTimeout struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPostVoicemailSearchGatewayTimeout

func NewPostVoicemailSearchGatewayTimeout() *PostVoicemailSearchGatewayTimeout

NewPostVoicemailSearchGatewayTimeout creates a PostVoicemailSearchGatewayTimeout with default headers values

func (*PostVoicemailSearchGatewayTimeout) Error

func (*PostVoicemailSearchGatewayTimeout) GetPayload

func (*PostVoicemailSearchGatewayTimeout) IsClientError

func (o *PostVoicemailSearchGatewayTimeout) IsClientError() bool

IsClientError returns true when this post voicemail search gateway timeout response has a 4xx status code

func (*PostVoicemailSearchGatewayTimeout) IsCode

func (o *PostVoicemailSearchGatewayTimeout) IsCode(code int) bool

IsCode returns true when this post voicemail search gateway timeout response a status code equal to that given

func (*PostVoicemailSearchGatewayTimeout) IsRedirect

func (o *PostVoicemailSearchGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this post voicemail search gateway timeout response has a 3xx status code

func (*PostVoicemailSearchGatewayTimeout) IsServerError

func (o *PostVoicemailSearchGatewayTimeout) IsServerError() bool

IsServerError returns true when this post voicemail search gateway timeout response has a 5xx status code

func (*PostVoicemailSearchGatewayTimeout) IsSuccess

func (o *PostVoicemailSearchGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this post voicemail search gateway timeout response has a 2xx status code

func (*PostVoicemailSearchGatewayTimeout) String

type PostVoicemailSearchInternalServerError

type PostVoicemailSearchInternalServerError struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPostVoicemailSearchInternalServerError

func NewPostVoicemailSearchInternalServerError() *PostVoicemailSearchInternalServerError

NewPostVoicemailSearchInternalServerError creates a PostVoicemailSearchInternalServerError with default headers values

func (*PostVoicemailSearchInternalServerError) Error

func (*PostVoicemailSearchInternalServerError) GetPayload

func (*PostVoicemailSearchInternalServerError) IsClientError

func (o *PostVoicemailSearchInternalServerError) IsClientError() bool

IsClientError returns true when this post voicemail search internal server error response has a 4xx status code

func (*PostVoicemailSearchInternalServerError) IsCode

IsCode returns true when this post voicemail search internal server error response a status code equal to that given

func (*PostVoicemailSearchInternalServerError) IsRedirect

IsRedirect returns true when this post voicemail search internal server error response has a 3xx status code

func (*PostVoicemailSearchInternalServerError) IsServerError

func (o *PostVoicemailSearchInternalServerError) IsServerError() bool

IsServerError returns true when this post voicemail search internal server error response has a 5xx status code

func (*PostVoicemailSearchInternalServerError) IsSuccess

IsSuccess returns true when this post voicemail search internal server error response has a 2xx status code

func (*PostVoicemailSearchInternalServerError) String

type PostVoicemailSearchNotFound

type PostVoicemailSearchNotFound struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPostVoicemailSearchNotFound

func NewPostVoicemailSearchNotFound() *PostVoicemailSearchNotFound

NewPostVoicemailSearchNotFound creates a PostVoicemailSearchNotFound with default headers values

func (*PostVoicemailSearchNotFound) Error

func (*PostVoicemailSearchNotFound) GetPayload

func (o *PostVoicemailSearchNotFound) GetPayload() *models.ErrorBody

func (*PostVoicemailSearchNotFound) IsClientError

func (o *PostVoicemailSearchNotFound) IsClientError() bool

IsClientError returns true when this post voicemail search not found response has a 4xx status code

func (*PostVoicemailSearchNotFound) IsCode

func (o *PostVoicemailSearchNotFound) IsCode(code int) bool

IsCode returns true when this post voicemail search not found response a status code equal to that given

func (*PostVoicemailSearchNotFound) IsRedirect

func (o *PostVoicemailSearchNotFound) IsRedirect() bool

IsRedirect returns true when this post voicemail search not found response has a 3xx status code

func (*PostVoicemailSearchNotFound) IsServerError

func (o *PostVoicemailSearchNotFound) IsServerError() bool

IsServerError returns true when this post voicemail search not found response has a 5xx status code

func (*PostVoicemailSearchNotFound) IsSuccess

func (o *PostVoicemailSearchNotFound) IsSuccess() bool

IsSuccess returns true when this post voicemail search not found response has a 2xx status code

func (*PostVoicemailSearchNotFound) String

func (o *PostVoicemailSearchNotFound) String() string

type PostVoicemailSearchOK

type PostVoicemailSearchOK struct {
	Payload *models.VoicemailsSearchResponse
}

PostVoicemailSearchOK describes a response with status code 200, with default header values.

successful operation

func NewPostVoicemailSearchOK

func NewPostVoicemailSearchOK() *PostVoicemailSearchOK

NewPostVoicemailSearchOK creates a PostVoicemailSearchOK with default headers values

func (*PostVoicemailSearchOK) Error

func (o *PostVoicemailSearchOK) Error() string

func (*PostVoicemailSearchOK) GetPayload

func (*PostVoicemailSearchOK) IsClientError

func (o *PostVoicemailSearchOK) IsClientError() bool

IsClientError returns true when this post voicemail search o k response has a 4xx status code

func (*PostVoicemailSearchOK) IsCode

func (o *PostVoicemailSearchOK) IsCode(code int) bool

IsCode returns true when this post voicemail search o k response a status code equal to that given

func (*PostVoicemailSearchOK) IsRedirect

func (o *PostVoicemailSearchOK) IsRedirect() bool

IsRedirect returns true when this post voicemail search o k response has a 3xx status code

func (*PostVoicemailSearchOK) IsServerError

func (o *PostVoicemailSearchOK) IsServerError() bool

IsServerError returns true when this post voicemail search o k response has a 5xx status code

func (*PostVoicemailSearchOK) IsSuccess

func (o *PostVoicemailSearchOK) IsSuccess() bool

IsSuccess returns true when this post voicemail search o k response has a 2xx status code

func (*PostVoicemailSearchOK) String

func (o *PostVoicemailSearchOK) String() string

type PostVoicemailSearchParams

type PostVoicemailSearchParams struct {

	/* Body.

	   Search request options
	*/
	Body *models.VoicemailSearchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostVoicemailSearchParams contains all the parameters to send to the API endpoint

for the post voicemail search operation.

Typically these are written to a http.Request.

func NewPostVoicemailSearchParams

func NewPostVoicemailSearchParams() *PostVoicemailSearchParams

NewPostVoicemailSearchParams creates a new PostVoicemailSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostVoicemailSearchParamsWithContext

func NewPostVoicemailSearchParamsWithContext(ctx context.Context) *PostVoicemailSearchParams

NewPostVoicemailSearchParamsWithContext creates a new PostVoicemailSearchParams object with the ability to set a context for a request.

func NewPostVoicemailSearchParamsWithHTTPClient

func NewPostVoicemailSearchParamsWithHTTPClient(client *http.Client) *PostVoicemailSearchParams

NewPostVoicemailSearchParamsWithHTTPClient creates a new PostVoicemailSearchParams object with the ability to set a custom HTTPClient for a request.

func NewPostVoicemailSearchParamsWithTimeout

func NewPostVoicemailSearchParamsWithTimeout(timeout time.Duration) *PostVoicemailSearchParams

NewPostVoicemailSearchParamsWithTimeout creates a new PostVoicemailSearchParams object with the ability to set a timeout on a request.

func (*PostVoicemailSearchParams) SetBody

SetBody adds the body to the post voicemail search params

func (*PostVoicemailSearchParams) SetContext

func (o *PostVoicemailSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the post voicemail search params

func (*PostVoicemailSearchParams) SetDefaults

func (o *PostVoicemailSearchParams) SetDefaults()

SetDefaults hydrates default values in the post voicemail search params (not the query body).

All values with no default are reset to their zero value.

func (*PostVoicemailSearchParams) SetHTTPClient

func (o *PostVoicemailSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post voicemail search params

func (*PostVoicemailSearchParams) SetTimeout

func (o *PostVoicemailSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post voicemail search params

func (*PostVoicemailSearchParams) WithBody

WithBody adds the body to the post voicemail search params

func (*PostVoicemailSearchParams) WithContext

WithContext adds the context to the post voicemail search params

func (*PostVoicemailSearchParams) WithDefaults

WithDefaults hydrates default values in the post voicemail search params (not the query body).

All values with no default are reset to their zero value.

func (*PostVoicemailSearchParams) WithHTTPClient

func (o *PostVoicemailSearchParams) WithHTTPClient(client *http.Client) *PostVoicemailSearchParams

WithHTTPClient adds the HTTPClient to the post voicemail search params

func (*PostVoicemailSearchParams) WithTimeout

WithTimeout adds the timeout to the post voicemail search params

func (*PostVoicemailSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostVoicemailSearchReader

type PostVoicemailSearchReader struct {
	// contains filtered or unexported fields
}

PostVoicemailSearchReader is a Reader for the PostVoicemailSearch structure.

func (*PostVoicemailSearchReader) ReadResponse

func (o *PostVoicemailSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostVoicemailSearchRequestEntityTooLarge

type PostVoicemailSearchRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPostVoicemailSearchRequestEntityTooLarge

func NewPostVoicemailSearchRequestEntityTooLarge() *PostVoicemailSearchRequestEntityTooLarge

NewPostVoicemailSearchRequestEntityTooLarge creates a PostVoicemailSearchRequestEntityTooLarge with default headers values

func (*PostVoicemailSearchRequestEntityTooLarge) Error

func (*PostVoicemailSearchRequestEntityTooLarge) GetPayload

func (*PostVoicemailSearchRequestEntityTooLarge) IsClientError

IsClientError returns true when this post voicemail search request entity too large response has a 4xx status code

func (*PostVoicemailSearchRequestEntityTooLarge) IsCode

IsCode returns true when this post voicemail search request entity too large response a status code equal to that given

func (*PostVoicemailSearchRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this post voicemail search request entity too large response has a 3xx status code

func (*PostVoicemailSearchRequestEntityTooLarge) IsServerError

IsServerError returns true when this post voicemail search request entity too large response has a 5xx status code

func (*PostVoicemailSearchRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this post voicemail search request entity too large response has a 2xx status code

func (*PostVoicemailSearchRequestEntityTooLarge) String

type PostVoicemailSearchRequestTimeout

type PostVoicemailSearchRequestTimeout struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPostVoicemailSearchRequestTimeout

func NewPostVoicemailSearchRequestTimeout() *PostVoicemailSearchRequestTimeout

NewPostVoicemailSearchRequestTimeout creates a PostVoicemailSearchRequestTimeout with default headers values

func (*PostVoicemailSearchRequestTimeout) Error

func (*PostVoicemailSearchRequestTimeout) GetPayload

func (*PostVoicemailSearchRequestTimeout) IsClientError

func (o *PostVoicemailSearchRequestTimeout) IsClientError() bool

IsClientError returns true when this post voicemail search request timeout response has a 4xx status code

func (*PostVoicemailSearchRequestTimeout) IsCode

func (o *PostVoicemailSearchRequestTimeout) IsCode(code int) bool

IsCode returns true when this post voicemail search request timeout response a status code equal to that given

func (*PostVoicemailSearchRequestTimeout) IsRedirect

func (o *PostVoicemailSearchRequestTimeout) IsRedirect() bool

IsRedirect returns true when this post voicemail search request timeout response has a 3xx status code

func (*PostVoicemailSearchRequestTimeout) IsServerError

func (o *PostVoicemailSearchRequestTimeout) IsServerError() bool

IsServerError returns true when this post voicemail search request timeout response has a 5xx status code

func (*PostVoicemailSearchRequestTimeout) IsSuccess

func (o *PostVoicemailSearchRequestTimeout) IsSuccess() bool

IsSuccess returns true when this post voicemail search request timeout response has a 2xx status code

func (*PostVoicemailSearchRequestTimeout) String

type PostVoicemailSearchServiceUnavailable

type PostVoicemailSearchServiceUnavailable struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPostVoicemailSearchServiceUnavailable

func NewPostVoicemailSearchServiceUnavailable() *PostVoicemailSearchServiceUnavailable

NewPostVoicemailSearchServiceUnavailable creates a PostVoicemailSearchServiceUnavailable with default headers values

func (*PostVoicemailSearchServiceUnavailable) Error

func (*PostVoicemailSearchServiceUnavailable) GetPayload

func (*PostVoicemailSearchServiceUnavailable) IsClientError

func (o *PostVoicemailSearchServiceUnavailable) IsClientError() bool

IsClientError returns true when this post voicemail search service unavailable response has a 4xx status code

func (*PostVoicemailSearchServiceUnavailable) IsCode

IsCode returns true when this post voicemail search service unavailable response a status code equal to that given

func (*PostVoicemailSearchServiceUnavailable) IsRedirect

IsRedirect returns true when this post voicemail search service unavailable response has a 3xx status code

func (*PostVoicemailSearchServiceUnavailable) IsServerError

func (o *PostVoicemailSearchServiceUnavailable) IsServerError() bool

IsServerError returns true when this post voicemail search service unavailable response has a 5xx status code

func (*PostVoicemailSearchServiceUnavailable) IsSuccess

IsSuccess returns true when this post voicemail search service unavailable response has a 2xx status code

func (*PostVoicemailSearchServiceUnavailable) String

type PostVoicemailSearchTooManyRequests

type PostVoicemailSearchTooManyRequests struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPostVoicemailSearchTooManyRequests

func NewPostVoicemailSearchTooManyRequests() *PostVoicemailSearchTooManyRequests

NewPostVoicemailSearchTooManyRequests creates a PostVoicemailSearchTooManyRequests with default headers values

func (*PostVoicemailSearchTooManyRequests) Error

func (*PostVoicemailSearchTooManyRequests) GetPayload

func (*PostVoicemailSearchTooManyRequests) IsClientError

func (o *PostVoicemailSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this post voicemail search too many requests response has a 4xx status code

func (*PostVoicemailSearchTooManyRequests) IsCode

IsCode returns true when this post voicemail search too many requests response a status code equal to that given

func (*PostVoicemailSearchTooManyRequests) IsRedirect

func (o *PostVoicemailSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this post voicemail search too many requests response has a 3xx status code

func (*PostVoicemailSearchTooManyRequests) IsServerError

func (o *PostVoicemailSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this post voicemail search too many requests response has a 5xx status code

func (*PostVoicemailSearchTooManyRequests) IsSuccess

IsSuccess returns true when this post voicemail search too many requests response has a 2xx status code

func (*PostVoicemailSearchTooManyRequests) String

type PostVoicemailSearchUnauthorized

type PostVoicemailSearchUnauthorized struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPostVoicemailSearchUnauthorized

func NewPostVoicemailSearchUnauthorized() *PostVoicemailSearchUnauthorized

NewPostVoicemailSearchUnauthorized creates a PostVoicemailSearchUnauthorized with default headers values

func (*PostVoicemailSearchUnauthorized) Error

func (*PostVoicemailSearchUnauthorized) GetPayload

func (*PostVoicemailSearchUnauthorized) IsClientError

func (o *PostVoicemailSearchUnauthorized) IsClientError() bool

IsClientError returns true when this post voicemail search unauthorized response has a 4xx status code

func (*PostVoicemailSearchUnauthorized) IsCode

func (o *PostVoicemailSearchUnauthorized) IsCode(code int) bool

IsCode returns true when this post voicemail search unauthorized response a status code equal to that given

func (*PostVoicemailSearchUnauthorized) IsRedirect

func (o *PostVoicemailSearchUnauthorized) IsRedirect() bool

IsRedirect returns true when this post voicemail search unauthorized response has a 3xx status code

func (*PostVoicemailSearchUnauthorized) IsServerError

func (o *PostVoicemailSearchUnauthorized) IsServerError() bool

IsServerError returns true when this post voicemail search unauthorized response has a 5xx status code

func (*PostVoicemailSearchUnauthorized) IsSuccess

func (o *PostVoicemailSearchUnauthorized) IsSuccess() bool

IsSuccess returns true when this post voicemail search unauthorized response has a 2xx status code

func (*PostVoicemailSearchUnauthorized) String

type PostVoicemailSearchUnsupportedMediaType

type PostVoicemailSearchUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PostVoicemailSearchUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPostVoicemailSearchUnsupportedMediaType

func NewPostVoicemailSearchUnsupportedMediaType() *PostVoicemailSearchUnsupportedMediaType

NewPostVoicemailSearchUnsupportedMediaType creates a PostVoicemailSearchUnsupportedMediaType with default headers values

func (*PostVoicemailSearchUnsupportedMediaType) Error

func (*PostVoicemailSearchUnsupportedMediaType) GetPayload

func (*PostVoicemailSearchUnsupportedMediaType) IsClientError

func (o *PostVoicemailSearchUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this post voicemail search unsupported media type response has a 4xx status code

func (*PostVoicemailSearchUnsupportedMediaType) IsCode

IsCode returns true when this post voicemail search unsupported media type response a status code equal to that given

func (*PostVoicemailSearchUnsupportedMediaType) IsRedirect

IsRedirect returns true when this post voicemail search unsupported media type response has a 3xx status code

func (*PostVoicemailSearchUnsupportedMediaType) IsServerError

func (o *PostVoicemailSearchUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this post voicemail search unsupported media type response has a 5xx status code

func (*PostVoicemailSearchUnsupportedMediaType) IsSuccess

IsSuccess returns true when this post voicemail search unsupported media type response has a 2xx status code

func (*PostVoicemailSearchUnsupportedMediaType) String

type PutVoicemailMessageBadRequest

type PutVoicemailMessageBadRequest struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPutVoicemailMessageBadRequest

func NewPutVoicemailMessageBadRequest() *PutVoicemailMessageBadRequest

NewPutVoicemailMessageBadRequest creates a PutVoicemailMessageBadRequest with default headers values

func (*PutVoicemailMessageBadRequest) Error

func (*PutVoicemailMessageBadRequest) GetPayload

func (*PutVoicemailMessageBadRequest) IsClientError

func (o *PutVoicemailMessageBadRequest) IsClientError() bool

IsClientError returns true when this put voicemail message bad request response has a 4xx status code

func (*PutVoicemailMessageBadRequest) IsCode

func (o *PutVoicemailMessageBadRequest) IsCode(code int) bool

IsCode returns true when this put voicemail message bad request response a status code equal to that given

func (*PutVoicemailMessageBadRequest) IsRedirect

func (o *PutVoicemailMessageBadRequest) IsRedirect() bool

IsRedirect returns true when this put voicemail message bad request response has a 3xx status code

func (*PutVoicemailMessageBadRequest) IsServerError

func (o *PutVoicemailMessageBadRequest) IsServerError() bool

IsServerError returns true when this put voicemail message bad request response has a 5xx status code

func (*PutVoicemailMessageBadRequest) IsSuccess

func (o *PutVoicemailMessageBadRequest) IsSuccess() bool

IsSuccess returns true when this put voicemail message bad request response has a 2xx status code

func (*PutVoicemailMessageBadRequest) String

type PutVoicemailMessageConflict

type PutVoicemailMessageConflict struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageConflict describes a response with status code 409, with default header values.

Conflict

func NewPutVoicemailMessageConflict

func NewPutVoicemailMessageConflict() *PutVoicemailMessageConflict

NewPutVoicemailMessageConflict creates a PutVoicemailMessageConflict with default headers values

func (*PutVoicemailMessageConflict) Error

func (*PutVoicemailMessageConflict) GetPayload

func (o *PutVoicemailMessageConflict) GetPayload() *models.ErrorBody

func (*PutVoicemailMessageConflict) IsClientError

func (o *PutVoicemailMessageConflict) IsClientError() bool

IsClientError returns true when this put voicemail message conflict response has a 4xx status code

func (*PutVoicemailMessageConflict) IsCode

func (o *PutVoicemailMessageConflict) IsCode(code int) bool

IsCode returns true when this put voicemail message conflict response a status code equal to that given

func (*PutVoicemailMessageConflict) IsRedirect

func (o *PutVoicemailMessageConflict) IsRedirect() bool

IsRedirect returns true when this put voicemail message conflict response has a 3xx status code

func (*PutVoicemailMessageConflict) IsServerError

func (o *PutVoicemailMessageConflict) IsServerError() bool

IsServerError returns true when this put voicemail message conflict response has a 5xx status code

func (*PutVoicemailMessageConflict) IsSuccess

func (o *PutVoicemailMessageConflict) IsSuccess() bool

IsSuccess returns true when this put voicemail message conflict response has a 2xx status code

func (*PutVoicemailMessageConflict) String

func (o *PutVoicemailMessageConflict) String() string

type PutVoicemailMessageForbidden

type PutVoicemailMessageForbidden struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPutVoicemailMessageForbidden

func NewPutVoicemailMessageForbidden() *PutVoicemailMessageForbidden

NewPutVoicemailMessageForbidden creates a PutVoicemailMessageForbidden with default headers values

func (*PutVoicemailMessageForbidden) Error

func (*PutVoicemailMessageForbidden) GetPayload

func (*PutVoicemailMessageForbidden) IsClientError

func (o *PutVoicemailMessageForbidden) IsClientError() bool

IsClientError returns true when this put voicemail message forbidden response has a 4xx status code

func (*PutVoicemailMessageForbidden) IsCode

func (o *PutVoicemailMessageForbidden) IsCode(code int) bool

IsCode returns true when this put voicemail message forbidden response a status code equal to that given

func (*PutVoicemailMessageForbidden) IsRedirect

func (o *PutVoicemailMessageForbidden) IsRedirect() bool

IsRedirect returns true when this put voicemail message forbidden response has a 3xx status code

func (*PutVoicemailMessageForbidden) IsServerError

func (o *PutVoicemailMessageForbidden) IsServerError() bool

IsServerError returns true when this put voicemail message forbidden response has a 5xx status code

func (*PutVoicemailMessageForbidden) IsSuccess

func (o *PutVoicemailMessageForbidden) IsSuccess() bool

IsSuccess returns true when this put voicemail message forbidden response has a 2xx status code

func (*PutVoicemailMessageForbidden) String

type PutVoicemailMessageGatewayTimeout

type PutVoicemailMessageGatewayTimeout struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPutVoicemailMessageGatewayTimeout

func NewPutVoicemailMessageGatewayTimeout() *PutVoicemailMessageGatewayTimeout

NewPutVoicemailMessageGatewayTimeout creates a PutVoicemailMessageGatewayTimeout with default headers values

func (*PutVoicemailMessageGatewayTimeout) Error

func (*PutVoicemailMessageGatewayTimeout) GetPayload

func (*PutVoicemailMessageGatewayTimeout) IsClientError

func (o *PutVoicemailMessageGatewayTimeout) IsClientError() bool

IsClientError returns true when this put voicemail message gateway timeout response has a 4xx status code

func (*PutVoicemailMessageGatewayTimeout) IsCode

func (o *PutVoicemailMessageGatewayTimeout) IsCode(code int) bool

IsCode returns true when this put voicemail message gateway timeout response a status code equal to that given

func (*PutVoicemailMessageGatewayTimeout) IsRedirect

func (o *PutVoicemailMessageGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this put voicemail message gateway timeout response has a 3xx status code

func (*PutVoicemailMessageGatewayTimeout) IsServerError

func (o *PutVoicemailMessageGatewayTimeout) IsServerError() bool

IsServerError returns true when this put voicemail message gateway timeout response has a 5xx status code

func (*PutVoicemailMessageGatewayTimeout) IsSuccess

func (o *PutVoicemailMessageGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this put voicemail message gateway timeout response has a 2xx status code

func (*PutVoicemailMessageGatewayTimeout) String

type PutVoicemailMessageInternalServerError

type PutVoicemailMessageInternalServerError struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPutVoicemailMessageInternalServerError

func NewPutVoicemailMessageInternalServerError() *PutVoicemailMessageInternalServerError

NewPutVoicemailMessageInternalServerError creates a PutVoicemailMessageInternalServerError with default headers values

func (*PutVoicemailMessageInternalServerError) Error

func (*PutVoicemailMessageInternalServerError) GetPayload

func (*PutVoicemailMessageInternalServerError) IsClientError

func (o *PutVoicemailMessageInternalServerError) IsClientError() bool

IsClientError returns true when this put voicemail message internal server error response has a 4xx status code

func (*PutVoicemailMessageInternalServerError) IsCode

IsCode returns true when this put voicemail message internal server error response a status code equal to that given

func (*PutVoicemailMessageInternalServerError) IsRedirect

IsRedirect returns true when this put voicemail message internal server error response has a 3xx status code

func (*PutVoicemailMessageInternalServerError) IsServerError

func (o *PutVoicemailMessageInternalServerError) IsServerError() bool

IsServerError returns true when this put voicemail message internal server error response has a 5xx status code

func (*PutVoicemailMessageInternalServerError) IsSuccess

IsSuccess returns true when this put voicemail message internal server error response has a 2xx status code

func (*PutVoicemailMessageInternalServerError) String

type PutVoicemailMessageNotFound

type PutVoicemailMessageNotFound struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPutVoicemailMessageNotFound

func NewPutVoicemailMessageNotFound() *PutVoicemailMessageNotFound

NewPutVoicemailMessageNotFound creates a PutVoicemailMessageNotFound with default headers values

func (*PutVoicemailMessageNotFound) Error

func (*PutVoicemailMessageNotFound) GetPayload

func (o *PutVoicemailMessageNotFound) GetPayload() *models.ErrorBody

func (*PutVoicemailMessageNotFound) IsClientError

func (o *PutVoicemailMessageNotFound) IsClientError() bool

IsClientError returns true when this put voicemail message not found response has a 4xx status code

func (*PutVoicemailMessageNotFound) IsCode

func (o *PutVoicemailMessageNotFound) IsCode(code int) bool

IsCode returns true when this put voicemail message not found response a status code equal to that given

func (*PutVoicemailMessageNotFound) IsRedirect

func (o *PutVoicemailMessageNotFound) IsRedirect() bool

IsRedirect returns true when this put voicemail message not found response has a 3xx status code

func (*PutVoicemailMessageNotFound) IsServerError

func (o *PutVoicemailMessageNotFound) IsServerError() bool

IsServerError returns true when this put voicemail message not found response has a 5xx status code

func (*PutVoicemailMessageNotFound) IsSuccess

func (o *PutVoicemailMessageNotFound) IsSuccess() bool

IsSuccess returns true when this put voicemail message not found response has a 2xx status code

func (*PutVoicemailMessageNotFound) String

func (o *PutVoicemailMessageNotFound) String() string

type PutVoicemailMessageOK

type PutVoicemailMessageOK struct {
	Payload *models.VoicemailMessage
}

PutVoicemailMessageOK describes a response with status code 200, with default header values.

successful operation

func NewPutVoicemailMessageOK

func NewPutVoicemailMessageOK() *PutVoicemailMessageOK

NewPutVoicemailMessageOK creates a PutVoicemailMessageOK with default headers values

func (*PutVoicemailMessageOK) Error

func (o *PutVoicemailMessageOK) Error() string

func (*PutVoicemailMessageOK) GetPayload

func (*PutVoicemailMessageOK) IsClientError

func (o *PutVoicemailMessageOK) IsClientError() bool

IsClientError returns true when this put voicemail message o k response has a 4xx status code

func (*PutVoicemailMessageOK) IsCode

func (o *PutVoicemailMessageOK) IsCode(code int) bool

IsCode returns true when this put voicemail message o k response a status code equal to that given

func (*PutVoicemailMessageOK) IsRedirect

func (o *PutVoicemailMessageOK) IsRedirect() bool

IsRedirect returns true when this put voicemail message o k response has a 3xx status code

func (*PutVoicemailMessageOK) IsServerError

func (o *PutVoicemailMessageOK) IsServerError() bool

IsServerError returns true when this put voicemail message o k response has a 5xx status code

func (*PutVoicemailMessageOK) IsSuccess

func (o *PutVoicemailMessageOK) IsSuccess() bool

IsSuccess returns true when this put voicemail message o k response has a 2xx status code

func (*PutVoicemailMessageOK) String

func (o *PutVoicemailMessageOK) String() string

type PutVoicemailMessageParams

type PutVoicemailMessageParams struct {

	/* Body.

	   VoicemailMessage
	*/
	Body *models.VoicemailMessage

	/* MessageID.

	   Message ID
	*/
	MessageID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutVoicemailMessageParams contains all the parameters to send to the API endpoint

for the put voicemail message operation.

Typically these are written to a http.Request.

func NewPutVoicemailMessageParams

func NewPutVoicemailMessageParams() *PutVoicemailMessageParams

NewPutVoicemailMessageParams creates a new PutVoicemailMessageParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutVoicemailMessageParamsWithContext

func NewPutVoicemailMessageParamsWithContext(ctx context.Context) *PutVoicemailMessageParams

NewPutVoicemailMessageParamsWithContext creates a new PutVoicemailMessageParams object with the ability to set a context for a request.

func NewPutVoicemailMessageParamsWithHTTPClient

func NewPutVoicemailMessageParamsWithHTTPClient(client *http.Client) *PutVoicemailMessageParams

NewPutVoicemailMessageParamsWithHTTPClient creates a new PutVoicemailMessageParams object with the ability to set a custom HTTPClient for a request.

func NewPutVoicemailMessageParamsWithTimeout

func NewPutVoicemailMessageParamsWithTimeout(timeout time.Duration) *PutVoicemailMessageParams

NewPutVoicemailMessageParamsWithTimeout creates a new PutVoicemailMessageParams object with the ability to set a timeout on a request.

func (*PutVoicemailMessageParams) SetBody

SetBody adds the body to the put voicemail message params

func (*PutVoicemailMessageParams) SetContext

func (o *PutVoicemailMessageParams) SetContext(ctx context.Context)

SetContext adds the context to the put voicemail message params

func (*PutVoicemailMessageParams) SetDefaults

func (o *PutVoicemailMessageParams) SetDefaults()

SetDefaults hydrates default values in the put voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*PutVoicemailMessageParams) SetHTTPClient

func (o *PutVoicemailMessageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put voicemail message params

func (*PutVoicemailMessageParams) SetMessageID

func (o *PutVoicemailMessageParams) SetMessageID(messageID string)

SetMessageID adds the messageId to the put voicemail message params

func (*PutVoicemailMessageParams) SetTimeout

func (o *PutVoicemailMessageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put voicemail message params

func (*PutVoicemailMessageParams) WithBody

WithBody adds the body to the put voicemail message params

func (*PutVoicemailMessageParams) WithContext

WithContext adds the context to the put voicemail message params

func (*PutVoicemailMessageParams) WithDefaults

WithDefaults hydrates default values in the put voicemail message params (not the query body).

All values with no default are reset to their zero value.

func (*PutVoicemailMessageParams) WithHTTPClient

func (o *PutVoicemailMessageParams) WithHTTPClient(client *http.Client) *PutVoicemailMessageParams

WithHTTPClient adds the HTTPClient to the put voicemail message params

func (*PutVoicemailMessageParams) WithMessageID

func (o *PutVoicemailMessageParams) WithMessageID(messageID string) *PutVoicemailMessageParams

WithMessageID adds the messageID to the put voicemail message params

func (*PutVoicemailMessageParams) WithTimeout

WithTimeout adds the timeout to the put voicemail message params

func (*PutVoicemailMessageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutVoicemailMessageReader

type PutVoicemailMessageReader struct {
	// contains filtered or unexported fields
}

PutVoicemailMessageReader is a Reader for the PutVoicemailMessage structure.

func (*PutVoicemailMessageReader) ReadResponse

func (o *PutVoicemailMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutVoicemailMessageRequestEntityTooLarge

type PutVoicemailMessageRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPutVoicemailMessageRequestEntityTooLarge

func NewPutVoicemailMessageRequestEntityTooLarge() *PutVoicemailMessageRequestEntityTooLarge

NewPutVoicemailMessageRequestEntityTooLarge creates a PutVoicemailMessageRequestEntityTooLarge with default headers values

func (*PutVoicemailMessageRequestEntityTooLarge) Error

func (*PutVoicemailMessageRequestEntityTooLarge) GetPayload

func (*PutVoicemailMessageRequestEntityTooLarge) IsClientError

IsClientError returns true when this put voicemail message request entity too large response has a 4xx status code

func (*PutVoicemailMessageRequestEntityTooLarge) IsCode

IsCode returns true when this put voicemail message request entity too large response a status code equal to that given

func (*PutVoicemailMessageRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put voicemail message request entity too large response has a 3xx status code

func (*PutVoicemailMessageRequestEntityTooLarge) IsServerError

IsServerError returns true when this put voicemail message request entity too large response has a 5xx status code

func (*PutVoicemailMessageRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put voicemail message request entity too large response has a 2xx status code

func (*PutVoicemailMessageRequestEntityTooLarge) String

type PutVoicemailMessageRequestTimeout

type PutVoicemailMessageRequestTimeout struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPutVoicemailMessageRequestTimeout

func NewPutVoicemailMessageRequestTimeout() *PutVoicemailMessageRequestTimeout

NewPutVoicemailMessageRequestTimeout creates a PutVoicemailMessageRequestTimeout with default headers values

func (*PutVoicemailMessageRequestTimeout) Error

func (*PutVoicemailMessageRequestTimeout) GetPayload

func (*PutVoicemailMessageRequestTimeout) IsClientError

func (o *PutVoicemailMessageRequestTimeout) IsClientError() bool

IsClientError returns true when this put voicemail message request timeout response has a 4xx status code

func (*PutVoicemailMessageRequestTimeout) IsCode

func (o *PutVoicemailMessageRequestTimeout) IsCode(code int) bool

IsCode returns true when this put voicemail message request timeout response a status code equal to that given

func (*PutVoicemailMessageRequestTimeout) IsRedirect

func (o *PutVoicemailMessageRequestTimeout) IsRedirect() bool

IsRedirect returns true when this put voicemail message request timeout response has a 3xx status code

func (*PutVoicemailMessageRequestTimeout) IsServerError

func (o *PutVoicemailMessageRequestTimeout) IsServerError() bool

IsServerError returns true when this put voicemail message request timeout response has a 5xx status code

func (*PutVoicemailMessageRequestTimeout) IsSuccess

func (o *PutVoicemailMessageRequestTimeout) IsSuccess() bool

IsSuccess returns true when this put voicemail message request timeout response has a 2xx status code

func (*PutVoicemailMessageRequestTimeout) String

type PutVoicemailMessageServiceUnavailable

type PutVoicemailMessageServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPutVoicemailMessageServiceUnavailable

func NewPutVoicemailMessageServiceUnavailable() *PutVoicemailMessageServiceUnavailable

NewPutVoicemailMessageServiceUnavailable creates a PutVoicemailMessageServiceUnavailable with default headers values

func (*PutVoicemailMessageServiceUnavailable) Error

func (*PutVoicemailMessageServiceUnavailable) GetPayload

func (*PutVoicemailMessageServiceUnavailable) IsClientError

func (o *PutVoicemailMessageServiceUnavailable) IsClientError() bool

IsClientError returns true when this put voicemail message service unavailable response has a 4xx status code

func (*PutVoicemailMessageServiceUnavailable) IsCode

IsCode returns true when this put voicemail message service unavailable response a status code equal to that given

func (*PutVoicemailMessageServiceUnavailable) IsRedirect

IsRedirect returns true when this put voicemail message service unavailable response has a 3xx status code

func (*PutVoicemailMessageServiceUnavailable) IsServerError

func (o *PutVoicemailMessageServiceUnavailable) IsServerError() bool

IsServerError returns true when this put voicemail message service unavailable response has a 5xx status code

func (*PutVoicemailMessageServiceUnavailable) IsSuccess

IsSuccess returns true when this put voicemail message service unavailable response has a 2xx status code

func (*PutVoicemailMessageServiceUnavailable) String

type PutVoicemailMessageTooManyRequests

type PutVoicemailMessageTooManyRequests struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPutVoicemailMessageTooManyRequests

func NewPutVoicemailMessageTooManyRequests() *PutVoicemailMessageTooManyRequests

NewPutVoicemailMessageTooManyRequests creates a PutVoicemailMessageTooManyRequests with default headers values

func (*PutVoicemailMessageTooManyRequests) Error

func (*PutVoicemailMessageTooManyRequests) GetPayload

func (*PutVoicemailMessageTooManyRequests) IsClientError

func (o *PutVoicemailMessageTooManyRequests) IsClientError() bool

IsClientError returns true when this put voicemail message too many requests response has a 4xx status code

func (*PutVoicemailMessageTooManyRequests) IsCode

IsCode returns true when this put voicemail message too many requests response a status code equal to that given

func (*PutVoicemailMessageTooManyRequests) IsRedirect

func (o *PutVoicemailMessageTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put voicemail message too many requests response has a 3xx status code

func (*PutVoicemailMessageTooManyRequests) IsServerError

func (o *PutVoicemailMessageTooManyRequests) IsServerError() bool

IsServerError returns true when this put voicemail message too many requests response has a 5xx status code

func (*PutVoicemailMessageTooManyRequests) IsSuccess

IsSuccess returns true when this put voicemail message too many requests response has a 2xx status code

func (*PutVoicemailMessageTooManyRequests) String

type PutVoicemailMessageUnauthorized

type PutVoicemailMessageUnauthorized struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPutVoicemailMessageUnauthorized

func NewPutVoicemailMessageUnauthorized() *PutVoicemailMessageUnauthorized

NewPutVoicemailMessageUnauthorized creates a PutVoicemailMessageUnauthorized with default headers values

func (*PutVoicemailMessageUnauthorized) Error

func (*PutVoicemailMessageUnauthorized) GetPayload

func (*PutVoicemailMessageUnauthorized) IsClientError

func (o *PutVoicemailMessageUnauthorized) IsClientError() bool

IsClientError returns true when this put voicemail message unauthorized response has a 4xx status code

func (*PutVoicemailMessageUnauthorized) IsCode

func (o *PutVoicemailMessageUnauthorized) IsCode(code int) bool

IsCode returns true when this put voicemail message unauthorized response a status code equal to that given

func (*PutVoicemailMessageUnauthorized) IsRedirect

func (o *PutVoicemailMessageUnauthorized) IsRedirect() bool

IsRedirect returns true when this put voicemail message unauthorized response has a 3xx status code

func (*PutVoicemailMessageUnauthorized) IsServerError

func (o *PutVoicemailMessageUnauthorized) IsServerError() bool

IsServerError returns true when this put voicemail message unauthorized response has a 5xx status code

func (*PutVoicemailMessageUnauthorized) IsSuccess

func (o *PutVoicemailMessageUnauthorized) IsSuccess() bool

IsSuccess returns true when this put voicemail message unauthorized response has a 2xx status code

func (*PutVoicemailMessageUnauthorized) String

type PutVoicemailMessageUnsupportedMediaType

type PutVoicemailMessageUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutVoicemailMessageUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPutVoicemailMessageUnsupportedMediaType

func NewPutVoicemailMessageUnsupportedMediaType() *PutVoicemailMessageUnsupportedMediaType

NewPutVoicemailMessageUnsupportedMediaType creates a PutVoicemailMessageUnsupportedMediaType with default headers values

func (*PutVoicemailMessageUnsupportedMediaType) Error

func (*PutVoicemailMessageUnsupportedMediaType) GetPayload

func (*PutVoicemailMessageUnsupportedMediaType) IsClientError

func (o *PutVoicemailMessageUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this put voicemail message unsupported media type response has a 4xx status code

func (*PutVoicemailMessageUnsupportedMediaType) IsCode

IsCode returns true when this put voicemail message unsupported media type response a status code equal to that given

func (*PutVoicemailMessageUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put voicemail message unsupported media type response has a 3xx status code

func (*PutVoicemailMessageUnsupportedMediaType) IsServerError

func (o *PutVoicemailMessageUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this put voicemail message unsupported media type response has a 5xx status code

func (*PutVoicemailMessageUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put voicemail message unsupported media type response has a 2xx status code

func (*PutVoicemailMessageUnsupportedMediaType) String

type PutVoicemailPolicyBadRequest

type PutVoicemailPolicyBadRequest struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPutVoicemailPolicyBadRequest

func NewPutVoicemailPolicyBadRequest() *PutVoicemailPolicyBadRequest

NewPutVoicemailPolicyBadRequest creates a PutVoicemailPolicyBadRequest with default headers values

func (*PutVoicemailPolicyBadRequest) Error

func (*PutVoicemailPolicyBadRequest) GetPayload

func (*PutVoicemailPolicyBadRequest) IsClientError

func (o *PutVoicemailPolicyBadRequest) IsClientError() bool

IsClientError returns true when this put voicemail policy bad request response has a 4xx status code

func (*PutVoicemailPolicyBadRequest) IsCode

func (o *PutVoicemailPolicyBadRequest) IsCode(code int) bool

IsCode returns true when this put voicemail policy bad request response a status code equal to that given

func (*PutVoicemailPolicyBadRequest) IsRedirect

func (o *PutVoicemailPolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this put voicemail policy bad request response has a 3xx status code

func (*PutVoicemailPolicyBadRequest) IsServerError

func (o *PutVoicemailPolicyBadRequest) IsServerError() bool

IsServerError returns true when this put voicemail policy bad request response has a 5xx status code

func (*PutVoicemailPolicyBadRequest) IsSuccess

func (o *PutVoicemailPolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this put voicemail policy bad request response has a 2xx status code

func (*PutVoicemailPolicyBadRequest) String

type PutVoicemailPolicyConflict

type PutVoicemailPolicyConflict struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyConflict describes a response with status code 409, with default header values.

Conflict

func NewPutVoicemailPolicyConflict

func NewPutVoicemailPolicyConflict() *PutVoicemailPolicyConflict

NewPutVoicemailPolicyConflict creates a PutVoicemailPolicyConflict with default headers values

func (*PutVoicemailPolicyConflict) Error

func (*PutVoicemailPolicyConflict) GetPayload

func (o *PutVoicemailPolicyConflict) GetPayload() *models.ErrorBody

func (*PutVoicemailPolicyConflict) IsClientError

func (o *PutVoicemailPolicyConflict) IsClientError() bool

IsClientError returns true when this put voicemail policy conflict response has a 4xx status code

func (*PutVoicemailPolicyConflict) IsCode

func (o *PutVoicemailPolicyConflict) IsCode(code int) bool

IsCode returns true when this put voicemail policy conflict response a status code equal to that given

func (*PutVoicemailPolicyConflict) IsRedirect

func (o *PutVoicemailPolicyConflict) IsRedirect() bool

IsRedirect returns true when this put voicemail policy conflict response has a 3xx status code

func (*PutVoicemailPolicyConflict) IsServerError

func (o *PutVoicemailPolicyConflict) IsServerError() bool

IsServerError returns true when this put voicemail policy conflict response has a 5xx status code

func (*PutVoicemailPolicyConflict) IsSuccess

func (o *PutVoicemailPolicyConflict) IsSuccess() bool

IsSuccess returns true when this put voicemail policy conflict response has a 2xx status code

func (*PutVoicemailPolicyConflict) String

func (o *PutVoicemailPolicyConflict) String() string

type PutVoicemailPolicyFailedDependency

type PutVoicemailPolicyFailedDependency struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyFailedDependency describes a response with status code 424, with default header values.

PutVoicemailPolicyFailedDependency put voicemail policy failed dependency

func NewPutVoicemailPolicyFailedDependency

func NewPutVoicemailPolicyFailedDependency() *PutVoicemailPolicyFailedDependency

NewPutVoicemailPolicyFailedDependency creates a PutVoicemailPolicyFailedDependency with default headers values

func (*PutVoicemailPolicyFailedDependency) Error

func (*PutVoicemailPolicyFailedDependency) GetPayload

func (*PutVoicemailPolicyFailedDependency) IsClientError

func (o *PutVoicemailPolicyFailedDependency) IsClientError() bool

IsClientError returns true when this put voicemail policy failed dependency response has a 4xx status code

func (*PutVoicemailPolicyFailedDependency) IsCode

IsCode returns true when this put voicemail policy failed dependency response a status code equal to that given

func (*PutVoicemailPolicyFailedDependency) IsRedirect

func (o *PutVoicemailPolicyFailedDependency) IsRedirect() bool

IsRedirect returns true when this put voicemail policy failed dependency response has a 3xx status code

func (*PutVoicemailPolicyFailedDependency) IsServerError

func (o *PutVoicemailPolicyFailedDependency) IsServerError() bool

IsServerError returns true when this put voicemail policy failed dependency response has a 5xx status code

func (*PutVoicemailPolicyFailedDependency) IsSuccess

IsSuccess returns true when this put voicemail policy failed dependency response has a 2xx status code

func (*PutVoicemailPolicyFailedDependency) String

type PutVoicemailPolicyForbidden

type PutVoicemailPolicyForbidden struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPutVoicemailPolicyForbidden

func NewPutVoicemailPolicyForbidden() *PutVoicemailPolicyForbidden

NewPutVoicemailPolicyForbidden creates a PutVoicemailPolicyForbidden with default headers values

func (*PutVoicemailPolicyForbidden) Error

func (*PutVoicemailPolicyForbidden) GetPayload

func (o *PutVoicemailPolicyForbidden) GetPayload() *models.ErrorBody

func (*PutVoicemailPolicyForbidden) IsClientError

func (o *PutVoicemailPolicyForbidden) IsClientError() bool

IsClientError returns true when this put voicemail policy forbidden response has a 4xx status code

func (*PutVoicemailPolicyForbidden) IsCode

func (o *PutVoicemailPolicyForbidden) IsCode(code int) bool

IsCode returns true when this put voicemail policy forbidden response a status code equal to that given

func (*PutVoicemailPolicyForbidden) IsRedirect

func (o *PutVoicemailPolicyForbidden) IsRedirect() bool

IsRedirect returns true when this put voicemail policy forbidden response has a 3xx status code

func (*PutVoicemailPolicyForbidden) IsServerError

func (o *PutVoicemailPolicyForbidden) IsServerError() bool

IsServerError returns true when this put voicemail policy forbidden response has a 5xx status code

func (*PutVoicemailPolicyForbidden) IsSuccess

func (o *PutVoicemailPolicyForbidden) IsSuccess() bool

IsSuccess returns true when this put voicemail policy forbidden response has a 2xx status code

func (*PutVoicemailPolicyForbidden) String

func (o *PutVoicemailPolicyForbidden) String() string

type PutVoicemailPolicyGatewayTimeout

type PutVoicemailPolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPutVoicemailPolicyGatewayTimeout

func NewPutVoicemailPolicyGatewayTimeout() *PutVoicemailPolicyGatewayTimeout

NewPutVoicemailPolicyGatewayTimeout creates a PutVoicemailPolicyGatewayTimeout with default headers values

func (*PutVoicemailPolicyGatewayTimeout) Error

func (*PutVoicemailPolicyGatewayTimeout) GetPayload

func (*PutVoicemailPolicyGatewayTimeout) IsClientError

func (o *PutVoicemailPolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this put voicemail policy gateway timeout response has a 4xx status code

func (*PutVoicemailPolicyGatewayTimeout) IsCode

func (o *PutVoicemailPolicyGatewayTimeout) IsCode(code int) bool

IsCode returns true when this put voicemail policy gateway timeout response a status code equal to that given

func (*PutVoicemailPolicyGatewayTimeout) IsRedirect

func (o *PutVoicemailPolicyGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this put voicemail policy gateway timeout response has a 3xx status code

func (*PutVoicemailPolicyGatewayTimeout) IsServerError

func (o *PutVoicemailPolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this put voicemail policy gateway timeout response has a 5xx status code

func (*PutVoicemailPolicyGatewayTimeout) IsSuccess

func (o *PutVoicemailPolicyGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this put voicemail policy gateway timeout response has a 2xx status code

func (*PutVoicemailPolicyGatewayTimeout) String

type PutVoicemailPolicyInternalServerError

type PutVoicemailPolicyInternalServerError struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPutVoicemailPolicyInternalServerError

func NewPutVoicemailPolicyInternalServerError() *PutVoicemailPolicyInternalServerError

NewPutVoicemailPolicyInternalServerError creates a PutVoicemailPolicyInternalServerError with default headers values

func (*PutVoicemailPolicyInternalServerError) Error

func (*PutVoicemailPolicyInternalServerError) GetPayload

func (*PutVoicemailPolicyInternalServerError) IsClientError

func (o *PutVoicemailPolicyInternalServerError) IsClientError() bool

IsClientError returns true when this put voicemail policy internal server error response has a 4xx status code

func (*PutVoicemailPolicyInternalServerError) IsCode

IsCode returns true when this put voicemail policy internal server error response a status code equal to that given

func (*PutVoicemailPolicyInternalServerError) IsRedirect

IsRedirect returns true when this put voicemail policy internal server error response has a 3xx status code

func (*PutVoicemailPolicyInternalServerError) IsServerError

func (o *PutVoicemailPolicyInternalServerError) IsServerError() bool

IsServerError returns true when this put voicemail policy internal server error response has a 5xx status code

func (*PutVoicemailPolicyInternalServerError) IsSuccess

IsSuccess returns true when this put voicemail policy internal server error response has a 2xx status code

func (*PutVoicemailPolicyInternalServerError) String

type PutVoicemailPolicyNotFound

type PutVoicemailPolicyNotFound struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPutVoicemailPolicyNotFound

func NewPutVoicemailPolicyNotFound() *PutVoicemailPolicyNotFound

NewPutVoicemailPolicyNotFound creates a PutVoicemailPolicyNotFound with default headers values

func (*PutVoicemailPolicyNotFound) Error

func (*PutVoicemailPolicyNotFound) GetPayload

func (o *PutVoicemailPolicyNotFound) GetPayload() *models.ErrorBody

func (*PutVoicemailPolicyNotFound) IsClientError

func (o *PutVoicemailPolicyNotFound) IsClientError() bool

IsClientError returns true when this put voicemail policy not found response has a 4xx status code

func (*PutVoicemailPolicyNotFound) IsCode

func (o *PutVoicemailPolicyNotFound) IsCode(code int) bool

IsCode returns true when this put voicemail policy not found response a status code equal to that given

func (*PutVoicemailPolicyNotFound) IsRedirect

func (o *PutVoicemailPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this put voicemail policy not found response has a 3xx status code

func (*PutVoicemailPolicyNotFound) IsServerError

func (o *PutVoicemailPolicyNotFound) IsServerError() bool

IsServerError returns true when this put voicemail policy not found response has a 5xx status code

func (*PutVoicemailPolicyNotFound) IsSuccess

func (o *PutVoicemailPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this put voicemail policy not found response has a 2xx status code

func (*PutVoicemailPolicyNotFound) String

func (o *PutVoicemailPolicyNotFound) String() string

type PutVoicemailPolicyOK

type PutVoicemailPolicyOK struct {
	Payload *models.VoicemailOrganizationPolicy
}

PutVoicemailPolicyOK describes a response with status code 200, with default header values.

successful operation

func NewPutVoicemailPolicyOK

func NewPutVoicemailPolicyOK() *PutVoicemailPolicyOK

NewPutVoicemailPolicyOK creates a PutVoicemailPolicyOK with default headers values

func (*PutVoicemailPolicyOK) Error

func (o *PutVoicemailPolicyOK) Error() string

func (*PutVoicemailPolicyOK) GetPayload

func (*PutVoicemailPolicyOK) IsClientError

func (o *PutVoicemailPolicyOK) IsClientError() bool

IsClientError returns true when this put voicemail policy o k response has a 4xx status code

func (*PutVoicemailPolicyOK) IsCode

func (o *PutVoicemailPolicyOK) IsCode(code int) bool

IsCode returns true when this put voicemail policy o k response a status code equal to that given

func (*PutVoicemailPolicyOK) IsRedirect

func (o *PutVoicemailPolicyOK) IsRedirect() bool

IsRedirect returns true when this put voicemail policy o k response has a 3xx status code

func (*PutVoicemailPolicyOK) IsServerError

func (o *PutVoicemailPolicyOK) IsServerError() bool

IsServerError returns true when this put voicemail policy o k response has a 5xx status code

func (*PutVoicemailPolicyOK) IsSuccess

func (o *PutVoicemailPolicyOK) IsSuccess() bool

IsSuccess returns true when this put voicemail policy o k response has a 2xx status code

func (*PutVoicemailPolicyOK) String

func (o *PutVoicemailPolicyOK) String() string

type PutVoicemailPolicyParams

type PutVoicemailPolicyParams struct {

	/* Body.

	   Policy
	*/
	Body *models.VoicemailOrganizationPolicy

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutVoicemailPolicyParams contains all the parameters to send to the API endpoint

for the put voicemail policy operation.

Typically these are written to a http.Request.

func NewPutVoicemailPolicyParams

func NewPutVoicemailPolicyParams() *PutVoicemailPolicyParams

NewPutVoicemailPolicyParams creates a new PutVoicemailPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutVoicemailPolicyParamsWithContext

func NewPutVoicemailPolicyParamsWithContext(ctx context.Context) *PutVoicemailPolicyParams

NewPutVoicemailPolicyParamsWithContext creates a new PutVoicemailPolicyParams object with the ability to set a context for a request.

func NewPutVoicemailPolicyParamsWithHTTPClient

func NewPutVoicemailPolicyParamsWithHTTPClient(client *http.Client) *PutVoicemailPolicyParams

NewPutVoicemailPolicyParamsWithHTTPClient creates a new PutVoicemailPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPutVoicemailPolicyParamsWithTimeout

func NewPutVoicemailPolicyParamsWithTimeout(timeout time.Duration) *PutVoicemailPolicyParams

NewPutVoicemailPolicyParamsWithTimeout creates a new PutVoicemailPolicyParams object with the ability to set a timeout on a request.

func (*PutVoicemailPolicyParams) SetBody

SetBody adds the body to the put voicemail policy params

func (*PutVoicemailPolicyParams) SetContext

func (o *PutVoicemailPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the put voicemail policy params

func (*PutVoicemailPolicyParams) SetDefaults

func (o *PutVoicemailPolicyParams) SetDefaults()

SetDefaults hydrates default values in the put voicemail policy params (not the query body).

All values with no default are reset to their zero value.

func (*PutVoicemailPolicyParams) SetHTTPClient

func (o *PutVoicemailPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put voicemail policy params

func (*PutVoicemailPolicyParams) SetTimeout

func (o *PutVoicemailPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put voicemail policy params

func (*PutVoicemailPolicyParams) WithBody

WithBody adds the body to the put voicemail policy params

func (*PutVoicemailPolicyParams) WithContext

WithContext adds the context to the put voicemail policy params

func (*PutVoicemailPolicyParams) WithDefaults

WithDefaults hydrates default values in the put voicemail policy params (not the query body).

All values with no default are reset to their zero value.

func (*PutVoicemailPolicyParams) WithHTTPClient

func (o *PutVoicemailPolicyParams) WithHTTPClient(client *http.Client) *PutVoicemailPolicyParams

WithHTTPClient adds the HTTPClient to the put voicemail policy params

func (*PutVoicemailPolicyParams) WithTimeout

WithTimeout adds the timeout to the put voicemail policy params

func (*PutVoicemailPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutVoicemailPolicyReader

type PutVoicemailPolicyReader struct {
	// contains filtered or unexported fields
}

PutVoicemailPolicyReader is a Reader for the PutVoicemailPolicy structure.

func (*PutVoicemailPolicyReader) ReadResponse

func (o *PutVoicemailPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutVoicemailPolicyRequestEntityTooLarge

type PutVoicemailPolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPutVoicemailPolicyRequestEntityTooLarge

func NewPutVoicemailPolicyRequestEntityTooLarge() *PutVoicemailPolicyRequestEntityTooLarge

NewPutVoicemailPolicyRequestEntityTooLarge creates a PutVoicemailPolicyRequestEntityTooLarge with default headers values

func (*PutVoicemailPolicyRequestEntityTooLarge) Error

func (*PutVoicemailPolicyRequestEntityTooLarge) GetPayload

func (*PutVoicemailPolicyRequestEntityTooLarge) IsClientError

func (o *PutVoicemailPolicyRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this put voicemail policy request entity too large response has a 4xx status code

func (*PutVoicemailPolicyRequestEntityTooLarge) IsCode

IsCode returns true when this put voicemail policy request entity too large response a status code equal to that given

func (*PutVoicemailPolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put voicemail policy request entity too large response has a 3xx status code

func (*PutVoicemailPolicyRequestEntityTooLarge) IsServerError

func (o *PutVoicemailPolicyRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this put voicemail policy request entity too large response has a 5xx status code

func (*PutVoicemailPolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put voicemail policy request entity too large response has a 2xx status code

func (*PutVoicemailPolicyRequestEntityTooLarge) String

type PutVoicemailPolicyRequestTimeout

type PutVoicemailPolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPutVoicemailPolicyRequestTimeout

func NewPutVoicemailPolicyRequestTimeout() *PutVoicemailPolicyRequestTimeout

NewPutVoicemailPolicyRequestTimeout creates a PutVoicemailPolicyRequestTimeout with default headers values

func (*PutVoicemailPolicyRequestTimeout) Error

func (*PutVoicemailPolicyRequestTimeout) GetPayload

func (*PutVoicemailPolicyRequestTimeout) IsClientError

func (o *PutVoicemailPolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this put voicemail policy request timeout response has a 4xx status code

func (*PutVoicemailPolicyRequestTimeout) IsCode

func (o *PutVoicemailPolicyRequestTimeout) IsCode(code int) bool

IsCode returns true when this put voicemail policy request timeout response a status code equal to that given

func (*PutVoicemailPolicyRequestTimeout) IsRedirect

func (o *PutVoicemailPolicyRequestTimeout) IsRedirect() bool

IsRedirect returns true when this put voicemail policy request timeout response has a 3xx status code

func (*PutVoicemailPolicyRequestTimeout) IsServerError

func (o *PutVoicemailPolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this put voicemail policy request timeout response has a 5xx status code

func (*PutVoicemailPolicyRequestTimeout) IsSuccess

func (o *PutVoicemailPolicyRequestTimeout) IsSuccess() bool

IsSuccess returns true when this put voicemail policy request timeout response has a 2xx status code

func (*PutVoicemailPolicyRequestTimeout) String

type PutVoicemailPolicyServiceUnavailable

type PutVoicemailPolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPutVoicemailPolicyServiceUnavailable

func NewPutVoicemailPolicyServiceUnavailable() *PutVoicemailPolicyServiceUnavailable

NewPutVoicemailPolicyServiceUnavailable creates a PutVoicemailPolicyServiceUnavailable with default headers values

func (*PutVoicemailPolicyServiceUnavailable) Error

func (*PutVoicemailPolicyServiceUnavailable) GetPayload

func (*PutVoicemailPolicyServiceUnavailable) IsClientError

func (o *PutVoicemailPolicyServiceUnavailable) IsClientError() bool

IsClientError returns true when this put voicemail policy service unavailable response has a 4xx status code

func (*PutVoicemailPolicyServiceUnavailable) IsCode

IsCode returns true when this put voicemail policy service unavailable response a status code equal to that given

func (*PutVoicemailPolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this put voicemail policy service unavailable response has a 3xx status code

func (*PutVoicemailPolicyServiceUnavailable) IsServerError

func (o *PutVoicemailPolicyServiceUnavailable) IsServerError() bool

IsServerError returns true when this put voicemail policy service unavailable response has a 5xx status code

func (*PutVoicemailPolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this put voicemail policy service unavailable response has a 2xx status code

func (*PutVoicemailPolicyServiceUnavailable) String

type PutVoicemailPolicyTooManyRequests

type PutVoicemailPolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPutVoicemailPolicyTooManyRequests

func NewPutVoicemailPolicyTooManyRequests() *PutVoicemailPolicyTooManyRequests

NewPutVoicemailPolicyTooManyRequests creates a PutVoicemailPolicyTooManyRequests with default headers values

func (*PutVoicemailPolicyTooManyRequests) Error

func (*PutVoicemailPolicyTooManyRequests) GetPayload

func (*PutVoicemailPolicyTooManyRequests) IsClientError

func (o *PutVoicemailPolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this put voicemail policy too many requests response has a 4xx status code

func (*PutVoicemailPolicyTooManyRequests) IsCode

func (o *PutVoicemailPolicyTooManyRequests) IsCode(code int) bool

IsCode returns true when this put voicemail policy too many requests response a status code equal to that given

func (*PutVoicemailPolicyTooManyRequests) IsRedirect

func (o *PutVoicemailPolicyTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put voicemail policy too many requests response has a 3xx status code

func (*PutVoicemailPolicyTooManyRequests) IsServerError

func (o *PutVoicemailPolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this put voicemail policy too many requests response has a 5xx status code

func (*PutVoicemailPolicyTooManyRequests) IsSuccess

func (o *PutVoicemailPolicyTooManyRequests) IsSuccess() bool

IsSuccess returns true when this put voicemail policy too many requests response has a 2xx status code

func (*PutVoicemailPolicyTooManyRequests) String

type PutVoicemailPolicyUnauthorized

type PutVoicemailPolicyUnauthorized struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPutVoicemailPolicyUnauthorized

func NewPutVoicemailPolicyUnauthorized() *PutVoicemailPolicyUnauthorized

NewPutVoicemailPolicyUnauthorized creates a PutVoicemailPolicyUnauthorized with default headers values

func (*PutVoicemailPolicyUnauthorized) Error

func (*PutVoicemailPolicyUnauthorized) GetPayload

func (*PutVoicemailPolicyUnauthorized) IsClientError

func (o *PutVoicemailPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this put voicemail policy unauthorized response has a 4xx status code

func (*PutVoicemailPolicyUnauthorized) IsCode

func (o *PutVoicemailPolicyUnauthorized) IsCode(code int) bool

IsCode returns true when this put voicemail policy unauthorized response a status code equal to that given

func (*PutVoicemailPolicyUnauthorized) IsRedirect

func (o *PutVoicemailPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this put voicemail policy unauthorized response has a 3xx status code

func (*PutVoicemailPolicyUnauthorized) IsServerError

func (o *PutVoicemailPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this put voicemail policy unauthorized response has a 5xx status code

func (*PutVoicemailPolicyUnauthorized) IsSuccess

func (o *PutVoicemailPolicyUnauthorized) IsSuccess() bool

IsSuccess returns true when this put voicemail policy unauthorized response has a 2xx status code

func (*PutVoicemailPolicyUnauthorized) String

type PutVoicemailPolicyUnsupportedMediaType

type PutVoicemailPolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutVoicemailPolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPutVoicemailPolicyUnsupportedMediaType

func NewPutVoicemailPolicyUnsupportedMediaType() *PutVoicemailPolicyUnsupportedMediaType

NewPutVoicemailPolicyUnsupportedMediaType creates a PutVoicemailPolicyUnsupportedMediaType with default headers values

func (*PutVoicemailPolicyUnsupportedMediaType) Error

func (*PutVoicemailPolicyUnsupportedMediaType) GetPayload

func (*PutVoicemailPolicyUnsupportedMediaType) IsClientError

func (o *PutVoicemailPolicyUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this put voicemail policy unsupported media type response has a 4xx status code

func (*PutVoicemailPolicyUnsupportedMediaType) IsCode

IsCode returns true when this put voicemail policy unsupported media type response a status code equal to that given

func (*PutVoicemailPolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put voicemail policy unsupported media type response has a 3xx status code

func (*PutVoicemailPolicyUnsupportedMediaType) IsServerError

func (o *PutVoicemailPolicyUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this put voicemail policy unsupported media type response has a 5xx status code

func (*PutVoicemailPolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put voicemail policy unsupported media type response has a 2xx status code

func (*PutVoicemailPolicyUnsupportedMediaType) String

type PutVoicemailUserpolicyBadRequest

type PutVoicemailUserpolicyBadRequest struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPutVoicemailUserpolicyBadRequest

func NewPutVoicemailUserpolicyBadRequest() *PutVoicemailUserpolicyBadRequest

NewPutVoicemailUserpolicyBadRequest creates a PutVoicemailUserpolicyBadRequest with default headers values

func (*PutVoicemailUserpolicyBadRequest) Error

func (*PutVoicemailUserpolicyBadRequest) GetPayload

func (*PutVoicemailUserpolicyBadRequest) IsClientError

func (o *PutVoicemailUserpolicyBadRequest) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy bad request response has a 4xx status code

func (*PutVoicemailUserpolicyBadRequest) IsCode

func (o *PutVoicemailUserpolicyBadRequest) IsCode(code int) bool

IsCode returns true when this put voicemail userpolicy bad request response a status code equal to that given

func (*PutVoicemailUserpolicyBadRequest) IsRedirect

func (o *PutVoicemailUserpolicyBadRequest) IsRedirect() bool

IsRedirect returns true when this put voicemail userpolicy bad request response has a 3xx status code

func (*PutVoicemailUserpolicyBadRequest) IsServerError

func (o *PutVoicemailUserpolicyBadRequest) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy bad request response has a 5xx status code

func (*PutVoicemailUserpolicyBadRequest) IsSuccess

func (o *PutVoicemailUserpolicyBadRequest) IsSuccess() bool

IsSuccess returns true when this put voicemail userpolicy bad request response has a 2xx status code

func (*PutVoicemailUserpolicyBadRequest) String

type PutVoicemailUserpolicyForbidden

type PutVoicemailUserpolicyForbidden struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPutVoicemailUserpolicyForbidden

func NewPutVoicemailUserpolicyForbidden() *PutVoicemailUserpolicyForbidden

NewPutVoicemailUserpolicyForbidden creates a PutVoicemailUserpolicyForbidden with default headers values

func (*PutVoicemailUserpolicyForbidden) Error

func (*PutVoicemailUserpolicyForbidden) GetPayload

func (*PutVoicemailUserpolicyForbidden) IsClientError

func (o *PutVoicemailUserpolicyForbidden) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy forbidden response has a 4xx status code

func (*PutVoicemailUserpolicyForbidden) IsCode

func (o *PutVoicemailUserpolicyForbidden) IsCode(code int) bool

IsCode returns true when this put voicemail userpolicy forbidden response a status code equal to that given

func (*PutVoicemailUserpolicyForbidden) IsRedirect

func (o *PutVoicemailUserpolicyForbidden) IsRedirect() bool

IsRedirect returns true when this put voicemail userpolicy forbidden response has a 3xx status code

func (*PutVoicemailUserpolicyForbidden) IsServerError

func (o *PutVoicemailUserpolicyForbidden) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy forbidden response has a 5xx status code

func (*PutVoicemailUserpolicyForbidden) IsSuccess

func (o *PutVoicemailUserpolicyForbidden) IsSuccess() bool

IsSuccess returns true when this put voicemail userpolicy forbidden response has a 2xx status code

func (*PutVoicemailUserpolicyForbidden) String

type PutVoicemailUserpolicyGatewayTimeout

type PutVoicemailUserpolicyGatewayTimeout struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPutVoicemailUserpolicyGatewayTimeout

func NewPutVoicemailUserpolicyGatewayTimeout() *PutVoicemailUserpolicyGatewayTimeout

NewPutVoicemailUserpolicyGatewayTimeout creates a PutVoicemailUserpolicyGatewayTimeout with default headers values

func (*PutVoicemailUserpolicyGatewayTimeout) Error

func (*PutVoicemailUserpolicyGatewayTimeout) GetPayload

func (*PutVoicemailUserpolicyGatewayTimeout) IsClientError

func (o *PutVoicemailUserpolicyGatewayTimeout) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy gateway timeout response has a 4xx status code

func (*PutVoicemailUserpolicyGatewayTimeout) IsCode

IsCode returns true when this put voicemail userpolicy gateway timeout response a status code equal to that given

func (*PutVoicemailUserpolicyGatewayTimeout) IsRedirect

IsRedirect returns true when this put voicemail userpolicy gateway timeout response has a 3xx status code

func (*PutVoicemailUserpolicyGatewayTimeout) IsServerError

func (o *PutVoicemailUserpolicyGatewayTimeout) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy gateway timeout response has a 5xx status code

func (*PutVoicemailUserpolicyGatewayTimeout) IsSuccess

IsSuccess returns true when this put voicemail userpolicy gateway timeout response has a 2xx status code

func (*PutVoicemailUserpolicyGatewayTimeout) String

type PutVoicemailUserpolicyInternalServerError

type PutVoicemailUserpolicyInternalServerError struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPutVoicemailUserpolicyInternalServerError

func NewPutVoicemailUserpolicyInternalServerError() *PutVoicemailUserpolicyInternalServerError

NewPutVoicemailUserpolicyInternalServerError creates a PutVoicemailUserpolicyInternalServerError with default headers values

func (*PutVoicemailUserpolicyInternalServerError) Error

func (*PutVoicemailUserpolicyInternalServerError) GetPayload

func (*PutVoicemailUserpolicyInternalServerError) IsClientError

IsClientError returns true when this put voicemail userpolicy internal server error response has a 4xx status code

func (*PutVoicemailUserpolicyInternalServerError) IsCode

IsCode returns true when this put voicemail userpolicy internal server error response a status code equal to that given

func (*PutVoicemailUserpolicyInternalServerError) IsRedirect

IsRedirect returns true when this put voicemail userpolicy internal server error response has a 3xx status code

func (*PutVoicemailUserpolicyInternalServerError) IsServerError

IsServerError returns true when this put voicemail userpolicy internal server error response has a 5xx status code

func (*PutVoicemailUserpolicyInternalServerError) IsSuccess

IsSuccess returns true when this put voicemail userpolicy internal server error response has a 2xx status code

func (*PutVoicemailUserpolicyInternalServerError) String

type PutVoicemailUserpolicyNotFound

type PutVoicemailUserpolicyNotFound struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPutVoicemailUserpolicyNotFound

func NewPutVoicemailUserpolicyNotFound() *PutVoicemailUserpolicyNotFound

NewPutVoicemailUserpolicyNotFound creates a PutVoicemailUserpolicyNotFound with default headers values

func (*PutVoicemailUserpolicyNotFound) Error

func (*PutVoicemailUserpolicyNotFound) GetPayload

func (*PutVoicemailUserpolicyNotFound) IsClientError

func (o *PutVoicemailUserpolicyNotFound) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy not found response has a 4xx status code

func (*PutVoicemailUserpolicyNotFound) IsCode

func (o *PutVoicemailUserpolicyNotFound) IsCode(code int) bool

IsCode returns true when this put voicemail userpolicy not found response a status code equal to that given

func (*PutVoicemailUserpolicyNotFound) IsRedirect

func (o *PutVoicemailUserpolicyNotFound) IsRedirect() bool

IsRedirect returns true when this put voicemail userpolicy not found response has a 3xx status code

func (*PutVoicemailUserpolicyNotFound) IsServerError

func (o *PutVoicemailUserpolicyNotFound) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy not found response has a 5xx status code

func (*PutVoicemailUserpolicyNotFound) IsSuccess

func (o *PutVoicemailUserpolicyNotFound) IsSuccess() bool

IsSuccess returns true when this put voicemail userpolicy not found response has a 2xx status code

func (*PutVoicemailUserpolicyNotFound) String

type PutVoicemailUserpolicyOK

type PutVoicemailUserpolicyOK struct {
	Payload *models.VoicemailUserPolicy
}

PutVoicemailUserpolicyOK describes a response with status code 200, with default header values.

successful operation

func NewPutVoicemailUserpolicyOK

func NewPutVoicemailUserpolicyOK() *PutVoicemailUserpolicyOK

NewPutVoicemailUserpolicyOK creates a PutVoicemailUserpolicyOK with default headers values

func (*PutVoicemailUserpolicyOK) Error

func (o *PutVoicemailUserpolicyOK) Error() string

func (*PutVoicemailUserpolicyOK) GetPayload

func (*PutVoicemailUserpolicyOK) IsClientError

func (o *PutVoicemailUserpolicyOK) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy o k response has a 4xx status code

func (*PutVoicemailUserpolicyOK) IsCode

func (o *PutVoicemailUserpolicyOK) IsCode(code int) bool

IsCode returns true when this put voicemail userpolicy o k response a status code equal to that given

func (*PutVoicemailUserpolicyOK) IsRedirect

func (o *PutVoicemailUserpolicyOK) IsRedirect() bool

IsRedirect returns true when this put voicemail userpolicy o k response has a 3xx status code

func (*PutVoicemailUserpolicyOK) IsServerError

func (o *PutVoicemailUserpolicyOK) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy o k response has a 5xx status code

func (*PutVoicemailUserpolicyOK) IsSuccess

func (o *PutVoicemailUserpolicyOK) IsSuccess() bool

IsSuccess returns true when this put voicemail userpolicy o k response has a 2xx status code

func (*PutVoicemailUserpolicyOK) String

func (o *PutVoicemailUserpolicyOK) String() string

type PutVoicemailUserpolicyParams

type PutVoicemailUserpolicyParams struct {

	/* Body.

	   The user's voicemail policy
	*/
	Body *models.VoicemailUserPolicy

	/* UserID.

	   User ID
	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutVoicemailUserpolicyParams contains all the parameters to send to the API endpoint

for the put voicemail userpolicy operation.

Typically these are written to a http.Request.

func NewPutVoicemailUserpolicyParams

func NewPutVoicemailUserpolicyParams() *PutVoicemailUserpolicyParams

NewPutVoicemailUserpolicyParams creates a new PutVoicemailUserpolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutVoicemailUserpolicyParamsWithContext

func NewPutVoicemailUserpolicyParamsWithContext(ctx context.Context) *PutVoicemailUserpolicyParams

NewPutVoicemailUserpolicyParamsWithContext creates a new PutVoicemailUserpolicyParams object with the ability to set a context for a request.

func NewPutVoicemailUserpolicyParamsWithHTTPClient

func NewPutVoicemailUserpolicyParamsWithHTTPClient(client *http.Client) *PutVoicemailUserpolicyParams

NewPutVoicemailUserpolicyParamsWithHTTPClient creates a new PutVoicemailUserpolicyParams object with the ability to set a custom HTTPClient for a request.

func NewPutVoicemailUserpolicyParamsWithTimeout

func NewPutVoicemailUserpolicyParamsWithTimeout(timeout time.Duration) *PutVoicemailUserpolicyParams

NewPutVoicemailUserpolicyParamsWithTimeout creates a new PutVoicemailUserpolicyParams object with the ability to set a timeout on a request.

func (*PutVoicemailUserpolicyParams) SetBody

SetBody adds the body to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) SetContext

func (o *PutVoicemailUserpolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) SetDefaults

func (o *PutVoicemailUserpolicyParams) SetDefaults()

SetDefaults hydrates default values in the put voicemail userpolicy params (not the query body).

All values with no default are reset to their zero value.

func (*PutVoicemailUserpolicyParams) SetHTTPClient

func (o *PutVoicemailUserpolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) SetTimeout

func (o *PutVoicemailUserpolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) SetUserID

func (o *PutVoicemailUserpolicyParams) SetUserID(userID string)

SetUserID adds the userId to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) WithBody

WithBody adds the body to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) WithContext

WithContext adds the context to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) WithDefaults

WithDefaults hydrates default values in the put voicemail userpolicy params (not the query body).

All values with no default are reset to their zero value.

func (*PutVoicemailUserpolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) WithTimeout

WithTimeout adds the timeout to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) WithUserID

WithUserID adds the userID to the put voicemail userpolicy params

func (*PutVoicemailUserpolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutVoicemailUserpolicyReader

type PutVoicemailUserpolicyReader struct {
	// contains filtered or unexported fields
}

PutVoicemailUserpolicyReader is a Reader for the PutVoicemailUserpolicy structure.

func (*PutVoicemailUserpolicyReader) ReadResponse

func (o *PutVoicemailUserpolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutVoicemailUserpolicyRequestEntityTooLarge

type PutVoicemailUserpolicyRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPutVoicemailUserpolicyRequestEntityTooLarge

func NewPutVoicemailUserpolicyRequestEntityTooLarge() *PutVoicemailUserpolicyRequestEntityTooLarge

NewPutVoicemailUserpolicyRequestEntityTooLarge creates a PutVoicemailUserpolicyRequestEntityTooLarge with default headers values

func (*PutVoicemailUserpolicyRequestEntityTooLarge) Error

func (*PutVoicemailUserpolicyRequestEntityTooLarge) GetPayload

func (*PutVoicemailUserpolicyRequestEntityTooLarge) IsClientError

IsClientError returns true when this put voicemail userpolicy request entity too large response has a 4xx status code

func (*PutVoicemailUserpolicyRequestEntityTooLarge) IsCode

IsCode returns true when this put voicemail userpolicy request entity too large response a status code equal to that given

func (*PutVoicemailUserpolicyRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this put voicemail userpolicy request entity too large response has a 3xx status code

func (*PutVoicemailUserpolicyRequestEntityTooLarge) IsServerError

IsServerError returns true when this put voicemail userpolicy request entity too large response has a 5xx status code

func (*PutVoicemailUserpolicyRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this put voicemail userpolicy request entity too large response has a 2xx status code

func (*PutVoicemailUserpolicyRequestEntityTooLarge) String

type PutVoicemailUserpolicyRequestTimeout

type PutVoicemailUserpolicyRequestTimeout struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPutVoicemailUserpolicyRequestTimeout

func NewPutVoicemailUserpolicyRequestTimeout() *PutVoicemailUserpolicyRequestTimeout

NewPutVoicemailUserpolicyRequestTimeout creates a PutVoicemailUserpolicyRequestTimeout with default headers values

func (*PutVoicemailUserpolicyRequestTimeout) Error

func (*PutVoicemailUserpolicyRequestTimeout) GetPayload

func (*PutVoicemailUserpolicyRequestTimeout) IsClientError

func (o *PutVoicemailUserpolicyRequestTimeout) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy request timeout response has a 4xx status code

func (*PutVoicemailUserpolicyRequestTimeout) IsCode

IsCode returns true when this put voicemail userpolicy request timeout response a status code equal to that given

func (*PutVoicemailUserpolicyRequestTimeout) IsRedirect

IsRedirect returns true when this put voicemail userpolicy request timeout response has a 3xx status code

func (*PutVoicemailUserpolicyRequestTimeout) IsServerError

func (o *PutVoicemailUserpolicyRequestTimeout) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy request timeout response has a 5xx status code

func (*PutVoicemailUserpolicyRequestTimeout) IsSuccess

IsSuccess returns true when this put voicemail userpolicy request timeout response has a 2xx status code

func (*PutVoicemailUserpolicyRequestTimeout) String

type PutVoicemailUserpolicyServiceUnavailable

type PutVoicemailUserpolicyServiceUnavailable struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPutVoicemailUserpolicyServiceUnavailable

func NewPutVoicemailUserpolicyServiceUnavailable() *PutVoicemailUserpolicyServiceUnavailable

NewPutVoicemailUserpolicyServiceUnavailable creates a PutVoicemailUserpolicyServiceUnavailable with default headers values

func (*PutVoicemailUserpolicyServiceUnavailable) Error

func (*PutVoicemailUserpolicyServiceUnavailable) GetPayload

func (*PutVoicemailUserpolicyServiceUnavailable) IsClientError

IsClientError returns true when this put voicemail userpolicy service unavailable response has a 4xx status code

func (*PutVoicemailUserpolicyServiceUnavailable) IsCode

IsCode returns true when this put voicemail userpolicy service unavailable response a status code equal to that given

func (*PutVoicemailUserpolicyServiceUnavailable) IsRedirect

IsRedirect returns true when this put voicemail userpolicy service unavailable response has a 3xx status code

func (*PutVoicemailUserpolicyServiceUnavailable) IsServerError

IsServerError returns true when this put voicemail userpolicy service unavailable response has a 5xx status code

func (*PutVoicemailUserpolicyServiceUnavailable) IsSuccess

IsSuccess returns true when this put voicemail userpolicy service unavailable response has a 2xx status code

func (*PutVoicemailUserpolicyServiceUnavailable) String

type PutVoicemailUserpolicyTooManyRequests

type PutVoicemailUserpolicyTooManyRequests struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPutVoicemailUserpolicyTooManyRequests

func NewPutVoicemailUserpolicyTooManyRequests() *PutVoicemailUserpolicyTooManyRequests

NewPutVoicemailUserpolicyTooManyRequests creates a PutVoicemailUserpolicyTooManyRequests with default headers values

func (*PutVoicemailUserpolicyTooManyRequests) Error

func (*PutVoicemailUserpolicyTooManyRequests) GetPayload

func (*PutVoicemailUserpolicyTooManyRequests) IsClientError

func (o *PutVoicemailUserpolicyTooManyRequests) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy too many requests response has a 4xx status code

func (*PutVoicemailUserpolicyTooManyRequests) IsCode

IsCode returns true when this put voicemail userpolicy too many requests response a status code equal to that given

func (*PutVoicemailUserpolicyTooManyRequests) IsRedirect

IsRedirect returns true when this put voicemail userpolicy too many requests response has a 3xx status code

func (*PutVoicemailUserpolicyTooManyRequests) IsServerError

func (o *PutVoicemailUserpolicyTooManyRequests) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy too many requests response has a 5xx status code

func (*PutVoicemailUserpolicyTooManyRequests) IsSuccess

IsSuccess returns true when this put voicemail userpolicy too many requests response has a 2xx status code

func (*PutVoicemailUserpolicyTooManyRequests) String

type PutVoicemailUserpolicyUnauthorized

type PutVoicemailUserpolicyUnauthorized struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPutVoicemailUserpolicyUnauthorized

func NewPutVoicemailUserpolicyUnauthorized() *PutVoicemailUserpolicyUnauthorized

NewPutVoicemailUserpolicyUnauthorized creates a PutVoicemailUserpolicyUnauthorized with default headers values

func (*PutVoicemailUserpolicyUnauthorized) Error

func (*PutVoicemailUserpolicyUnauthorized) GetPayload

func (*PutVoicemailUserpolicyUnauthorized) IsClientError

func (o *PutVoicemailUserpolicyUnauthorized) IsClientError() bool

IsClientError returns true when this put voicemail userpolicy unauthorized response has a 4xx status code

func (*PutVoicemailUserpolicyUnauthorized) IsCode

IsCode returns true when this put voicemail userpolicy unauthorized response a status code equal to that given

func (*PutVoicemailUserpolicyUnauthorized) IsRedirect

func (o *PutVoicemailUserpolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this put voicemail userpolicy unauthorized response has a 3xx status code

func (*PutVoicemailUserpolicyUnauthorized) IsServerError

func (o *PutVoicemailUserpolicyUnauthorized) IsServerError() bool

IsServerError returns true when this put voicemail userpolicy unauthorized response has a 5xx status code

func (*PutVoicemailUserpolicyUnauthorized) IsSuccess

IsSuccess returns true when this put voicemail userpolicy unauthorized response has a 2xx status code

func (*PutVoicemailUserpolicyUnauthorized) String

type PutVoicemailUserpolicyUnsupportedMediaType

type PutVoicemailUserpolicyUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PutVoicemailUserpolicyUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPutVoicemailUserpolicyUnsupportedMediaType

func NewPutVoicemailUserpolicyUnsupportedMediaType() *PutVoicemailUserpolicyUnsupportedMediaType

NewPutVoicemailUserpolicyUnsupportedMediaType creates a PutVoicemailUserpolicyUnsupportedMediaType with default headers values

func (*PutVoicemailUserpolicyUnsupportedMediaType) Error

func (*PutVoicemailUserpolicyUnsupportedMediaType) GetPayload

func (*PutVoicemailUserpolicyUnsupportedMediaType) IsClientError

IsClientError returns true when this put voicemail userpolicy unsupported media type response has a 4xx status code

func (*PutVoicemailUserpolicyUnsupportedMediaType) IsCode

IsCode returns true when this put voicemail userpolicy unsupported media type response a status code equal to that given

func (*PutVoicemailUserpolicyUnsupportedMediaType) IsRedirect

IsRedirect returns true when this put voicemail userpolicy unsupported media type response has a 3xx status code

func (*PutVoicemailUserpolicyUnsupportedMediaType) IsServerError

IsServerError returns true when this put voicemail userpolicy unsupported media type response has a 5xx status code

func (*PutVoicemailUserpolicyUnsupportedMediaType) IsSuccess

IsSuccess returns true when this put voicemail userpolicy unsupported media type response has a 2xx status code

func (*PutVoicemailUserpolicyUnsupportedMediaType) String

Source Files

Jump to

Keyboard shortcuts

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