c_d_r

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: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CdrConsentIntrospectNotFound

type CdrConsentIntrospectNotFound struct {
	Payload *models.GenericError
}

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

ErrorResponse

func NewCdrConsentIntrospectNotFound

func NewCdrConsentIntrospectNotFound() *CdrConsentIntrospectNotFound

NewCdrConsentIntrospectNotFound creates a CdrConsentIntrospectNotFound with default headers values

func (*CdrConsentIntrospectNotFound) Code

Code gets the status code for the cdr consent introspect not found response

func (*CdrConsentIntrospectNotFound) Error

func (*CdrConsentIntrospectNotFound) GetPayload

func (*CdrConsentIntrospectNotFound) IsClientError

func (o *CdrConsentIntrospectNotFound) IsClientError() bool

IsClientError returns true when this cdr consent introspect not found response has a 4xx status code

func (*CdrConsentIntrospectNotFound) IsCode

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

IsCode returns true when this cdr consent introspect not found response a status code equal to that given

func (*CdrConsentIntrospectNotFound) IsRedirect

func (o *CdrConsentIntrospectNotFound) IsRedirect() bool

IsRedirect returns true when this cdr consent introspect not found response has a 3xx status code

func (*CdrConsentIntrospectNotFound) IsServerError

func (o *CdrConsentIntrospectNotFound) IsServerError() bool

IsServerError returns true when this cdr consent introspect not found response has a 5xx status code

func (*CdrConsentIntrospectNotFound) IsSuccess

func (o *CdrConsentIntrospectNotFound) IsSuccess() bool

IsSuccess returns true when this cdr consent introspect not found response has a 2xx status code

func (*CdrConsentIntrospectNotFound) String

type CdrConsentIntrospectOK

type CdrConsentIntrospectOK struct {
	Payload *CdrConsentIntrospectOKBody
}

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

Introspect CDR Consent Response

func NewCdrConsentIntrospectOK

func NewCdrConsentIntrospectOK() *CdrConsentIntrospectOK

NewCdrConsentIntrospectOK creates a CdrConsentIntrospectOK with default headers values

func (*CdrConsentIntrospectOK) Code

func (o *CdrConsentIntrospectOK) Code() int

Code gets the status code for the cdr consent introspect o k response

func (*CdrConsentIntrospectOK) Error

func (o *CdrConsentIntrospectOK) Error() string

func (*CdrConsentIntrospectOK) GetPayload

func (*CdrConsentIntrospectOK) IsClientError

func (o *CdrConsentIntrospectOK) IsClientError() bool

IsClientError returns true when this cdr consent introspect o k response has a 4xx status code

func (*CdrConsentIntrospectOK) IsCode

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

IsCode returns true when this cdr consent introspect o k response a status code equal to that given

func (*CdrConsentIntrospectOK) IsRedirect

func (o *CdrConsentIntrospectOK) IsRedirect() bool

IsRedirect returns true when this cdr consent introspect o k response has a 3xx status code

func (*CdrConsentIntrospectOK) IsServerError

func (o *CdrConsentIntrospectOK) IsServerError() bool

IsServerError returns true when this cdr consent introspect o k response has a 5xx status code

func (*CdrConsentIntrospectOK) IsSuccess

func (o *CdrConsentIntrospectOK) IsSuccess() bool

IsSuccess returns true when this cdr consent introspect o k response has a 2xx status code

func (*CdrConsentIntrospectOK) String

func (o *CdrConsentIntrospectOK) String() string

type CdrConsentIntrospectOKBody

type CdrConsentIntrospectOKBody struct {
	models.IntrospectResponse

	// Deprecated list of account ids, use `account_ids` from `cdr_arrangement`
	AccountIDs []string `json:"AccountIDs" yaml:"AccountIDs"`

	// cdr arrangement
	CdrArrangement *models.CDRArrangement `json:"cdr_arrangement,omitempty" yaml:"cdr_arrangement,omitempty"`

	// CDR arrangement ID
	CdrArrangementID string `json:"cdr_arrangement_id,omitempty" yaml:"cdr_arrangement_id,omitempty"`

	// cdr register client metadata
	CdrRegisterClientMetadata *models.CDRRegisterClientMetadata `json:"cdr_register_client_metadata,omitempty" yaml:"cdr_register_client_metadata,omitempty"`
}

CdrConsentIntrospectOKBody cdr consent introspect o k body swagger:model CdrConsentIntrospectOKBody

func (*CdrConsentIntrospectOKBody) ContextValidate

func (o *CdrConsentIntrospectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cdr consent introspect o k body based on the context it is used

func (*CdrConsentIntrospectOKBody) MarshalBinary

func (o *CdrConsentIntrospectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CdrConsentIntrospectOKBody) MarshalJSON

func (o CdrConsentIntrospectOKBody) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*CdrConsentIntrospectOKBody) UnmarshalBinary

