account_subscription

package
v0.0.0-...-14d5a85 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountSubscriptionActivateResourcePostPostNoContent

type AccountSubscriptionActivateResourcePostPostNoContent struct {
}

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

Ok

func NewAccountSubscriptionActivateResourcePostPostNoContent

func NewAccountSubscriptionActivateResourcePostPostNoContent() *AccountSubscriptionActivateResourcePostPostNoContent

NewAccountSubscriptionActivateResourcePostPostNoContent creates a AccountSubscriptionActivateResourcePostPostNoContent with default headers values

func (*AccountSubscriptionActivateResourcePostPostNoContent) Code

Code gets the status code for the account subscription activate resource post post no content response

func (*AccountSubscriptionActivateResourcePostPostNoContent) Error

func (*AccountSubscriptionActivateResourcePostPostNoContent) IsClientError

IsClientError returns true when this account subscription activate resource post post no content response has a 4xx status code

func (*AccountSubscriptionActivateResourcePostPostNoContent) IsCode

IsCode returns true when this account subscription activate resource post post no content response a status code equal to that given

func (*AccountSubscriptionActivateResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this account subscription activate resource post post no content response has a 3xx status code

func (*AccountSubscriptionActivateResourcePostPostNoContent) IsServerError

IsServerError returns true when this account subscription activate resource post post no content response has a 5xx status code

func (*AccountSubscriptionActivateResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this account subscription activate resource post post no content response has a 2xx status code

func (*AccountSubscriptionActivateResourcePostPostNoContent) String

type AccountSubscriptionActivateResourcePostPostParams

type AccountSubscriptionActivateResourcePostPostParams struct {

	/* ID.

	   The account subscription unique id
	*/
	ID string

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

AccountSubscriptionActivateResourcePostPostParams contains all the parameters to send to the API endpoint

for the account subscription activate resource post post operation.

Typically these are written to a http.Request.

func NewAccountSubscriptionActivateResourcePostPostParams

func NewAccountSubscriptionActivateResourcePostPostParams() *AccountSubscriptionActivateResourcePostPostParams

NewAccountSubscriptionActivateResourcePostPostParams creates a new AccountSubscriptionActivateResourcePostPostParams 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 NewAccountSubscriptionActivateResourcePostPostParamsWithContext

func NewAccountSubscriptionActivateResourcePostPostParamsWithContext(ctx context.Context) *AccountSubscriptionActivateResourcePostPostParams

NewAccountSubscriptionActivateResourcePostPostParamsWithContext creates a new AccountSubscriptionActivateResourcePostPostParams object with the ability to set a context for a request.

func NewAccountSubscriptionActivateResourcePostPostParamsWithHTTPClient

func NewAccountSubscriptionActivateResourcePostPostParamsWithHTTPClient(client *http.Client) *AccountSubscriptionActivateResourcePostPostParams

NewAccountSubscriptionActivateResourcePostPostParamsWithHTTPClient creates a new AccountSubscriptionActivateResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewAccountSubscriptionActivateResourcePostPostParamsWithTimeout

func NewAccountSubscriptionActivateResourcePostPostParamsWithTimeout(timeout time.Duration) *AccountSubscriptionActivateResourcePostPostParams

NewAccountSubscriptionActivateResourcePostPostParamsWithTimeout creates a new AccountSubscriptionActivateResourcePostPostParams object with the ability to set a timeout on a request.

func (*AccountSubscriptionActivateResourcePostPostParams) SetContext

SetContext adds the context to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) SetDefaults

SetDefaults hydrates default values in the account subscription activate resource post post params (not the query body).

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

func (*AccountSubscriptionActivateResourcePostPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) SetID

SetID adds the id to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) SetTimeout

SetTimeout adds the timeout to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) WithContext

WithContext adds the context to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the account subscription activate resource post post params (not the query body).

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

func (*AccountSubscriptionActivateResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) WithID

WithID adds the id to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the account subscription activate resource post post params

func (*AccountSubscriptionActivateResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountSubscriptionActivateResourcePostPostReader

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

AccountSubscriptionActivateResourcePostPostReader is a Reader for the AccountSubscriptionActivateResourcePostPost structure.

func (*AccountSubscriptionActivateResourcePostPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountSubscriptionActivateResourcePostPostUnauthorized

type AccountSubscriptionActivateResourcePostPostUnauthorized struct {
}

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

Not authorized

func NewAccountSubscriptionActivateResourcePostPostUnauthorized

func NewAccountSubscriptionActivateResourcePostPostUnauthorized() *AccountSubscriptionActivateResourcePostPostUnauthorized

NewAccountSubscriptionActivateResourcePostPostUnauthorized creates a AccountSubscriptionActivateResourcePostPostUnauthorized with default headers values

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) Code

Code gets the status code for the account subscription activate resource post post unauthorized response

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) Error

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this account subscription activate resource post post unauthorized response has a 4xx status code

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) IsCode

IsCode returns true when this account subscription activate resource post post unauthorized response a status code equal to that given

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this account subscription activate resource post post unauthorized response has a 3xx status code

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this account subscription activate resource post post unauthorized response has a 5xx status code

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this account subscription activate resource post post unauthorized response has a 2xx status code

func (*AccountSubscriptionActivateResourcePostPostUnauthorized) String

type AccountSubscriptionPayResourcePostPostOK

type AccountSubscriptionPayResourcePostPostOK struct {
	Payload string
}

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

Ok

func NewAccountSubscriptionPayResourcePostPostOK

func NewAccountSubscriptionPayResourcePostPostOK() *AccountSubscriptionPayResourcePostPostOK

NewAccountSubscriptionPayResourcePostPostOK creates a AccountSubscriptionPayResourcePostPostOK with default headers values

func (*AccountSubscriptionPayResourcePostPostOK) Code

Code gets the status code for the account subscription pay resource post post o k response

func (*AccountSubscriptionPayResourcePostPostOK) Error

func (*AccountSubscriptionPayResourcePostPostOK) GetPayload

func (*AccountSubscriptionPayResourcePostPostOK) IsClientError

IsClientError returns true when this account subscription pay resource post post o k response has a 4xx status code

func (*AccountSubscriptionPayResourcePostPostOK) IsCode

IsCode returns true when this account subscription pay resource post post o k response a status code equal to that given

func (*AccountSubscriptionPayResourcePostPostOK) IsRedirect

IsRedirect returns true when this account subscription pay resource post post o k response has a 3xx status code

func (*AccountSubscriptionPayResourcePostPostOK) IsServerError

IsServerError returns true when this account subscription pay resource post post o k response has a 5xx status code

func (*AccountSubscriptionPayResourcePostPostOK) IsSuccess

IsSuccess returns true when this account subscription pay resource post post o k response has a 2xx status code

func (*AccountSubscriptionPayResourcePostPostOK) String

type AccountSubscriptionPayResourcePostPostParams

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

AccountSubscriptionPayResourcePostPostParams contains all the parameters to send to the API endpoint

for the account subscription pay resource post post operation.

Typically these are written to a http.Request.

func NewAccountSubscriptionPayResourcePostPostParams

func NewAccountSubscriptionPayResourcePostPostParams() *AccountSubscriptionPayResourcePostPostParams

NewAccountSubscriptionPayResourcePostPostParams creates a new AccountSubscriptionPayResourcePostPostParams 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 NewAccountSubscriptionPayResourcePostPostParamsWithContext

func NewAccountSubscriptionPayResourcePostPostParamsWithContext(ctx context.Context) *AccountSubscriptionPayResourcePostPostParams

NewAccountSubscriptionPayResourcePostPostParamsWithContext creates a new AccountSubscriptionPayResourcePostPostParams object with the ability to set a context for a request.

func NewAccountSubscriptionPayResourcePostPostParamsWithHTTPClient

func NewAccountSubscriptionPayResourcePostPostParamsWithHTTPClient(client *http.Client) *AccountSubscriptionPayResourcePostPostParams

