Documentation ¶
Index ¶
- type ActivationServiceActivateDefault
- func (o *ActivationServiceActivateDefault) Code() int
- func (o *ActivationServiceActivateDefault) Error() string
- func (o *ActivationServiceActivateDefault) GetPayload() *models.GooglerpcStatus
- func (o *ActivationServiceActivateDefault) IsClientError() bool
- func (o *ActivationServiceActivateDefault) IsCode(code int) bool
- func (o *ActivationServiceActivateDefault) IsRedirect() bool
- func (o *ActivationServiceActivateDefault) IsServerError() bool
- func (o *ActivationServiceActivateDefault) IsSuccess() bool
- func (o *ActivationServiceActivateDefault) String() string
- type ActivationServiceActivateOK
- func (o *ActivationServiceActivateOK) Code() int
- func (o *ActivationServiceActivateOK) Error() string
- func (o *ActivationServiceActivateOK) GetPayload() models.Billing20201105ActivateResponse
- func (o *ActivationServiceActivateOK) IsClientError() bool
- func (o *ActivationServiceActivateOK) IsCode(code int) bool
- func (o *ActivationServiceActivateOK) IsRedirect() bool
- func (o *ActivationServiceActivateOK) IsServerError() bool
- func (o *ActivationServiceActivateOK) IsSuccess() bool
- func (o *ActivationServiceActivateOK) String() string
- type ActivationServiceActivateParams
- func NewActivationServiceActivateParams() *ActivationServiceActivateParams
- func NewActivationServiceActivateParamsWithContext(ctx context.Context) *ActivationServiceActivateParams
- func NewActivationServiceActivateParamsWithHTTPClient(client *http.Client) *ActivationServiceActivateParams
- func NewActivationServiceActivateParamsWithTimeout(timeout time.Duration) *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) SetActivationCode(activationCode string)
- func (o *ActivationServiceActivateParams) SetBody(body *models.ActivationServiceActivateBody)
- func (o *ActivationServiceActivateParams) SetContext(ctx context.Context)
- func (o *ActivationServiceActivateParams) SetDefaults()
- func (o *ActivationServiceActivateParams) SetHTTPClient(client *http.Client)
- func (o *ActivationServiceActivateParams) SetTimeout(timeout time.Duration)
- func (o *ActivationServiceActivateParams) WithActivationCode(activationCode string) *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) WithBody(body *models.ActivationServiceActivateBody) *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) WithContext(ctx context.Context) *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) WithDefaults() *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) WithHTTPClient(client *http.Client) *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) WithTimeout(timeout time.Duration) *ActivationServiceActivateParams
- func (o *ActivationServiceActivateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivationServiceActivateReader
- type ActivationServiceGetActivationDetailsDefault
- func (o *ActivationServiceGetActivationDetailsDefault) Code() int
- func (o *ActivationServiceGetActivationDetailsDefault) Error() string
- func (o *ActivationServiceGetActivationDetailsDefault) GetPayload() *models.GooglerpcStatus
- func (o *ActivationServiceGetActivationDetailsDefault) IsClientError() bool
- func (o *ActivationServiceGetActivationDetailsDefault) IsCode(code int) bool
- func (o *ActivationServiceGetActivationDetailsDefault) IsRedirect() bool
- func (o *ActivationServiceGetActivationDetailsDefault) IsServerError() bool
- func (o *ActivationServiceGetActivationDetailsDefault) IsSuccess() bool
- func (o *ActivationServiceGetActivationDetailsDefault) String() string
- type ActivationServiceGetActivationDetailsOK
- func (o *ActivationServiceGetActivationDetailsOK) Code() int
- func (o *ActivationServiceGetActivationDetailsOK) Error() string
- func (o *ActivationServiceGetActivationDetailsOK) GetPayload() *models.Billing20201105GetActivationDetailsResponse
- func (o *ActivationServiceGetActivationDetailsOK) IsClientError() bool
- func (o *ActivationServiceGetActivationDetailsOK) IsCode(code int) bool
- func (o *ActivationServiceGetActivationDetailsOK) IsRedirect() bool
- func (o *ActivationServiceGetActivationDetailsOK) IsServerError() bool
- func (o *ActivationServiceGetActivationDetailsOK) IsSuccess() bool
- func (o *ActivationServiceGetActivationDetailsOK) String() string
- type ActivationServiceGetActivationDetailsParams
- func NewActivationServiceGetActivationDetailsParams() *ActivationServiceGetActivationDetailsParams
- func NewActivationServiceGetActivationDetailsParamsWithContext(ctx context.Context) *ActivationServiceGetActivationDetailsParams
- func NewActivationServiceGetActivationDetailsParamsWithHTTPClient(client *http.Client) *ActivationServiceGetActivationDetailsParams
- func NewActivationServiceGetActivationDetailsParamsWithTimeout(timeout time.Duration) *ActivationServiceGetActivationDetailsParams
- func (o *ActivationServiceGetActivationDetailsParams) SetActivationCode(activationCode string)
- func (o *ActivationServiceGetActivationDetailsParams) SetContext(ctx context.Context)
- func (o *ActivationServiceGetActivationDetailsParams) SetDefaults()
- func (o *ActivationServiceGetActivationDetailsParams) SetHTTPClient(client *http.Client)
- func (o *ActivationServiceGetActivationDetailsParams) SetTimeout(timeout time.Duration)
- func (o *ActivationServiceGetActivationDetailsParams) WithActivationCode(activationCode string) *ActivationServiceGetActivationDetailsParams
- func (o *ActivationServiceGetActivationDetailsParams) WithContext(ctx context.Context) *ActivationServiceGetActivationDetailsParams
- func (o *ActivationServiceGetActivationDetailsParams) WithDefaults() *ActivationServiceGetActivationDetailsParams
- func (o *ActivationServiceGetActivationDetailsParams) WithHTTPClient(client *http.Client) *ActivationServiceGetActivationDetailsParams
- func (o *ActivationServiceGetActivationDetailsParams) WithTimeout(timeout time.Duration) *ActivationServiceGetActivationDetailsParams
- func (o *ActivationServiceGetActivationDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivationServiceGetActivationDetailsReader
- type Client
- func (a *Client) ActivationServiceActivate(params *ActivationServiceActivateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ActivationServiceActivateOK, error)
- func (a *Client) ActivationServiceGetActivationDetails(params *ActivationServiceGetActivationDetailsParams, ...) (*ActivationServiceGetActivationDetailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivationServiceActivateDefault ¶
type ActivationServiceActivateDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ActivationServiceActivateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewActivationServiceActivateDefault ¶
func NewActivationServiceActivateDefault(code int) *ActivationServiceActivateDefault
NewActivationServiceActivateDefault creates a ActivationServiceActivateDefault with default headers values
func (*ActivationServiceActivateDefault) Code ¶
func (o *ActivationServiceActivateDefault) Code() int
Code gets the status code for the activation service activate default response
func (*ActivationServiceActivateDefault) Error ¶
func (o *ActivationServiceActivateDefault) Error() string
func (*ActivationServiceActivateDefault) GetPayload ¶
func (o *ActivationServiceActivateDefault) GetPayload() *models.GooglerpcStatus
func (*ActivationServiceActivateDefault) IsClientError ¶
func (o *ActivationServiceActivateDefault) IsClientError() bool
IsClientError returns true when this activation service activate default response has a 4xx status code
func (*ActivationServiceActivateDefault) IsCode ¶
func (o *ActivationServiceActivateDefault) IsCode(code int) bool
IsCode returns true when this activation service activate default response a status code equal to that given
func (*ActivationServiceActivateDefault) IsRedirect ¶
func (o *ActivationServiceActivateDefault) IsRedirect() bool
IsRedirect returns true when this activation service activate default response has a 3xx status code
func (*ActivationServiceActivateDefault) IsServerError ¶
func (o *ActivationServiceActivateDefault) IsServerError() bool
IsServerError returns true when this activation service activate default response has a 5xx status code
func (*ActivationServiceActivateDefault) IsSuccess ¶
func (o *ActivationServiceActivateDefault) IsSuccess() bool
IsSuccess returns true when this activation service activate default response has a 2xx status code
func (*ActivationServiceActivateDefault) String ¶
func (o *ActivationServiceActivateDefault) String() string
type ActivationServiceActivateOK ¶
type ActivationServiceActivateOK struct {
Payload models.Billing20201105ActivateResponse
}
ActivationServiceActivateOK describes a response with status code 200, with default header values.
A successful response.
func NewActivationServiceActivateOK ¶
func NewActivationServiceActivateOK() *ActivationServiceActivateOK
NewActivationServiceActivateOK creates a ActivationServiceActivateOK with default headers values
func (*ActivationServiceActivateOK) Code ¶
func (o *ActivationServiceActivateOK) Code() int
Code gets the status code for the activation service activate o k response
func (*ActivationServiceActivateOK) Error ¶
func (o *ActivationServiceActivateOK) Error() string
func (*ActivationServiceActivateOK) GetPayload ¶
func (o *ActivationServiceActivateOK) GetPayload() models.Billing20201105ActivateResponse
func (*ActivationServiceActivateOK) IsClientError ¶
func (o *ActivationServiceActivateOK) IsClientError() bool
IsClientError returns true when this activation service activate o k response has a 4xx status code
func (*ActivationServiceActivateOK) IsCode ¶
func (o *ActivationServiceActivateOK) IsCode(code int) bool
IsCode returns true when this activation service activate o k response a status code equal to that given
func (*ActivationServiceActivateOK) IsRedirect ¶
func (o *ActivationServiceActivateOK) IsRedirect() bool
IsRedirect returns true when this activation service activate o k response has a 3xx status code
func (*ActivationServiceActivateOK) IsServerError ¶
func (o *ActivationServiceActivateOK) IsServerError() bool
IsServerError returns true when this activation service activate o k response has a 5xx status code
func (*ActivationServiceActivateOK) IsSuccess ¶
func (o *ActivationServiceActivateOK) IsSuccess() bool
IsSuccess returns true when this activation service activate o k response has a 2xx status code
func (*ActivationServiceActivateOK) String ¶
func (o *ActivationServiceActivateOK) String() string
type ActivationServiceActivateParams ¶
type ActivationServiceActivateParams struct { /* ActivationCode. activation_code is the activation code being redeemed. */ ActivationCode string // Body. Body *models.ActivationServiceActivateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ActivationServiceActivateParams contains all the parameters to send to the API endpoint
for the activation service activate operation. Typically these are written to a http.Request.
func NewActivationServiceActivateParams ¶
func NewActivationServiceActivateParams() *ActivationServiceActivateParams
NewActivationServiceActivateParams creates a new ActivationServiceActivateParams 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 NewActivationServiceActivateParamsWithContext ¶
func NewActivationServiceActivateParamsWithContext(ctx context.Context) *ActivationServiceActivateParams
NewActivationServiceActivateParamsWithContext creates a new ActivationServiceActivateParams object with the ability to set a context for a request.
func NewActivationServiceActivateParamsWithHTTPClient ¶
func NewActivationServiceActivateParamsWithHTTPClient(client *http.Client) *ActivationServiceActivateParams
NewActivationServiceActivateParamsWithHTTPClient creates a new ActivationServiceActivateParams object with the ability to set a custom HTTPClient for a request.
func NewActivationServiceActivateParamsWithTimeout ¶
func NewActivationServiceActivateParamsWithTimeout(timeout time.Duration) *ActivationServiceActivateParams
NewActivationServiceActivateParamsWithTimeout creates a new ActivationServiceActivateParams object with the ability to set a timeout on a request.
func (*ActivationServiceActivateParams) SetActivationCode ¶
func (o *ActivationServiceActivateParams) SetActivationCode(activationCode string)
SetActivationCode adds the activationCode to the activation service activate params
func (*ActivationServiceActivateParams) SetBody ¶
func (o *ActivationServiceActivateParams) SetBody(body *models.ActivationServiceActivateBody)
SetBody adds the body to the activation service activate params
func (*ActivationServiceActivateParams) SetContext ¶
func (o *ActivationServiceActivateParams) SetContext(ctx context.Context)
SetContext adds the context to the activation service activate params
func (*ActivationServiceActivateParams) SetDefaults ¶
func (o *ActivationServiceActivateParams) SetDefaults()
SetDefaults hydrates default values in the activation service activate params (not the query body).
All values with no default are reset to their zero value.
func (*ActivationServiceActivateParams) SetHTTPClient ¶
func (o *ActivationServiceActivateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the activation service activate params
func (*ActivationServiceActivateParams) SetTimeout ¶
func (o *ActivationServiceActivateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activation service activate params
func (*ActivationServiceActivateParams) WithActivationCode ¶
func (o *ActivationServiceActivateParams) WithActivationCode(activationCode string) *ActivationServiceActivateParams
WithActivationCode adds the activationCode to the activation service activate params
func (*ActivationServiceActivateParams) WithBody ¶
func (o *ActivationServiceActivateParams) WithBody(body *models.ActivationServiceActivateBody) *ActivationServiceActivateParams
WithBody adds the body to the activation service activate params
func (*ActivationServiceActivateParams) WithContext ¶
func (o *ActivationServiceActivateParams) WithContext(ctx context.Context) *ActivationServiceActivateParams
WithContext adds the context to the activation service activate params
func (*ActivationServiceActivateParams) WithDefaults ¶
func (o *ActivationServiceActivateParams) WithDefaults() *ActivationServiceActivateParams
WithDefaults hydrates default values in the activation service activate params (not the query body).
All values with no default are reset to their zero value.
func (*ActivationServiceActivateParams) WithHTTPClient ¶
func (o *ActivationServiceActivateParams) WithHTTPClient(client *http.Client) *ActivationServiceActivateParams
WithHTTPClient adds the HTTPClient to the activation service activate params
func (*ActivationServiceActivateParams) WithTimeout ¶
func (o *ActivationServiceActivateParams) WithTimeout(timeout time.Duration) *ActivationServiceActivateParams
WithTimeout adds the timeout to the activation service activate params
func (*ActivationServiceActivateParams) WriteToRequest ¶
func (o *ActivationServiceActivateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActivationServiceActivateReader ¶
type ActivationServiceActivateReader struct {
// contains filtered or unexported fields
}
ActivationServiceActivateReader is a Reader for the ActivationServiceActivate structure.
func (*ActivationServiceActivateReader) ReadResponse ¶
func (o *ActivationServiceActivateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ActivationServiceGetActivationDetailsDefault ¶
type ActivationServiceGetActivationDetailsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ActivationServiceGetActivationDetailsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewActivationServiceGetActivationDetailsDefault ¶
func NewActivationServiceGetActivationDetailsDefault(code int) *ActivationServiceGetActivationDetailsDefault
NewActivationServiceGetActivationDetailsDefault creates a ActivationServiceGetActivationDetailsDefault with default headers values
func (*ActivationServiceGetActivationDetailsDefault) Code ¶
func (o *ActivationServiceGetActivationDetailsDefault) Code() int
Code gets the status code for the activation service get activation details default response
func (*ActivationServiceGetActivationDetailsDefault) Error ¶
func (o *ActivationServiceGetActivationDetailsDefault) Error() string
func (*ActivationServiceGetActivationDetailsDefault) GetPayload ¶
func (o *ActivationServiceGetActivationDetailsDefault) GetPayload() *models.GooglerpcStatus
func (*ActivationServiceGetActivationDetailsDefault) IsClientError ¶
func (o *ActivationServiceGetActivationDetailsDefault) IsClientError() bool
IsClientError returns true when this activation service get activation details default response has a 4xx status code
func (*ActivationServiceGetActivationDetailsDefault) IsCode ¶
func (o *ActivationServiceGetActivationDetailsDefault) IsCode(code int) bool
IsCode returns true when this activation service get activation details default response a status code equal to that given
func (*ActivationServiceGetActivationDetailsDefault) IsRedirect ¶
func (o *ActivationServiceGetActivationDetailsDefault) IsRedirect() bool
IsRedirect returns true when this activation service get activation details default response has a 3xx status code
func (*ActivationServiceGetActivationDetailsDefault) IsServerError ¶
func (o *ActivationServiceGetActivationDetailsDefault) IsServerError() bool
IsServerError returns true when this activation service get activation details default response has a 5xx status code
func (*ActivationServiceGetActivationDetailsDefault) IsSuccess ¶
func (o *ActivationServiceGetActivationDetailsDefault) IsSuccess() bool
IsSuccess returns true when this activation service get activation details default response has a 2xx status code
func (*ActivationServiceGetActivationDetailsDefault) String ¶
func (o *ActivationServiceGetActivationDetailsDefault) String() string
type ActivationServiceGetActivationDetailsOK ¶
type ActivationServiceGetActivationDetailsOK struct {
Payload *models.Billing20201105GetActivationDetailsResponse
}
ActivationServiceGetActivationDetailsOK describes a response with status code 200, with default header values.
A successful response.
func NewActivationServiceGetActivationDetailsOK ¶
func NewActivationServiceGetActivationDetailsOK() *ActivationServiceGetActivationDetailsOK
NewActivationServiceGetActivationDetailsOK creates a ActivationServiceGetActivationDetailsOK with default headers values
func (*ActivationServiceGetActivationDetailsOK) Code ¶
func (o *ActivationServiceGetActivationDetailsOK) Code() int
Code gets the status code for the activation service get activation details o k response
func (*ActivationServiceGetActivationDetailsOK) Error ¶
func (o *ActivationServiceGetActivationDetailsOK) Error() string
func (*ActivationServiceGetActivationDetailsOK) GetPayload ¶
func (o *ActivationServiceGetActivationDetailsOK) GetPayload() *models.Billing20201105GetActivationDetailsResponse
func (*ActivationServiceGetActivationDetailsOK) IsClientError ¶
func (o *ActivationServiceGetActivationDetailsOK) IsClientError() bool
IsClientError returns true when this activation service get activation details o k response has a 4xx status code
func (*ActivationServiceGetActivationDetailsOK) IsCode ¶
func (o *ActivationServiceGetActivationDetailsOK) IsCode(code int) bool
IsCode returns true when this activation service get activation details o k response a status code equal to that given
func (*ActivationServiceGetActivationDetailsOK) IsRedirect ¶
func (o *ActivationServiceGetActivationDetailsOK) IsRedirect() bool
IsRedirect returns true when this activation service get activation details o k response has a 3xx status code
func (*ActivationServiceGetActivationDetailsOK) IsServerError ¶
func (o *ActivationServiceGetActivationDetailsOK) IsServerError() bool
IsServerError returns true when this activation service get activation details o k response has a 5xx status code
func (*ActivationServiceGetActivationDetailsOK) IsSuccess ¶
func (o *ActivationServiceGetActivationDetailsOK) IsSuccess() bool
IsSuccess returns true when this activation service get activation details o k response has a 2xx status code
func (*ActivationServiceGetActivationDetailsOK) String ¶
func (o *ActivationServiceGetActivationDetailsOK) String() string
type ActivationServiceGetActivationDetailsParams ¶
type ActivationServiceGetActivationDetailsParams struct { // ActivationCode. ActivationCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ActivationServiceGetActivationDetailsParams contains all the parameters to send to the API endpoint
for the activation service get activation details operation. Typically these are written to a http.Request.
func NewActivationServiceGetActivationDetailsParams ¶
func NewActivationServiceGetActivationDetailsParams() *ActivationServiceGetActivationDetailsParams
NewActivationServiceGetActivationDetailsParams creates a new ActivationServiceGetActivationDetailsParams 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 NewActivationServiceGetActivationDetailsParamsWithContext ¶
func NewActivationServiceGetActivationDetailsParamsWithContext(ctx context.Context) *ActivationServiceGetActivationDetailsParams
NewActivationServiceGetActivationDetailsParamsWithContext creates a new ActivationServiceGetActivationDetailsParams object with the ability to set a context for a request.
func NewActivationServiceGetActivationDetailsParamsWithHTTPClient ¶
func NewActivationServiceGetActivationDetailsParamsWithHTTPClient(client *http.Client) *ActivationServiceGetActivationDetailsParams
NewActivationServiceGetActivationDetailsParamsWithHTTPClient creates a new ActivationServiceGetActivationDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewActivationServiceGetActivationDetailsParamsWithTimeout ¶
func NewActivationServiceGetActivationDetailsParamsWithTimeout(timeout time.Duration) *ActivationServiceGetActivationDetailsParams
NewActivationServiceGetActivationDetailsParamsWithTimeout creates a new ActivationServiceGetActivationDetailsParams object with the ability to set a timeout on a request.
func (*ActivationServiceGetActivationDetailsParams) SetActivationCode ¶
func (o *ActivationServiceGetActivationDetailsParams) SetActivationCode(activationCode string)
SetActivationCode adds the activationCode to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) SetContext ¶
func (o *ActivationServiceGetActivationDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) SetDefaults ¶
func (o *ActivationServiceGetActivationDetailsParams) SetDefaults()
SetDefaults hydrates default values in the activation service get activation details params (not the query body).
All values with no default are reset to their zero value.
func (*ActivationServiceGetActivationDetailsParams) SetHTTPClient ¶
func (o *ActivationServiceGetActivationDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) SetTimeout ¶
func (o *ActivationServiceGetActivationDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) WithActivationCode ¶
func (o *ActivationServiceGetActivationDetailsParams) WithActivationCode(activationCode string) *ActivationServiceGetActivationDetailsParams
WithActivationCode adds the activationCode to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) WithContext ¶
func (o *ActivationServiceGetActivationDetailsParams) WithContext(ctx context.Context) *ActivationServiceGetActivationDetailsParams
WithContext adds the context to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) WithDefaults ¶
func (o *ActivationServiceGetActivationDetailsParams) WithDefaults() *ActivationServiceGetActivationDetailsParams
WithDefaults hydrates default values in the activation service get activation details params (not the query body).
All values with no default are reset to their zero value.
func (*ActivationServiceGetActivationDetailsParams) WithHTTPClient ¶
func (o *ActivationServiceGetActivationDetailsParams) WithHTTPClient(client *http.Client) *ActivationServiceGetActivationDetailsParams
WithHTTPClient adds the HTTPClient to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) WithTimeout ¶
func (o *ActivationServiceGetActivationDetailsParams) WithTimeout(timeout time.Duration) *ActivationServiceGetActivationDetailsParams
WithTimeout adds the timeout to the activation service get activation details params
func (*ActivationServiceGetActivationDetailsParams) WriteToRequest ¶
func (o *ActivationServiceGetActivationDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActivationServiceGetActivationDetailsReader ¶
type ActivationServiceGetActivationDetailsReader struct {
// contains filtered or unexported fields
}
ActivationServiceGetActivationDetailsReader is a Reader for the ActivationServiceGetActivationDetails structure.
func (*ActivationServiceGetActivationDetailsReader) ReadResponse ¶
func (o *ActivationServiceGetActivationDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for activation service API
func (*Client) ActivationServiceActivate ¶
func (a *Client) ActivationServiceActivate(params *ActivationServiceActivateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivationServiceActivateOK, error)
ActivationServiceActivate activates is called by the front end to redeem the given activation code
func (*Client) ActivationServiceGetActivationDetails ¶
func (a *Client) ActivationServiceGetActivationDetails(params *ActivationServiceGetActivationDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivationServiceGetActivationDetailsOK, error)
ActivationServiceGetActivationDetails gets activation details returns contract activation details associated with an activation code
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 { ActivationServiceActivate(params *ActivationServiceActivateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivationServiceActivateOK, error) ActivationServiceGetActivationDetails(params *ActivationServiceGetActivationDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivationServiceGetActivationDetailsOK, 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 activation service API client.