account

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for account API

func (*Client) GetAccountGetPhp

func (a *Client) GetAccountGetPhp(params *GetAccountGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountGetPhpOK, error)

GetAccountGetPhp get account get php API

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 {
	GetAccountGetPhp(params *GetAccountGetPhpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountGetPhpOK, 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 API client.

type GetAccountGetPhpOK

type GetAccountGetPhpOK struct {
	Payload *models.Account
}

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

ok

func NewGetAccountGetPhpOK

func NewGetAccountGetPhpOK() *GetAccountGetPhpOK

NewGetAccountGetPhpOK creates a GetAccountGetPhpOK with default headers values

func (*GetAccountGetPhpOK) Error

func (o *GetAccountGetPhpOK) Error() string

func (*GetAccountGetPhpOK) GetPayload

func (o *GetAccountGetPhpOK) GetPayload() *models.Account

type GetAccountGetPhpParams

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

GetAccountGetPhpParams contains all the parameters to send to the API endpoint

for the get account get php operation.

Typically these are written to a http.Request.

func NewGetAccountGetPhpParams

func NewGetAccountGetPhpParams() *GetAccountGetPhpParams

NewGetAccountGetPhpParams creates a new GetAccountGetPhpParams 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 NewGetAccountGetPhpParamsWithContext

func NewGetAccountGetPhpParamsWithContext(ctx ccontext.Context) *GetAccountGetPhpParams

NewGetAccountGetPhpParamsWithContext creates a new GetAccountGetPhpParams object with the ability to set a context for a request.

func NewGetAccountGetPhpParamsWithHTTPClient

func NewGetAccountGetPhpParamsWithHTTPClient(client *http.Client) *GetAccountGetPhpParams

NewGetAccountGetPhpParamsWithHTTPClient creates a new GetAccountGetPhpParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountGetPhpParamsWithTimeout

func NewGetAccountGetPhpParamsWithTimeout(timeout time.Duration) *GetAccountGetPhpParams

NewGetAccountGetPhpParamsWithTimeout creates a new GetAccountGetPhpParams object with the ability to set a timeout on a request.

func (*GetAccountGetPhpParams) SetContext

func (o *GetAccountGetPhpParams) SetContext(ctx ccontext.Context)

SetContext adds the context to the get account get php params

func (*GetAccountGetPhpParams) SetDefaults

func (o *GetAccountGetPhpParams) SetDefaults()

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

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

func (*GetAccountGetPhpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account get php params

func (*GetAccountGetPhpParams) SetTimeout

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

SetTimeout adds the timeout to the get account get php params

func (*GetAccountGetPhpParams) WithContext

WithContext adds the context to the get account get php params

func (*GetAccountGetPhpParams) WithDefaults

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

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

func (*GetAccountGetPhpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account get php params

func (*GetAccountGetPhpParams) WithTimeout

WithTimeout adds the timeout to the get account get php params

func (*GetAccountGetPhpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountGetPhpReader

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

GetAccountGetPhpReader is a Reader for the GetAccountGetPhp structure.

func (*GetAccountGetPhpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountGetPhpServiceUnavailable

type GetAccountGetPhpServiceUnavailable struct {
	Payload *models.Error
}

GetAccountGetPhpServiceUnavailable describes a response with status code 503, with default header values.

ServiceUnavailable

func NewGetAccountGetPhpServiceUnavailable

func NewGetAccountGetPhpServiceUnavailable() *GetAccountGetPhpServiceUnavailable

NewGetAccountGetPhpServiceUnavailable creates a GetAccountGetPhpServiceUnavailable with default headers values

func (*GetAccountGetPhpServiceUnavailable) Error

func (*GetAccountGetPhpServiceUnavailable) GetPayload

type GetAccountGetPhpTooManyRequests

type GetAccountGetPhpTooManyRequests struct {
	Payload *models.Error
}

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

TooManyRequests

func NewGetAccountGetPhpTooManyRequests

func NewGetAccountGetPhpTooManyRequests() *GetAccountGetPhpTooManyRequests

NewGetAccountGetPhpTooManyRequests creates a GetAccountGetPhpTooManyRequests with default headers values

func (*GetAccountGetPhpTooManyRequests) Error

func (*GetAccountGetPhpTooManyRequests) GetPayload

func (o *GetAccountGetPhpTooManyRequests) GetPayload() *models.Error

type GetAccountGetPhpUnauthorized

type GetAccountGetPhpUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetAccountGetPhpUnauthorized

func NewGetAccountGetPhpUnauthorized() *GetAccountGetPhpUnauthorized

NewGetAccountGetPhpUnauthorized creates a GetAccountGetPhpUnauthorized with default headers values

func (*GetAccountGetPhpUnauthorized) Error

func (*GetAccountGetPhpUnauthorized) GetPayload

func (o *GetAccountGetPhpUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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