NewAccountSubscriptionPayResourcePostPostParamsWithHTTPClient creates a new AccountSubscriptionPayResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewAccountSubscriptionPayResourcePostPostParamsWithTimeout

func NewAccountSubscriptionPayResourcePostPostParamsWithTimeout(timeout time.Duration) *AccountSubscriptionPayResourcePostPostParams

NewAccountSubscriptionPayResourcePostPostParamsWithTimeout creates a new AccountSubscriptionPayResourcePostPostParams object with the ability to set a timeout on a request.

func (*AccountSubscriptionPayResourcePostPostParams) SetContext

SetContext adds the context to the account subscription pay resource post post params

func (*AccountSubscriptionPayResourcePostPostParams) SetDefaults

SetDefaults hydrates default values in the account subscription pay resource post post params (not the query body).

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

func (*AccountSubscriptionPayResourcePostPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account subscription pay resource post post params

func (*AccountSubscriptionPayResourcePostPostParams) SetTimeout

SetTimeout adds the timeout to the account subscription pay resource post post params

func (*AccountSubscriptionPayResourcePostPostParams) WithContext

WithContext adds the context to the account subscription pay resource post post params

func (*AccountSubscriptionPayResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the account subscription pay resource post post params (not the query body).

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

func (*AccountSubscriptionPayResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account subscription pay resource post post params

func (*AccountSubscriptionPayResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the account subscription pay resource post post params

func (*AccountSubscriptionPayResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountSubscriptionPayResourcePostPostReader

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

AccountSubscriptionPayResourcePostPostReader is a Reader for the AccountSubscriptionPayResourcePostPost structure.

func (*AccountSubscriptionPayResourcePostPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountSubscriptionPayResourcePostPostUnauthorized

type AccountSubscriptionPayResourcePostPostUnauthorized struct {
}

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

Not authorized

func NewAccountSubscriptionPayResourcePostPostUnauthorized

func NewAccountSubscriptionPayResourcePostPostUnauthorized() *AccountSubscriptionPayResourcePostPostUnauthorized

NewAccountSubscriptionPayResourcePostPostUnauthorized creates a AccountSubscriptionPayResourcePostPostUnauthorized with default headers values

func (*AccountSubscriptionPayResourcePostPostUnauthorized) Code

Code gets the status code for the account subscription pay resource post post unauthorized response

func (*AccountSubscriptionPayResourcePostPostUnauthorized) Error

func (*AccountSubscriptionPayResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this account subscription pay resource post post unauthorized response has a 4xx status code

func (*AccountSubscriptionPayResourcePostPostUnauthorized) IsCode

IsCode returns true when this account subscription pay resource post post unauthorized response a status code equal to that given

func (*AccountSubscriptionPayResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this account subscription pay resource post post unauthorized response has a 3xx status code

func (*AccountSubscriptionPayResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this account subscription pay resource post post unauthorized response has a 5xx status code

func (*AccountSubscriptionPayResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this account subscription pay resource post post unauthorized response has a 2xx status code

func (*AccountSubscriptionPayResourcePostPostUnauthorized) String

type AccountSubscriptionTerminateResourcePostPostNoContent

type AccountSubscriptionTerminateResourcePostPostNoContent struct {
}

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

Ok

func NewAccountSubscriptionTerminateResourcePostPostNoContent

func NewAccountSubscriptionTerminateResourcePostPostNoContent() *AccountSubscriptionTerminateResourcePostPostNoContent

NewAccountSubscriptionTerminateResourcePostPostNoContent creates a AccountSubscriptionTerminateResourcePostPostNoContent with default headers values

func (*AccountSubscriptionTerminateResourcePostPostNoContent) Code

Code gets the status code for the account subscription terminate resource post post no content response

func (*AccountSubscriptionTerminateResourcePostPostNoContent) Error

func (*AccountSubscriptionTerminateResourcePostPostNoContent) IsClientError

IsClientError returns true when this account subscription terminate resource post post no content response has a 4xx status code

func (*AccountSubscriptionTerminateResourcePostPostNoContent) IsCode

IsCode returns true when this account subscription terminate resource post post no content response a status code equal to that given

func (*AccountSubscriptionTerminateResourcePostPostNoContent) IsRedirect

IsRedirect returns true when this account subscription terminate resource post post no content response has a 3xx status code

func (*AccountSubscriptionTerminateResourcePostPostNoContent) IsServerError

IsServerError returns true when this account subscription terminate resource post post no content response has a 5xx status code

func (*AccountSubscriptionTerminateResourcePostPostNoContent) IsSuccess

IsSuccess returns true when this account subscription terminate resource post post no content response has a 2xx status code

func (*AccountSubscriptionTerminateResourcePostPostNoContent) String

type AccountSubscriptionTerminateResourcePostPostParams

type AccountSubscriptionTerminateResourcePostPostParams struct {

	/* ID.

	   The account subscription unique id
	*/
	ID string

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

AccountSubscriptionTerminateResourcePostPostParams contains all the parameters to send to the API endpoint

for the account subscription terminate resource post post operation.

Typically these are written to a http.Request.

func NewAccountSubscriptionTerminateResourcePostPostParams

func NewAccountSubscriptionTerminateResourcePostPostParams() *AccountSubscriptionTerminateResourcePostPostParams

NewAccountSubscriptionTerminateResourcePostPostParams creates a new AccountSubscriptionTerminateResourcePostPostParams 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 NewAccountSubscriptionTerminateResourcePostPostParamsWithContext

func NewAccountSubscriptionTerminateResourcePostPostParamsWithContext(ctx context.Context) *AccountSubscriptionTerminateResourcePostPostParams

NewAccountSubscriptionTerminateResourcePostPostParamsWithContext creates a new AccountSubscriptionTerminateResourcePostPostParams object with the ability to set a context for a request.

func NewAccountSubscriptionTerminateResourcePostPostParamsWithHTTPClient

func NewAccountSubscriptionTerminateResourcePostPostParamsWithHTTPClient(client *http.Client) *AccountSubscriptionTerminateResourcePostPostParams

NewAccountSubscriptionTerminateResourcePostPostParamsWithHTTPClient creates a new AccountSubscriptionTerminateResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewAccountSubscriptionTerminateResourcePostPostParamsWithTimeout

func NewAccountSubscriptionTerminateResourcePostPostParamsWithTimeout(timeout time.Duration) *AccountSubscriptionTerminateResourcePostPostParams

NewAccountSubscriptionTerminateResourcePostPostParamsWithTimeout creates a new AccountSubscriptionTerminateResourcePostPostParams object with the ability to set a timeout on a request.

func (*AccountSubscriptionTerminateResourcePostPostParams) SetContext

SetContext adds the context to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) SetDefaults

SetDefaults hydrates default values in the account subscription terminate resource post post params (not the query body).

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

func (*AccountSubscriptionTerminateResourcePostPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) SetID

SetID adds the id to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) SetTimeout

SetTimeout adds the timeout to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) WithContext

WithContext adds the context to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the account subscription terminate resource post post params (not the query body).

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

func (*AccountSubscriptionTerminateResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) WithID

WithID adds the id to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the account subscription terminate resource post post params

func (*AccountSubscriptionTerminateResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountSubscriptionTerminateResourcePostPostReader

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

AccountSubscriptionTerminateResourcePostPostReader is a Reader for the AccountSubscriptionTerminateResourcePostPost structure.

func (*AccountSubscriptionTerminateResourcePostPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountSubscriptionTerminateResourcePostPostUnauthorized

type AccountSubscriptionTerminateResourcePostPostUnauthorized struct {
}

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

Not authorized

func NewAccountSubscriptionTerminateResourcePostPostUnauthorized

func NewAccountSubscriptionTerminateResourcePostPostUnauthorized() *AccountSubscriptionTerminateResourcePostPostUnauthorized

NewAccountSubscriptionTerminateResourcePostPostUnauthorized creates a AccountSubscriptionTerminateResourcePostPostUnauthorized with default headers values

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) Code

Code gets the status code for the account subscription terminate resource post post unauthorized response

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) Error

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this account subscription terminate resource post post unauthorized response has a 4xx status code

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) IsCode

IsCode returns true when this account subscription terminate resource post post unauthorized response a status code equal to that given

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this account subscription terminate resource post post unauthorized response has a 3xx status code

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this account subscription terminate resource post post unauthorized response has a 5xx status code

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this account subscription terminate resource post post unauthorized response has a 2xx status code

func (*AccountSubscriptionTerminateResourcePostPostUnauthorized) String

type AccountSubscriptionsResourceGetGetOK

type AccountSubscriptionsResourceGetGetOK struct {
	Payload []*models.AccountSubscription
}

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

successful operation

func NewAccountSubscriptionsResourceGetGetOK

func NewAccountSubscriptionsResourceGetGetOK() *AccountSubscriptionsResourceGetGetOK

NewAccountSubscriptionsResourceGetGetOK creates a AccountSubscriptionsResourceGetGetOK with default headers values

func (*AccountSubscriptionsResourceGetGetOK) Code

Code gets the status code for the account subscriptions resource get get o k response

func (*AccountSubscriptionsResourceGetGetOK) Error

func (*AccountSubscriptionsResourceGetGetOK) GetPayload

func (*AccountSubscriptionsResourceGetGetOK) IsClientError

func (o *AccountSubscriptionsResourceGetGetOK) IsClientError() bool

IsClientError returns true when this account subscriptions resource get get o k response has a 4xx status code

func (*AccountSubscriptionsResourceGetGetOK) IsCode

IsCode returns true when this account subscriptions resource get get o k response a status code equal to that given

func (*AccountSubscriptionsResourceGetGetOK) IsRedirect

IsRedirect returns true when this account subscriptions resource get get o k response has a 3xx status code

func (*AccountSubscriptionsResourceGetGetOK) IsServerError

func (o *AccountSubscriptionsResourceGetGetOK) IsServerError() bool

IsServerError returns true when this account subscriptions resource get get o k response has a 5xx status code

func (*AccountSubscriptionsResourceGetGetOK) IsSuccess

IsSuccess returns true when this account subscriptions resource get get o k response has a 2xx status code

func (*AccountSubscriptionsResourceGetGetOK) String

type AccountSubscriptionsResourceGetGetParams

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

AccountSubscriptionsResourceGetGetParams contains all the parameters to send to the API endpoint

for the account subscriptions resource get get operation.

Typically these are written to a http.Request.

func NewAccountSubscriptionsResourceGetGetParams

func NewAccountSubscriptionsResourceGetGetParams() *AccountSubscriptionsResourceGetGetParams

NewAccountSubscriptionsResourceGetGetParams creates a new AccountSubscriptionsResourceGetGetParams 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 NewAccountSubscriptionsResourceGetGetParamsWithContext

func NewAccountSubscriptionsResourceGetGetParamsWithContext(ctx context.Context) *AccountSubscriptionsResourceGetGetParams

NewAccountSubscriptionsResourceGetGetParamsWithContext creates a new AccountSubscriptionsResourceGetGetParams object with the ability to set a context for a request.

func NewAccountSubscriptionsResourceGetGetParamsWithHTTPClient

func NewAccountSubscriptionsResourceGetGetParamsWithHTTPClient(client *http.Client) *AccountSubscriptionsResourceGetGetParams

NewAccountSubscriptionsResourceGetGetParamsWithHTTPClient creates a new AccountSubscriptionsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewAccountSubscriptionsResourceGetGetParamsWithTimeout

func NewAccountSubscriptionsResourceGetGetParamsWithTimeout(timeout time.Duration) *AccountSubscriptionsResourceGetGetParams

NewAccountSubscriptionsResourceGetGetParamsWithTimeout creates a new AccountSubscriptionsResourceGetGetParams object with the ability to set a timeout on a request.

func (*AccountSubscriptionsResourceGetGetParams) SetContext

SetContext adds the context to the account subscriptions resource get get params

func (*AccountSubscriptionsResourceGetGetParams) SetDefaults

SetDefaults hydrates default values in the account subscriptions resource get get params (not the query body).

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

func (*AccountSubscriptionsResourceGetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account subscriptions resource get get params

func (*AccountSubscriptionsResourceGetGetParams) SetTimeout

SetTimeout adds the timeout to the account subscriptions resource get get params

func (*AccountSubscriptionsResourceGetGetParams) WithContext

WithContext adds the context to the account subscriptions resource get get params

func (*AccountSubscriptionsResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the account subscriptions resource get get params (not the query body).

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

func (*AccountSubscriptionsResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account subscriptions resource get get params

func (*AccountSubscriptionsResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the account subscriptions resource get get params

func (*AccountSubscriptionsResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountSubscriptionsResourceGetGetReader

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

AccountSubscriptionsResourceGetGetReader is a Reader for the AccountSubscriptionsResourceGetGet structure.

func (*AccountSubscriptionsResourceGetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountSubscriptionsResourceGetGetUnauthorized

type AccountSubscriptionsResourceGetGetUnauthorized struct {
}

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

Not authorized

func NewAccountSubscriptionsResourceGetGetUnauthorized

func NewAccountSubscriptionsResourceGetGetUnauthorized() *AccountSubscriptionsResourceGetGetUnauthorized

NewAccountSubscriptionsResourceGetGetUnauthorized creates a AccountSubscriptionsResourceGetGetUnauthorized with default headers values

func (*AccountSubscriptionsResourceGetGetUnauthorized) Code

Code gets the status code for the account subscriptions resource get get unauthorized response

func (*AccountSubscriptionsResourceGetGetUnauthorized) Error

func (*AccountSubscriptionsResourceGetGetUnauthorized) IsClientError

IsClientError returns true when this account subscriptions resource get get unauthorized response has a 4xx status code

func (*AccountSubscriptionsResourceGetGetUnauthorized) IsCode

IsCode returns true when this account subscriptions resource get get unauthorized response a status code equal to that given

func (*AccountSubscriptionsResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this account subscriptions resource get get unauthorized response has a 3xx status code

func (*AccountSubscriptionsResourceGetGetUnauthorized) IsServerError

IsServerError returns true when this account subscriptions resource get get unauthorized response has a 5xx status code

func (*AccountSubscriptionsResourceGetGetUnauthorized) IsSuccess

IsSuccess returns true when this account subscriptions resource get get unauthorized response has a 2xx status code

func (*AccountSubscriptionsResourceGetGetUnauthorized) String

type Client

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

Client for account subscription API

func (*Client) AccountSubscriptionActivateResourcePostPost

AccountSubscriptionActivateResourcePostPost activates a previously terminated subscription

func (*Client) AccountSubscriptionPayResourcePostPost

AccountSubscriptionPayResourcePostPost starts a payment for an account and returns a payment url

func (*Client) AccountSubscriptionTerminateResourcePostPost

AccountSubscriptionTerminateResourcePostPost terminates a running subscription

func (*Client) AccountSubscriptionsResourceGetGet

func (a *Client) AccountSubscriptionsResourceGetGet(params *AccountSubscriptionsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSubscriptionsResourceGetGetOK, error)

AccountSubscriptionsResourceGetGet gets a list of account subscriptions

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 {
	AccountSubscriptionActivateResourcePostPost(params *AccountSubscriptionActivateResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSubscriptionActivateResourcePostPostNoContent, error)

	AccountSubscriptionPayResourcePostPost(params *AccountSubscriptionPayResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSubscriptionPayResourcePostPostOK, error)

	AccountSubscriptionTerminateResourcePostPost(params *AccountSubscriptionTerminateResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSubscriptionTerminateResourcePostPostNoContent, error)

	AccountSubscriptionsResourceGetGet(params *AccountSubscriptionsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSubscriptionsResourceGetGetOK, 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 account subscription API client.

Jump to

Keyboard shortcuts

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