account_service

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 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 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

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

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

WithAction adds the action to the account service can i params

func (*AccountServiceCanIParams) WithContext

WithContext adds the context to the account service can i params

func (*AccountServiceCanIParams) WithDefaults

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

WithTimeout adds the timeout to the account service can i params

func (*AccountServiceCanIParams) WriteToRequest

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

Code gets the status code for the account service create token default response

func (*AccountServiceCreateTokenDefault) Error

func (*AccountServiceCreateTokenDefault) GetPayload

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 (*AccountServiceCreateTokenOK) GetPayload

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

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

WithBody adds the body to the account service create token params

func (*AccountServiceCreateTokenParams) WithContext

WithContext adds the context to the account service create token params

func (*AccountServiceCreateTokenParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the account service create token params

func (*AccountServiceCreateTokenParams) WithName

WithName adds the name to the account service create token params

func (*AccountServiceCreateTokenParams) WithTimeout

WithTimeout adds the timeout to the account service create token params

func (*AccountServiceCreateTokenParams) WriteToRequest

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

Code gets the status code for the account service delete token default response

func (*AccountServiceDeleteTokenDefault) Error

func (*AccountServiceDeleteTokenDefault) GetPayload

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 (*AccountServiceDeleteTokenOK) GetPayload

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

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

WithContext adds the context to the account service delete token params

func (*AccountServiceDeleteTokenParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the account service delete token params

func (*AccountServiceDeleteTokenParams) WithID

WithID adds the id to the account service delete token params

func (*AccountServiceDeleteTokenParams) WithName

WithName adds the name to the account service delete token params

func (*AccountServiceDeleteTokenParams) WithTimeout

WithTimeout adds the timeout to the account service delete token params

func (*AccountServiceDeleteTokenParams) WriteToRequest

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

Code gets the status code for the account service get account default response

func (*AccountServiceGetAccountDefault) Error

func (*AccountServiceGetAccountDefault) GetPayload

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 (*AccountServiceGetAccountOK) GetPayload

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

WithContext adds the context to the account service get account params

func (*AccountServiceGetAccountParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the account service get account params

func (*AccountServiceGetAccountParams) WithName

WithName adds the name to the account service get account params

func (*AccountServiceGetAccountParams) WithTimeout

WithTimeout adds the timeout to the account service get account params

func (*AccountServiceGetAccountParams) WriteToRequest

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

Code gets the status code for the account service list accounts default response

func (*AccountServiceListAccountsDefault) Error

func (*AccountServiceListAccountsDefault) GetPayload

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 (*AccountServiceListAccountsOK) GetPayload

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

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

WithContext adds the context to the account service list accounts params

func (*AccountServiceListAccountsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the account service list accounts params

func (*AccountServiceListAccountsParams) WithTimeout

WithTimeout adds the timeout to the account service list accounts params

func (*AccountServiceListAccountsParams) WriteToRequest

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

Code gets the status code for the account service update password default response

func (*AccountServiceUpdatePasswordDefault) Error

func (*AccountServiceUpdatePasswordDefault) GetPayload

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 (*AccountServiceUpdatePasswordOK) GetPayload

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

SetBody adds the body to the account service update password params

func (*AccountServiceUpdatePasswordParams) SetContext

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

WithBody adds the body to the account service update password params

func (*AccountServiceUpdatePasswordParams) WithContext

WithContext adds the context to the account service update password params

func (*AccountServiceUpdatePasswordParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the account service update password params

func (*AccountServiceUpdatePasswordParams) WithTimeout

WithTimeout adds the timeout to the account service update password params

func (*AccountServiceUpdatePasswordParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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