m_a_n_a_g_e_m_e_n_t

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for m a n a g e m e n t API

func (*Client) GetCDRArrangement

func (a *Client) GetCDRArrangement(params *GetCDRArrangementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCDRArrangementOK, error)
GetCDRArrangement gets c d r arrangement

Retrieve CDR arrangement by its ID.

Call this endpoint to get the details of an arrangement within the specified workspace.

func (*Client) GetCDRArrangements

func (a *Client) GetCDRArrangements(params *GetCDRArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCDRArrangementsOK, error)
GetCDRArrangements lists c d r arrangements

Returns the detailed list of all CDR arrangements available for a workspace.

To narrow the list down, use the request body parameters.

func (*Client) ListCDRArrangements

func (a *Client) ListCDRArrangements(params *ListCDRArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCDRArrangementsOK, error)
ListCDRArrangements lists c d r arrangements

Returns the detailed list of all CDR arrangements available for a workspace.

To narrow the list down, use the request body parameters.

func (*Client) ListCDRCustomerArrangements

func (a *Client) ListCDRCustomerArrangements(params *ListCDRCustomerArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCDRCustomerArrangementsOK, error)
ListCDRCustomerArrangements lists c d r customer arrangements

Returns the detailed list of CDR arrangements for a given customer.

