Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetAccountGetPhpOK
- type GetAccountGetPhpParams
- func NewGetAccountGetPhpParams() *GetAccountGetPhpParams
- func NewGetAccountGetPhpParamsWithContext(ctx ccontext.Context) *GetAccountGetPhpParams
- func NewGetAccountGetPhpParamsWithHTTPClient(client *http.Client) *GetAccountGetPhpParams
- func NewGetAccountGetPhpParamsWithTimeout(timeout time.Duration) *GetAccountGetPhpParams
- func (o *GetAccountGetPhpParams) SetContext(ctx ccontext.Context)
- func (o *GetAccountGetPhpParams) SetDefaults()
- func (o *GetAccountGetPhpParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountGetPhpParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountGetPhpParams) WithContext(ctx ccontext.Context) *GetAccountGetPhpParams
- func (o *GetAccountGetPhpParams) WithDefaults() *GetAccountGetPhpParams
- func (o *GetAccountGetPhpParams) WithHTTPClient(client *http.Client) *GetAccountGetPhpParams
- func (o *GetAccountGetPhpParams) WithTimeout(timeout time.Duration) *GetAccountGetPhpParams
- func (o *GetAccountGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountGetPhpReader
- type GetAccountGetPhpServiceUnavailable
- type GetAccountGetPhpTooManyRequests
- type GetAccountGetPhpUnauthorized
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 ¶
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 ¶
func (o *GetAccountGetPhpParams) WithContext(ctx ccontext.Context) *GetAccountGetPhpParams
WithContext adds the context to the get account get php params
func (*GetAccountGetPhpParams) WithDefaults ¶
func (o *GetAccountGetPhpParams) WithDefaults() *GetAccountGetPhpParams
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 ¶
func (o *GetAccountGetPhpParams) WithTimeout(timeout time.Duration) *GetAccountGetPhpParams
WithTimeout adds the timeout to the get account get php params
func (*GetAccountGetPhpParams) WriteToRequest ¶
func (o *GetAccountGetPhpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetAccountGetPhpServiceUnavailable) Error() string
func (*GetAccountGetPhpServiceUnavailable) GetPayload ¶
func (o *GetAccountGetPhpServiceUnavailable) GetPayload() *models.Error
type GetAccountGetPhpTooManyRequests ¶
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 (o *GetAccountGetPhpTooManyRequests) Error() string
func (*GetAccountGetPhpTooManyRequests) GetPayload ¶
func (o *GetAccountGetPhpTooManyRequests) GetPayload() *models.Error
type GetAccountGetPhpUnauthorized ¶
type GetAccountGetPhpUnauthorized struct {
}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 (o *GetAccountGetPhpUnauthorized) Error() string
func (*GetAccountGetPhpUnauthorized) GetPayload ¶
func (o *GetAccountGetPhpUnauthorized) GetPayload() *models.Error