func (o *CdrConsentIntrospectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CdrConsentIntrospectOKBody) UnmarshalJSON

func (o *CdrConsentIntrospectOKBody) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*CdrConsentIntrospectOKBody) Validate

func (o *CdrConsentIntrospectOKBody) Validate(formats strfmt.Registry) error

Validate validates this cdr consent introspect o k body

type CdrConsentIntrospectParams

type CdrConsentIntrospectParams struct {

	// Token.
	Token *string

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

CdrConsentIntrospectParams contains all the parameters to send to the API endpoint

for the cdr consent introspect operation.

Typically these are written to a http.Request.

func NewCdrConsentIntrospectParams

func NewCdrConsentIntrospectParams() *CdrConsentIntrospectParams

NewCdrConsentIntrospectParams creates a new CdrConsentIntrospectParams 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 NewCdrConsentIntrospectParamsWithContext

func NewCdrConsentIntrospectParamsWithContext(ctx context.Context) *CdrConsentIntrospectParams

NewCdrConsentIntrospectParamsWithContext creates a new CdrConsentIntrospectParams object with the ability to set a context for a request.

func NewCdrConsentIntrospectParamsWithHTTPClient

func NewCdrConsentIntrospectParamsWithHTTPClient(client *http.Client) *CdrConsentIntrospectParams

NewCdrConsentIntrospectParamsWithHTTPClient creates a new CdrConsentIntrospectParams object with the ability to set a custom HTTPClient for a request.

func NewCdrConsentIntrospectParamsWithTimeout

func NewCdrConsentIntrospectParamsWithTimeout(timeout time.Duration) *CdrConsentIntrospectParams

NewCdrConsentIntrospectParamsWithTimeout creates a new CdrConsentIntrospectParams object with the ability to set a timeout on a request.

func (*CdrConsentIntrospectParams) SetContext

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

SetContext adds the context to the cdr consent introspect params

func (*CdrConsentIntrospectParams) SetDefaults

func (o *CdrConsentIntrospectParams) SetDefaults()

SetDefaults hydrates default values in the cdr consent introspect params (not the query body).

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

func (*CdrConsentIntrospectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cdr consent introspect params

func (*CdrConsentIntrospectParams) SetTimeout

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

SetTimeout adds the timeout to the cdr consent introspect params

func (*CdrConsentIntrospectParams) SetToken

func (o *CdrConsentIntrospectParams) SetToken(token *string)

SetToken adds the token to the cdr consent introspect params

func (*CdrConsentIntrospectParams) WithContext

WithContext adds the context to the cdr consent introspect params

func (*CdrConsentIntrospectParams) WithDefaults

WithDefaults hydrates default values in the cdr consent introspect params (not the query body).

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

func (*CdrConsentIntrospectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cdr consent introspect params

func (*CdrConsentIntrospectParams) WithTimeout

WithTimeout adds the timeout to the cdr consent introspect params

func (*CdrConsentIntrospectParams) WithToken

WithToken adds the token to the cdr consent introspect params

func (*CdrConsentIntrospectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CdrConsentIntrospectReader

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

CdrConsentIntrospectReader is a Reader for the CdrConsentIntrospect structure.

func (*CdrConsentIntrospectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CdrConsentIntrospectTooManyRequests

type CdrConsentIntrospectTooManyRequests struct {
	Payload *models.GenericError
}

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

ErrorResponse

func NewCdrConsentIntrospectTooManyRequests

func NewCdrConsentIntrospectTooManyRequests() *CdrConsentIntrospectTooManyRequests

NewCdrConsentIntrospectTooManyRequests creates a CdrConsentIntrospectTooManyRequests with default headers values

func (*CdrConsentIntrospectTooManyRequests) Code

Code gets the status code for the cdr consent introspect too many requests response

func (*CdrConsentIntrospectTooManyRequests) Error

func (*CdrConsentIntrospectTooManyRequests) GetPayload

func (*CdrConsentIntrospectTooManyRequests) IsClientError

func (o *CdrConsentIntrospectTooManyRequests) IsClientError() bool

IsClientError returns true when this cdr consent introspect too many requests response has a 4xx status code

func (*CdrConsentIntrospectTooManyRequests) IsCode

IsCode returns true when this cdr consent introspect too many requests response a status code equal to that given

func (*CdrConsentIntrospectTooManyRequests) IsRedirect

func (o *CdrConsentIntrospectTooManyRequests) IsRedirect() bool

IsRedirect returns true when this cdr consent introspect too many requests response has a 3xx status code

func (*CdrConsentIntrospectTooManyRequests) IsServerError

func (o *CdrConsentIntrospectTooManyRequests) IsServerError() bool

IsServerError returns true when this cdr consent introspect too many requests response has a 5xx status code

func (*CdrConsentIntrospectTooManyRequests) IsSuccess

IsSuccess returns true when this cdr consent introspect too many requests response has a 2xx status code

func (*CdrConsentIntrospectTooManyRequests) String

type CdrConsentIntrospectUnauthorized

type CdrConsentIntrospectUnauthorized struct {
	Payload *models.GenericError
}

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

ErrorResponse

func NewCdrConsentIntrospectUnauthorized

func NewCdrConsentIntrospectUnauthorized() *CdrConsentIntrospectUnauthorized

NewCdrConsentIntrospectUnauthorized creates a CdrConsentIntrospectUnauthorized with default headers values

func (*CdrConsentIntrospectUnauthorized) Code

Code gets the status code for the cdr consent introspect unauthorized response

func (*CdrConsentIntrospectUnauthorized) Error

func (*CdrConsentIntrospectUnauthorized) GetPayload

func (*CdrConsentIntrospectUnauthorized) IsClientError

func (o *CdrConsentIntrospectUnauthorized) IsClientError() bool

IsClientError returns true when this cdr consent introspect unauthorized response has a 4xx status code

func (*CdrConsentIntrospectUnauthorized) IsCode

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

IsCode returns true when this cdr consent introspect unauthorized response a status code equal to that given

func (*CdrConsentIntrospectUnauthorized) IsRedirect

func (o *CdrConsentIntrospectUnauthorized) IsRedirect() bool

IsRedirect returns true when this cdr consent introspect unauthorized response has a 3xx status code

func (*CdrConsentIntrospectUnauthorized) IsServerError

func (o *CdrConsentIntrospectUnauthorized) IsServerError() bool

IsServerError returns true when this cdr consent introspect unauthorized response has a 5xx status code

func (*CdrConsentIntrospectUnauthorized) IsSuccess

func (o *CdrConsentIntrospectUnauthorized) IsSuccess() bool

IsSuccess returns true when this cdr consent introspect unauthorized response has a 2xx status code

func (*CdrConsentIntrospectUnauthorized) String

type Client

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

Client for c d r API

func (*Client) CdrConsentIntrospect

func (a *Client) CdrConsentIntrospect(params *CdrConsentIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CdrConsentIntrospectOK, error)
CdrConsentIntrospect introspects c d r arrangement

Accepts a refresh token and returns meta information surrounding the OAuth 2.0 refresh token along with the

CDR arrangement.

As per CDR regulations, Access Tokens and ID Tokens are unavailable for introspection.

The response includes:

`exp` a token expiration timestamp.

`scope` a space-separated list of scopes associated with the token.

`cdr_arrangement_id` a unique identifier of the arrangement.

`cdr_arrangement` an object holding the arrangement details.

`cdr_register_client_metadata` metadata from the CDR Register, including the Data Recipient and Software Product

statuses.

func (*Client) RefreshMetadata

func (a *Client) RefreshMetadata(params *RefreshMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshMetadataOK, error)
RefreshMetadata refreshes a d r metadata

Indicate that a critical update to the metadata for Accredited Data Recipients has been made

and should be obtained. This endpoint is used by the CDR Register.

Supported version(s) of this endpoint: [1]

func (*Client) RevokeCDRArrangement

func (a *Client) RevokeCDRArrangement(params *RevokeCDRArrangementParams, opts ...ClientOption) (*RevokeCDRArrangementNoContent, error)
RevokeCDRArrangement revokes c d r arrangement

Withdraw a consent for an arrangement in compliance with the revocation endpoint defined by the Consumer

Data Standards specification. The operation is performed per client application.

This endpoint requires inline [Private Key JWT](https://cloudentity.com/developers/basics/oauth-client-authentication/private-key-jwt-client-authentication/) authentication.

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 {
	CdrConsentIntrospect(params *CdrConsentIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CdrConsentIntrospectOK, error)

	RefreshMetadata(params *RefreshMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshMetadataOK, error)

	RevokeCDRArrangement(params *RevokeCDRArrangementParams, opts ...ClientOption) (*RevokeCDRArrangementNoContent, 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 c d r API client.

type RefreshMetadataBadRequest

type RefreshMetadataBadRequest struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRefreshMetadataBadRequest

func NewRefreshMetadataBadRequest() *RefreshMetadataBadRequest

NewRefreshMetadataBadRequest creates a RefreshMetadataBadRequest with default headers values

func (*RefreshMetadataBadRequest) Code

func (o *RefreshMetadataBadRequest) Code() int

Code gets the status code for the refresh metadata bad request response

func (*RefreshMetadataBadRequest) Error

func (o *RefreshMetadataBadRequest) Error() string

func (*RefreshMetadataBadRequest) GetPayload

func (*RefreshMetadataBadRequest) IsClientError

func (o *RefreshMetadataBadRequest) IsClientError() bool

IsClientError returns true when this refresh metadata bad request response has a 4xx status code

func (*RefreshMetadataBadRequest) IsCode

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

IsCode returns true when this refresh metadata bad request response a status code equal to that given

func (*RefreshMetadataBadRequest) IsRedirect

func (o *RefreshMetadataBadRequest) IsRedirect() bool

IsRedirect returns true when this refresh metadata bad request response has a 3xx status code

func (*RefreshMetadataBadRequest) IsServerError

func (o *RefreshMetadataBadRequest) IsServerError() bool

IsServerError returns true when this refresh metadata bad request response has a 5xx status code

func (*RefreshMetadataBadRequest) IsSuccess

func (o *RefreshMetadataBadRequest) IsSuccess() bool

IsSuccess returns true when this refresh metadata bad request response has a 2xx status code

func (*RefreshMetadataBadRequest) String

func (o *RefreshMetadataBadRequest) String() string

type RefreshMetadataFailedDependency

type RefreshMetadataFailedDependency struct {
	Payload *models.CDRErrorResponse
}

RefreshMetadataFailedDependency describes a response with status code 424, with default header values.

CDR Error

func NewRefreshMetadataFailedDependency

func NewRefreshMetadataFailedDependency() *RefreshMetadataFailedDependency

NewRefreshMetadataFailedDependency creates a RefreshMetadataFailedDependency with default headers values

func (*RefreshMetadataFailedDependency) Code

Code gets the status code for the refresh metadata failed dependency response

func (*RefreshMetadataFailedDependency) Error

func (*RefreshMetadataFailedDependency) GetPayload

func (*RefreshMetadataFailedDependency) IsClientError

func (o *RefreshMetadataFailedDependency) IsClientError() bool

IsClientError returns true when this refresh metadata failed dependency response has a 4xx status code

func (*RefreshMetadataFailedDependency) IsCode

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

IsCode returns true when this refresh metadata failed dependency response a status code equal to that given

func (*RefreshMetadataFailedDependency) IsRedirect

func (o *RefreshMetadataFailedDependency) IsRedirect() bool

IsRedirect returns true when this refresh metadata failed dependency response has a 3xx status code

func (*RefreshMetadataFailedDependency) IsServerError

func (o *RefreshMetadataFailedDependency) IsServerError() bool

IsServerError returns true when this refresh metadata failed dependency response has a 5xx status code

func (*RefreshMetadataFailedDependency) IsSuccess

func (o *RefreshMetadataFailedDependency) IsSuccess() bool

IsSuccess returns true when this refresh metadata failed dependency response has a 2xx status code

func (*RefreshMetadataFailedDependency) String

type RefreshMetadataNotAcceptable

type RefreshMetadataNotAcceptable struct {
	Payload *models.CDRErrorResponse
}

RefreshMetadataNotAcceptable describes a response with status code 406, with default header values.

CDR Error

func NewRefreshMetadataNotAcceptable

func NewRefreshMetadataNotAcceptable() *RefreshMetadataNotAcceptable

NewRefreshMetadataNotAcceptable creates a RefreshMetadataNotAcceptable with default headers values

func (*RefreshMetadataNotAcceptable) Code

Code gets the status code for the refresh metadata not acceptable response

func (*RefreshMetadataNotAcceptable) Error

func (*RefreshMetadataNotAcceptable) GetPayload

func (*RefreshMetadataNotAcceptable) IsClientError

func (o *RefreshMetadataNotAcceptable) IsClientError() bool

IsClientError returns true when this refresh metadata not acceptable response has a 4xx status code

func (*RefreshMetadataNotAcceptable) IsCode

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

IsCode returns true when this refresh metadata not acceptable response a status code equal to that given

func (*RefreshMetadataNotAcceptable) IsRedirect

func (o *RefreshMetadataNotAcceptable) IsRedirect() bool

IsRedirect returns true when this refresh metadata not acceptable response has a 3xx status code

func (*RefreshMetadataNotAcceptable) IsServerError

func (o *RefreshMetadataNotAcceptable) IsServerError() bool

IsServerError returns true when this refresh metadata not acceptable response has a 5xx status code

func (*RefreshMetadataNotAcceptable) IsSuccess

func (o *RefreshMetadataNotAcceptable) IsSuccess() bool

IsSuccess returns true when this refresh metadata not acceptable response has a 2xx status code

func (*RefreshMetadataNotAcceptable) String

type RefreshMetadataOK

type RefreshMetadataOK struct {
}

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

Register refreshed

func NewRefreshMetadataOK

func NewRefreshMetadataOK() *RefreshMetadataOK

NewRefreshMetadataOK creates a RefreshMetadataOK with default headers values

func (*RefreshMetadataOK) Code

func (o *RefreshMetadataOK) Code() int

Code gets the status code for the refresh metadata o k response

func (*RefreshMetadataOK) Error

func (o *RefreshMetadataOK) Error() string

func (*RefreshMetadataOK) IsClientError

func (o *RefreshMetadataOK) IsClientError() bool

IsClientError returns true when this refresh metadata o k response has a 4xx status code

func (*RefreshMetadataOK) IsCode

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

IsCode returns true when this refresh metadata o k response a status code equal to that given

func (*RefreshMetadataOK) IsRedirect

func (o *RefreshMetadataOK) IsRedirect() bool

IsRedirect returns true when this refresh metadata o k response has a 3xx status code

func (*RefreshMetadataOK) IsServerError

func (o *RefreshMetadataOK) IsServerError() bool

IsServerError returns true when this refresh metadata o k response has a 5xx status code

func (*RefreshMetadataOK) IsSuccess

func (o *RefreshMetadataOK) IsSuccess() bool

IsSuccess returns true when this refresh metadata o k response has a 2xx status code

func (*RefreshMetadataOK) String

func (o *RefreshMetadataOK) String() string

type RefreshMetadataParams

type RefreshMetadataParams struct {

	// Request.
	Request *models.CDRAdminRequestMetaDataUpdate

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

RefreshMetadataParams contains all the parameters to send to the API endpoint

for the refresh metadata operation.

Typically these are written to a http.Request.

func NewRefreshMetadataParams

func NewRefreshMetadataParams() *RefreshMetadataParams

NewRefreshMetadataParams creates a new RefreshMetadataParams 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 NewRefreshMetadataParamsWithContext

func NewRefreshMetadataParamsWithContext(ctx context.Context) *RefreshMetadataParams

NewRefreshMetadataParamsWithContext creates a new RefreshMetadataParams object with the ability to set a context for a request.

func NewRefreshMetadataParamsWithHTTPClient

func NewRefreshMetadataParamsWithHTTPClient(client *http.Client) *RefreshMetadataParams

NewRefreshMetadataParamsWithHTTPClient creates a new RefreshMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshMetadataParamsWithTimeout

func NewRefreshMetadataParamsWithTimeout(timeout time.Duration) *RefreshMetadataParams

NewRefreshMetadataParamsWithTimeout creates a new RefreshMetadataParams object with the ability to set a timeout on a request.

func (*RefreshMetadataParams) SetContext

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

SetContext adds the context to the refresh metadata params

func (*RefreshMetadataParams) SetDefaults

func (o *RefreshMetadataParams) SetDefaults()

SetDefaults hydrates default values in the refresh metadata params (not the query body).

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

func (*RefreshMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh metadata params

func (*RefreshMetadataParams) SetRequest

SetRequest adds the request to the refresh metadata params

func (*RefreshMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the refresh metadata params

func (*RefreshMetadataParams) WithContext

WithContext adds the context to the refresh metadata params

func (*RefreshMetadataParams) WithDefaults

func (o *RefreshMetadataParams) WithDefaults() *RefreshMetadataParams

WithDefaults hydrates default values in the refresh metadata params (not the query body).

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

func (*RefreshMetadataParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the refresh metadata params

func (*RefreshMetadataParams) WithRequest

WithRequest adds the request to the refresh metadata params

func (*RefreshMetadataParams) WithTimeout

func (o *RefreshMetadataParams) WithTimeout(timeout time.Duration) *RefreshMetadataParams

WithTimeout adds the timeout to the refresh metadata params

func (*RefreshMetadataParams) WriteToRequest

func (o *RefreshMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RefreshMetadataReader

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

RefreshMetadataReader is a Reader for the RefreshMetadata structure.

func (*RefreshMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshMetadataUnauthorized

type RefreshMetadataUnauthorized struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRefreshMetadataUnauthorized

func NewRefreshMetadataUnauthorized() *RefreshMetadataUnauthorized

NewRefreshMetadataUnauthorized creates a RefreshMetadataUnauthorized with default headers values

func (*RefreshMetadataUnauthorized) Code

func (o *RefreshMetadataUnauthorized) Code() int

Code gets the status code for the refresh metadata unauthorized response

func (*RefreshMetadataUnauthorized) Error

func (*RefreshMetadataUnauthorized) GetPayload

func (*RefreshMetadataUnauthorized) IsClientError

func (o *RefreshMetadataUnauthorized) IsClientError() bool

IsClientError returns true when this refresh metadata unauthorized response has a 4xx status code

func (*RefreshMetadataUnauthorized) IsCode

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

IsCode returns true when this refresh metadata unauthorized response a status code equal to that given

func (*RefreshMetadataUnauthorized) IsRedirect

func (o *RefreshMetadataUnauthorized) IsRedirect() bool

IsRedirect returns true when this refresh metadata unauthorized response has a 3xx status code

func (*RefreshMetadataUnauthorized) IsServerError

func (o *RefreshMetadataUnauthorized) IsServerError() bool

IsServerError returns true when this refresh metadata unauthorized response has a 5xx status code

func (*RefreshMetadataUnauthorized) IsSuccess

func (o *RefreshMetadataUnauthorized) IsSuccess() bool

IsSuccess returns true when this refresh metadata unauthorized response has a 2xx status code

func (*RefreshMetadataUnauthorized) String

func (o *RefreshMetadataUnauthorized) String() string

type RevokeCDRArrangementBadRequest

type RevokeCDRArrangementBadRequest struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRevokeCDRArrangementBadRequest

func NewRevokeCDRArrangementBadRequest() *RevokeCDRArrangementBadRequest

NewRevokeCDRArrangementBadRequest creates a RevokeCDRArrangementBadRequest with default headers values

func (*RevokeCDRArrangementBadRequest) Code

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

func (*RevokeCDRArrangementBadRequest) Error

func (*RevokeCDRArrangementBadRequest) GetPayload

func (*RevokeCDRArrangementBadRequest) IsClientError

func (o *RevokeCDRArrangementBadRequest) IsClientError() bool

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

func (*RevokeCDRArrangementBadRequest) IsCode

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

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

func (*RevokeCDRArrangementBadRequest) IsRedirect

func (o *RevokeCDRArrangementBadRequest) IsRedirect() bool

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

func (*RevokeCDRArrangementBadRequest) IsServerError

func (o *RevokeCDRArrangementBadRequest) IsServerError() bool

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

func (*RevokeCDRArrangementBadRequest) IsSuccess

func (o *RevokeCDRArrangementBadRequest) IsSuccess() bool

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

func (*RevokeCDRArrangementBadRequest) String

type RevokeCDRArrangementForbidden

type RevokeCDRArrangementForbidden struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRevokeCDRArrangementForbidden

func NewRevokeCDRArrangementForbidden() *RevokeCDRArrangementForbidden

NewRevokeCDRArrangementForbidden creates a RevokeCDRArrangementForbidden with default headers values

func (*RevokeCDRArrangementForbidden) Code

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

func (*RevokeCDRArrangementForbidden) Error

func (*RevokeCDRArrangementForbidden) GetPayload

func (*RevokeCDRArrangementForbidden) IsClientError

func (o *RevokeCDRArrangementForbidden) IsClientError() bool

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

func (*RevokeCDRArrangementForbidden) IsCode

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

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

func (*RevokeCDRArrangementForbidden) IsRedirect

func (o *RevokeCDRArrangementForbidden) IsRedirect() bool

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

func (*RevokeCDRArrangementForbidden) IsServerError

func (o *RevokeCDRArrangementForbidden) IsServerError() bool

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

func (*RevokeCDRArrangementForbidden) IsSuccess

func (o *RevokeCDRArrangementForbidden) IsSuccess() bool

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

func (*RevokeCDRArrangementForbidden) String

type RevokeCDRArrangementNoContent

type RevokeCDRArrangementNoContent struct {
}

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

CDR arrangement revoked

func NewRevokeCDRArrangementNoContent

func NewRevokeCDRArrangementNoContent() *RevokeCDRArrangementNoContent

NewRevokeCDRArrangementNoContent creates a RevokeCDRArrangementNoContent with default headers values

func (*RevokeCDRArrangementNoContent) Code

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

func (*RevokeCDRArrangementNoContent) Error

func (*RevokeCDRArrangementNoContent) IsClientError

func (o *RevokeCDRArrangementNoContent) IsClientError() bool

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

func (*RevokeCDRArrangementNoContent) IsCode

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

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

func (*RevokeCDRArrangementNoContent) IsRedirect

func (o *RevokeCDRArrangementNoContent) IsRedirect() bool

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

func (*RevokeCDRArrangementNoContent) IsServerError

func (o *RevokeCDRArrangementNoContent) IsServerError() bool

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

func (*RevokeCDRArrangementNoContent) IsSuccess

func (o *RevokeCDRArrangementNoContent) IsSuccess() bool

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

func (*RevokeCDRArrangementNoContent) String

type RevokeCDRArrangementNotFound

type RevokeCDRArrangementNotFound struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRevokeCDRArrangementNotFound

func NewRevokeCDRArrangementNotFound() *RevokeCDRArrangementNotFound

NewRevokeCDRArrangementNotFound creates a RevokeCDRArrangementNotFound with default headers values

func (*RevokeCDRArrangementNotFound) Code

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

func (*RevokeCDRArrangementNotFound) Error

func (*RevokeCDRArrangementNotFound) GetPayload

func (*RevokeCDRArrangementNotFound) IsClientError

func (o *RevokeCDRArrangementNotFound) IsClientError() bool

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

func (*RevokeCDRArrangementNotFound) IsCode

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

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

func (*RevokeCDRArrangementNotFound) IsRedirect

func (o *RevokeCDRArrangementNotFound) IsRedirect() bool

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

func (*RevokeCDRArrangementNotFound) IsServerError

func (o *RevokeCDRArrangementNotFound) IsServerError() bool

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

func (*RevokeCDRArrangementNotFound) IsSuccess

func (o *RevokeCDRArrangementNotFound) IsSuccess() bool

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

func (*RevokeCDRArrangementNotFound) String

type RevokeCDRArrangementParams

type RevokeCDRArrangementParams struct {

	// CdrArrangementID.
	CdrArrangementID *string

	// ClientAssertion.
	ClientAssertion *string

	// ClientAssertionType.
	//
	// Default: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
	ClientAssertionType *string

	// ClientID.
	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

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

RevokeCDRArrangementParams contains all the parameters to send to the API endpoint

for the revoke c d r arrangement operation.

Typically these are written to a http.Request.

func NewRevokeCDRArrangementParams

func NewRevokeCDRArrangementParams() *RevokeCDRArrangementParams

NewRevokeCDRArrangementParams creates a new RevokeCDRArrangementParams 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 NewRevokeCDRArrangementParamsWithContext

func NewRevokeCDRArrangementParamsWithContext(ctx context.Context) *RevokeCDRArrangementParams

NewRevokeCDRArrangementParamsWithContext creates a new RevokeCDRArrangementParams object with the ability to set a context for a request.

func NewRevokeCDRArrangementParamsWithHTTPClient

func NewRevokeCDRArrangementParamsWithHTTPClient(client *http.Client) *RevokeCDRArrangementParams

NewRevokeCDRArrangementParamsWithHTTPClient creates a new RevokeCDRArrangementParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeCDRArrangementParamsWithTimeout

func NewRevokeCDRArrangementParamsWithTimeout(timeout time.Duration) *RevokeCDRArrangementParams

NewRevokeCDRArrangementParamsWithTimeout creates a new RevokeCDRArrangementParams object with the ability to set a timeout on a request.

func (*RevokeCDRArrangementParams) SetCdrArrangementID

func (o *RevokeCDRArrangementParams) SetCdrArrangementID(cdrArrangementID *string)

SetCdrArrangementID adds the cdrArrangementId to the revoke c d r arrangement params

func (*RevokeCDRArrangementParams) SetClientAssertion

func (o *RevokeCDRArrangementParams) SetClientAssertion(clientAssertion *string)

SetClientAssertion adds the clientAssertion to the revoke c d r arrangement params

func (*RevokeCDRArrangementParams) SetClientAssertionType

func (o *RevokeCDRArrangementParams) SetClientAssertionType(clientAssertionType *string)

SetClientAssertionType adds the clientAssertionType to the revoke c d r arrangement params

func (*RevokeCDRArrangementParams) SetClientID

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

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

func (*RevokeCDRArrangementParams) SetContext

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

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

func (*RevokeCDRArrangementParams) SetDefaults

func (o *RevokeCDRArrangementParams) SetDefaults()

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

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

func (*RevokeCDRArrangementParams) SetHTTPClient

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

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

func (*RevokeCDRArrangementParams) SetRevocationChannel

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

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

func (*RevokeCDRArrangementParams) SetRevocationReason

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

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

func (*RevokeCDRArrangementParams) SetTimeout

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

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

func (*RevokeCDRArrangementParams) WithCdrArrangementID

func (o *RevokeCDRArrangementParams) WithCdrArrangementID(cdrArrangementID *string) *RevokeCDRArrangementParams

WithCdrArrangementID adds the cdrArrangementID to the revoke c d r arrangement params

func (*RevokeCDRArrangementParams) WithClientAssertion

func (o *RevokeCDRArrangementParams) WithClientAssertion(clientAssertion *string) *RevokeCDRArrangementParams

WithClientAssertion adds the clientAssertion to the revoke c d r arrangement params

func (*RevokeCDRArrangementParams) WithClientAssertionType

func (o *RevokeCDRArrangementParams) WithClientAssertionType(clientAssertionType *string) *RevokeCDRArrangementParams

WithClientAssertionType adds the clientAssertionType to the revoke c d r arrangement params

func (*RevokeCDRArrangementParams) WithClientID

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

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

func (*RevokeCDRArrangementParams) WithContext

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

func (*RevokeCDRArrangementParams) WithDefaults

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

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

func (*RevokeCDRArrangementParams) WithHTTPClient

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

func (*RevokeCDRArrangementParams) WithRevocationChannel

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

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

func (*RevokeCDRArrangementParams) WithRevocationReason

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

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

func (*RevokeCDRArrangementParams) WithTimeout

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

func (*RevokeCDRArrangementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeCDRArrangementReader

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

RevokeCDRArrangementReader is a Reader for the RevokeCDRArrangement structure.

func (*RevokeCDRArrangementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeCDRArrangementTooManyRequests

type RevokeCDRArrangementTooManyRequests struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRevokeCDRArrangementTooManyRequests

func NewRevokeCDRArrangementTooManyRequests() *RevokeCDRArrangementTooManyRequests

NewRevokeCDRArrangementTooManyRequests creates a RevokeCDRArrangementTooManyRequests with default headers values

func (*RevokeCDRArrangementTooManyRequests) Code

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

func (*RevokeCDRArrangementTooManyRequests) Error

func (*RevokeCDRArrangementTooManyRequests) GetPayload

func (*RevokeCDRArrangementTooManyRequests) IsClientError

func (o *RevokeCDRArrangementTooManyRequests) IsClientError() bool

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

func (*RevokeCDRArrangementTooManyRequests) IsCode

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

func (*RevokeCDRArrangementTooManyRequests) IsRedirect

func (o *RevokeCDRArrangementTooManyRequests) IsRedirect() bool

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

func (*RevokeCDRArrangementTooManyRequests) IsServerError

func (o *RevokeCDRArrangementTooManyRequests) IsServerError() bool

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

func (*RevokeCDRArrangementTooManyRequests) IsSuccess

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

func (*RevokeCDRArrangementTooManyRequests) String

type RevokeCDRArrangementUnauthorized

type RevokeCDRArrangementUnauthorized struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRevokeCDRArrangementUnauthorized

func NewRevokeCDRArrangementUnauthorized() *RevokeCDRArrangementUnauthorized

NewRevokeCDRArrangementUnauthorized creates a RevokeCDRArrangementUnauthorized with default headers values

func (*RevokeCDRArrangementUnauthorized) Code

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

func (*RevokeCDRArrangementUnauthorized) Error

func (*RevokeCDRArrangementUnauthorized) GetPayload

func (*RevokeCDRArrangementUnauthorized) IsClientError

func (o *RevokeCDRArrangementUnauthorized) IsClientError() bool

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

func (*RevokeCDRArrangementUnauthorized) IsCode

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

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

func (*RevokeCDRArrangementUnauthorized) IsRedirect

func (o *RevokeCDRArrangementUnauthorized) IsRedirect() bool

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

func (*RevokeCDRArrangementUnauthorized) IsServerError

func (o *RevokeCDRArrangementUnauthorized) IsServerError() bool

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

func (*RevokeCDRArrangementUnauthorized) IsSuccess

func (o *RevokeCDRArrangementUnauthorized) IsSuccess() bool

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

func (*RevokeCDRArrangementUnauthorized) String

type RevokeCDRArrangementUnprocessableEntity

type RevokeCDRArrangementUnprocessableEntity struct {
	Payload *models.CDRErrorResponse
}

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

CDR Error

func NewRevokeCDRArrangementUnprocessableEntity

func NewRevokeCDRArrangementUnprocessableEntity() *RevokeCDRArrangementUnprocessableEntity

NewRevokeCDRArrangementUnprocessableEntity creates a RevokeCDRArrangementUnprocessableEntity with default headers values

func (*RevokeCDRArrangementUnprocessableEntity) Code

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

func (*RevokeCDRArrangementUnprocessableEntity) Error

func (*RevokeCDRArrangementUnprocessableEntity) GetPayload

func (*RevokeCDRArrangementUnprocessableEntity) IsClientError

func (o *RevokeCDRArrangementUnprocessableEntity) IsClientError() bool

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

func (*RevokeCDRArrangementUnprocessableEntity) IsCode

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

func (*RevokeCDRArrangementUnprocessableEntity) IsRedirect

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

func (*RevokeCDRArrangementUnprocessableEntity) IsServerError

func (o *RevokeCDRArrangementUnprocessableEntity) IsServerError() bool

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

func (*RevokeCDRArrangementUnprocessableEntity) IsSuccess

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

func (*RevokeCDRArrangementUnprocessableEntity) String

Jump to

Keyboard shortcuts

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