This endpoint requires the `customer_id` value passed as a claim in an access token using the [JWT Bearer flow](https://cloudentity.com/developers/basics/oauth-grant-types/using-jwt-profile-for-authorization-flows/).

To narrow the list down, use the request body parameters.

func (*Client) ListCustomerClients

func (a *Client) ListCustomerClients(params *ListCustomerClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCustomerClientsOK, error)
ListCustomerClients lists c d r customer clients

Returns clients that currently have arrangements assigned to them.

The response must be filtered either by `customer_id` or `account_ids` value passed as claims in an access token using the [JWT Bearer flow](https://cloudentity.com/developers/basics/oauth-grant-types/using-jwt-profile-for-authorization-flows/).

You can pass `account_ids` as an array of maximum 10 identifiers at once.

func (*Client) RevokeCDRArrangementByID

RevokeCDRArrangementByID revokes c d r arrangement

Revoke a CDR arrangement. Specify the required arrangement with its identifier passed as the path parameter.

func (*Client) RevokeCDRArrangements

func (a *Client) RevokeCDRArrangements(params *RevokeCDRArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeCDRArrangementsOK, error)
RevokeCDRArrangements revokes c d r arrangements

Revoke CDR arrangements by parameters passed.

Currently, this endpoint supports revocation by the `client id` parameter.

To revoke all arrangements for a given client application, specify its identifier in the query.

func (*Client) RevokeCDRCustomerArrangements

func (a *Client) RevokeCDRCustomerArrangements(params *RevokeCDRCustomerArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeCDRCustomerArrangementsOK, error)
RevokeCDRCustomerArrangements revokes c d r customer arrangements

Revoke CDR arrangements, access tokens, and refresh tokens for a given customer.

This endpoint requires the `customer_id` value passed as a claim in an access token using the [JWT Bearer flow](https://cloudentity.com/developers/basics/oauth-grant-types/using-jwt-profile-for-authorization-flows/).

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetCDRArrangement(params *GetCDRArrangementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCDRArrangementOK, error)

	GetCDRArrangements(params *GetCDRArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCDRArrangementsOK, error)

	ListCDRArrangements(params *ListCDRArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCDRArrangementsOK, error)

	ListCDRCustomerArrangements(params *ListCDRCustomerArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCDRCustomerArrangementsOK, error)

	ListCustomerClients(params *ListCustomerClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCustomerClientsOK, error)

	RevokeCDRArrangementByID(params *RevokeCDRArrangementByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeCDRArrangementByIDNoContent, error)

	RevokeCDRArrangements(params *RevokeCDRArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeCDRArrangementsOK, error)

	RevokeCDRCustomerArrangements(params *RevokeCDRCustomerArrangementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeCDRCustomerArrangementsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new m a n a g e m e n t API client.

type GetCDRArrangementBadRequest

type GetCDRArrangementBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetCDRArrangementBadRequest

func NewGetCDRArrangementBadRequest() *GetCDRArrangementBadRequest

NewGetCDRArrangementBadRequest creates a GetCDRArrangementBadRequest with default headers values

func (*GetCDRArrangementBadRequest) Code

func (o *GetCDRArrangementBadRequest) Code() int

Code gets the status code for the get c d r arrangement bad request response

func (*GetCDRArrangementBadRequest) Error

func (*GetCDRArrangementBadRequest) GetPayload

func (o *GetCDRArrangementBadRequest) GetPayload() *models.Error

func (*GetCDRArrangementBadRequest) IsClientError

func (o *GetCDRArrangementBadRequest) IsClientError() bool

IsClientError returns true when this get c d r arrangement bad request response has a 4xx status code

func (*GetCDRArrangementBadRequest) IsCode

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

IsCode returns true when this get c d r arrangement bad request response a status code equal to that given

func (*GetCDRArrangementBadRequest) IsRedirect

func (o *GetCDRArrangementBadRequest) IsRedirect() bool

IsRedirect returns true when this get c d r arrangement bad request response has a 3xx status code

func (*GetCDRArrangementBadRequest) IsServerError

func (o *GetCDRArrangementBadRequest) IsServerError() bool

IsServerError returns true when this get c d r arrangement bad request response has a 5xx status code

func (*GetCDRArrangementBadRequest) IsSuccess

func (o *GetCDRArrangementBadRequest) IsSuccess() bool

IsSuccess returns true when this get c d r arrangement bad request response has a 2xx status code

func (*GetCDRArrangementBadRequest) String

func (o *GetCDRArrangementBadRequest) String() string

type GetCDRArrangementForbidden

type GetCDRArrangementForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetCDRArrangementForbidden

func NewGetCDRArrangementForbidden() *GetCDRArrangementForbidden

NewGetCDRArrangementForbidden creates a GetCDRArrangementForbidden with default headers values

func (*GetCDRArrangementForbidden) Code

func (o *GetCDRArrangementForbidden) Code() int

Code gets the status code for the get c d r arrangement forbidden response

func (*GetCDRArrangementForbidden) Error

func (*GetCDRArrangementForbidden) GetPayload

func (o *GetCDRArrangementForbidden) GetPayload() *models.Error

func (*GetCDRArrangementForbidden) IsClientError

func (o *GetCDRArrangementForbidden) IsClientError() bool

IsClientError returns true when this get c d r arrangement forbidden response has a 4xx status code

func (*GetCDRArrangementForbidden) IsCode

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

IsCode returns true when this get c d r arrangement forbidden response a status code equal to that given

func (*GetCDRArrangementForbidden) IsRedirect

func (o *GetCDRArrangementForbidden) IsRedirect() bool

IsRedirect returns true when this get c d r arrangement forbidden response has a 3xx status code

func (*GetCDRArrangementForbidden) IsServerError

func (o *GetCDRArrangementForbidden) IsServerError() bool

IsServerError returns true when this get c d r arrangement forbidden response has a 5xx status code

func (*GetCDRArrangementForbidden) IsSuccess

func (o *GetCDRArrangementForbidden) IsSuccess() bool

IsSuccess returns true when this get c d r arrangement forbidden response has a 2xx status code

func (*GetCDRArrangementForbidden) String

func (o *GetCDRArrangementForbidden) String() string

type GetCDRArrangementNotFound

type GetCDRArrangementNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetCDRArrangementNotFound

func NewGetCDRArrangementNotFound() *GetCDRArrangementNotFound

NewGetCDRArrangementNotFound creates a GetCDRArrangementNotFound with default headers values

func (*GetCDRArrangementNotFound) Code

func (o *GetCDRArrangementNotFound) Code() int

Code gets the status code for the get c d r arrangement not found response

func (*GetCDRArrangementNotFound) Error

func (o *GetCDRArrangementNotFound) Error() string

func (*GetCDRArrangementNotFound) GetPayload

func (o *GetCDRArrangementNotFound) GetPayload() *models.Error

func (*GetCDRArrangementNotFound) IsClientError

func (o *GetCDRArrangementNotFound) IsClientError() bool

IsClientError returns true when this get c d r arrangement not found response has a 4xx status code

func (*GetCDRArrangementNotFound) IsCode

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

IsCode returns true when this get c d r arrangement not found response a status code equal to that given

func (*GetCDRArrangementNotFound) IsRedirect

func (o *GetCDRArrangementNotFound) IsRedirect() bool

IsRedirect returns true when this get c d r arrangement not found response has a 3xx status code

func (*GetCDRArrangementNotFound) IsServerError

func (o *GetCDRArrangementNotFound) IsServerError() bool

IsServerError returns true when this get c d r arrangement not found response has a 5xx status code

func (*GetCDRArrangementNotFound) IsSuccess

func (o *GetCDRArrangementNotFound) IsSuccess() bool

IsSuccess returns true when this get c d r arrangement not found response has a 2xx status code

func (*GetCDRArrangementNotFound) String

func (o *GetCDRArrangementNotFound) String() string

type GetCDRArrangementOK

type GetCDRArrangementOK struct {
	Payload *models.CDRArrangement
}

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

CDRArrangement

func NewGetCDRArrangementOK

func NewGetCDRArrangementOK() *GetCDRArrangementOK

NewGetCDRArrangementOK creates a GetCDRArrangementOK with default headers values

func (*GetCDRArrangementOK) Code

func (o *GetCDRArrangementOK) Code() int

Code gets the status code for the get c d r arrangement o k response

func (*GetCDRArrangementOK) Error

func (o *GetCDRArrangementOK) Error() string

func (*GetCDRArrangementOK) GetPayload

func (o *GetCDRArrangementOK) GetPayload() *models.CDRArrangement

func (*GetCDRArrangementOK) IsClientError

func (o *GetCDRArrangementOK) IsClientError() bool

IsClientError returns true when this get c d r arrangement o k response has a 4xx status code

func (*GetCDRArrangementOK) IsCode

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

IsCode returns true when this get c d r arrangement o k response a status code equal to that given

func (*GetCDRArrangementOK) IsRedirect

func (o *GetCDRArrangementOK) IsRedirect() bool

IsRedirect returns true when this get c d r arrangement o k response has a 3xx status code

func (*GetCDRArrangementOK) IsServerError

func (o *GetCDRArrangementOK) IsServerError() bool

IsServerError returns true when this get c d r arrangement o k response has a 5xx status code

func (*GetCDRArrangementOK) IsSuccess

func (o *GetCDRArrangementOK) IsSuccess() bool

IsSuccess returns true when this get c d r arrangement o k response has a 2xx status code

func (*GetCDRArrangementOK) String

func (o *GetCDRArrangementOK) String() string

type GetCDRArrangementParams

type GetCDRArrangementParams struct {

	/* ArrangementID.

	   Arrangement ID
	*/
	ArrangementID string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

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

GetCDRArrangementParams contains all the parameters to send to the API endpoint

for the get c d r arrangement operation.

Typically these are written to a http.Request.

func NewGetCDRArrangementParams

func NewGetCDRArrangementParams() *GetCDRArrangementParams

NewGetCDRArrangementParams creates a new GetCDRArrangementParams 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 NewGetCDRArrangementParamsWithContext

func NewGetCDRArrangementParamsWithContext(ctx context.Context) *GetCDRArrangementParams

NewGetCDRArrangementParamsWithContext creates a new GetCDRArrangementParams object with the ability to set a context for a request.

func NewGetCDRArrangementParamsWithHTTPClient

func NewGetCDRArrangementParamsWithHTTPClient(client *http.Client) *GetCDRArrangementParams

NewGetCDRArrangementParamsWithHTTPClient creates a new GetCDRArrangementParams object with the ability to set a custom HTTPClient for a request.

func NewGetCDRArrangementParamsWithTimeout

func NewGetCDRArrangementParamsWithTimeout(timeout time.Duration) *GetCDRArrangementParams

NewGetCDRArrangementParamsWithTimeout creates a new GetCDRArrangementParams object with the ability to set a timeout on a request.

func (*GetCDRArrangementParams) SetArrangementID

func (o *GetCDRArrangementParams) SetArrangementID(arrangementID string)

SetArrangementID adds the arrangementId to the get c d r arrangement params

func (*GetCDRArrangementParams) SetContext

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

SetContext adds the context to the get c d r arrangement params

func (*GetCDRArrangementParams) SetDefaults

func (o *GetCDRArrangementParams) SetDefaults()

SetDefaults hydrates default values in the get c d r arrangement params (not the query body).

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

func (*GetCDRArrangementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c d r arrangement params

func (*GetCDRArrangementParams) SetTimeout

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

SetTimeout adds the timeout to the get c d r arrangement params

func (*GetCDRArrangementParams) SetWid

func (o *GetCDRArrangementParams) SetWid(wid string)

SetWid adds the wid to the get c d r arrangement params

func (*GetCDRArrangementParams) WithArrangementID

func (o *GetCDRArrangementParams) WithArrangementID(arrangementID string) *GetCDRArrangementParams

WithArrangementID adds the arrangementID to the get c d r arrangement params

func (*GetCDRArrangementParams) WithContext

WithContext adds the context to the get c d r arrangement params

func (*GetCDRArrangementParams) WithDefaults

WithDefaults hydrates default values in the get c d r arrangement params (not the query body).

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

func (*GetCDRArrangementParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get c d r arrangement params

func (*GetCDRArrangementParams) WithTimeout

WithTimeout adds the timeout to the get c d r arrangement params

func (*GetCDRArrangementParams) WithWid

WithWid adds the wid to the get c d r arrangement params

func (*GetCDRArrangementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCDRArrangementReader

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

GetCDRArrangementReader is a Reader for the GetCDRArrangement structure.

func (*GetCDRArrangementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCDRArrangementTooManyRequests

type GetCDRArrangementTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetCDRArrangementTooManyRequests

func NewGetCDRArrangementTooManyRequests() *GetCDRArrangementTooManyRequests

NewGetCDRArrangementTooManyRequests creates a GetCDRArrangementTooManyRequests with default headers values

func (*GetCDRArrangementTooManyRequests) Code

Code gets the status code for the get c d r arrangement too many requests response

func (*GetCDRArrangementTooManyRequests) Error

func (*GetCDRArrangementTooManyRequests) GetPayload

func (*GetCDRArrangementTooManyRequests) IsClientError

func (o *GetCDRArrangementTooManyRequests) IsClientError() bool

IsClientError returns true when this get c d r arrangement too many requests response has a 4xx status code

func (*GetCDRArrangementTooManyRequests) IsCode

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

IsCode returns true when this get c d r arrangement too many requests response a status code equal to that given

func (*GetCDRArrangementTooManyRequests) IsRedirect

func (o *GetCDRArrangementTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get c d r arrangement too many requests response has a 3xx status code

func (*GetCDRArrangementTooManyRequests) IsServerError

func (o *GetCDRArrangementTooManyRequests) IsServerError() bool

IsServerError returns true when this get c d r arrangement too many requests response has a 5xx status code

func (*GetCDRArrangementTooManyRequests) IsSuccess

func (o *GetCDRArrangementTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get c d r arrangement too many requests response has a 2xx status code

func (*GetCDRArrangementTooManyRequests) String

type GetCDRArrangementUnauthorized

type GetCDRArrangementUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetCDRArrangementUnauthorized

func NewGetCDRArrangementUnauthorized() *GetCDRArrangementUnauthorized

NewGetCDRArrangementUnauthorized creates a GetCDRArrangementUnauthorized with default headers values

func (*GetCDRArrangementUnauthorized) Code

Code gets the status code for the get c d r arrangement unauthorized response

func (*GetCDRArrangementUnauthorized) Error

func (*GetCDRArrangementUnauthorized) GetPayload

func (o *GetCDRArrangementUnauthorized) GetPayload() *models.Error

func (*GetCDRArrangementUnauthorized) IsClientError

func (o *GetCDRArrangementUnauthorized) IsClientError() bool

IsClientError returns true when this get c d r arrangement unauthorized response has a 4xx status code

func (*GetCDRArrangementUnauthorized) IsCode

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

IsCode returns true when this get c d r arrangement unauthorized response a status code equal to that given

func (*GetCDRArrangementUnauthorized) IsRedirect

func (o *GetCDRArrangementUnauthorized) IsRedirect() bool

IsRedirect returns true when this get c d r arrangement unauthorized response has a 3xx status code

func (*GetCDRArrangementUnauthorized) IsServerError

func (o *GetCDRArrangementUnauthorized) IsServerError() bool

IsServerError returns true when this get c d r arrangement unauthorized response has a 5xx status code

func (*GetCDRArrangementUnauthorized) IsSuccess

func (o *GetCDRArrangementUnauthorized) IsSuccess() bool

IsSuccess returns true when this get c d r arrangement unauthorized response has a 2xx status code

func (*GetCDRArrangementUnauthorized) String

type GetCDRArrangementsBadRequest

type GetCDRArrangementsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetCDRArrangementsBadRequest

func NewGetCDRArrangementsBadRequest() *GetCDRArrangementsBadRequest

NewGetCDRArrangementsBadRequest creates a GetCDRArrangementsBadRequest with default headers values

func (*GetCDRArrangementsBadRequest) Code

Code gets the status code for the get c d r arrangements bad request response

func (*GetCDRArrangementsBadRequest) Error

func (*GetCDRArrangementsBadRequest) GetPayload

func (o *GetCDRArrangementsBadRequest) GetPayload() *models.Error

func (*GetCDRArrangementsBadRequest) IsClientError

func (o *GetCDRArrangementsBadRequest) IsClientError() bool

IsClientError returns true when this get c d r arrangements bad request response has a 4xx status code

func (*GetCDRArrangementsBadRequest) IsCode

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

IsCode returns true when this get c d r arrangements bad request response a status code equal to that given

func (*GetCDRArrangementsBadRequest) IsRedirect

func (o *GetCDRArrangementsBadRequest) IsRedirect() bool

IsRedirect returns true when this get c d r arrangements bad request response has a 3xx status code

func (*GetCDRArrangementsBadRequest) IsServerError

func (o *GetCDRArrangementsBadRequest) IsServerError() bool

IsServerError returns true when this get c d r arrangements bad request response has a 5xx status code

func (*GetCDRArrangementsBadRequest) IsSuccess

func (o *GetCDRArrangementsBadRequest) IsSuccess() bool

IsSuccess returns true when this get c d r arrangements bad request response has a 2xx status code

func (*GetCDRArrangementsBadRequest) String

type GetCDRArrangementsForbidden

type GetCDRArrangementsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetCDRArrangementsForbidden

func NewGetCDRArrangementsForbidden() *GetCDRArrangementsForbidden

NewGetCDRArrangementsForbidden creates a GetCDRArrangementsForbidden with default headers values

func (*GetCDRArrangementsForbidden) Code

func (o *GetCDRArrangementsForbidden) Code() int

Code gets the status code for the get c d r arrangements forbidden response

func (*GetCDRArrangementsForbidden) Error

func (*GetCDRArrangementsForbidden) GetPayload

func (o *GetCDRArrangementsForbidden) GetPayload() *models.Error

func (*GetCDRArrangementsForbidden) IsClientError

func (o *GetCDRArrangementsForbidden) IsClientError() bool

IsClientError returns true when this get c d r arrangements forbidden response has a 4xx status code

func (*GetCDRArrangementsForbidden) IsCode

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

IsCode returns true when this get c d r arrangements forbidden response a status code equal to that given

func (*GetCDRArrangementsForbidden) IsRedirect

func (o *GetCDRArrangementsForbidden) IsRedirect() bool

IsRedirect returns true when this get c d r arrangements forbidden response has a 3xx status code

func (*GetCDRArrangementsForbidden) IsServerError

func (o *GetCDRArrangementsForbidden) IsServerError() bool

IsServerError returns true when this get c d r arrangements forbidden response has a 5xx status code

func (*GetCDRArrangementsForbidden) IsSuccess

func (o *GetCDRArrangementsForbidden) IsSuccess() bool

IsSuccess returns true when this get c d r arrangements forbidden response has a 2xx status code

func (*GetCDRArrangementsForbidden) String

func (o *GetCDRArrangementsForbidden) String() string

type GetCDRArrangementsNotFound

type GetCDRArrangementsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetCDRArrangementsNotFound

func NewGetCDRArrangementsNotFound() *GetCDRArrangementsNotFound

NewGetCDRArrangementsNotFound creates a GetCDRArrangementsNotFound with default headers values

func (*GetCDRArrangementsNotFound) Code

func (o *GetCDRArrangementsNotFound) Code() int

Code gets the status code for the get c d r arrangements not found response

func (*GetCDRArrangementsNotFound) Error

func (*GetCDRArrangementsNotFound) GetPayload

func (o *GetCDRArrangementsNotFound) GetPayload() *models.Error

func (*GetCDRArrangementsNotFound) IsClientError

func (o *GetCDRArrangementsNotFound) IsClientError() bool

IsClientError returns true when this get c d r arrangements not found response has a 4xx status code

func (*GetCDRArrangementsNotFound) IsCode

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

IsCode returns true when this get c d r arrangements not found response a status code equal to that given

func (*GetCDRArrangementsNotFound) IsRedirect

func (o *GetCDRArrangementsNotFound) IsRedirect() bool

IsRedirect returns true when this get c d r arrangements not found response has a 3xx status code

func (*GetCDRArrangementsNotFound) IsServerError

func (o *GetCDRArrangementsNotFound) IsServerError() bool

IsServerError returns true when this get c d r arrangements not found response has a 5xx status code

func (*GetCDRArrangementsNotFound) IsSuccess

func (o *GetCDRArrangementsNotFound) IsSuccess() bool

IsSuccess returns true when this get c d r arrangements not found response has a 2xx status code

func (*GetCDRArrangementsNotFound) String

func (o *GetCDRArrangementsNotFound) String() string

type GetCDRArrangementsOK

type GetCDRArrangementsOK struct {
	Payload *models.CDRArrangements
}

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

CDRArrangements

func NewGetCDRArrangementsOK

func NewGetCDRArrangementsOK() *GetCDRArrangementsOK

NewGetCDRArrangementsOK creates a GetCDRArrangementsOK with default headers values

func (*GetCDRArrangementsOK) Code

func (o *GetCDRArrangementsOK) Code() int

Code gets the status code for the get c d r arrangements o k response

func (*GetCDRArrangementsOK) Error

func (o *GetCDRArrangementsOK) Error() string

func (*GetCDRArrangementsOK) GetPayload

func (o *GetCDRArrangementsOK) GetPayload() *models.CDRArrangements

func (*GetCDRArrangementsOK) IsClientError

func (o *GetCDRArrangementsOK) IsClientError() bool

IsClientError returns true when this get c d r arrangements o k response has a 4xx status code

func (*GetCDRArrangementsOK) IsCode

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

IsCode returns true when this get c d r arrangements o k response a status code equal to that given

func (*GetCDRArrangementsOK) IsRedirect

func (o *GetCDRArrangementsOK) IsRedirect() bool

IsRedirect returns true when this get c d r arrangements o k response has a 3xx status code

func (*GetCDRArrangementsOK) IsServerError

func (o *GetCDRArrangementsOK) IsServerError() bool

IsServerError returns true when this get c d r arrangements o k response has a 5xx status code

func (*GetCDRArrangementsOK) IsSuccess

func (o *GetCDRArrangementsOK) IsSuccess() bool

IsSuccess returns true when this get c d r arrangements o k response has a 2xx status code

func (*GetCDRArrangementsOK) String

func (o *GetCDRArrangementsOK) String() string

type GetCDRArrangementsParams

type GetCDRArrangementsParams struct {

	/* Accounts.

	     List of accounts.

	It can refer to user bank accounts the client application is allowed to access.
	*/
	Accounts []string

	/* AfterConsentID.

	     A consent identifier.

	Use it to navigate through the request pagination when the number of consents is greater than
	the `limit` set for results in the response.

	With `after_consent_id`, the list you obtain starts from the subsequent consent after the specified one. Also,
	the response depends on the `sort` and `order` parameters, if any are passed.
	*/
	AfterConsentID *string

	/* BeforeConsentID.

	     A consent identifier.

	Use it to navigate through the request pagination when the number of consents is greater than
	the limit set for results in the response.

	With `before_consent_id`, the list you obtain comprises consents up to the specified one. The specified consent
	isn't included. Also, the response depends on the `sort` and `order` parameters, if any are passed.
	*/
	BeforeConsentID *string

	/* ClientID.

	   A client identifier.
	*/
	ClientID *string

	/* CustomerID.

	     Customer identifier. It represents an organization. The customer identifier can cover several
	user identifiers as organization members.

	When you pass a `customer_id` with your request, the response contains results related to the specified
	organization, including the allowed information about its users and their arrangements.
	*/
	CustomerID *string

	/* Limit.

	   Limit the number of results returned in the response.

	   Format: int64
	   Default: 20
	*/
	Limit *int64

	/* Order.

	     Input: `acs` or `desc`.

	Set the order of results returned in the response.

	     Default: "desc"
	*/
	Order *string

	/* Sort.

	   Sort results returned in the response.
	*/
	Sort *string

	/* Status.

	   List of the consent statuses.
	*/
	Status []string

	/* Types.

	   Consent types.
	*/
	Types []string

	/* UserID.

	     User identifier. It represents an end-user.

	When you pass a `user_id` with your request, the endpoint returns the details relating to the specified user.
	*/
	UserID *string

	/* Wid.

	   Workspace ID

	   Default: "default"
	*/
	Wid string

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

GetCDRArrangementsParams contains all the parameters to send to the API endpoint

for the get c d r arrangements operation.

Typically these are written to a http.Request.

func NewGetCDRArrangementsParams

func NewGetCDRArrangementsParams() *GetCDRArrangementsParams

NewGetCDRArrangementsParams creates a new GetCDRArrangementsParams 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 NewGetCDRArrangementsParamsWithContext

func NewGetCDRArrangementsParamsWithContext(ctx context.Context) *GetCDRArrangementsParams

NewGetCDRArrangementsParamsWithContext creates a new GetCDRArrangementsParams object with the ability to set a context for a request.

func NewGetCDRArrangementsParamsWithHTTPClient

func NewGetCDRArrangementsParamsWithHTTPClient(client *http.Client) *GetCDRArrangementsParams

NewGetCDRArrangementsParamsWithHTTPClient creates a new GetCDRArrangementsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCDRArrangementsParamsWithTimeout

func NewGetCDRArrangementsParamsWithTimeout(timeout time.Duration) *GetCDRArrangementsParams

NewGetCDRArrangementsParamsWithTimeout creates a new GetCDRArrangementsParams object with the ability to set a timeout on a request.

func (*GetCDRArrangementsParams) SetAccounts

func (o *GetCDRArrangementsParams) SetAccounts(accounts []string)

SetAccounts adds the accounts to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetAfterConsentID

func (o *GetCDRArrangementsParams) SetAfterConsentID(afterConsentID *string)

SetAfterConsentID adds the afterConsentId to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetBeforeConsentID

func (o *GetCDRArrangementsParams) SetBeforeConsentID(beforeConsentID *string)

SetBeforeConsentID adds the beforeConsentId to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetClientID

func (o *GetCDRArrangementsParams) SetClientID(clientID *string)

SetClientID adds the clientId to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetContext

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

SetContext adds the context to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetCustomerID

func (o *GetCDRArrangementsParams) SetCustomerID(customerID *string)

SetCustomerID adds the customerId to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetDefaults

func (o *GetCDRArrangementsParams) SetDefaults()

SetDefaults hydrates default values in the get c d r arrangements params (not the query body).

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

func (*GetCDRArrangementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetLimit

func (o *GetCDRArrangementsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetOrder

func (o *GetCDRArrangementsParams) SetOrder(order *string)

SetOrder adds the order to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetSort

func (o *GetCDRArrangementsParams) SetSort(sort *string)

SetSort adds the sort to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetStatus

func (o *GetCDRArrangementsParams) SetStatus(status []string)

SetStatus adds the status to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetTimeout

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

SetTimeout adds the timeout to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetTypes

func (o *GetCDRArrangementsParams) SetTypes(types []string)

SetTypes adds the types to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetUserID

func (o *GetCDRArrangementsParams) SetUserID(userID *string)

SetUserID adds the userId to the get c d r arrangements params

func (*GetCDRArrangementsParams) SetWid

func (o *GetCDRArrangementsParams) SetWid(wid string)

SetWid adds the wid to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithAccounts

func (o *GetCDRArrangementsParams) WithAccounts(accounts []string) *GetCDRArrangementsParams

WithAccounts adds the accounts to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithAfterConsentID

func (o *GetCDRArrangementsParams) WithAfterConsentID(afterConsentID *string) *GetCDRArrangementsParams

WithAfterConsentID adds the afterConsentID to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithBeforeConsentID

func (o *GetCDRArrangementsParams) WithBeforeConsentID(beforeConsentID *string) *GetCDRArrangementsParams

WithBeforeConsentID adds the beforeConsentID to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithClientID

func (o *GetCDRArrangementsParams) WithClientID(clientID *string) *GetCDRArrangementsParams

WithClientID adds the clientID to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithContext

WithContext adds the context to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithCustomerID

func (o *GetCDRArrangementsParams) WithCustomerID(customerID *string) *GetCDRArrangementsParams

WithCustomerID adds the customerID to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithDefaults

WithDefaults hydrates default values in the get c d r arrangements params (not the query body).

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

func (*GetCDRArrangementsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithLimit

WithLimit adds the limit to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithOrder

WithOrder adds the order to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithSort

WithSort adds the sort to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithStatus

func (o *GetCDRArrangementsParams) WithStatus(status []string) *GetCDRArrangementsParams

WithStatus adds the status to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithTimeout

WithTimeout adds the timeout to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithTypes

WithTypes adds the types to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithUserID

WithUserID adds the userID to the get c d r arrangements params

func (*GetCDRArrangementsParams) WithWid

WithWid adds the wid to the get c d r arrangements params

func (*GetCDRArrangementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCDRArrangementsReader

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

GetCDRArrangementsReader is a Reader for the GetCDRArrangements structure.

func (*GetCDRArrangementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCDRArrangementsTooManyRequests

type GetCDRArrangementsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetCDRArrangementsTooManyRequests

func NewGetCDRArrangementsTooManyRequests() *GetCDRArrangementsTooManyRequests

NewGetCDRArrangementsTooManyRequests creates a GetCDRArrangementsTooManyRequests with default headers values

func (*GetCDRArrangementsTooManyRequests) Code

Code gets the status code for the get c d r arrangements too many requests response

func (*GetCDRArrangementsTooManyRequests) Error

func (*GetCDRArrangementsTooManyRequests) GetPayload

func (*GetCDRArrangementsTooManyRequests) IsClientError

func (o *GetCDRArrangementsTooManyRequests) IsClientError() bool

IsClientError returns true when this get c d r arrangements too many requests response has a 4xx status code

func (*GetCDRArrangementsTooManyRequests) IsCode

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

IsCode returns true when this get c d r arrangements too many requests response a status code equal to that given

func (*GetCDRArrangementsTooManyRequests) IsRedirect

func (o *GetCDRArrangementsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get c d r arrangements too many requests response has a 3xx status code

func (*GetCDRArrangementsTooManyRequests) IsServerError

func (o *GetCDRArrangementsTooManyRequests) IsServerError() bool

IsServerError returns true when this get c d r arrangements too many requests response has a 5xx status code

func (*GetCDRArrangementsTooManyRequests) IsSuccess

func (o *GetCDRArrangementsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get c d r arrangements too many requests response has a 2xx status code

func (*GetCDRArrangementsTooManyRequests) String

type GetCDRArrangementsUnauthorized

type GetCDRArrangementsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetCDRArrangementsUnauthorized

func NewGetCDRArrangementsUnauthorized() *GetCDRArrangementsUnauthorized

NewGetCDRArrangementsUnauthorized creates a GetCDRArrangementsUnauthorized with default headers values

func (*GetCDRArrangementsUnauthorized) Code

Code gets the status code for the get c d r arrangements unauthorized response

func (*GetCDRArrangementsUnauthorized) Error

func (*GetCDRArrangementsUnauthorized) GetPayload

func (o *GetCDRArrangementsUnauthorized) GetPayload() *models.Error

func (*GetCDRArrangementsUnauthorized) IsClientError

func (o *GetCDRArrangementsUnauthorized) IsClientError() bool

IsClientError returns true when this get c d r arrangements unauthorized response has a 4xx status code

func (*GetCDRArrangementsUnauthorized) IsCode

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

IsCode returns true when this get c d r arrangements unauthorized response a status code equal to that given

func (*GetCDRArrangementsUnauthorized) IsRedirect

func (o *GetCDRArrangementsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get c d r arrangements unauthorized response has a 3xx status code

func (*GetCDRArrangementsUnauthorized) IsServerError

func (o *GetCDRArrangementsUnauthorized) IsServerError() bool

IsServerError returns true when this get c d r arrangements unauthorized response has a 5xx status code

func (*GetCDRArrangementsUnauthorized) IsSuccess

func (o *GetCDRArrangementsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get c d r arrangements unauthorized response has a 2xx status code

func (*GetCDRArrangementsUnauthorized) String

type GetCDRArrangementsUnprocessableEntity

type GetCDRArrangementsUnprocessableEntity struct {
	Payload *models.Error
}

GetCDRArrangementsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewGetCDRArrangementsUnprocessableEntity

func NewGetCDRArrangementsUnprocessableEntity() *GetCDRArrangementsUnprocessableEntity

NewGetCDRArrangementsUnprocessableEntity creates a GetCDRArrangementsUnprocessableEntity with default headers values

func (*GetCDRArrangementsUnprocessableEntity) Code

Code gets the status code for the get c d r arrangements unprocessable entity response

func (*GetCDRArrangementsUnprocessableEntity) Error

func (*GetCDRArrangementsUnprocessableEntity) GetPayload

func (*GetCDRArrangementsUnprocessableEntity) IsClientError

func (o *GetCDRArrangementsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get c d r arrangements unprocessable entity response has a 4xx status code

func (*GetCDRArrangementsUnprocessableEntity) IsCode

IsCode returns true when this get c d r arrangements unprocessable entity response a status code equal to that given

func (*GetCDRArrangementsUnprocessableEntity) IsRedirect

IsRedirect returns true when this get c d r arrangements unprocessable entity response has a 3xx status code

func (*GetCDRArrangementsUnprocessableEntity) IsServerError

func (o *GetCDRArrangementsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get c d r arrangements unprocessable entity response has a 5xx status code

func (*GetCDRArrangementsUnprocessableEntity) IsSuccess

IsSuccess returns true when this get c d r arrangements unprocessable entity response has a 2xx status code

func (*GetCDRArrangementsUnprocessableEntity) String

type ListCDRArrangementsBadRequest

type ListCDRArrangementsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewListCDRArrangementsBadRequest

func NewListCDRArrangementsBadRequest() *ListCDRArrangementsBadRequest

NewListCDRArrangementsBadRequest creates a ListCDRArrangementsBadRequest with default headers values

func (*ListCDRArrangementsBadRequest) Code

Code gets the status code for the list c d r arrangements bad request response

func (*ListCDRArrangementsBadRequest) Error

func (*ListCDRArrangementsBadRequest) GetPayload

func (o *ListCDRArrangementsBadRequest) GetPayload() *models.Error

func (*ListCDRArrangementsBadRequest) IsClientError

func (o *ListCDRArrangementsBadRequest) IsClientError() bool

IsClientError returns true when this list c d r arrangements bad request response has a 4xx status code

func (*ListCDRArrangementsBadRequest) IsCode

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

IsCode returns true when this list c d r arrangements bad request response a status code equal to that given

func (*ListCDRArrangementsBadRequest) IsRedirect

func (o *ListCDRArrangementsBadRequest) IsRedirect() bool

IsRedirect returns true when this list c d r arrangements bad request response has a 3xx status code

func (*ListCDRArrangementsBadRequest) IsServerError

func (o *ListCDRArrangementsBadRequest) IsServerError() bool

IsServerError returns true when this list c d r arrangements bad request response has a 5xx status code

func (*ListCDRArrangementsBadRequest) IsSuccess

func (o *ListCDRArrangementsBadRequest) IsSuccess() bool

IsSuccess returns true when this list c d r arrangements bad request response has a 2xx status code

func (*ListCDRArrangementsBadRequest) String

type ListCDRArrangementsForbidden

type ListCDRArrangementsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListCDRArrangementsForbidden

func NewListCDRArrangementsForbidden() *ListCDRArrangementsForbidden

NewListCDRArrangementsForbidden creates a ListCDRArrangementsForbidden with default headers values

func (*ListCDRArrangementsForbidden) Code

Code gets the status code for the list c d r arrangements forbidden response

func (*ListCDRArrangementsForbidden) Error

func (*ListCDRArrangementsForbidden) GetPayload

func (o *ListCDRArrangementsForbidden) GetPayload() *models.Error

func (*ListCDRArrangementsForbidden) IsClientError

func (o *ListCDRArrangementsForbidden) IsClientError() bool

IsClientError returns true when this list c d r arrangements forbidden response has a 4xx status code

func (*ListCDRArrangementsForbidden) IsCode

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

IsCode returns true when this list c d r arrangements forbidden response a status code equal to that given

func (*ListCDRArrangementsForbidden) IsRedirect

func (o *ListCDRArrangementsForbidden) IsRedirect() bool

IsRedirect returns true when this list c d r arrangements forbidden response has a 3xx status code

func (*ListCDRArrangementsForbidden) IsServerError

func (o *ListCDRArrangementsForbidden) IsServerError() bool

IsServerError returns true when this list c d r arrangements forbidden response has a 5xx status code

func (*ListCDRArrangementsForbidden) IsSuccess

func (o *ListCDRArrangementsForbidden) IsSuccess() bool

IsSuccess returns true when this list c d r arrangements forbidden response has a 2xx status code

func (*ListCDRArrangementsForbidden) String

type ListCDRArrangementsNotFound

type ListCDRArrangementsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListCDRArrangementsNotFound

func NewListCDRArrangementsNotFound() *ListCDRArrangementsNotFound

NewListCDRArrangementsNotFound creates a ListCDRArrangementsNotFound with default headers values

func (*ListCDRArrangementsNotFound) Code

func (o *ListCDRArrangementsNotFound) Code() int

Code gets the status code for the list c d r arrangements not found response

func (*ListCDRArrangementsNotFound) Error

func (*ListCDRArrangementsNotFound) GetPayload

func (o *ListCDRArrangementsNotFound) GetPayload() *models.Error

func (*ListCDRArrangementsNotFound) IsClientError

func (o *ListCDRArrangementsNotFound) IsClientError() bool

IsClientError returns true when this list c d r arrangements not found response has a 4xx status code

func (*ListCDRArrangementsNotFound) IsCode

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

IsCode returns true when this list c d r arrangements not found response a status code equal to that given

func (*ListCDRArrangementsNotFound) IsRedirect

func (o *ListCDRArrangementsNotFound) IsRedirect() bool

IsRedirect returns true when this list c d r arrangements not found response has a 3xx status code

func (*ListCDRArrangementsNotFound) IsServerError

func (o *ListCDRArrangementsNotFound) IsServerError() bool

IsServerError returns true when this list c d r arrangements not found response has a 5xx status code

func (*ListCDRArrangementsNotFound) IsSuccess

func (o *ListCDRArrangementsNotFound) IsSuccess() bool

IsSuccess returns true when this list c d r arrangements not found response has a 2xx status code

func (*ListCDRArrangementsNotFound) String

func (o *ListCDRArrangementsNotFound) String() string

type ListCDRArrangementsOK

type ListCDRArrangementsOK struct {
	Payload *models.CDRArrangements
}

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

CDRArrangements

func NewListCDRArrangementsOK

func NewListCDRArrangementsOK() *ListCDRArrangementsOK

NewListCDRArrangementsOK creates a ListCDRArrangementsOK with default headers values

func (*ListCDRArrangementsOK) Code

func (o *ListCDRArrangementsOK) Code() int

Code gets the status code for the list c d r arrangements o k response

func (*ListCDRArrangementsOK) Error

func (o *ListCDRArrangementsOK) Error() string

func (*ListCDRArrangementsOK) GetPayload

func (o *ListCDRArrangementsOK) GetPayload() *models.CDRArrangements

func (*ListCDRArrangementsOK) IsClientError

func (o *ListCDRArrangementsOK) IsClientError() bool

IsClientError returns true when this list c d r arrangements o k response has a 4xx status code

func (*ListCDRArrangementsOK) IsCode

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

IsCode returns true when this list c d r arrangements o k response a status code equal to that given

func (*ListCDRArrangementsOK) IsRedirect

func (o *ListCDRArrangementsOK) IsRedirect() bool

IsRedirect returns true when this list c d r arrangements o k response has a 3xx status code

func (*ListCDRArrangementsOK) IsServerError

func (o *ListCDRArrangementsOK) IsServerError() bool

IsServerError returns true when this list c d r arrangements o k response has a 5xx status code

func (*ListCDRArrangementsOK) IsSuccess

func (o *ListCDRArrangementsOK) IsSuccess() bool

IsSuccess returns true when this list c d r arrangements o k response has a 2xx status code

func (*ListCDRArrangementsOK) String

func (o *ListCDRArrangementsOK) String() string

type ListCDRArrangementsParams

type ListCDRArrangementsParams struct {

	// ConsentsRequest.
	ConsentsRequest *models.CDRConsentsRequest

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListCDRArrangementsParams contains all the parameters to send to the API endpoint

for the list c d r arrangements operation.

Typically these are written to a http.Request.

func NewListCDRArrangementsParams

func NewListCDRArrangementsParams() *ListCDRArrangementsParams

NewListCDRArrangementsParams creates a new ListCDRArrangementsParams 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 NewListCDRArrangementsParamsWithContext

func NewListCDRArrangementsParamsWithContext(ctx context.Context) *ListCDRArrangementsParams

NewListCDRArrangementsParamsWithContext creates a new ListCDRArrangementsParams object with the ability to set a context for a request.

func NewListCDRArrangementsParamsWithHTTPClient

func NewListCDRArrangementsParamsWithHTTPClient(client *http.Client) *ListCDRArrangementsParams

NewListCDRArrangementsParamsWithHTTPClient creates a new ListCDRArrangementsParams object with the ability to set a custom HTTPClient for a request.

func NewListCDRArrangementsParamsWithTimeout

func NewListCDRArrangementsParamsWithTimeout(timeout time.Duration) *ListCDRArrangementsParams

NewListCDRArrangementsParamsWithTimeout creates a new ListCDRArrangementsParams object with the ability to set a timeout on a request.

func (*ListCDRArrangementsParams) SetConsentsRequest

func (o *ListCDRArrangementsParams) SetConsentsRequest(consentsRequest *models.CDRConsentsRequest)

SetConsentsRequest adds the consentsRequest to the list c d r arrangements params

func (*ListCDRArrangementsParams) SetContext

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

SetContext adds the context to the list c d r arrangements params

func (*ListCDRArrangementsParams) SetDefaults

func (o *ListCDRArrangementsParams) SetDefaults()

SetDefaults hydrates default values in the list c d r arrangements params (not the query body).

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

func (*ListCDRArrangementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list c d r arrangements params

func (*ListCDRArrangementsParams) SetTimeout

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

SetTimeout adds the timeout to the list c d r arrangements params

func (*ListCDRArrangementsParams) SetWid

func (o *ListCDRArrangementsParams) SetWid(wid string)

SetWid adds the wid to the list c d r arrangements params

func (*ListCDRArrangementsParams) WithConsentsRequest

func (o *ListCDRArrangementsParams) WithConsentsRequest(consentsRequest *models.CDRConsentsRequest) *ListCDRArrangementsParams

WithConsentsRequest adds the consentsRequest to the list c d r arrangements params

func (*ListCDRArrangementsParams) WithContext

WithContext adds the context to the list c d r arrangements params

func (*ListCDRArrangementsParams) WithDefaults

WithDefaults hydrates default values in the list c d r arrangements params (not the query body).

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

func (*ListCDRArrangementsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list c d r arrangements params

func (*ListCDRArrangementsParams) WithTimeout

WithTimeout adds the timeout to the list c d r arrangements params

func (*ListCDRArrangementsParams) WithWid

WithWid adds the wid to the list c d r arrangements params

func (*ListCDRArrangementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCDRArrangementsReader

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

ListCDRArrangementsReader is a Reader for the ListCDRArrangements structure.

func (*ListCDRArrangementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCDRArrangementsTooManyRequests

type ListCDRArrangementsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListCDRArrangementsTooManyRequests

func NewListCDRArrangementsTooManyRequests() *ListCDRArrangementsTooManyRequests

NewListCDRArrangementsTooManyRequests creates a ListCDRArrangementsTooManyRequests with default headers values

func (*ListCDRArrangementsTooManyRequests) Code

Code gets the status code for the list c d r arrangements too many requests response

func (*ListCDRArrangementsTooManyRequests) Error

func (*ListCDRArrangementsTooManyRequests) GetPayload

func (*ListCDRArrangementsTooManyRequests) IsClientError

func (o *ListCDRArrangementsTooManyRequests) IsClientError() bool

IsClientError returns true when this list c d r arrangements too many requests response has a 4xx status code

func (*ListCDRArrangementsTooManyRequests) IsCode

IsCode returns true when this list c d r arrangements too many requests response a status code equal to that given

func (*ListCDRArrangementsTooManyRequests) IsRedirect

func (o *ListCDRArrangementsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list c d r arrangements too many requests response has a 3xx status code

func (*ListCDRArrangementsTooManyRequests) IsServerError

func (o *ListCDRArrangementsTooManyRequests) IsServerError() bool

IsServerError returns true when this list c d r arrangements too many requests response has a 5xx status code

func (*ListCDRArrangementsTooManyRequests) IsSuccess

IsSuccess returns true when this list c d r arrangements too many requests response has a 2xx status code

func (*ListCDRArrangementsTooManyRequests) String

type ListCDRArrangementsUnauthorized

type ListCDRArrangementsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListCDRArrangementsUnauthorized

func NewListCDRArrangementsUnauthorized() *ListCDRArrangementsUnauthorized

NewListCDRArrangementsUnauthorized creates a ListCDRArrangementsUnauthorized with default headers values

func (*ListCDRArrangementsUnauthorized) Code

Code gets the status code for the list c d r arrangements unauthorized response

func (*ListCDRArrangementsUnauthorized) Error

func (*ListCDRArrangementsUnauthorized) GetPayload

func (o *ListCDRArrangementsUnauthorized) GetPayload() *models.Error

func (*ListCDRArrangementsUnauthorized) IsClientError

func (o *ListCDRArrangementsUnauthorized) IsClientError() bool

IsClientError returns true when this list c d r arrangements unauthorized response has a 4xx status code

func (*ListCDRArrangementsUnauthorized) IsCode

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

IsCode returns true when this list c d r arrangements unauthorized response a status code equal to that given

func (*ListCDRArrangementsUnauthorized) IsRedirect

func (o *ListCDRArrangementsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list c d r arrangements unauthorized response has a 3xx status code

func (*ListCDRArrangementsUnauthorized) IsServerError

func (o *ListCDRArrangementsUnauthorized) IsServerError() bool

IsServerError returns true when this list c d r arrangements unauthorized response has a 5xx status code

func (*ListCDRArrangementsUnauthorized) IsSuccess

func (o *ListCDRArrangementsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list c d r arrangements unauthorized response has a 2xx status code

func (*ListCDRArrangementsUnauthorized) String

type ListCDRArrangementsUnprocessableEntity

type ListCDRArrangementsUnprocessableEntity struct {
	Payload *models.Error
}

ListCDRArrangementsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewListCDRArrangementsUnprocessableEntity

func NewListCDRArrangementsUnprocessableEntity() *ListCDRArrangementsUnprocessableEntity

NewListCDRArrangementsUnprocessableEntity creates a ListCDRArrangementsUnprocessableEntity with default headers values

func (*ListCDRArrangementsUnprocessableEntity) Code

Code gets the status code for the list c d r arrangements unprocessable entity response

func (*ListCDRArrangementsUnprocessableEntity) Error

func (*ListCDRArrangementsUnprocessableEntity) GetPayload

func (*ListCDRArrangementsUnprocessableEntity) IsClientError

func (o *ListCDRArrangementsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this list c d r arrangements unprocessable entity response has a 4xx status code

func (*ListCDRArrangementsUnprocessableEntity) IsCode

IsCode returns true when this list c d r arrangements unprocessable entity response a status code equal to that given

func (*ListCDRArrangementsUnprocessableEntity) IsRedirect

IsRedirect returns true when this list c d r arrangements unprocessable entity response has a 3xx status code

func (*ListCDRArrangementsUnprocessableEntity) IsServerError

func (o *ListCDRArrangementsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this list c d r arrangements unprocessable entity response has a 5xx status code

func (*ListCDRArrangementsUnprocessableEntity) IsSuccess

IsSuccess returns true when this list c d r arrangements unprocessable entity response has a 2xx status code

func (*ListCDRArrangementsUnprocessableEntity) String

type ListCDRCustomerArrangementsBadRequest

type ListCDRCustomerArrangementsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewListCDRCustomerArrangementsBadRequest

func NewListCDRCustomerArrangementsBadRequest() *ListCDRCustomerArrangementsBadRequest

NewListCDRCustomerArrangementsBadRequest creates a ListCDRCustomerArrangementsBadRequest with default headers values

func (*ListCDRCustomerArrangementsBadRequest) Code

Code gets the status code for the list c d r customer arrangements bad request response

func (*ListCDRCustomerArrangementsBadRequest) Error

func (*ListCDRCustomerArrangementsBadRequest) GetPayload

func (*ListCDRCustomerArrangementsBadRequest) IsClientError

func (o *ListCDRCustomerArrangementsBadRequest) IsClientError() bool

IsClientError returns true when this list c d r customer arrangements bad request response has a 4xx status code

func (*ListCDRCustomerArrangementsBadRequest) IsCode

IsCode returns true when this list c d r customer arrangements bad request response a status code equal to that given

func (*ListCDRCustomerArrangementsBadRequest) IsRedirect

IsRedirect returns true when this list c d r customer arrangements bad request response has a 3xx status code

func (*ListCDRCustomerArrangementsBadRequest) IsServerError

func (o *ListCDRCustomerArrangementsBadRequest) IsServerError() bool

IsServerError returns true when this list c d r customer arrangements bad request response has a 5xx status code

func (*ListCDRCustomerArrangementsBadRequest) IsSuccess

IsSuccess returns true when this list c d r customer arrangements bad request response has a 2xx status code

func (*ListCDRCustomerArrangementsBadRequest) String

type ListCDRCustomerArrangementsForbidden

type ListCDRCustomerArrangementsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListCDRCustomerArrangementsForbidden

func NewListCDRCustomerArrangementsForbidden() *ListCDRCustomerArrangementsForbidden

NewListCDRCustomerArrangementsForbidden creates a ListCDRCustomerArrangementsForbidden with default headers values

func (*ListCDRCustomerArrangementsForbidden) Code

Code gets the status code for the list c d r customer arrangements forbidden response

func (*ListCDRCustomerArrangementsForbidden) Error

func (*ListCDRCustomerArrangementsForbidden) GetPayload

func (*ListCDRCustomerArrangementsForbidden) IsClientError

func (o *ListCDRCustomerArrangementsForbidden) IsClientError() bool

IsClientError returns true when this list c d r customer arrangements forbidden response has a 4xx status code

func (*ListCDRCustomerArrangementsForbidden) IsCode

IsCode returns true when this list c d r customer arrangements forbidden response a status code equal to that given

func (*ListCDRCustomerArrangementsForbidden) IsRedirect

IsRedirect returns true when this list c d r customer arrangements forbidden response has a 3xx status code

func (*ListCDRCustomerArrangementsForbidden) IsServerError

func (o *ListCDRCustomerArrangementsForbidden) IsServerError() bool

IsServerError returns true when this list c d r customer arrangements forbidden response has a 5xx status code

func (*ListCDRCustomerArrangementsForbidden) IsSuccess

IsSuccess returns true when this list c d r customer arrangements forbidden response has a 2xx status code

func (*ListCDRCustomerArrangementsForbidden) String

type ListCDRCustomerArrangementsNotFound

type ListCDRCustomerArrangementsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListCDRCustomerArrangementsNotFound

func NewListCDRCustomerArrangementsNotFound() *ListCDRCustomerArrangementsNotFound

NewListCDRCustomerArrangementsNotFound creates a ListCDRCustomerArrangementsNotFound with default headers values

func (*ListCDRCustomerArrangementsNotFound) Code

Code gets the status code for the list c d r customer arrangements not found response

func (*ListCDRCustomerArrangementsNotFound) Error

func (*ListCDRCustomerArrangementsNotFound) GetPayload

func (*ListCDRCustomerArrangementsNotFound) IsClientError

func (o *ListCDRCustomerArrangementsNotFound) IsClientError() bool

IsClientError returns true when this list c d r customer arrangements not found response has a 4xx status code

func (*ListCDRCustomerArrangementsNotFound) IsCode

IsCode returns true when this list c d r customer arrangements not found response a status code equal to that given

func (*ListCDRCustomerArrangementsNotFound) IsRedirect

func (o *ListCDRCustomerArrangementsNotFound) IsRedirect() bool

IsRedirect returns true when this list c d r customer arrangements not found response has a 3xx status code

func (*ListCDRCustomerArrangementsNotFound) IsServerError

func (o *ListCDRCustomerArrangementsNotFound) IsServerError() bool

IsServerError returns true when this list c d r customer arrangements not found response has a 5xx status code

func (*ListCDRCustomerArrangementsNotFound) IsSuccess

IsSuccess returns true when this list c d r customer arrangements not found response has a 2xx status code

func (*ListCDRCustomerArrangementsNotFound) String

type ListCDRCustomerArrangementsOK

type ListCDRCustomerArrangementsOK struct {
	Payload *models.CDRArrangements
}

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

CDRArrangements

func NewListCDRCustomerArrangementsOK

func NewListCDRCustomerArrangementsOK() *ListCDRCustomerArrangementsOK

NewListCDRCustomerArrangementsOK creates a ListCDRCustomerArrangementsOK with default headers values

func (*ListCDRCustomerArrangementsOK) Code

Code gets the status code for the list c d r customer arrangements o k response

func (*ListCDRCustomerArrangementsOK) Error

func (*ListCDRCustomerArrangementsOK) GetPayload

func (*ListCDRCustomerArrangementsOK) IsClientError

func (o *ListCDRCustomerArrangementsOK) IsClientError() bool

IsClientError returns true when this list c d r customer arrangements o k response has a 4xx status code

func (*ListCDRCustomerArrangementsOK) IsCode

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

IsCode returns true when this list c d r customer arrangements o k response a status code equal to that given

func (*ListCDRCustomerArrangementsOK) IsRedirect

func (o *ListCDRCustomerArrangementsOK) IsRedirect() bool

IsRedirect returns true when this list c d r customer arrangements o k response has a 3xx status code

func (*ListCDRCustomerArrangementsOK) IsServerError

func (o *ListCDRCustomerArrangementsOK) IsServerError() bool

IsServerError returns true when this list c d r customer arrangements o k response has a 5xx status code

func (*ListCDRCustomerArrangementsOK) IsSuccess

func (o *ListCDRCustomerArrangementsOK) IsSuccess() bool

IsSuccess returns true when this list c d r customer arrangements o k response has a 2xx status code

func (*ListCDRCustomerArrangementsOK) String

type ListCDRCustomerArrangementsParams

type ListCDRCustomerArrangementsParams struct {

	// ConsentsRequest.
	ConsentsRequest *models.ListCDRCustomerArrangementsFilter

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListCDRCustomerArrangementsParams contains all the parameters to send to the API endpoint

for the list c d r customer arrangements operation.

Typically these are written to a http.Request.

func NewListCDRCustomerArrangementsParams

func NewListCDRCustomerArrangementsParams() *ListCDRCustomerArrangementsParams

NewListCDRCustomerArrangementsParams creates a new ListCDRCustomerArrangementsParams 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 NewListCDRCustomerArrangementsParamsWithContext

func NewListCDRCustomerArrangementsParamsWithContext(ctx context.Context) *ListCDRCustomerArrangementsParams

NewListCDRCustomerArrangementsParamsWithContext creates a new ListCDRCustomerArrangementsParams object with the ability to set a context for a request.

func NewListCDRCustomerArrangementsParamsWithHTTPClient

func NewListCDRCustomerArrangementsParamsWithHTTPClient(client *http.Client) *ListCDRCustomerArrangementsParams

NewListCDRCustomerArrangementsParamsWithHTTPClient creates a new ListCDRCustomerArrangementsParams object with the ability to set a custom HTTPClient for a request.

func NewListCDRCustomerArrangementsParamsWithTimeout

func NewListCDRCustomerArrangementsParamsWithTimeout(timeout time.Duration) *ListCDRCustomerArrangementsParams

NewListCDRCustomerArrangementsParamsWithTimeout creates a new ListCDRCustomerArrangementsParams object with the ability to set a timeout on a request.

func (*ListCDRCustomerArrangementsParams) SetConsentsRequest

func (o *ListCDRCustomerArrangementsParams) SetConsentsRequest(consentsRequest *models.ListCDRCustomerArrangementsFilter)

SetConsentsRequest adds the consentsRequest to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) SetContext

SetContext adds the context to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) SetDefaults

func (o *ListCDRCustomerArrangementsParams) SetDefaults()

SetDefaults hydrates default values in the list c d r customer arrangements params (not the query body).

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

func (*ListCDRCustomerArrangementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) SetTimeout

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

SetTimeout adds the timeout to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) SetWid

SetWid adds the wid to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) WithConsentsRequest

WithConsentsRequest adds the consentsRequest to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) WithContext

WithContext adds the context to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) WithDefaults

WithDefaults hydrates default values in the list c d r customer arrangements params (not the query body).

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

func (*ListCDRCustomerArrangementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) WithTimeout

WithTimeout adds the timeout to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) WithWid

WithWid adds the wid to the list c d r customer arrangements params

func (*ListCDRCustomerArrangementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCDRCustomerArrangementsReader

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

ListCDRCustomerArrangementsReader is a Reader for the ListCDRCustomerArrangements structure.

func (*ListCDRCustomerArrangementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCDRCustomerArrangementsTooManyRequests

type ListCDRCustomerArrangementsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListCDRCustomerArrangementsTooManyRequests

func NewListCDRCustomerArrangementsTooManyRequests() *ListCDRCustomerArrangementsTooManyRequests

NewListCDRCustomerArrangementsTooManyRequests creates a ListCDRCustomerArrangementsTooManyRequests with default headers values

func (*ListCDRCustomerArrangementsTooManyRequests) Code

Code gets the status code for the list c d r customer arrangements too many requests response

func (*ListCDRCustomerArrangementsTooManyRequests) Error

func (*ListCDRCustomerArrangementsTooManyRequests) GetPayload

func (*ListCDRCustomerArrangementsTooManyRequests) IsClientError

IsClientError returns true when this list c d r customer arrangements too many requests response has a 4xx status code

func (*ListCDRCustomerArrangementsTooManyRequests) IsCode

IsCode returns true when this list c d r customer arrangements too many requests response a status code equal to that given

func (*ListCDRCustomerArrangementsTooManyRequests) IsRedirect

IsRedirect returns true when this list c d r customer arrangements too many requests response has a 3xx status code

func (*ListCDRCustomerArrangementsTooManyRequests) IsServerError

IsServerError returns true when this list c d r customer arrangements too many requests response has a 5xx status code

func (*ListCDRCustomerArrangementsTooManyRequests) IsSuccess

IsSuccess returns true when this list c d r customer arrangements too many requests response has a 2xx status code

func (*ListCDRCustomerArrangementsTooManyRequests) String

type ListCDRCustomerArrangementsUnauthorized

type ListCDRCustomerArrangementsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListCDRCustomerArrangementsUnauthorized

func NewListCDRCustomerArrangementsUnauthorized() *ListCDRCustomerArrangementsUnauthorized

NewListCDRCustomerArrangementsUnauthorized creates a ListCDRCustomerArrangementsUnauthorized with default headers values

func (*ListCDRCustomerArrangementsUnauthorized) Code

Code gets the status code for the list c d r customer arrangements unauthorized response

func (*ListCDRCustomerArrangementsUnauthorized) Error

func (*ListCDRCustomerArrangementsUnauthorized) GetPayload

func (*ListCDRCustomerArrangementsUnauthorized) IsClientError

func (o *ListCDRCustomerArrangementsUnauthorized) IsClientError() bool

IsClientError returns true when this list c d r customer arrangements unauthorized response has a 4xx status code

func (*ListCDRCustomerArrangementsUnauthorized) IsCode

IsCode returns true when this list c d r customer arrangements unauthorized response a status code equal to that given

func (*ListCDRCustomerArrangementsUnauthorized) IsRedirect

IsRedirect returns true when this list c d r customer arrangements unauthorized response has a 3xx status code

func (*ListCDRCustomerArrangementsUnauthorized) IsServerError

func (o *ListCDRCustomerArrangementsUnauthorized) IsServerError() bool

IsServerError returns true when this list c d r customer arrangements unauthorized response has a 5xx status code

func (*ListCDRCustomerArrangementsUnauthorized) IsSuccess

IsSuccess returns true when this list c d r customer arrangements unauthorized response has a 2xx status code

func (*ListCDRCustomerArrangementsUnauthorized) String

type ListCDRCustomerArrangementsUnprocessableEntity

type ListCDRCustomerArrangementsUnprocessableEntity struct {
	Payload *models.Error
}

ListCDRCustomerArrangementsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewListCDRCustomerArrangementsUnprocessableEntity

func NewListCDRCustomerArrangementsUnprocessableEntity() *ListCDRCustomerArrangementsUnprocessableEntity

NewListCDRCustomerArrangementsUnprocessableEntity creates a ListCDRCustomerArrangementsUnprocessableEntity with default headers values

func (*ListCDRCustomerArrangementsUnprocessableEntity) Code

Code gets the status code for the list c d r customer arrangements unprocessable entity response

func (*ListCDRCustomerArrangementsUnprocessableEntity) Error

func (*ListCDRCustomerArrangementsUnprocessableEntity) GetPayload

func (*ListCDRCustomerArrangementsUnprocessableEntity) IsClientError

IsClientError returns true when this list c d r customer arrangements unprocessable entity response has a 4xx status code

func (*ListCDRCustomerArrangementsUnprocessableEntity) IsCode

IsCode returns true when this list c d r customer arrangements unprocessable entity response a status code equal to that given

func (*ListCDRCustomerArrangementsUnprocessableEntity) IsRedirect

IsRedirect returns true when this list c d r customer arrangements unprocessable entity response has a 3xx status code

func (*ListCDRCustomerArrangementsUnprocessableEntity) IsServerError

IsServerError returns true when this list c d r customer arrangements unprocessable entity response has a 5xx status code

func (*ListCDRCustomerArrangementsUnprocessableEntity) IsSuccess

IsSuccess returns true when this list c d r customer arrangements unprocessable entity response has a 2xx status code

func (*ListCDRCustomerArrangementsUnprocessableEntity) String

type ListCustomerClientsForbidden

type ListCustomerClientsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListCustomerClientsForbidden

func NewListCustomerClientsForbidden() *ListCustomerClientsForbidden

NewListCustomerClientsForbidden creates a ListCustomerClientsForbidden with default headers values

func (*ListCustomerClientsForbidden) Code

Code gets the status code for the list customer clients forbidden response

func (*ListCustomerClientsForbidden) Error

func (*ListCustomerClientsForbidden) GetPayload

func (o *ListCustomerClientsForbidden) GetPayload() *models.Error

func (*ListCustomerClientsForbidden) IsClientError

func (o *ListCustomerClientsForbidden) IsClientError() bool

IsClientError returns true when this list customer clients forbidden response has a 4xx status code

func (*ListCustomerClientsForbidden) IsCode

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

IsCode returns true when this list customer clients forbidden response a status code equal to that given

func (*ListCustomerClientsForbidden) IsRedirect

func (o *ListCustomerClientsForbidden) IsRedirect() bool

IsRedirect returns true when this list customer clients forbidden response has a 3xx status code

func (*ListCustomerClientsForbidden) IsServerError

func (o *ListCustomerClientsForbidden) IsServerError() bool

IsServerError returns true when this list customer clients forbidden response has a 5xx status code

func (*ListCustomerClientsForbidden) IsSuccess

func (o *ListCustomerClientsForbidden) IsSuccess() bool

IsSuccess returns true when this list customer clients forbidden response has a 2xx status code

func (*ListCustomerClientsForbidden) String

type ListCustomerClientsNotFound

type ListCustomerClientsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListCustomerClientsNotFound

func NewListCustomerClientsNotFound() *ListCustomerClientsNotFound

NewListCustomerClientsNotFound creates a ListCustomerClientsNotFound with default headers values

func (*ListCustomerClientsNotFound) Code

func (o *ListCustomerClientsNotFound) Code() int

Code gets the status code for the list customer clients not found response

func (*ListCustomerClientsNotFound) Error

func (*ListCustomerClientsNotFound) GetPayload

func (o *ListCustomerClientsNotFound) GetPayload() *models.Error

func (*ListCustomerClientsNotFound) IsClientError

func (o *ListCustomerClientsNotFound) IsClientError() bool

IsClientError returns true when this list customer clients not found response has a 4xx status code

func (*ListCustomerClientsNotFound) IsCode

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

IsCode returns true when this list customer clients not found response a status code equal to that given

func (*ListCustomerClientsNotFound) IsRedirect

func (o *ListCustomerClientsNotFound) IsRedirect() bool

IsRedirect returns true when this list customer clients not found response has a 3xx status code

func (*ListCustomerClientsNotFound) IsServerError

func (o *ListCustomerClientsNotFound) IsServerError() bool

IsServerError returns true when this list customer clients not found response has a 5xx status code

func (*ListCustomerClientsNotFound) IsSuccess

func (o *ListCustomerClientsNotFound) IsSuccess() bool

IsSuccess returns true when this list customer clients not found response has a 2xx status code

func (*ListCustomerClientsNotFound) String

func (o *ListCustomerClientsNotFound) String() string

type ListCustomerClientsOK

type ListCustomerClientsOK struct {
	Payload *models.Clients
}

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

Clients

func NewListCustomerClientsOK

func NewListCustomerClientsOK() *ListCustomerClientsOK

NewListCustomerClientsOK creates a ListCustomerClientsOK with default headers values

func (*ListCustomerClientsOK) Code

func (o *ListCustomerClientsOK) Code() int

Code gets the status code for the list customer clients o k response

func (*ListCustomerClientsOK) Error

func (o *ListCustomerClientsOK) Error() string

func (*ListCustomerClientsOK) GetPayload

func (o *ListCustomerClientsOK) GetPayload() *models.Clients

func (*ListCustomerClientsOK) IsClientError

func (o *ListCustomerClientsOK) IsClientError() bool

IsClientError returns true when this list customer clients o k response has a 4xx status code

func (*ListCustomerClientsOK) IsCode

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

IsCode returns true when this list customer clients o k response a status code equal to that given

func (*ListCustomerClientsOK) IsRedirect

func (o *ListCustomerClientsOK) IsRedirect() bool

IsRedirect returns true when this list customer clients o k response has a 3xx status code

func (*ListCustomerClientsOK) IsServerError

func (o *ListCustomerClientsOK) IsServerError() bool

IsServerError returns true when this list customer clients o k response has a 5xx status code

func (*ListCustomerClientsOK) IsSuccess

func (o *ListCustomerClientsOK) IsSuccess() bool

IsSuccess returns true when this list customer clients o k response has a 2xx status code

func (*ListCustomerClientsOK) String

func (o *ListCustomerClientsOK) String() string

type ListCustomerClientsParams

type ListCustomerClientsParams struct {

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListCustomerClientsParams contains all the parameters to send to the API endpoint

for the list customer clients operation.

Typically these are written to a http.Request.

func NewListCustomerClientsParams

func NewListCustomerClientsParams() *ListCustomerClientsParams

NewListCustomerClientsParams creates a new ListCustomerClientsParams 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 NewListCustomerClientsParamsWithContext

func NewListCustomerClientsParamsWithContext(ctx context.Context) *ListCustomerClientsParams

NewListCustomerClientsParamsWithContext creates a new ListCustomerClientsParams object with the ability to set a context for a request.

func NewListCustomerClientsParamsWithHTTPClient

func NewListCustomerClientsParamsWithHTTPClient(client *http.Client) *ListCustomerClientsParams

NewListCustomerClientsParamsWithHTTPClient creates a new ListCustomerClientsParams object with the ability to set a custom HTTPClient for a request.

func NewListCustomerClientsParamsWithTimeout

func NewListCustomerClientsParamsWithTimeout(timeout time.Duration) *ListCustomerClientsParams

NewListCustomerClientsParamsWithTimeout creates a new ListCustomerClientsParams object with the ability to set a timeout on a request.

func (*ListCustomerClientsParams) SetContext

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

SetContext adds the context to the list customer clients params

func (*ListCustomerClientsParams) SetDefaults

func (o *ListCustomerClientsParams) SetDefaults()

SetDefaults hydrates default values in the list customer clients params (not the query body).

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

func (*ListCustomerClientsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list customer clients params

func (*ListCustomerClientsParams) SetTimeout

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

SetTimeout adds the timeout to the list customer clients params

func (*ListCustomerClientsParams) SetWid

func (o *ListCustomerClientsParams) SetWid(wid string)

SetWid adds the wid to the list customer clients params

func (*ListCustomerClientsParams) WithContext

WithContext adds the context to the list customer clients params

func (*ListCustomerClientsParams) WithDefaults

WithDefaults hydrates default values in the list customer clients params (not the query body).

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

func (*ListCustomerClientsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list customer clients params

func (*ListCustomerClientsParams) WithTimeout

WithTimeout adds the timeout to the list customer clients params

func (*ListCustomerClientsParams) WithWid

WithWid adds the wid to the list customer clients params

func (*ListCustomerClientsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCustomerClientsReader

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

ListCustomerClientsReader is a Reader for the ListCustomerClients structure.

func (*ListCustomerClientsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCustomerClientsTooManyRequests

type ListCustomerClientsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListCustomerClientsTooManyRequests

func NewListCustomerClientsTooManyRequests() *ListCustomerClientsTooManyRequests

NewListCustomerClientsTooManyRequests creates a ListCustomerClientsTooManyRequests with default headers values

func (*ListCustomerClientsTooManyRequests) Code

Code gets the status code for the list customer clients too many requests response

func (*ListCustomerClientsTooManyRequests) Error

func (*ListCustomerClientsTooManyRequests) GetPayload

func (*ListCustomerClientsTooManyRequests) IsClientError

func (o *ListCustomerClientsTooManyRequests) IsClientError() bool

IsClientError returns true when this list customer clients too many requests response has a 4xx status code

func (*ListCustomerClientsTooManyRequests) IsCode

IsCode returns true when this list customer clients too many requests response a status code equal to that given

func (*ListCustomerClientsTooManyRequests) IsRedirect

func (o *ListCustomerClientsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list customer clients too many requests response has a 3xx status code

func (*ListCustomerClientsTooManyRequests) IsServerError

func (o *ListCustomerClientsTooManyRequests) IsServerError() bool

IsServerError returns true when this list customer clients too many requests response has a 5xx status code

func (*ListCustomerClientsTooManyRequests) IsSuccess

IsSuccess returns true when this list customer clients too many requests response has a 2xx status code

func (*ListCustomerClientsTooManyRequests) String

type ListCustomerClientsUnauthorized

type ListCustomerClientsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListCustomerClientsUnauthorized

func NewListCustomerClientsUnauthorized() *ListCustomerClientsUnauthorized

NewListCustomerClientsUnauthorized creates a ListCustomerClientsUnauthorized with default headers values

func (*ListCustomerClientsUnauthorized) Code

Code gets the status code for the list customer clients unauthorized response

func (*ListCustomerClientsUnauthorized) Error

func (*ListCustomerClientsUnauthorized) GetPayload

func (o *ListCustomerClientsUnauthorized) GetPayload() *models.Error

func (*ListCustomerClientsUnauthorized) IsClientError

func (o *ListCustomerClientsUnauthorized) IsClientError() bool

IsClientError returns true when this list customer clients unauthorized response has a 4xx status code

func (*ListCustomerClientsUnauthorized) IsCode

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

IsCode returns true when this list customer clients unauthorized response a status code equal to that given

func (*ListCustomerClientsUnauthorized) IsRedirect

func (o *ListCustomerClientsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list customer clients unauthorized response has a 3xx status code

func (*ListCustomerClientsUnauthorized) IsServerError

func (o *ListCustomerClientsUnauthorized) IsServerError() bool

IsServerError returns true when this list customer clients unauthorized response has a 5xx status code

func (*ListCustomerClientsUnauthorized) IsSuccess

func (o *ListCustomerClientsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list customer clients unauthorized response has a 2xx status code

func (*ListCustomerClientsUnauthorized) String

type RevokeCDRArrangementByIDForbidden

type RevokeCDRArrangementByIDForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeCDRArrangementByIDForbidden

func NewRevokeCDRArrangementByIDForbidden() *RevokeCDRArrangementByIDForbidden

NewRevokeCDRArrangementByIDForbidden creates a RevokeCDRArrangementByIDForbidden with default headers values

func (*RevokeCDRArrangementByIDForbidden) Code

Code gets the status code for the revoke c d r arrangement by Id forbidden response

func (*RevokeCDRArrangementByIDForbidden) Error

func (*RevokeCDRArrangementByIDForbidden) GetPayload

func (*RevokeCDRArrangementByIDForbidden) IsClientError

func (o *RevokeCDRArrangementByIDForbidden) IsClientError() bool

IsClientError returns true when this revoke c d r arrangement by Id forbidden response has a 4xx status code

func (*RevokeCDRArrangementByIDForbidden) IsCode

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

IsCode returns true when this revoke c d r arrangement by Id forbidden response a status code equal to that given

func (*RevokeCDRArrangementByIDForbidden) IsRedirect

func (o *RevokeCDRArrangementByIDForbidden) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangement by Id forbidden response has a 3xx status code

func (*RevokeCDRArrangementByIDForbidden) IsServerError

func (o *RevokeCDRArrangementByIDForbidden) IsServerError() bool

IsServerError returns true when this revoke c d r arrangement by Id forbidden response has a 5xx status code

func (*RevokeCDRArrangementByIDForbidden) IsSuccess

func (o *RevokeCDRArrangementByIDForbidden) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangement by Id forbidden response has a 2xx status code

func (*RevokeCDRArrangementByIDForbidden) String

type RevokeCDRArrangementByIDNoContent

type RevokeCDRArrangementByIDNoContent struct {
}

RevokeCDRArrangementByIDNoContent describes a response with status code 204, with default header values.

Arrangement revoked

func NewRevokeCDRArrangementByIDNoContent

func NewRevokeCDRArrangementByIDNoContent() *RevokeCDRArrangementByIDNoContent

NewRevokeCDRArrangementByIDNoContent creates a RevokeCDRArrangementByIDNoContent with default headers values

func (*RevokeCDRArrangementByIDNoContent) Code

Code gets the status code for the revoke c d r arrangement by Id no content response

func (*RevokeCDRArrangementByIDNoContent) Error

func (*RevokeCDRArrangementByIDNoContent) IsClientError

func (o *RevokeCDRArrangementByIDNoContent) IsClientError() bool

IsClientError returns true when this revoke c d r arrangement by Id no content response has a 4xx status code

func (*RevokeCDRArrangementByIDNoContent) IsCode

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

IsCode returns true when this revoke c d r arrangement by Id no content response a status code equal to that given

func (*RevokeCDRArrangementByIDNoContent) IsRedirect

func (o *RevokeCDRArrangementByIDNoContent) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangement by Id no content response has a 3xx status code

func (*RevokeCDRArrangementByIDNoContent) IsServerError

func (o *RevokeCDRArrangementByIDNoContent) IsServerError() bool

IsServerError returns true when this revoke c d r arrangement by Id no content response has a 5xx status code

func (*RevokeCDRArrangementByIDNoContent) IsSuccess

func (o *RevokeCDRArrangementByIDNoContent) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangement by Id no content response has a 2xx status code

func (*RevokeCDRArrangementByIDNoContent) String

type RevokeCDRArrangementByIDNotFound

type RevokeCDRArrangementByIDNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeCDRArrangementByIDNotFound

func NewRevokeCDRArrangementByIDNotFound() *RevokeCDRArrangementByIDNotFound

NewRevokeCDRArrangementByIDNotFound creates a RevokeCDRArrangementByIDNotFound with default headers values

func (*RevokeCDRArrangementByIDNotFound) Code

Code gets the status code for the revoke c d r arrangement by Id not found response

func (*RevokeCDRArrangementByIDNotFound) Error

func (*RevokeCDRArrangementByIDNotFound) GetPayload

func (*RevokeCDRArrangementByIDNotFound) IsClientError

func (o *RevokeCDRArrangementByIDNotFound) IsClientError() bool

IsClientError returns true when this revoke c d r arrangement by Id not found response has a 4xx status code

func (*RevokeCDRArrangementByIDNotFound) IsCode

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

IsCode returns true when this revoke c d r arrangement by Id not found response a status code equal to that given

func (*RevokeCDRArrangementByIDNotFound) IsRedirect

func (o *RevokeCDRArrangementByIDNotFound) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangement by Id not found response has a 3xx status code

func (*RevokeCDRArrangementByIDNotFound) IsServerError

func (o *RevokeCDRArrangementByIDNotFound) IsServerError() bool

IsServerError returns true when this revoke c d r arrangement by Id not found response has a 5xx status code

func (*RevokeCDRArrangementByIDNotFound) IsSuccess

func (o *RevokeCDRArrangementByIDNotFound) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangement by Id not found response has a 2xx status code

func (*RevokeCDRArrangementByIDNotFound) String

type RevokeCDRArrangementByIDParams

type RevokeCDRArrangementByIDParams struct {

	/* ArrangementID.

	   Arrangement id
	*/
	ArrangementID string

	// RevocationChannel.
	//
	// Default: "online"
	RevocationChannel *string

	/* RevocationReason.

	   Stores the reason why the arrangement was revoked
	*/
	RevocationReason *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

RevokeCDRArrangementByIDParams contains all the parameters to send to the API endpoint

for the revoke c d r arrangement by ID operation.

Typically these are written to a http.Request.

func NewRevokeCDRArrangementByIDParams

func NewRevokeCDRArrangementByIDParams() *RevokeCDRArrangementByIDParams

NewRevokeCDRArrangementByIDParams creates a new RevokeCDRArrangementByIDParams 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 NewRevokeCDRArrangementByIDParamsWithContext

func NewRevokeCDRArrangementByIDParamsWithContext(ctx context.Context) *RevokeCDRArrangementByIDParams

NewRevokeCDRArrangementByIDParamsWithContext creates a new RevokeCDRArrangementByIDParams object with the ability to set a context for a request.

func NewRevokeCDRArrangementByIDParamsWithHTTPClient

func NewRevokeCDRArrangementByIDParamsWithHTTPClient(client *http.Client) *RevokeCDRArrangementByIDParams

NewRevokeCDRArrangementByIDParamsWithHTTPClient creates a new RevokeCDRArrangementByIDParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeCDRArrangementByIDParamsWithTimeout

func NewRevokeCDRArrangementByIDParamsWithTimeout(timeout time.Duration) *RevokeCDRArrangementByIDParams

NewRevokeCDRArrangementByIDParamsWithTimeout creates a new RevokeCDRArrangementByIDParams object with the ability to set a timeout on a request.

func (*RevokeCDRArrangementByIDParams) SetArrangementID

func (o *RevokeCDRArrangementByIDParams) SetArrangementID(arrangementID string)

SetArrangementID adds the arrangementId to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) SetContext

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

SetContext adds the context to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) SetDefaults

func (o *RevokeCDRArrangementByIDParams) SetDefaults()

SetDefaults hydrates default values in the revoke c d r arrangement by ID params (not the query body).

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

func (*RevokeCDRArrangementByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) SetRevocationChannel

func (o *RevokeCDRArrangementByIDParams) SetRevocationChannel(revocationChannel *string)

SetRevocationChannel adds the revocationChannel to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) SetRevocationReason

func (o *RevokeCDRArrangementByIDParams) SetRevocationReason(revocationReason *string)

SetRevocationReason adds the revocationReason to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) SetTimeout

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

SetTimeout adds the timeout to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) SetWid

func (o *RevokeCDRArrangementByIDParams) SetWid(wid string)

SetWid adds the wid to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithArrangementID

func (o *RevokeCDRArrangementByIDParams) WithArrangementID(arrangementID string) *RevokeCDRArrangementByIDParams

WithArrangementID adds the arrangementID to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithContext

WithContext adds the context to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithDefaults

WithDefaults hydrates default values in the revoke c d r arrangement by ID params (not the query body).

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

func (*RevokeCDRArrangementByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithRevocationChannel

func (o *RevokeCDRArrangementByIDParams) WithRevocationChannel(revocationChannel *string) *RevokeCDRArrangementByIDParams

WithRevocationChannel adds the revocationChannel to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithRevocationReason

func (o *RevokeCDRArrangementByIDParams) WithRevocationReason(revocationReason *string) *RevokeCDRArrangementByIDParams

WithRevocationReason adds the revocationReason to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithTimeout

WithTimeout adds the timeout to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WithWid

WithWid adds the wid to the revoke c d r arrangement by ID params

func (*RevokeCDRArrangementByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeCDRArrangementByIDReader

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

RevokeCDRArrangementByIDReader is a Reader for the RevokeCDRArrangementByID structure.

func (*RevokeCDRArrangementByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeCDRArrangementByIDTooManyRequests

type RevokeCDRArrangementByIDTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeCDRArrangementByIDTooManyRequests

func NewRevokeCDRArrangementByIDTooManyRequests() *RevokeCDRArrangementByIDTooManyRequests

NewRevokeCDRArrangementByIDTooManyRequests creates a RevokeCDRArrangementByIDTooManyRequests with default headers values

func (*RevokeCDRArrangementByIDTooManyRequests) Code

Code gets the status code for the revoke c d r arrangement by Id too many requests response

func (*RevokeCDRArrangementByIDTooManyRequests) Error

func (*RevokeCDRArrangementByIDTooManyRequests) GetPayload

func (*RevokeCDRArrangementByIDTooManyRequests) IsClientError

func (o *RevokeCDRArrangementByIDTooManyRequests) IsClientError() bool

IsClientError returns true when this revoke c d r arrangement by Id too many requests response has a 4xx status code

func (*RevokeCDRArrangementByIDTooManyRequests) IsCode

IsCode returns true when this revoke c d r arrangement by Id too many requests response a status code equal to that given

func (*RevokeCDRArrangementByIDTooManyRequests) IsRedirect

IsRedirect returns true when this revoke c d r arrangement by Id too many requests response has a 3xx status code

func (*RevokeCDRArrangementByIDTooManyRequests) IsServerError

func (o *RevokeCDRArrangementByIDTooManyRequests) IsServerError() bool

IsServerError returns true when this revoke c d r arrangement by Id too many requests response has a 5xx status code

func (*RevokeCDRArrangementByIDTooManyRequests) IsSuccess

IsSuccess returns true when this revoke c d r arrangement by Id too many requests response has a 2xx status code

func (*RevokeCDRArrangementByIDTooManyRequests) String

type RevokeCDRArrangementByIDUnauthorized

type RevokeCDRArrangementByIDUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeCDRArrangementByIDUnauthorized

func NewRevokeCDRArrangementByIDUnauthorized() *RevokeCDRArrangementByIDUnauthorized

NewRevokeCDRArrangementByIDUnauthorized creates a RevokeCDRArrangementByIDUnauthorized with default headers values

func (*RevokeCDRArrangementByIDUnauthorized) Code

Code gets the status code for the revoke c d r arrangement by Id unauthorized response

func (*RevokeCDRArrangementByIDUnauthorized) Error

func (*RevokeCDRArrangementByIDUnauthorized) GetPayload

func (*RevokeCDRArrangementByIDUnauthorized) IsClientError

func (o *RevokeCDRArrangementByIDUnauthorized) IsClientError() bool

IsClientError returns true when this revoke c d r arrangement by Id unauthorized response has a 4xx status code

func (*RevokeCDRArrangementByIDUnauthorized) IsCode

IsCode returns true when this revoke c d r arrangement by Id unauthorized response a status code equal to that given

func (*RevokeCDRArrangementByIDUnauthorized) IsRedirect

IsRedirect returns true when this revoke c d r arrangement by Id unauthorized response has a 3xx status code

func (*RevokeCDRArrangementByIDUnauthorized) IsServerError

func (o *RevokeCDRArrangementByIDUnauthorized) IsServerError() bool

IsServerError returns true when this revoke c d r arrangement by Id unauthorized response has a 5xx status code

func (*RevokeCDRArrangementByIDUnauthorized) IsSuccess

IsSuccess returns true when this revoke c d r arrangement by Id unauthorized response has a 2xx status code

func (*RevokeCDRArrangementByIDUnauthorized) String

type RevokeCDRArrangementByIDUnprocessableEntity

type RevokeCDRArrangementByIDUnprocessableEntity struct {
	Payload *models.Error
}

RevokeCDRArrangementByIDUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewRevokeCDRArrangementByIDUnprocessableEntity

func NewRevokeCDRArrangementByIDUnprocessableEntity() *RevokeCDRArrangementByIDUnprocessableEntity

NewRevokeCDRArrangementByIDUnprocessableEntity creates a RevokeCDRArrangementByIDUnprocessableEntity with default headers values

func (*RevokeCDRArrangementByIDUnprocessableEntity) Code

Code gets the status code for the revoke c d r arrangement by Id unprocessable entity response

func (*RevokeCDRArrangementByIDUnprocessableEntity) Error

func (*RevokeCDRArrangementByIDUnprocessableEntity) GetPayload

func (*RevokeCDRArrangementByIDUnprocessableEntity) IsClientError

IsClientError returns true when this revoke c d r arrangement by Id unprocessable entity response has a 4xx status code

func (*RevokeCDRArrangementByIDUnprocessableEntity) IsCode

IsCode returns true when this revoke c d r arrangement by Id unprocessable entity response a status code equal to that given

func (*RevokeCDRArrangementByIDUnprocessableEntity) IsRedirect

IsRedirect returns true when this revoke c d r arrangement by Id unprocessable entity response has a 3xx status code

func (*RevokeCDRArrangementByIDUnprocessableEntity) IsServerError

IsServerError returns true when this revoke c d r arrangement by Id unprocessable entity response has a 5xx status code

func (*RevokeCDRArrangementByIDUnprocessableEntity) IsSuccess

IsSuccess returns true when this revoke c d r arrangement by Id unprocessable entity response has a 2xx status code

func (*RevokeCDRArrangementByIDUnprocessableEntity) String

type RevokeCDRArrangementsBadRequest

type RevokeCDRArrangementsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewRevokeCDRArrangementsBadRequest

func NewRevokeCDRArrangementsBadRequest() *RevokeCDRArrangementsBadRequest

NewRevokeCDRArrangementsBadRequest creates a RevokeCDRArrangementsBadRequest with default headers values

func (*RevokeCDRArrangementsBadRequest) Code

Code gets the status code for the revoke c d r arrangements bad request response

func (*RevokeCDRArrangementsBadRequest) Error

func (*RevokeCDRArrangementsBadRequest) GetPayload

func (o *RevokeCDRArrangementsBadRequest) GetPayload() *models.Error

func (*RevokeCDRArrangementsBadRequest) IsClientError

func (o *RevokeCDRArrangementsBadRequest) IsClientError() bool

IsClientError returns true when this revoke c d r arrangements bad request response has a 4xx status code

func (*RevokeCDRArrangementsBadRequest) IsCode

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

IsCode returns true when this revoke c d r arrangements bad request response a status code equal to that given

func (*RevokeCDRArrangementsBadRequest) IsRedirect

func (o *RevokeCDRArrangementsBadRequest) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangements bad request response has a 3xx status code

func (*RevokeCDRArrangementsBadRequest) IsServerError

func (o *RevokeCDRArrangementsBadRequest) IsServerError() bool

IsServerError returns true when this revoke c d r arrangements bad request response has a 5xx status code

func (*RevokeCDRArrangementsBadRequest) IsSuccess

func (o *RevokeCDRArrangementsBadRequest) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangements bad request response has a 2xx status code

func (*RevokeCDRArrangementsBadRequest) String

type RevokeCDRArrangementsForbidden

type RevokeCDRArrangementsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeCDRArrangementsForbidden

func NewRevokeCDRArrangementsForbidden() *RevokeCDRArrangementsForbidden

NewRevokeCDRArrangementsForbidden creates a RevokeCDRArrangementsForbidden with default headers values

func (*RevokeCDRArrangementsForbidden) Code

Code gets the status code for the revoke c d r arrangements forbidden response

func (*RevokeCDRArrangementsForbidden) Error

func (*RevokeCDRArrangementsForbidden) GetPayload

func (o *RevokeCDRArrangementsForbidden) GetPayload() *models.Error

func (*RevokeCDRArrangementsForbidden) IsClientError

func (o *RevokeCDRArrangementsForbidden) IsClientError() bool

IsClientError returns true when this revoke c d r arrangements forbidden response has a 4xx status code

func (*RevokeCDRArrangementsForbidden) IsCode

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

IsCode returns true when this revoke c d r arrangements forbidden response a status code equal to that given

func (*RevokeCDRArrangementsForbidden) IsRedirect

func (o *RevokeCDRArrangementsForbidden) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangements forbidden response has a 3xx status code

func (*RevokeCDRArrangementsForbidden) IsServerError

func (o *RevokeCDRArrangementsForbidden) IsServerError() bool

IsServerError returns true when this revoke c d r arrangements forbidden response has a 5xx status code

func (*RevokeCDRArrangementsForbidden) IsSuccess

func (o *RevokeCDRArrangementsForbidden) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangements forbidden response has a 2xx status code

func (*RevokeCDRArrangementsForbidden) String

type RevokeCDRArrangementsNotFound

type RevokeCDRArrangementsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeCDRArrangementsNotFound

func NewRevokeCDRArrangementsNotFound() *RevokeCDRArrangementsNotFound

NewRevokeCDRArrangementsNotFound creates a RevokeCDRArrangementsNotFound with default headers values

func (*RevokeCDRArrangementsNotFound) Code

Code gets the status code for the revoke c d r arrangements not found response

func (*RevokeCDRArrangementsNotFound) Error

func (*RevokeCDRArrangementsNotFound) GetPayload

func (o *RevokeCDRArrangementsNotFound) GetPayload() *models.Error

func (*RevokeCDRArrangementsNotFound) IsClientError

func (o *RevokeCDRArrangementsNotFound) IsClientError() bool

IsClientError returns true when this revoke c d r arrangements not found response has a 4xx status code

func (*RevokeCDRArrangementsNotFound) IsCode

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

IsCode returns true when this revoke c d r arrangements not found response a status code equal to that given

func (*RevokeCDRArrangementsNotFound) IsRedirect

func (o *RevokeCDRArrangementsNotFound) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangements not found response has a 3xx status code

func (*RevokeCDRArrangementsNotFound) IsServerError

func (o *RevokeCDRArrangementsNotFound) IsServerError() bool

IsServerError returns true when this revoke c d r arrangements not found response has a 5xx status code

func (*RevokeCDRArrangementsNotFound) IsSuccess

func (o *RevokeCDRArrangementsNotFound) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangements not found response has a 2xx status code

func (*RevokeCDRArrangementsNotFound) String

type RevokeCDRArrangementsOK

type RevokeCDRArrangementsOK struct {
	Payload *models.ConsentsRemovedResponse
}

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

Consents Revoked

func NewRevokeCDRArrangementsOK

func NewRevokeCDRArrangementsOK() *RevokeCDRArrangementsOK

NewRevokeCDRArrangementsOK creates a RevokeCDRArrangementsOK with default headers values

func (*RevokeCDRArrangementsOK) Code

func (o *RevokeCDRArrangementsOK) Code() int

Code gets the status code for the revoke c d r arrangements o k response

func (*RevokeCDRArrangementsOK) Error

func (o *RevokeCDRArrangementsOK) Error() string

func (*RevokeCDRArrangementsOK) GetPayload

func (*RevokeCDRArrangementsOK) IsClientError

func (o *RevokeCDRArrangementsOK) IsClientError() bool

IsClientError returns true when this revoke c d r arrangements o k response has a 4xx status code

func (*RevokeCDRArrangementsOK) IsCode

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

IsCode returns true when this revoke c d r arrangements o k response a status code equal to that given

func (*RevokeCDRArrangementsOK) IsRedirect

func (o *RevokeCDRArrangementsOK) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangements o k response has a 3xx status code

func (*RevokeCDRArrangementsOK) IsServerError

func (o *RevokeCDRArrangementsOK) IsServerError() bool

IsServerError returns true when this revoke c d r arrangements o k response has a 5xx status code

func (*RevokeCDRArrangementsOK) IsSuccess

func (o *RevokeCDRArrangementsOK) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangements o k response has a 2xx status code

func (*RevokeCDRArrangementsOK) String

func (o *RevokeCDRArrangementsOK) String() string

type RevokeCDRArrangementsParams

type RevokeCDRArrangementsParams struct {

	/* ClientID.

	   Client ID
	*/
	ClientID string

	/* RevocationChannel.

	   Stores the channel that was used to revoke the arrangement

	   Default: "online"
	*/
	RevocationChannel *string

	/* RevocationReason.

	   Stores the reason why the arrangement was revoked
	*/
	RevocationReason *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

RevokeCDRArrangementsParams contains all the parameters to send to the API endpoint

for the revoke c d r arrangements operation.

Typically these are written to a http.Request.

func NewRevokeCDRArrangementsParams

func NewRevokeCDRArrangementsParams() *RevokeCDRArrangementsParams

NewRevokeCDRArrangementsParams creates a new RevokeCDRArrangementsParams 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 NewRevokeCDRArrangementsParamsWithContext

func NewRevokeCDRArrangementsParamsWithContext(ctx context.Context) *RevokeCDRArrangementsParams

NewRevokeCDRArrangementsParamsWithContext creates a new RevokeCDRArrangementsParams object with the ability to set a context for a request.

func NewRevokeCDRArrangementsParamsWithHTTPClient

func NewRevokeCDRArrangementsParamsWithHTTPClient(client *http.Client) *RevokeCDRArrangementsParams

NewRevokeCDRArrangementsParamsWithHTTPClient creates a new RevokeCDRArrangementsParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeCDRArrangementsParamsWithTimeout

func NewRevokeCDRArrangementsParamsWithTimeout(timeout time.Duration) *RevokeCDRArrangementsParams

NewRevokeCDRArrangementsParamsWithTimeout creates a new RevokeCDRArrangementsParams object with the ability to set a timeout on a request.

func (*RevokeCDRArrangementsParams) SetClientID

func (o *RevokeCDRArrangementsParams) SetClientID(clientID string)

SetClientID adds the clientId to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) SetContext

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

SetContext adds the context to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) SetDefaults

func (o *RevokeCDRArrangementsParams) SetDefaults()

SetDefaults hydrates default values in the revoke c d r arrangements params (not the query body).

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

func (*RevokeCDRArrangementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) SetRevocationChannel

func (o *RevokeCDRArrangementsParams) SetRevocationChannel(revocationChannel *string)

SetRevocationChannel adds the revocationChannel to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) SetRevocationReason

func (o *RevokeCDRArrangementsParams) SetRevocationReason(revocationReason *string)

SetRevocationReason adds the revocationReason to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) SetWid

func (o *RevokeCDRArrangementsParams) SetWid(wid string)

SetWid adds the wid to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithClientID

WithClientID adds the clientID to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithContext

WithContext adds the context to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithDefaults

WithDefaults hydrates default values in the revoke c d r arrangements params (not the query body).

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

func (*RevokeCDRArrangementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithRevocationChannel

func (o *RevokeCDRArrangementsParams) WithRevocationChannel(revocationChannel *string) *RevokeCDRArrangementsParams

WithRevocationChannel adds the revocationChannel to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithRevocationReason

func (o *RevokeCDRArrangementsParams) WithRevocationReason(revocationReason *string) *RevokeCDRArrangementsParams

WithRevocationReason adds the revocationReason to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithTimeout

WithTimeout adds the timeout to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WithWid

WithWid adds the wid to the revoke c d r arrangements params

func (*RevokeCDRArrangementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeCDRArrangementsReader

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

RevokeCDRArrangementsReader is a Reader for the RevokeCDRArrangements structure.

func (*RevokeCDRArrangementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeCDRArrangementsTooManyRequests

type RevokeCDRArrangementsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeCDRArrangementsTooManyRequests

func NewRevokeCDRArrangementsTooManyRequests() *RevokeCDRArrangementsTooManyRequests

NewRevokeCDRArrangementsTooManyRequests creates a RevokeCDRArrangementsTooManyRequests with default headers values

func (*RevokeCDRArrangementsTooManyRequests) Code

Code gets the status code for the revoke c d r arrangements too many requests response

func (*RevokeCDRArrangementsTooManyRequests) Error

func (*RevokeCDRArrangementsTooManyRequests) GetPayload

func (*RevokeCDRArrangementsTooManyRequests) IsClientError

func (o *RevokeCDRArrangementsTooManyRequests) IsClientError() bool

IsClientError returns true when this revoke c d r arrangements too many requests response has a 4xx status code

func (*RevokeCDRArrangementsTooManyRequests) IsCode

IsCode returns true when this revoke c d r arrangements too many requests response a status code equal to that given

func (*RevokeCDRArrangementsTooManyRequests) IsRedirect

IsRedirect returns true when this revoke c d r arrangements too many requests response has a 3xx status code

func (*RevokeCDRArrangementsTooManyRequests) IsServerError

func (o *RevokeCDRArrangementsTooManyRequests) IsServerError() bool

IsServerError returns true when this revoke c d r arrangements too many requests response has a 5xx status code

func (*RevokeCDRArrangementsTooManyRequests) IsSuccess

IsSuccess returns true when this revoke c d r arrangements too many requests response has a 2xx status code

func (*RevokeCDRArrangementsTooManyRequests) String

type RevokeCDRArrangementsUnauthorized

type RevokeCDRArrangementsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeCDRArrangementsUnauthorized

func NewRevokeCDRArrangementsUnauthorized() *RevokeCDRArrangementsUnauthorized

NewRevokeCDRArrangementsUnauthorized creates a RevokeCDRArrangementsUnauthorized with default headers values

func (*RevokeCDRArrangementsUnauthorized) Code

Code gets the status code for the revoke c d r arrangements unauthorized response

func (*RevokeCDRArrangementsUnauthorized) Error

func (*RevokeCDRArrangementsUnauthorized) GetPayload

func (*RevokeCDRArrangementsUnauthorized) IsClientError

func (o *RevokeCDRArrangementsUnauthorized) IsClientError() bool

IsClientError returns true when this revoke c d r arrangements unauthorized response has a 4xx status code

func (*RevokeCDRArrangementsUnauthorized) IsCode

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

IsCode returns true when this revoke c d r arrangements unauthorized response a status code equal to that given

func (*RevokeCDRArrangementsUnauthorized) IsRedirect

func (o *RevokeCDRArrangementsUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke c d r arrangements unauthorized response has a 3xx status code

func (*RevokeCDRArrangementsUnauthorized) IsServerError

func (o *RevokeCDRArrangementsUnauthorized) IsServerError() bool

IsServerError returns true when this revoke c d r arrangements unauthorized response has a 5xx status code

func (*RevokeCDRArrangementsUnauthorized) IsSuccess

func (o *RevokeCDRArrangementsUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke c d r arrangements unauthorized response has a 2xx status code

func (*RevokeCDRArrangementsUnauthorized) String

type RevokeCDRCustomerArrangementsBadRequest

type RevokeCDRCustomerArrangementsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewRevokeCDRCustomerArrangementsBadRequest

func NewRevokeCDRCustomerArrangementsBadRequest() *RevokeCDRCustomerArrangementsBadRequest

NewRevokeCDRCustomerArrangementsBadRequest creates a RevokeCDRCustomerArrangementsBadRequest with default headers values

func (*RevokeCDRCustomerArrangementsBadRequest) Code

Code gets the status code for the revoke c d r customer arrangements bad request response

func (*RevokeCDRCustomerArrangementsBadRequest) Error

func (*RevokeCDRCustomerArrangementsBadRequest) GetPayload

func (*RevokeCDRCustomerArrangementsBadRequest) IsClientError

func (o *RevokeCDRCustomerArrangementsBadRequest) IsClientError() bool

IsClientError returns true when this revoke c d r customer arrangements bad request response has a 4xx status code

func (*RevokeCDRCustomerArrangementsBadRequest) IsCode

IsCode returns true when this revoke c d r customer arrangements bad request response a status code equal to that given

func (*RevokeCDRCustomerArrangementsBadRequest) IsRedirect

IsRedirect returns true when this revoke c d r customer arrangements bad request response has a 3xx status code

func (*RevokeCDRCustomerArrangementsBadRequest) IsServerError

func (o *RevokeCDRCustomerArrangementsBadRequest) IsServerError() bool

IsServerError returns true when this revoke c d r customer arrangements bad request response has a 5xx status code

func (*RevokeCDRCustomerArrangementsBadRequest) IsSuccess

IsSuccess returns true when this revoke c d r customer arrangements bad request response has a 2xx status code

func (*RevokeCDRCustomerArrangementsBadRequest) String

type RevokeCDRCustomerArrangementsForbidden

type RevokeCDRCustomerArrangementsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeCDRCustomerArrangementsForbidden

func NewRevokeCDRCustomerArrangementsForbidden() *RevokeCDRCustomerArrangementsForbidden

NewRevokeCDRCustomerArrangementsForbidden creates a RevokeCDRCustomerArrangementsForbidden with default headers values

func (*RevokeCDRCustomerArrangementsForbidden) Code

Code gets the status code for the revoke c d r customer arrangements forbidden response

func (*RevokeCDRCustomerArrangementsForbidden) Error

func (*RevokeCDRCustomerArrangementsForbidden) GetPayload

func (*RevokeCDRCustomerArrangementsForbidden) IsClientError

func (o *RevokeCDRCustomerArrangementsForbidden) IsClientError() bool

IsClientError returns true when this revoke c d r customer arrangements forbidden response has a 4xx status code

func (*RevokeCDRCustomerArrangementsForbidden) IsCode

IsCode returns true when this revoke c d r customer arrangements forbidden response a status code equal to that given

func (*RevokeCDRCustomerArrangementsForbidden) IsRedirect

IsRedirect returns true when this revoke c d r customer arrangements forbidden response has a 3xx status code

func (*RevokeCDRCustomerArrangementsForbidden) IsServerError

func (o *RevokeCDRCustomerArrangementsForbidden) IsServerError() bool

IsServerError returns true when this revoke c d r customer arrangements forbidden response has a 5xx status code

func (*RevokeCDRCustomerArrangementsForbidden) IsSuccess

IsSuccess returns true when this revoke c d r customer arrangements forbidden response has a 2xx status code

func (*RevokeCDRCustomerArrangementsForbidden) String

type RevokeCDRCustomerArrangementsNotFound

type RevokeCDRCustomerArrangementsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeCDRCustomerArrangementsNotFound

func NewRevokeCDRCustomerArrangementsNotFound() *RevokeCDRCustomerArrangementsNotFound

NewRevokeCDRCustomerArrangementsNotFound creates a RevokeCDRCustomerArrangementsNotFound with default headers values

func (*RevokeCDRCustomerArrangementsNotFound) Code

Code gets the status code for the revoke c d r customer arrangements not found response

func (*RevokeCDRCustomerArrangementsNotFound) Error

func (*RevokeCDRCustomerArrangementsNotFound) GetPayload

func (*RevokeCDRCustomerArrangementsNotFound) IsClientError

func (o *RevokeCDRCustomerArrangementsNotFound) IsClientError() bool

IsClientError returns true when this revoke c d r customer arrangements not found response has a 4xx status code

func (*RevokeCDRCustomerArrangementsNotFound) IsCode

IsCode returns true when this revoke c d r customer arrangements not found response a status code equal to that given

func (*RevokeCDRCustomerArrangementsNotFound) IsRedirect

IsRedirect returns true when this revoke c d r customer arrangements not found response has a 3xx status code

func (*RevokeCDRCustomerArrangementsNotFound) IsServerError

func (o *RevokeCDRCustomerArrangementsNotFound) IsServerError() bool

IsServerError returns true when this revoke c d r customer arrangements not found response has a 5xx status code

func (*RevokeCDRCustomerArrangementsNotFound) IsSuccess

IsSuccess returns true when this revoke c d r customer arrangements not found response has a 2xx status code

func (*RevokeCDRCustomerArrangementsNotFound) String

type RevokeCDRCustomerArrangementsOK

type RevokeCDRCustomerArrangementsOK struct {
	Payload *models.ConsentsRemovedResponse
}

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

Consents Revoked

func NewRevokeCDRCustomerArrangementsOK

func NewRevokeCDRCustomerArrangementsOK() *RevokeCDRCustomerArrangementsOK

NewRevokeCDRCustomerArrangementsOK creates a RevokeCDRCustomerArrangementsOK with default headers values

func (*RevokeCDRCustomerArrangementsOK) Code

Code gets the status code for the revoke c d r customer arrangements o k response

func (*RevokeCDRCustomerArrangementsOK) Error

func (*RevokeCDRCustomerArrangementsOK) GetPayload

func (*RevokeCDRCustomerArrangementsOK) IsClientError

func (o *RevokeCDRCustomerArrangementsOK) IsClientError() bool

IsClientError returns true when this revoke c d r customer arrangements o k response has a 4xx status code

func (*RevokeCDRCustomerArrangementsOK) IsCode

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

IsCode returns true when this revoke c d r customer arrangements o k response a status code equal to that given

func (*RevokeCDRCustomerArrangementsOK) IsRedirect

func (o *RevokeCDRCustomerArrangementsOK) IsRedirect() bool

IsRedirect returns true when this revoke c d r customer arrangements o k response has a 3xx status code

func (*RevokeCDRCustomerArrangementsOK) IsServerError

func (o *RevokeCDRCustomerArrangementsOK) IsServerError() bool

IsServerError returns true when this revoke c d r customer arrangements o k response has a 5xx status code

func (*RevokeCDRCustomerArrangementsOK) IsSuccess

func (o *RevokeCDRCustomerArrangementsOK) IsSuccess() bool

IsSuccess returns true when this revoke c d r customer arrangements o k response has a 2xx status code

func (*RevokeCDRCustomerArrangementsOK) String

type RevokeCDRCustomerArrangementsParams

type RevokeCDRCustomerArrangementsParams struct {

	/* RevocationChannel.

	   Stores the channel that was used to revoke the arrangement

	   Default: "online"
	*/
	RevocationChannel *string

	/* RevocationReason.

	   Stores the reason why the arrangement was revoked
	*/
	RevocationReason *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

RevokeCDRCustomerArrangementsParams contains all the parameters to send to the API endpoint

for the revoke c d r customer arrangements operation.

Typically these are written to a http.Request.

func NewRevokeCDRCustomerArrangementsParams

func NewRevokeCDRCustomerArrangementsParams() *RevokeCDRCustomerArrangementsParams

NewRevokeCDRCustomerArrangementsParams creates a new RevokeCDRCustomerArrangementsParams 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 NewRevokeCDRCustomerArrangementsParamsWithContext

func NewRevokeCDRCustomerArrangementsParamsWithContext(ctx context.Context) *RevokeCDRCustomerArrangementsParams

NewRevokeCDRCustomerArrangementsParamsWithContext creates a new RevokeCDRCustomerArrangementsParams object with the ability to set a context for a request.

func NewRevokeCDRCustomerArrangementsParamsWithHTTPClient

func NewRevokeCDRCustomerArrangementsParamsWithHTTPClient(client *http.Client) *RevokeCDRCustomerArrangementsParams

NewRevokeCDRCustomerArrangementsParamsWithHTTPClient creates a new RevokeCDRCustomerArrangementsParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeCDRCustomerArrangementsParamsWithTimeout

func NewRevokeCDRCustomerArrangementsParamsWithTimeout(timeout time.Duration) *RevokeCDRCustomerArrangementsParams

NewRevokeCDRCustomerArrangementsParamsWithTimeout creates a new RevokeCDRCustomerArrangementsParams object with the ability to set a timeout on a request.

func (*RevokeCDRCustomerArrangementsParams) SetContext

SetContext adds the context to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) SetDefaults

func (o *RevokeCDRCustomerArrangementsParams) SetDefaults()

SetDefaults hydrates default values in the revoke c d r customer arrangements params (not the query body).

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

func (*RevokeCDRCustomerArrangementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) SetRevocationChannel

func (o *RevokeCDRCustomerArrangementsParams) SetRevocationChannel(revocationChannel *string)

SetRevocationChannel adds the revocationChannel to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) SetRevocationReason

func (o *RevokeCDRCustomerArrangementsParams) SetRevocationReason(revocationReason *string)

SetRevocationReason adds the revocationReason to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) SetWid

SetWid adds the wid to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WithContext

WithContext adds the context to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WithDefaults

WithDefaults hydrates default values in the revoke c d r customer arrangements params (not the query body).

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

func (*RevokeCDRCustomerArrangementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WithRevocationChannel

func (o *RevokeCDRCustomerArrangementsParams) WithRevocationChannel(revocationChannel *string) *RevokeCDRCustomerArrangementsParams

WithRevocationChannel adds the revocationChannel to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WithRevocationReason

func (o *RevokeCDRCustomerArrangementsParams) WithRevocationReason(revocationReason *string) *RevokeCDRCustomerArrangementsParams

WithRevocationReason adds the revocationReason to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WithTimeout

WithTimeout adds the timeout to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WithWid

WithWid adds the wid to the revoke c d r customer arrangements params

func (*RevokeCDRCustomerArrangementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeCDRCustomerArrangementsReader

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

RevokeCDRCustomerArrangementsReader is a Reader for the RevokeCDRCustomerArrangements structure.

func (*RevokeCDRCustomerArrangementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeCDRCustomerArrangementsTooManyRequests

type RevokeCDRCustomerArrangementsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeCDRCustomerArrangementsTooManyRequests

func NewRevokeCDRCustomerArrangementsTooManyRequests() *RevokeCDRCustomerArrangementsTooManyRequests

NewRevokeCDRCustomerArrangementsTooManyRequests creates a RevokeCDRCustomerArrangementsTooManyRequests with default headers values

func (*RevokeCDRCustomerArrangementsTooManyRequests) Code

Code gets the status code for the revoke c d r customer arrangements too many requests response

func (*RevokeCDRCustomerArrangementsTooManyRequests) Error

func (*RevokeCDRCustomerArrangementsTooManyRequests) GetPayload

func (*RevokeCDRCustomerArrangementsTooManyRequests) IsClientError

IsClientError returns true when this revoke c d r customer arrangements too many requests response has a 4xx status code

func (*RevokeCDRCustomerArrangementsTooManyRequests) IsCode

IsCode returns true when this revoke c d r customer arrangements too many requests response a status code equal to that given

func (*RevokeCDRCustomerArrangementsTooManyRequests) IsRedirect

IsRedirect returns true when this revoke c d r customer arrangements too many requests response has a 3xx status code

func (*RevokeCDRCustomerArrangementsTooManyRequests) IsServerError

IsServerError returns true when this revoke c d r customer arrangements too many requests response has a 5xx status code

func (*RevokeCDRCustomerArrangementsTooManyRequests) IsSuccess

IsSuccess returns true when this revoke c d r customer arrangements too many requests response has a 2xx status code

func (*RevokeCDRCustomerArrangementsTooManyRequests) String

type RevokeCDRCustomerArrangementsUnauthorized

type RevokeCDRCustomerArrangementsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeCDRCustomerArrangementsUnauthorized

func NewRevokeCDRCustomerArrangementsUnauthorized() *RevokeCDRCustomerArrangementsUnauthorized

NewRevokeCDRCustomerArrangementsUnauthorized creates a RevokeCDRCustomerArrangementsUnauthorized with default headers values

func (*RevokeCDRCustomerArrangementsUnauthorized) Code

Code gets the status code for the revoke c d r customer arrangements unauthorized response

func (*RevokeCDRCustomerArrangementsUnauthorized) Error

func (*RevokeCDRCustomerArrangementsUnauthorized) GetPayload

func (*RevokeCDRCustomerArrangementsUnauthorized) IsClientError

IsClientError returns true when this revoke c d r customer arrangements unauthorized response has a 4xx status code

func (*RevokeCDRCustomerArrangementsUnauthorized) IsCode

IsCode returns true when this revoke c d r customer arrangements unauthorized response a status code equal to that given

func (*RevokeCDRCustomerArrangementsUnauthorized) IsRedirect

IsRedirect returns true when this revoke c d r customer arrangements unauthorized response has a 3xx status code

func (*RevokeCDRCustomerArrangementsUnauthorized) IsServerError

IsServerError returns true when this revoke c d r customer arrangements unauthorized response has a 5xx status code

func (*RevokeCDRCustomerArrangementsUnauthorized) IsSuccess

IsSuccess returns true when this revoke c d r customer arrangements unauthorized response has a 2xx status code

func (*RevokeCDRCustomerArrangementsUnauthorized) String

type RevokeCDRCustomerArrangementsUnprocessableEntity

type RevokeCDRCustomerArrangementsUnprocessableEntity struct {
	Payload *models.Error
}

RevokeCDRCustomerArrangementsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewRevokeCDRCustomerArrangementsUnprocessableEntity

func NewRevokeCDRCustomerArrangementsUnprocessableEntity() *RevokeCDRCustomerArrangementsUnprocessableEntity

NewRevokeCDRCustomerArrangementsUnprocessableEntity creates a RevokeCDRCustomerArrangementsUnprocessableEntity with default headers values

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) Code

Code gets the status code for the revoke c d r customer arrangements unprocessable entity response

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) Error

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) GetPayload

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) IsClientError

IsClientError returns true when this revoke c d r customer arrangements unprocessable entity response has a 4xx status code

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) IsCode

IsCode returns true when this revoke c d r customer arrangements unprocessable entity response a status code equal to that given

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) IsRedirect

IsRedirect returns true when this revoke c d r customer arrangements unprocessable entity response has a 3xx status code

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) IsServerError

IsServerError returns true when this revoke c d r customer arrangements unprocessable entity response has a 5xx status code

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) IsSuccess

IsSuccess returns true when this revoke c d r customer arrangements unprocessable entity response has a 2xx status code

func (*RevokeCDRCustomerArrangementsUnprocessableEntity) String

Jump to

Keyboard shortcuts

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