Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetVersionUsingGETForbidden
- type GetVersionUsingGETNotFound
- type GetVersionUsingGETOK
- type GetVersionUsingGETParams
- func NewGetVersionUsingGETParams() *GetVersionUsingGETParams
- func NewGetVersionUsingGETParamsWithContext(ctx context.Context) *GetVersionUsingGETParams
- func NewGetVersionUsingGETParamsWithHTTPClient(client *http.Client) *GetVersionUsingGETParams
- func NewGetVersionUsingGETParamsWithTimeout(timeout time.Duration) *GetVersionUsingGETParams
- func (o *GetVersionUsingGETParams) SetContext(ctx context.Context)
- func (o *GetVersionUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionUsingGETParams) WithContext(ctx context.Context) *GetVersionUsingGETParams
- func (o *GetVersionUsingGETParams) WithHTTPClient(client *http.Client) *GetVersionUsingGETParams
- func (o *GetVersionUsingGETParams) WithTimeout(timeout time.Duration) *GetVersionUsingGETParams
- func (o *GetVersionUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionUsingGETReader
- type GetVersionUsingGETUnauthorized
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 version API
func (*Client) GetVersionUsingGET ¶
func (a *Client) GetVersionUsingGET(params *GetVersionUsingGETParams) (*GetVersionUsingGETOK, error)
GetVersionUsingGET retrieves the version and the build data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetVersionUsingGET(params *GetVersionUsingGETParams) (*GetVersionUsingGETOK, 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 version API client.
type GetVersionUsingGETForbidden ¶
type GetVersionUsingGETForbidden struct { }
GetVersionUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetVersionUsingGETForbidden ¶
func NewGetVersionUsingGETForbidden() *GetVersionUsingGETForbidden
NewGetVersionUsingGETForbidden creates a GetVersionUsingGETForbidden with default headers values
func (*GetVersionUsingGETForbidden) Error ¶
func (o *GetVersionUsingGETForbidden) Error() string
type GetVersionUsingGETNotFound ¶
type GetVersionUsingGETNotFound struct { }
GetVersionUsingGETNotFound handles this case with default header values.
Not Found
func NewGetVersionUsingGETNotFound ¶
func NewGetVersionUsingGETNotFound() *GetVersionUsingGETNotFound
NewGetVersionUsingGETNotFound creates a GetVersionUsingGETNotFound with default headers values
func (*GetVersionUsingGETNotFound) Error ¶
func (o *GetVersionUsingGETNotFound) Error() string
type GetVersionUsingGETOK ¶
type GetVersionUsingGETOK struct {
Payload *models.VersionDto
}
GetVersionUsingGETOK handles this case with default header values.
OK
func NewGetVersionUsingGETOK ¶
func NewGetVersionUsingGETOK() *GetVersionUsingGETOK
NewGetVersionUsingGETOK creates a GetVersionUsingGETOK with default headers values
func (*GetVersionUsingGETOK) Error ¶
func (o *GetVersionUsingGETOK) Error() string
func (*GetVersionUsingGETOK) GetPayload ¶
func (o *GetVersionUsingGETOK) GetPayload() *models.VersionDto
type GetVersionUsingGETParams ¶
type GetVersionUsingGETParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVersionUsingGETParams contains all the parameters to send to the API endpoint for the get version using g e t operation typically these are written to a http.Request
func NewGetVersionUsingGETParams ¶
func NewGetVersionUsingGETParams() *GetVersionUsingGETParams
NewGetVersionUsingGETParams creates a new GetVersionUsingGETParams object with the default values initialized.
func NewGetVersionUsingGETParamsWithContext ¶
func NewGetVersionUsingGETParamsWithContext(ctx context.Context) *GetVersionUsingGETParams
NewGetVersionUsingGETParamsWithContext creates a new GetVersionUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetVersionUsingGETParamsWithHTTPClient ¶
func NewGetVersionUsingGETParamsWithHTTPClient(client *http.Client) *GetVersionUsingGETParams
NewGetVersionUsingGETParamsWithHTTPClient creates a new GetVersionUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVersionUsingGETParamsWithTimeout ¶
func NewGetVersionUsingGETParamsWithTimeout(timeout time.Duration) *GetVersionUsingGETParams
NewGetVersionUsingGETParamsWithTimeout creates a new GetVersionUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVersionUsingGETParams) SetContext ¶
func (o *GetVersionUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get version using g e t params
func (*GetVersionUsingGETParams) SetHTTPClient ¶
func (o *GetVersionUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get version using g e t params
func (*GetVersionUsingGETParams) SetTimeout ¶
func (o *GetVersionUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get version using g e t params
func (*GetVersionUsingGETParams) WithContext ¶
func (o *GetVersionUsingGETParams) WithContext(ctx context.Context) *GetVersionUsingGETParams
WithContext adds the context to the get version using g e t params
func (*GetVersionUsingGETParams) WithHTTPClient ¶
func (o *GetVersionUsingGETParams) WithHTTPClient(client *http.Client) *GetVersionUsingGETParams
WithHTTPClient adds the HTTPClient to the get version using g e t params
func (*GetVersionUsingGETParams) WithTimeout ¶
func (o *GetVersionUsingGETParams) WithTimeout(timeout time.Duration) *GetVersionUsingGETParams
WithTimeout adds the timeout to the get version using g e t params
func (*GetVersionUsingGETParams) WriteToRequest ¶
func (o *GetVersionUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVersionUsingGETReader ¶
type GetVersionUsingGETReader struct {
// contains filtered or unexported fields
}
GetVersionUsingGETReader is a Reader for the GetVersionUsingGET structure.
func (*GetVersionUsingGETReader) ReadResponse ¶
func (o *GetVersionUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVersionUsingGETUnauthorized ¶
type GetVersionUsingGETUnauthorized struct { }
GetVersionUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetVersionUsingGETUnauthorized ¶
func NewGetVersionUsingGETUnauthorized() *GetVersionUsingGETUnauthorized
NewGetVersionUsingGETUnauthorized creates a GetVersionUsingGETUnauthorized with default headers values
func (*GetVersionUsingGETUnauthorized) Error ¶
func (o *GetVersionUsingGETUnauthorized) Error() string