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 server API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new server API client.
func (*Client) GetServerInfo ¶
func (a *Client) GetServerInfo(params *GetServerInfoParams) (*GetServerInfoOK, error)
GetServerInfo Returns information about the server version
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetServerInfoDefault ¶
type GetServerInfoDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetServerInfoDefault handles this case with default header values.
Unexpected error
func NewGetServerInfoDefault ¶
func NewGetServerInfoDefault(code int) *GetServerInfoDefault
NewGetServerInfoDefault creates a GetServerInfoDefault with default headers values
func (*GetServerInfoDefault) Code ¶
func (o *GetServerInfoDefault) Code() int
Code gets the status code for the get server info default response
func (*GetServerInfoDefault) Error ¶
func (o *GetServerInfoDefault) Error() string
type GetServerInfoOK ¶
type GetServerInfoOK struct {
Payload GetServerInfoOKBodyBody
}
GetServerInfoOK handles this case with default header values.
Server info response
func NewGetServerInfoOK ¶
func NewGetServerInfoOK() *GetServerInfoOK
NewGetServerInfoOK creates a GetServerInfoOK with default headers values
func (*GetServerInfoOK) Error ¶
func (o *GetServerInfoOK) Error() string
type GetServerInfoOKBodyApplication ¶
type GetServerInfoOKBodyApplication struct { /* Application name Required: true */ Name *string `json:"name"` /* Application version Required: true */ Version *string `json:"version"` /* Oshinko Web Service Name Required: true */ WebServiceName *string `json:"web-service-name"` /* Oshinko Web URL Required: true */ WebURL *string `json:"web-url"` }
GetServerInfoOKBodyApplication get server info o k body application
swagger:model GetServerInfoOKBodyApplication
type GetServerInfoOKBodyBody ¶
type GetServerInfoOKBodyBody struct { /* application Required: true */ Application *GetServerInfoOKBodyApplication `json:"application"` }
GetServerInfoOKBodyBody get server info o k body body
swagger:model GetServerInfoOKBodyBody
type GetServerInfoParams ¶
type GetServerInfoParams struct {
// contains filtered or unexported fields
}
GetServerInfoParams contains all the parameters to send to the API endpoint for the get server info operation typically these are written to a http.Request
func NewGetServerInfoParams ¶
func NewGetServerInfoParams() *GetServerInfoParams
NewGetServerInfoParams creates a new GetServerInfoParams object with the default values initialized.
func NewGetServerInfoParamsWithTimeout ¶
func NewGetServerInfoParamsWithTimeout(timeout time.Duration) *GetServerInfoParams
NewGetServerInfoParamsWithTimeout creates a new GetServerInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServerInfoParams) WriteToRequest ¶
func (o *GetServerInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerInfoReader ¶
type GetServerInfoReader struct {
// contains filtered or unexported fields
}
GetServerInfoReader is a Reader for the GetServerInfo structure.
func (*GetServerInfoReader) ReadResponse ¶
func (o *GetServerInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.