Documentation ¶
Index ¶
- type Client
- type GetAboutPageForbidden
- type GetAboutPageOK
- type GetAboutPageParams
- func (o *GetAboutPageParams) SetContext(ctx context.Context)
- func (o *GetAboutPageParams) SetHTTPClient(client *http.Client)
- func (o *GetAboutPageParams) SetTimeout(timeout time.Duration)
- func (o *GetAboutPageParams) WithContext(ctx context.Context) *GetAboutPageParams
- func (o *GetAboutPageParams) WithHTTPClient(client *http.Client) *GetAboutPageParams
- func (o *GetAboutPageParams) WithTimeout(timeout time.Duration) *GetAboutPageParams
- func (o *GetAboutPageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAboutPageReader
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 about API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new about API client.
func (*Client) GetAboutPage ¶
func (a *Client) GetAboutPage(params *GetAboutPageParams) (*GetAboutPageOK, error)
GetAboutPage gets about page
The page contains information about the supported API versions and the latest API version. The version parameter is optional but highly recommended. If you do not specify explicitly an exact version, you will be calling the latest supported API version. Here is an example of a call which specifies the exact version you are using: `GET /iaas/api/network-profiles?apiVersion=2019-01-15`
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAboutPageForbidden ¶
type GetAboutPageForbidden struct { }
GetAboutPageForbidden handles this case with default header values.
Forbidden
func NewGetAboutPageForbidden ¶
func NewGetAboutPageForbidden() *GetAboutPageForbidden
NewGetAboutPageForbidden creates a GetAboutPageForbidden with default headers values
func (*GetAboutPageForbidden) Error ¶
func (o *GetAboutPageForbidden) Error() string
type GetAboutPageOK ¶
GetAboutPageOK handles this case with default header values.
successful operation
func NewGetAboutPageOK ¶
func NewGetAboutPageOK() *GetAboutPageOK
NewGetAboutPageOK creates a GetAboutPageOK with default headers values
func (*GetAboutPageOK) Error ¶
func (o *GetAboutPageOK) Error() string
func (*GetAboutPageOK) GetPayload ¶
func (o *GetAboutPageOK) GetPayload() *models.About
type GetAboutPageParams ¶
type GetAboutPageParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAboutPageParams contains all the parameters to send to the API endpoint for the get about page operation typically these are written to a http.Request
func NewGetAboutPageParams ¶
func NewGetAboutPageParams() *GetAboutPageParams
NewGetAboutPageParams creates a new GetAboutPageParams object with the default values initialized.
func NewGetAboutPageParamsWithContext ¶
func NewGetAboutPageParamsWithContext(ctx context.Context) *GetAboutPageParams
NewGetAboutPageParamsWithContext creates a new GetAboutPageParams object with the default values initialized, and the ability to set a context for a request
func NewGetAboutPageParamsWithHTTPClient ¶
func NewGetAboutPageParamsWithHTTPClient(client *http.Client) *GetAboutPageParams
NewGetAboutPageParamsWithHTTPClient creates a new GetAboutPageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAboutPageParamsWithTimeout ¶
func NewGetAboutPageParamsWithTimeout(timeout time.Duration) *GetAboutPageParams
NewGetAboutPageParamsWithTimeout creates a new GetAboutPageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAboutPageParams) SetContext ¶
func (o *GetAboutPageParams) SetContext(ctx context.Context)
SetContext adds the context to the get about page params
func (*GetAboutPageParams) SetHTTPClient ¶
func (o *GetAboutPageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get about page params
func (*GetAboutPageParams) SetTimeout ¶
func (o *GetAboutPageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get about page params
func (*GetAboutPageParams) WithContext ¶
func (o *GetAboutPageParams) WithContext(ctx context.Context) *GetAboutPageParams
WithContext adds the context to the get about page params
func (*GetAboutPageParams) WithHTTPClient ¶
func (o *GetAboutPageParams) WithHTTPClient(client *http.Client) *GetAboutPageParams
WithHTTPClient adds the HTTPClient to the get about page params
func (*GetAboutPageParams) WithTimeout ¶
func (o *GetAboutPageParams) WithTimeout(timeout time.Duration) *GetAboutPageParams
WithTimeout adds the timeout to the get about page params
func (*GetAboutPageParams) WriteToRequest ¶
func (o *GetAboutPageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAboutPageReader ¶
type GetAboutPageReader struct {
// contains filtered or unexported fields
}
GetAboutPageReader is a Reader for the GetAboutPage structure.
func (*GetAboutPageReader) ReadResponse ¶
func (o *GetAboutPageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.