Documentation
¶
Index ¶
- type AccountServiceCanIDefault
- type AccountServiceCanIOK
- type AccountServiceCanIParams
- func NewAccountServiceCanIParams() *AccountServiceCanIParams
- func NewAccountServiceCanIParamsWithContext(ctx context.Context) *AccountServiceCanIParams
- func NewAccountServiceCanIParamsWithHTTPClient(client *http.Client) *AccountServiceCanIParams
- func NewAccountServiceCanIParamsWithTimeout(timeout time.Duration) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) SetAction(action string)
- func (o *AccountServiceCanIParams) SetContext(ctx context.Context)
- func (o *AccountServiceCanIParams) SetDefaults()
- func (o *AccountServiceCanIParams) SetHTTPClient(client *http.Client)
- func (o *AccountServiceCanIParams) SetResource(resource string)
- func (o *AccountServiceCanIParams) SetSubresource(subresource string)
- func (o *AccountServiceCanIParams) SetTimeout(timeout time.Duration)
- func (o *AccountServiceCanIParams) WithAction(action string) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WithContext(ctx context.Context) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WithDefaults() *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WithHTTPClient(client *http.Client) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WithResource(resource string) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WithSubresource(subresource string) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WithTimeout(timeout time.Duration) *AccountServiceCanIParams
- func (o *AccountServiceCanIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountServiceCanIReader
- type AccountServiceCreateTokenDefault
- type AccountServiceCreateTokenOK
- type AccountServiceCreateTokenParams
- func NewAccountServiceCreateTokenParams() *AccountServiceCreateTokenParams
- func NewAccountServiceCreateTokenParamsWithContext(ctx context.Context) *AccountServiceCreateTokenParams
- func NewAccountServiceCreateTokenParamsWithHTTPClient(client *http.Client) *AccountServiceCreateTokenParams
- func NewAccountServiceCreateTokenParamsWithTimeout(timeout time.Duration) *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) SetBody(body *models.AccountCreateTokenRequest)
- func (o *AccountServiceCreateTokenParams) SetContext(ctx context.Context)
- func (o *AccountServiceCreateTokenParams) SetDefaults()
- func (o *AccountServiceCreateTokenParams) SetHTTPClient(client *http.Client)
- func (o *AccountServiceCreateTokenParams) SetName(name string)
- func (o *AccountServiceCreateTokenParams) SetTimeout(timeout time.Duration)
- func (o *AccountServiceCreateTokenParams) WithBody(body *models.AccountCreateTokenRequest) *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) WithContext(ctx context.Context) *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) WithDefaults() *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) WithHTTPClient(client *http.Client) *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) WithName(name string) *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) WithTimeout(timeout time.Duration) *AccountServiceCreateTokenParams
- func (o *AccountServiceCreateTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountServiceCreateTokenReader
- type AccountServiceDeleteTokenDefault
- type AccountServiceDeleteTokenOK
- type AccountServiceDeleteTokenParams
- func NewAccountServiceDeleteTokenParams() *AccountServiceDeleteTokenParams
- func NewAccountServiceDeleteTokenParamsWithContext(ctx context.Context) *AccountServiceDeleteTokenParams
- func NewAccountServiceDeleteTokenParamsWithHTTPClient(client *http.Client) *AccountServiceDeleteTokenParams
- func NewAccountServiceDeleteTokenParamsWithTimeout(timeout time.Duration) *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) SetContext(ctx context.Context)
- func (o *AccountServiceDeleteTokenParams) SetDefaults()
- func (o *AccountServiceDeleteTokenParams) SetHTTPClient(client *http.Client)
- func (o *AccountServiceDeleteTokenParams) SetID(id string)
- func (o *AccountServiceDeleteTokenParams) SetName(name string)
- func (o *AccountServiceDeleteTokenParams) SetTimeout(timeout time.Duration)
- func (o *AccountServiceDeleteTokenParams) WithContext(ctx context.Context) *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) WithDefaults() *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) WithHTTPClient(client *http.Client) *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) WithID(id string) *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) WithName(name string) *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) WithTimeout(timeout time.Duration) *AccountServiceDeleteTokenParams
- func (o *AccountServiceDeleteTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountServiceDeleteTokenReader
- type AccountServiceGetAccountDefault
- type AccountServiceGetAccountOK
- type AccountServiceGetAccountParams
- func NewAccountServiceGetAccountParams() *AccountServiceGetAccountParams
- func NewAccountServiceGetAccountParamsWithContext(ctx context.Context) *AccountServiceGetAccountParams
- func NewAccountServiceGetAccountParamsWithHTTPClient(client *http.Client) *AccountServiceGetAccountParams
- func NewAccountServiceGetAccountParamsWithTimeout(timeout time.Duration) *AccountServiceGetAccountParams
- func (o *AccountServiceGetAccountParams) SetContext(ctx context.Context)
- func (o *AccountServiceGetAccountParams) SetDefaults()
- func (o *AccountServiceGetAccountParams) SetHTTPClient(client *http.Client)
- func (o *AccountServiceGetAccountParams) SetName(name string)
- func (o *AccountServiceGetAccountParams) SetTimeout(timeout time.Duration)
- func (o *AccountServiceGetAccountParams) WithContext(ctx context.Context) *AccountServiceGetAccountParams
- func (o *AccountServiceGetAccountParams) WithDefaults() *AccountServiceGetAccountParams
- func (o *AccountServiceGetAccountParams) WithHTTPClient(client *http.Client) *AccountServiceGetAccountParams
- func (o *AccountServiceGetAccountParams) WithName(name string) *AccountServiceGetAccountParams
- func (o *AccountServiceGetAccountParams) WithTimeout(timeout time.Duration) *AccountServiceGetAccountParams
- func (o *AccountServiceGetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountServiceGetAccountReader
- type AccountServiceListAccountsDefault
- type AccountServiceListAccountsOK
- type AccountServiceListAccountsParams
- func NewAccountServiceListAccountsParams() *AccountServiceListAccountsParams
- func NewAccountServiceListAccountsParamsWithContext(ctx context.Context) *AccountServiceListAccountsParams
- func NewAccountServiceListAccountsParamsWithHTTPClient(client *http.Client) *AccountServiceListAccountsParams
- func NewAccountServiceListAccountsParamsWithTimeout(timeout time.Duration) *AccountServiceListAccountsParams
- func (o *AccountServiceListAccountsParams) SetContext(ctx context.Context)
- func (o *AccountServiceListAccountsParams) SetDefaults()
- func (o *AccountServiceListAccountsParams) SetHTTPClient(client *http.Client)
- func (o *AccountServiceListAccountsParams) SetTimeout(timeout time.Duration)
- func (o *AccountServiceListAccountsParams) WithContext(ctx context.Context) *AccountServiceListAccountsParams
- func (o *AccountServiceListAccountsParams) WithDefaults() *AccountServiceListAccountsParams
- func (o *AccountServiceListAccountsParams) WithHTTPClient(client *http.Client) *AccountServiceListAccountsParams
- func (o *AccountServiceListAccountsParams) WithTimeout(timeout time.Duration) *AccountServiceListAccountsParams
- func (o *AccountServiceListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountServiceListAccountsReader
- type AccountServiceUpdatePasswordDefault
- type AccountServiceUpdatePasswordOK
- type AccountServiceUpdatePasswordParams
- func NewAccountServiceUpdatePasswordParams() *AccountServiceUpdatePasswordParams
- func NewAccountServiceUpdatePasswordParamsWithContext(ctx context.Context) *AccountServiceUpdatePasswordParams
- func NewAccountServiceUpdatePasswordParamsWithHTTPClient(client *http.Client) *AccountServiceUpdatePasswordParams
- func NewAccountServiceUpdatePasswordParamsWithTimeout(timeout time.Duration) *AccountServiceUpdatePasswordParams
- func (o *AccountServiceUpdatePasswordParams) SetBody(body *models.AccountUpdatePasswordRequest)
- func (o *AccountServiceUpdatePasswordParams) SetContext(ctx context.Context)
- func (o *AccountServiceUpdatePasswordParams) SetDefaults()
- func (o *AccountServiceUpdatePasswordParams) SetHTTPClient(client *http.Client)
- func (o *AccountServiceUpdatePasswordParams) SetTimeout(timeout time.Duration)
- func (o *AccountServiceUpdatePasswordParams) WithBody(body *models.AccountUpdatePasswordRequest) *AccountServiceUpdatePasswordParams
- func (o *AccountServiceUpdatePasswordParams) WithContext(ctx context.Context) *AccountServiceUpdatePasswordParams
- func (o *AccountServiceUpdatePasswordParams) WithDefaults() *AccountServiceUpdatePasswordParams
- func (o *AccountServiceUpdatePasswordParams) WithHTTPClient(client *http.Client) *AccountServiceUpdatePasswordParams
- func (o *AccountServiceUpdatePasswordParams) WithTimeout(timeout time.Duration) *AccountServiceUpdatePasswordParams
- func (o *AccountServiceUpdatePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountServiceUpdatePasswordReader
- type Client
- func (a *Client) AccountServiceCanI(params *AccountServiceCanIParams, opts ...ClientOption) (*AccountServiceCanIOK, error)
- func (a *Client) AccountServiceCreateToken(params *AccountServiceCreateTokenParams, opts ...ClientOption) (*AccountServiceCreateTokenOK, error)
- func (a *Client) AccountServiceDeleteToken(params *AccountServiceDeleteTokenParams, opts ...ClientOption) (*AccountServiceDeleteTokenOK, error)
- func (a *Client) AccountServiceGetAccount(params *AccountServiceGetAccountParams, opts ...ClientOption) (*AccountServiceGetAccountOK, error)
- func (a *Client) AccountServiceListAccounts(params *AccountServiceListAccountsParams, opts ...ClientOption) (*AccountServiceListAccountsOK, error)
- func (a *Client) AccountServiceUpdatePassword(params *AccountServiceUpdatePasswordParams, opts ...ClientOption) (*AccountServiceUpdatePasswordOK, 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 AccountServiceCanIDefault ¶
type AccountServiceCanIDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
AccountServiceCanIDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAccountServiceCanIDefault ¶
func NewAccountServiceCanIDefault(code int) *AccountServiceCanIDefault
NewAccountServiceCanIDefault creates a AccountServiceCanIDefault with default headers values
func (*AccountServiceCanIDefault) Code ¶
func (o *AccountServiceCanIDefault) Code() int
Code gets the status code for the account service can i default response
func (*AccountServiceCanIDefault) Error ¶
func (o *AccountServiceCanIDefault) Error() string
func (*AccountServiceCanIDefault) GetPayload ¶
func (o *AccountServiceCanIDefault) GetPayload() *models.RuntimeError
type AccountServiceCanIOK ¶
type AccountServiceCanIOK struct {
Payload *models.AccountCanIResponse
}
AccountServiceCanIOK describes a response with status code 200, with default header values.
A successful response.
func NewAccountServiceCanIOK ¶
func NewAccountServiceCanIOK() *AccountServiceCanIOK
NewAccountServiceCanIOK creates a AccountServiceCanIOK with default headers values
func (*AccountServiceCanIOK) Error ¶
func (o *AccountServiceCanIOK) Error() string
func (*AccountServiceCanIOK) GetPayload ¶
func (o *AccountServiceCanIOK) GetPayload() *models.AccountCanIResponse
type AccountServiceCanIParams ¶
type AccountServiceCanIParams struct { // Action. Action string // Resource. Resource string // Subresource. Subresource string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountServiceCanIParams contains all the parameters to send to the API endpoint
for the account service can i operation. Typically these are written to a http.Request.
func NewAccountServiceCanIParams ¶
func NewAccountServiceCanIParams() *AccountServiceCanIParams
NewAccountServiceCanIParams creates a new AccountServiceCanIParams 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 NewAccountServiceCanIParamsWithContext ¶
func NewAccountServiceCanIParamsWithContext(ctx context.Context) *AccountServiceCanIParams
NewAccountServiceCanIParamsWithContext creates a new AccountServiceCanIParams object with the ability to set a context for a request.
func NewAccountServiceCanIParamsWithHTTPClient ¶
func NewAccountServiceCanIParamsWithHTTPClient(client *http.Client) *AccountServiceCanIParams
NewAccountServiceCanIParamsWithHTTPClient creates a new AccountServiceCanIParams object with the ability to set a custom HTTPClient for a request.
func NewAccountServiceCanIParamsWithTimeout ¶
func NewAccountServiceCanIParamsWithTimeout(timeout time.Duration) *AccountServiceCanIParams
NewAccountServiceCanIParamsWithTimeout creates a new AccountServiceCanIParams object with the ability to set a timeout on a request.
func (*AccountServiceCanIParams) SetAction ¶
func (o *AccountServiceCanIParams) SetAction(action string)
SetAction adds the action to the account service can i params
func (*AccountServiceCanIParams) SetContext ¶
func (o *AccountServiceCanIParams) SetContext(ctx context.Context)
SetContext adds the context to the account service can i params
func (*AccountServiceCanIParams) SetDefaults ¶
func (o *AccountServiceCanIParams) SetDefaults()
SetDefaults hydrates default values in the account service can i params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceCanIParams) SetHTTPClient ¶
func (o *AccountServiceCanIParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account service can i params
func (*AccountServiceCanIParams) SetResource ¶
func (o *AccountServiceCanIParams) SetResource(resource string)
SetResource adds the resource to the account service can i params
func (*AccountServiceCanIParams) SetSubresource ¶
func (o *AccountServiceCanIParams) SetSubresource(subresource string)
SetSubresource adds the subresource to the account service can i params
func (*AccountServiceCanIParams) SetTimeout ¶
func (o *AccountServiceCanIParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account service can i params
func (*AccountServiceCanIParams) WithAction ¶
func (o *AccountServiceCanIParams) WithAction(action string) *AccountServiceCanIParams
WithAction adds the action to the account service can i params
func (*AccountServiceCanIParams) WithContext ¶
func (o *AccountServiceCanIParams) WithContext(ctx context.Context) *AccountServiceCanIParams
WithContext adds the context to the account service can i params
func (*AccountServiceCanIParams) WithDefaults ¶
func (o *AccountServiceCanIParams) WithDefaults() *AccountServiceCanIParams
WithDefaults hydrates default values in the account service can i params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceCanIParams) WithHTTPClient ¶
func (o *AccountServiceCanIParams) WithHTTPClient(client *http.Client) *AccountServiceCanIParams
WithHTTPClient adds the HTTPClient to the account service can i params
func (*AccountServiceCanIParams) WithResource ¶
func (o *AccountServiceCanIParams) WithResource(resource string) *AccountServiceCanIParams
WithResource adds the resource to the account service can i params
func (*AccountServiceCanIParams) WithSubresource ¶
func (o *AccountServiceCanIParams) WithSubresource(subresource string) *AccountServiceCanIParams
WithSubresource adds the subresource to the account service can i params
func (*AccountServiceCanIParams) WithTimeout ¶
func (o *AccountServiceCanIParams) WithTimeout(timeout time.Duration) *AccountServiceCanIParams
WithTimeout adds the timeout to the account service can i params
func (*AccountServiceCanIParams) WriteToRequest ¶
func (o *AccountServiceCanIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountServiceCanIReader ¶
type AccountServiceCanIReader struct {
// contains filtered or unexported fields
}
AccountServiceCanIReader is a Reader for the AccountServiceCanI structure.
func (*AccountServiceCanIReader) ReadResponse ¶
func (o *AccountServiceCanIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountServiceCreateTokenDefault ¶
type AccountServiceCreateTokenDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
AccountServiceCreateTokenDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAccountServiceCreateTokenDefault ¶
func NewAccountServiceCreateTokenDefault(code int) *AccountServiceCreateTokenDefault
NewAccountServiceCreateTokenDefault creates a AccountServiceCreateTokenDefault with default headers values
func (*AccountServiceCreateTokenDefault) Code ¶
func (o *AccountServiceCreateTokenDefault) Code() int
Code gets the status code for the account service create token default response
func (*AccountServiceCreateTokenDefault) Error ¶
func (o *AccountServiceCreateTokenDefault) Error() string
func (*AccountServiceCreateTokenDefault) GetPayload ¶
func (o *AccountServiceCreateTokenDefault) GetPayload() *models.RuntimeError
type AccountServiceCreateTokenOK ¶
type AccountServiceCreateTokenOK struct {
Payload *models.AccountCreateTokenResponse
}
AccountServiceCreateTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewAccountServiceCreateTokenOK ¶
func NewAccountServiceCreateTokenOK() *AccountServiceCreateTokenOK
NewAccountServiceCreateTokenOK creates a AccountServiceCreateTokenOK with default headers values
func (*AccountServiceCreateTokenOK) Error ¶
func (o *AccountServiceCreateTokenOK) Error() string
func (*AccountServiceCreateTokenOK) GetPayload ¶
func (o *AccountServiceCreateTokenOK) GetPayload() *models.AccountCreateTokenResponse
type AccountServiceCreateTokenParams ¶
type AccountServiceCreateTokenParams struct { // Body. Body *models.AccountCreateTokenRequest // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountServiceCreateTokenParams contains all the parameters to send to the API endpoint
for the account service create token operation. Typically these are written to a http.Request.
func NewAccountServiceCreateTokenParams ¶
func NewAccountServiceCreateTokenParams() *AccountServiceCreateTokenParams
NewAccountServiceCreateTokenParams creates a new AccountServiceCreateTokenParams 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 NewAccountServiceCreateTokenParamsWithContext ¶
func NewAccountServiceCreateTokenParamsWithContext(ctx context.Context) *AccountServiceCreateTokenParams
NewAccountServiceCreateTokenParamsWithContext creates a new AccountServiceCreateTokenParams object with the ability to set a context for a request.
func NewAccountServiceCreateTokenParamsWithHTTPClient ¶
func NewAccountServiceCreateTokenParamsWithHTTPClient(client *http.Client) *AccountServiceCreateTokenParams
NewAccountServiceCreateTokenParamsWithHTTPClient creates a new AccountServiceCreateTokenParams object with the ability to set a custom HTTPClient for a request.
func NewAccountServiceCreateTokenParamsWithTimeout ¶
func NewAccountServiceCreateTokenParamsWithTimeout(timeout time.Duration) *AccountServiceCreateTokenParams
NewAccountServiceCreateTokenParamsWithTimeout creates a new AccountServiceCreateTokenParams object with the ability to set a timeout on a request.
func (*AccountServiceCreateTokenParams) SetBody ¶
func (o *AccountServiceCreateTokenParams) SetBody(body *models.AccountCreateTokenRequest)
SetBody adds the body to the account service create token params
func (*AccountServiceCreateTokenParams) SetContext ¶
func (o *AccountServiceCreateTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the account service create token params
func (*AccountServiceCreateTokenParams) SetDefaults ¶
func (o *AccountServiceCreateTokenParams) SetDefaults()
SetDefaults hydrates default values in the account service create token params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceCreateTokenParams) SetHTTPClient ¶
func (o *AccountServiceCreateTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account service create token params
func (*AccountServiceCreateTokenParams) SetName ¶
func (o *AccountServiceCreateTokenParams) SetName(name string)
SetName adds the name to the account service create token params
func (*AccountServiceCreateTokenParams) SetTimeout ¶
func (o *AccountServiceCreateTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account service create token params
func (*AccountServiceCreateTokenParams) WithBody ¶
func (o *AccountServiceCreateTokenParams) WithBody(body *models.AccountCreateTokenRequest) *AccountServiceCreateTokenParams
WithBody adds the body to the account service create token params
func (*AccountServiceCreateTokenParams) WithContext ¶
func (o *AccountServiceCreateTokenParams) WithContext(ctx context.Context) *AccountServiceCreateTokenParams
WithContext adds the context to the account service create token params
func (*AccountServiceCreateTokenParams) WithDefaults ¶
func (o *AccountServiceCreateTokenParams) WithDefaults() *AccountServiceCreateTokenParams
WithDefaults hydrates default values in the account service create token params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceCreateTokenParams) WithHTTPClient ¶
func (o *AccountServiceCreateTokenParams) WithHTTPClient(client *http.Client) *AccountServiceCreateTokenParams
WithHTTPClient adds the HTTPClient to the account service create token params
func (*AccountServiceCreateTokenParams) WithName ¶
func (o *AccountServiceCreateTokenParams) WithName(name string) *AccountServiceCreateTokenParams
WithName adds the name to the account service create token params
func (*AccountServiceCreateTokenParams) WithTimeout ¶
func (o *AccountServiceCreateTokenParams) WithTimeout(timeout time.Duration) *AccountServiceCreateTokenParams
WithTimeout adds the timeout to the account service create token params
func (*AccountServiceCreateTokenParams) WriteToRequest ¶
func (o *AccountServiceCreateTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountServiceCreateTokenReader ¶
type AccountServiceCreateTokenReader struct {
// contains filtered or unexported fields
}
AccountServiceCreateTokenReader is a Reader for the AccountServiceCreateToken structure.
func (*AccountServiceCreateTokenReader) ReadResponse ¶
func (o *AccountServiceCreateTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountServiceDeleteTokenDefault ¶
type AccountServiceDeleteTokenDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
AccountServiceDeleteTokenDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAccountServiceDeleteTokenDefault ¶
func NewAccountServiceDeleteTokenDefault(code int) *AccountServiceDeleteTokenDefault
NewAccountServiceDeleteTokenDefault creates a AccountServiceDeleteTokenDefault with default headers values
func (*AccountServiceDeleteTokenDefault) Code ¶
func (o *AccountServiceDeleteTokenDefault) Code() int
Code gets the status code for the account service delete token default response
func (*AccountServiceDeleteTokenDefault) Error ¶
func (o *AccountServiceDeleteTokenDefault) Error() string
func (*AccountServiceDeleteTokenDefault) GetPayload ¶
func (o *AccountServiceDeleteTokenDefault) GetPayload() *models.RuntimeError
type AccountServiceDeleteTokenOK ¶
type AccountServiceDeleteTokenOK struct {
Payload models.AccountEmptyResponse
}
AccountServiceDeleteTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewAccountServiceDeleteTokenOK ¶
func NewAccountServiceDeleteTokenOK() *AccountServiceDeleteTokenOK
NewAccountServiceDeleteTokenOK creates a AccountServiceDeleteTokenOK with default headers values
func (*AccountServiceDeleteTokenOK) Error ¶
func (o *AccountServiceDeleteTokenOK) Error() string
func (*AccountServiceDeleteTokenOK) GetPayload ¶
func (o *AccountServiceDeleteTokenOK) GetPayload() models.AccountEmptyResponse
type AccountServiceDeleteTokenParams ¶
type AccountServiceDeleteTokenParams struct { // ID. ID string // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountServiceDeleteTokenParams contains all the parameters to send to the API endpoint
for the account service delete token operation. Typically these are written to a http.Request.
func NewAccountServiceDeleteTokenParams ¶
func NewAccountServiceDeleteTokenParams() *AccountServiceDeleteTokenParams
NewAccountServiceDeleteTokenParams creates a new AccountServiceDeleteTokenParams 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 NewAccountServiceDeleteTokenParamsWithContext ¶
func NewAccountServiceDeleteTokenParamsWithContext(ctx context.Context) *AccountServiceDeleteTokenParams
NewAccountServiceDeleteTokenParamsWithContext creates a new AccountServiceDeleteTokenParams object with the ability to set a context for a request.
func NewAccountServiceDeleteTokenParamsWithHTTPClient ¶
func NewAccountServiceDeleteTokenParamsWithHTTPClient(client *http.Client) *AccountServiceDeleteTokenParams
NewAccountServiceDeleteTokenParamsWithHTTPClient creates a new AccountServiceDeleteTokenParams object with the ability to set a custom HTTPClient for a request.
func NewAccountServiceDeleteTokenParamsWithTimeout ¶
func NewAccountServiceDeleteTokenParamsWithTimeout(timeout time.Duration) *AccountServiceDeleteTokenParams
NewAccountServiceDeleteTokenParamsWithTimeout creates a new AccountServiceDeleteTokenParams object with the ability to set a timeout on a request.
func (*AccountServiceDeleteTokenParams) SetContext ¶
func (o *AccountServiceDeleteTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the account service delete token params
func (*AccountServiceDeleteTokenParams) SetDefaults ¶
func (o *AccountServiceDeleteTokenParams) SetDefaults()
SetDefaults hydrates default values in the account service delete token params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceDeleteTokenParams) SetHTTPClient ¶
func (o *AccountServiceDeleteTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account service delete token params
func (*AccountServiceDeleteTokenParams) SetID ¶
func (o *AccountServiceDeleteTokenParams) SetID(id string)
SetID adds the id to the account service delete token params
func (*AccountServiceDeleteTokenParams) SetName ¶
func (o *AccountServiceDeleteTokenParams) SetName(name string)
SetName adds the name to the account service delete token params
func (*AccountServiceDeleteTokenParams) SetTimeout ¶
func (o *AccountServiceDeleteTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account service delete token params
func (*AccountServiceDeleteTokenParams) WithContext ¶
func (o *AccountServiceDeleteTokenParams) WithContext(ctx context.Context) *AccountServiceDeleteTokenParams
WithContext adds the context to the account service delete token params
func (*AccountServiceDeleteTokenParams) WithDefaults ¶
func (o *AccountServiceDeleteTokenParams) WithDefaults() *AccountServiceDeleteTokenParams
WithDefaults hydrates default values in the account service delete token params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceDeleteTokenParams) WithHTTPClient ¶
func (o *AccountServiceDeleteTokenParams) WithHTTPClient(client *http.Client) *AccountServiceDeleteTokenParams
WithHTTPClient adds the HTTPClient to the account service delete token params
func (*AccountServiceDeleteTokenParams) WithID ¶
func (o *AccountServiceDeleteTokenParams) WithID(id string) *AccountServiceDeleteTokenParams
WithID adds the id to the account service delete token params
func (*AccountServiceDeleteTokenParams) WithName ¶
func (o *AccountServiceDeleteTokenParams) WithName(name string) *AccountServiceDeleteTokenParams
WithName adds the name to the account service delete token params
func (*AccountServiceDeleteTokenParams) WithTimeout ¶
func (o *AccountServiceDeleteTokenParams) WithTimeout(timeout time.Duration) *AccountServiceDeleteTokenParams
WithTimeout adds the timeout to the account service delete token params
func (*AccountServiceDeleteTokenParams) WriteToRequest ¶
func (o *AccountServiceDeleteTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountServiceDeleteTokenReader ¶
type AccountServiceDeleteTokenReader struct {
// contains filtered or unexported fields
}
AccountServiceDeleteTokenReader is a Reader for the AccountServiceDeleteToken structure.
func (*AccountServiceDeleteTokenReader) ReadResponse ¶
func (o *AccountServiceDeleteTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountServiceGetAccountDefault ¶
type AccountServiceGetAccountDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
AccountServiceGetAccountDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAccountServiceGetAccountDefault ¶
func NewAccountServiceGetAccountDefault(code int) *AccountServiceGetAccountDefault
NewAccountServiceGetAccountDefault creates a AccountServiceGetAccountDefault with default headers values
func (*AccountServiceGetAccountDefault) Code ¶
func (o *AccountServiceGetAccountDefault) Code() int
Code gets the status code for the account service get account default response
func (*AccountServiceGetAccountDefault) Error ¶
func (o *AccountServiceGetAccountDefault) Error() string
func (*AccountServiceGetAccountDefault) GetPayload ¶
func (o *AccountServiceGetAccountDefault) GetPayload() *models.RuntimeError
type AccountServiceGetAccountOK ¶
type AccountServiceGetAccountOK struct {
Payload *models.AccountAccount
}
AccountServiceGetAccountOK describes a response with status code 200, with default header values.
A successful response.
func NewAccountServiceGetAccountOK ¶
func NewAccountServiceGetAccountOK() *AccountServiceGetAccountOK
NewAccountServiceGetAccountOK creates a AccountServiceGetAccountOK with default headers values
func (*AccountServiceGetAccountOK) Error ¶
func (o *AccountServiceGetAccountOK) Error() string
func (*AccountServiceGetAccountOK) GetPayload ¶
func (o *AccountServiceGetAccountOK) GetPayload() *models.AccountAccount
type AccountServiceGetAccountParams ¶
type AccountServiceGetAccountParams struct { // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountServiceGetAccountParams contains all the parameters to send to the API endpoint
for the account service get account operation. Typically these are written to a http.Request.
func NewAccountServiceGetAccountParams ¶
func NewAccountServiceGetAccountParams() *AccountServiceGetAccountParams
NewAccountServiceGetAccountParams creates a new AccountServiceGetAccountParams 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 NewAccountServiceGetAccountParamsWithContext ¶
func NewAccountServiceGetAccountParamsWithContext(ctx context.Context) *AccountServiceGetAccountParams
NewAccountServiceGetAccountParamsWithContext creates a new AccountServiceGetAccountParams object with the ability to set a context for a request.
func NewAccountServiceGetAccountParamsWithHTTPClient ¶
func NewAccountServiceGetAccountParamsWithHTTPClient(client *http.Client) *AccountServiceGetAccountParams
NewAccountServiceGetAccountParamsWithHTTPClient creates a new AccountServiceGetAccountParams object with the ability to set a custom HTTPClient for a request.
func NewAccountServiceGetAccountParamsWithTimeout ¶
func NewAccountServiceGetAccountParamsWithTimeout(timeout time.Duration) *AccountServiceGetAccountParams
NewAccountServiceGetAccountParamsWithTimeout creates a new AccountServiceGetAccountParams object with the ability to set a timeout on a request.
func (*AccountServiceGetAccountParams) SetContext ¶
func (o *AccountServiceGetAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the account service get account params
func (*AccountServiceGetAccountParams) SetDefaults ¶
func (o *AccountServiceGetAccountParams) SetDefaults()
SetDefaults hydrates default values in the account service get account params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceGetAccountParams) SetHTTPClient ¶
func (o *AccountServiceGetAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account service get account params
func (*AccountServiceGetAccountParams) SetName ¶
func (o *AccountServiceGetAccountParams) SetName(name string)
SetName adds the name to the account service get account params
func (*AccountServiceGetAccountParams) SetTimeout ¶
func (o *AccountServiceGetAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account service get account params
func (*AccountServiceGetAccountParams) WithContext ¶
func (o *AccountServiceGetAccountParams) WithContext(ctx context.Context) *AccountServiceGetAccountParams
WithContext adds the context to the account service get account params
func (*AccountServiceGetAccountParams) WithDefaults ¶
func (o *AccountServiceGetAccountParams) WithDefaults() *AccountServiceGetAccountParams
WithDefaults hydrates default values in the account service get account params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceGetAccountParams) WithHTTPClient ¶
func (o *AccountServiceGetAccountParams) WithHTTPClient(client *http.Client) *AccountServiceGetAccountParams
WithHTTPClient adds the HTTPClient to the account service get account params
func (*AccountServiceGetAccountParams) WithName ¶
func (o *AccountServiceGetAccountParams) WithName(name string) *AccountServiceGetAccountParams
WithName adds the name to the account service get account params
func (*AccountServiceGetAccountParams) WithTimeout ¶
func (o *AccountServiceGetAccountParams) WithTimeout(timeout time.Duration) *AccountServiceGetAccountParams
WithTimeout adds the timeout to the account service get account params
func (*AccountServiceGetAccountParams) WriteToRequest ¶
func (o *AccountServiceGetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountServiceGetAccountReader ¶
type AccountServiceGetAccountReader struct {
// contains filtered or unexported fields
}
AccountServiceGetAccountReader is a Reader for the AccountServiceGetAccount structure.
func (*AccountServiceGetAccountReader) ReadResponse ¶
func (o *AccountServiceGetAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountServiceListAccountsDefault ¶
type AccountServiceListAccountsDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
AccountServiceListAccountsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAccountServiceListAccountsDefault ¶
func NewAccountServiceListAccountsDefault(code int) *AccountServiceListAccountsDefault
NewAccountServiceListAccountsDefault creates a AccountServiceListAccountsDefault with default headers values
func (*AccountServiceListAccountsDefault) Code ¶
func (o *AccountServiceListAccountsDefault) Code() int
Code gets the status code for the account service list accounts default response
func (*AccountServiceListAccountsDefault) Error ¶
func (o *AccountServiceListAccountsDefault) Error() string
func (*AccountServiceListAccountsDefault) GetPayload ¶
func (o *AccountServiceListAccountsDefault) GetPayload() *models.RuntimeError
type AccountServiceListAccountsOK ¶
type AccountServiceListAccountsOK struct {
Payload *models.AccountAccountsList
}
AccountServiceListAccountsOK describes a response with status code 200, with default header values.
A successful response.
func NewAccountServiceListAccountsOK ¶
func NewAccountServiceListAccountsOK() *AccountServiceListAccountsOK
NewAccountServiceListAccountsOK creates a AccountServiceListAccountsOK with default headers values
func (*AccountServiceListAccountsOK) Error ¶
func (o *AccountServiceListAccountsOK) Error() string
func (*AccountServiceListAccountsOK) GetPayload ¶
func (o *AccountServiceListAccountsOK) GetPayload() *models.AccountAccountsList
type AccountServiceListAccountsParams ¶
type AccountServiceListAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountServiceListAccountsParams contains all the parameters to send to the API endpoint
for the account service list accounts operation. Typically these are written to a http.Request.
func NewAccountServiceListAccountsParams ¶
func NewAccountServiceListAccountsParams() *AccountServiceListAccountsParams
NewAccountServiceListAccountsParams creates a new AccountServiceListAccountsParams 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 NewAccountServiceListAccountsParamsWithContext ¶
func NewAccountServiceListAccountsParamsWithContext(ctx context.Context) *AccountServiceListAccountsParams
NewAccountServiceListAccountsParamsWithContext creates a new AccountServiceListAccountsParams object with the ability to set a context for a request.
func NewAccountServiceListAccountsParamsWithHTTPClient ¶
func NewAccountServiceListAccountsParamsWithHTTPClient(client *http.Client) *AccountServiceListAccountsParams
NewAccountServiceListAccountsParamsWithHTTPClient creates a new AccountServiceListAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewAccountServiceListAccountsParamsWithTimeout ¶
func NewAccountServiceListAccountsParamsWithTimeout(timeout time.Duration) *AccountServiceListAccountsParams
NewAccountServiceListAccountsParamsWithTimeout creates a new AccountServiceListAccountsParams object with the ability to set a timeout on a request.
func (*AccountServiceListAccountsParams) SetContext ¶
func (o *AccountServiceListAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the account service list accounts params
func (*AccountServiceListAccountsParams) SetDefaults ¶
func (o *AccountServiceListAccountsParams) SetDefaults()
SetDefaults hydrates default values in the account service list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceListAccountsParams) SetHTTPClient ¶
func (o *AccountServiceListAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account service list accounts params
func (*AccountServiceListAccountsParams) SetTimeout ¶
func (o *AccountServiceListAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account service list accounts params
func (*AccountServiceListAccountsParams) WithContext ¶
func (o *AccountServiceListAccountsParams) WithContext(ctx context.Context) *AccountServiceListAccountsParams
WithContext adds the context to the account service list accounts params
func (*AccountServiceListAccountsParams) WithDefaults ¶
func (o *AccountServiceListAccountsParams) WithDefaults() *AccountServiceListAccountsParams
WithDefaults hydrates default values in the account service list accounts params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceListAccountsParams) WithHTTPClient ¶
func (o *AccountServiceListAccountsParams) WithHTTPClient(client *http.Client) *AccountServiceListAccountsParams
WithHTTPClient adds the HTTPClient to the account service list accounts params
func (*AccountServiceListAccountsParams) WithTimeout ¶
func (o *AccountServiceListAccountsParams) WithTimeout(timeout time.Duration) *AccountServiceListAccountsParams
WithTimeout adds the timeout to the account service list accounts params
func (*AccountServiceListAccountsParams) WriteToRequest ¶
func (o *AccountServiceListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountServiceListAccountsReader ¶
type AccountServiceListAccountsReader struct {
// contains filtered or unexported fields
}
AccountServiceListAccountsReader is a Reader for the AccountServiceListAccounts structure.
func (*AccountServiceListAccountsReader) ReadResponse ¶
func (o *AccountServiceListAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountServiceUpdatePasswordDefault ¶
type AccountServiceUpdatePasswordDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
AccountServiceUpdatePasswordDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewAccountServiceUpdatePasswordDefault ¶
func NewAccountServiceUpdatePasswordDefault(code int) *AccountServiceUpdatePasswordDefault
NewAccountServiceUpdatePasswordDefault creates a AccountServiceUpdatePasswordDefault with default headers values
func (*AccountServiceUpdatePasswordDefault) Code ¶
func (o *AccountServiceUpdatePasswordDefault) Code() int
Code gets the status code for the account service update password default response
func (*AccountServiceUpdatePasswordDefault) Error ¶
func (o *AccountServiceUpdatePasswordDefault) Error() string
func (*AccountServiceUpdatePasswordDefault) GetPayload ¶
func (o *AccountServiceUpdatePasswordDefault) GetPayload() *models.RuntimeError
type AccountServiceUpdatePasswordOK ¶
type AccountServiceUpdatePasswordOK struct {
Payload models.AccountUpdatePasswordResponse
}
AccountServiceUpdatePasswordOK describes a response with status code 200, with default header values.
A successful response.
func NewAccountServiceUpdatePasswordOK ¶
func NewAccountServiceUpdatePasswordOK() *AccountServiceUpdatePasswordOK
NewAccountServiceUpdatePasswordOK creates a AccountServiceUpdatePasswordOK with default headers values
func (*AccountServiceUpdatePasswordOK) Error ¶
func (o *AccountServiceUpdatePasswordOK) Error() string
func (*AccountServiceUpdatePasswordOK) GetPayload ¶
func (o *AccountServiceUpdatePasswordOK) GetPayload() models.AccountUpdatePasswordResponse
type AccountServiceUpdatePasswordParams ¶
type AccountServiceUpdatePasswordParams struct { // Body. Body *models.AccountUpdatePasswordRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountServiceUpdatePasswordParams contains all the parameters to send to the API endpoint
for the account service update password operation. Typically these are written to a http.Request.
func NewAccountServiceUpdatePasswordParams ¶
func NewAccountServiceUpdatePasswordParams() *AccountServiceUpdatePasswordParams
NewAccountServiceUpdatePasswordParams creates a new AccountServiceUpdatePasswordParams 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 NewAccountServiceUpdatePasswordParamsWithContext ¶
func NewAccountServiceUpdatePasswordParamsWithContext(ctx context.Context) *AccountServiceUpdatePasswordParams
NewAccountServiceUpdatePasswordParamsWithContext creates a new AccountServiceUpdatePasswordParams object with the ability to set a context for a request.
func NewAccountServiceUpdatePasswordParamsWithHTTPClient ¶
func NewAccountServiceUpdatePasswordParamsWithHTTPClient(client *http.Client) *AccountServiceUpdatePasswordParams
NewAccountServiceUpdatePasswordParamsWithHTTPClient creates a new AccountServiceUpdatePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewAccountServiceUpdatePasswordParamsWithTimeout ¶
func NewAccountServiceUpdatePasswordParamsWithTimeout(timeout time.Duration) *AccountServiceUpdatePasswordParams
NewAccountServiceUpdatePasswordParamsWithTimeout creates a new AccountServiceUpdatePasswordParams object with the ability to set a timeout on a request.
func (*AccountServiceUpdatePasswordParams) SetBody ¶
func (o *AccountServiceUpdatePasswordParams) SetBody(body *models.AccountUpdatePasswordRequest)
SetBody adds the body to the account service update password params
func (*AccountServiceUpdatePasswordParams) SetContext ¶
func (o *AccountServiceUpdatePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the account service update password params
func (*AccountServiceUpdatePasswordParams) SetDefaults ¶
func (o *AccountServiceUpdatePasswordParams) SetDefaults()
SetDefaults hydrates default values in the account service update password params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceUpdatePasswordParams) SetHTTPClient ¶
func (o *AccountServiceUpdatePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account service update password params
func (*AccountServiceUpdatePasswordParams) SetTimeout ¶
func (o *AccountServiceUpdatePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account service update password params
func (*AccountServiceUpdatePasswordParams) WithBody ¶
func (o *AccountServiceUpdatePasswordParams) WithBody(body *models.AccountUpdatePasswordRequest) *AccountServiceUpdatePasswordParams
WithBody adds the body to the account service update password params
func (*AccountServiceUpdatePasswordParams) WithContext ¶
func (o *AccountServiceUpdatePasswordParams) WithContext(ctx context.Context) *AccountServiceUpdatePasswordParams
WithContext adds the context to the account service update password params
func (*AccountServiceUpdatePasswordParams) WithDefaults ¶
func (o *AccountServiceUpdatePasswordParams) WithDefaults() *AccountServiceUpdatePasswordParams
WithDefaults hydrates default values in the account service update password params (not the query body).
All values with no default are reset to their zero value.
func (*AccountServiceUpdatePasswordParams) WithHTTPClient ¶
func (o *AccountServiceUpdatePasswordParams) WithHTTPClient(client *http.Client) *AccountServiceUpdatePasswordParams
WithHTTPClient adds the HTTPClient to the account service update password params
func (*AccountServiceUpdatePasswordParams) WithTimeout ¶
func (o *AccountServiceUpdatePasswordParams) WithTimeout(timeout time.Duration) *AccountServiceUpdatePasswordParams
WithTimeout adds the timeout to the account service update password params
func (*AccountServiceUpdatePasswordParams) WriteToRequest ¶
func (o *AccountServiceUpdatePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountServiceUpdatePasswordReader ¶
type AccountServiceUpdatePasswordReader struct {
// contains filtered or unexported fields
}
AccountServiceUpdatePasswordReader is a Reader for the AccountServiceUpdatePassword structure.
func (*AccountServiceUpdatePasswordReader) ReadResponse ¶
func (o *AccountServiceUpdatePasswordReader) 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 account service API
func (*Client) AccountServiceCanI ¶
func (a *Client) AccountServiceCanI(params *AccountServiceCanIParams, opts ...ClientOption) (*AccountServiceCanIOK, error)
AccountServiceCanI cans i checks if the current account has permission to perform an action
func (*Client) AccountServiceCreateToken ¶
func (a *Client) AccountServiceCreateToken(params *AccountServiceCreateTokenParams, opts ...ClientOption) (*AccountServiceCreateTokenOK, error)
AccountServiceCreateToken creates token creates a token
func (*Client) AccountServiceDeleteToken ¶
func (a *Client) AccountServiceDeleteToken(params *AccountServiceDeleteTokenParams, opts ...ClientOption) (*AccountServiceDeleteTokenOK, error)
AccountServiceDeleteToken deletes token deletes a token
func (*Client) AccountServiceGetAccount ¶
func (a *Client) AccountServiceGetAccount(params *AccountServiceGetAccountParams, opts ...ClientOption) (*AccountServiceGetAccountOK, error)
AccountServiceGetAccount gets account returns an account
func (*Client) AccountServiceListAccounts ¶
func (a *Client) AccountServiceListAccounts(params *AccountServiceListAccountsParams, opts ...ClientOption) (*AccountServiceListAccountsOK, error)
AccountServiceListAccounts lists accounts returns the list of accounts
func (*Client) AccountServiceUpdatePassword ¶
func (a *Client) AccountServiceUpdatePassword(params *AccountServiceUpdatePasswordParams, opts ...ClientOption) (*AccountServiceUpdatePasswordOK, error)
AccountServiceUpdatePassword updates password updates an account s password to a new value
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 { AccountServiceCanI(params *AccountServiceCanIParams, opts ...ClientOption) (*AccountServiceCanIOK, error) AccountServiceCreateToken(params *AccountServiceCreateTokenParams, opts ...ClientOption) (*AccountServiceCreateTokenOK, error) AccountServiceDeleteToken(params *AccountServiceDeleteTokenParams, opts ...ClientOption) (*AccountServiceDeleteTokenOK, error) AccountServiceGetAccount(params *AccountServiceGetAccountParams, opts ...ClientOption) (*AccountServiceGetAccountOK, error) AccountServiceListAccounts(params *AccountServiceListAccountsParams, opts ...ClientOption) (*AccountServiceListAccountsOK, error) AccountServiceUpdatePassword(params *AccountServiceUpdatePasswordParams, opts ...ClientOption) (*AccountServiceUpdatePasswordOK, 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 service API client.
Source Files
¶
- account_service_can_i_parameters.go
- account_service_can_i_responses.go
- account_service_client.go
- account_service_create_token_parameters.go
- account_service_create_token_responses.go
- account_service_delete_token_parameters.go
- account_service_delete_token_responses.go
- account_service_get_account_parameters.go
- account_service_get_account_responses.go
- account_service_list_accounts_parameters.go
- account_service_list_accounts_responses.go
- account_service_update_password_parameters.go
- account_service_update_password_responses.go