Documentation
¶
Index ¶
- type Client
- type GetAppVersionDefault
- type GetAppVersionOK
- type GetAppVersionOKBody
- type GetAppVersionParams
- func (o *GetAppVersionParams) SetContext(ctx context.Context)
- func (o *GetAppVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetAppVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetAppVersionParams) WithContext(ctx context.Context) *GetAppVersionParams
- func (o *GetAppVersionParams) WithHTTPClient(client *http.Client) *GetAppVersionParams
- func (o *GetAppVersionParams) WithTimeout(timeout time.Duration) *GetAppVersionParams
- func (o *GetAppVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppVersionReader
- type GetAppVersionUnprocessableEntity
- type GetStatusDefault
- type GetStatusOK
- type GetStatusOKBody
- type GetStatusParams
- func (o *GetStatusParams) SetContext(ctx context.Context)
- func (o *GetStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams
- func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams
- func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams
- func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatusReader
- type GetStatusUnprocessableEntity
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 cycloid API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new cycloid API client.
func (*Client) GetAppVersion ¶
func (a *Client) GetAppVersion(params *GetAppVersionParams) (*GetAppVersionOK, error)
GetAppVersion Get the version of the Cycloid's API.
func (*Client) GetStatus ¶
func (a *Client) GetStatus(params *GetStatusParams) (*GetStatusOK, error)
GetStatus Get the status of the Cycloid's services.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAppVersionDefault ¶
type GetAppVersionDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetAppVersionDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetAppVersionDefault ¶
func NewGetAppVersionDefault(code int) *GetAppVersionDefault
NewGetAppVersionDefault creates a GetAppVersionDefault with default headers values
func (*GetAppVersionDefault) Code ¶
func (o *GetAppVersionDefault) Code() int
Code gets the status code for the get app version default response
func (*GetAppVersionDefault) Error ¶
func (o *GetAppVersionDefault) Error() string
func (*GetAppVersionDefault) GetPayload ¶
func (o *GetAppVersionDefault) GetPayload() *models.ErrorPayload
type GetAppVersionOK ¶
type GetAppVersionOK struct {
Payload *GetAppVersionOKBody
}
GetAppVersionOK handles this case with default header values.
Application version.
func NewGetAppVersionOK ¶
func NewGetAppVersionOK() *GetAppVersionOK
NewGetAppVersionOK creates a GetAppVersionOK with default headers values
func (*GetAppVersionOK) Error ¶
func (o *GetAppVersionOK) Error() string
func (*GetAppVersionOK) GetPayload ¶
func (o *GetAppVersionOK) GetPayload() *GetAppVersionOKBody
type GetAppVersionOKBody ¶
type GetAppVersionOKBody struct { // data // Required: true Data *models.AppVersion `json:"data"` }
GetAppVersionOKBody get app version o k body swagger:model GetAppVersionOKBody
func (*GetAppVersionOKBody) MarshalBinary ¶
func (o *GetAppVersionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAppVersionOKBody) UnmarshalBinary ¶
func (o *GetAppVersionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAppVersionParams ¶
type GetAppVersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAppVersionParams contains all the parameters to send to the API endpoint for the get app version operation typically these are written to a http.Request
func NewGetAppVersionParams ¶
func NewGetAppVersionParams() *GetAppVersionParams
NewGetAppVersionParams creates a new GetAppVersionParams object with the default values initialized.
func NewGetAppVersionParamsWithContext ¶
func NewGetAppVersionParamsWithContext(ctx context.Context) *GetAppVersionParams
NewGetAppVersionParamsWithContext creates a new GetAppVersionParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppVersionParamsWithHTTPClient ¶
func NewGetAppVersionParamsWithHTTPClient(client *http.Client) *GetAppVersionParams
NewGetAppVersionParamsWithHTTPClient creates a new GetAppVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppVersionParamsWithTimeout ¶
func NewGetAppVersionParamsWithTimeout(timeout time.Duration) *GetAppVersionParams
NewGetAppVersionParamsWithTimeout creates a new GetAppVersionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppVersionParams) SetContext ¶
func (o *GetAppVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get app version params
func (*GetAppVersionParams) SetHTTPClient ¶
func (o *GetAppVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get app version params
func (*GetAppVersionParams) SetTimeout ¶
func (o *GetAppVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get app version params
func (*GetAppVersionParams) WithContext ¶
func (o *GetAppVersionParams) WithContext(ctx context.Context) *GetAppVersionParams
WithContext adds the context to the get app version params
func (*GetAppVersionParams) WithHTTPClient ¶
func (o *GetAppVersionParams) WithHTTPClient(client *http.Client) *GetAppVersionParams
WithHTTPClient adds the HTTPClient to the get app version params
func (*GetAppVersionParams) WithTimeout ¶
func (o *GetAppVersionParams) WithTimeout(timeout time.Duration) *GetAppVersionParams
WithTimeout adds the timeout to the get app version params
func (*GetAppVersionParams) WriteToRequest ¶
func (o *GetAppVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppVersionReader ¶
type GetAppVersionReader struct {
// contains filtered or unexported fields
}
GetAppVersionReader is a Reader for the GetAppVersion structure.
func (*GetAppVersionReader) ReadResponse ¶
func (o *GetAppVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAppVersionUnprocessableEntity ¶
type GetAppVersionUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetAppVersionUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetAppVersionUnprocessableEntity ¶
func NewGetAppVersionUnprocessableEntity() *GetAppVersionUnprocessableEntity
NewGetAppVersionUnprocessableEntity creates a GetAppVersionUnprocessableEntity with default headers values
func (*GetAppVersionUnprocessableEntity) Error ¶
func (o *GetAppVersionUnprocessableEntity) Error() string
func (*GetAppVersionUnprocessableEntity) GetPayload ¶
func (o *GetAppVersionUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetStatusDefault ¶
type GetStatusDefault struct { Payload *models.ErrorPayload // contains filtered or unexported fields }
GetStatusDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetStatusDefault ¶
func NewGetStatusDefault(code int) *GetStatusDefault
NewGetStatusDefault creates a GetStatusDefault with default headers values
func (*GetStatusDefault) Code ¶
func (o *GetStatusDefault) Code() int
Code gets the status code for the get status default response
func (*GetStatusDefault) Error ¶
func (o *GetStatusDefault) Error() string
func (*GetStatusDefault) GetPayload ¶
func (o *GetStatusDefault) GetPayload() *models.ErrorPayload
type GetStatusOK ¶
type GetStatusOK struct {
Payload *GetStatusOKBody
}
GetStatusOK handles this case with default header values.
General application status and services statuses.
func NewGetStatusOK ¶
func NewGetStatusOK() *GetStatusOK
NewGetStatusOK creates a GetStatusOK with default headers values
func (*GetStatusOK) Error ¶
func (o *GetStatusOK) Error() string
func (*GetStatusOK) GetPayload ¶
func (o *GetStatusOK) GetPayload() *GetStatusOKBody
type GetStatusOKBody ¶
type GetStatusOKBody struct { // data // Required: true Data *models.GeneralStatus `json:"data"` }
GetStatusOKBody get status o k body swagger:model GetStatusOKBody
func (*GetStatusOKBody) MarshalBinary ¶
func (o *GetStatusOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetStatusOKBody) UnmarshalBinary ¶
func (o *GetStatusOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetStatusParams ¶
type GetStatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatusParams contains all the parameters to send to the API endpoint for the get status operation typically these are written to a http.Request
func NewGetStatusParams ¶
func NewGetStatusParams() *GetStatusParams
NewGetStatusParams creates a new GetStatusParams object with the default values initialized.
func NewGetStatusParamsWithContext ¶
func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams
NewGetStatusParamsWithContext creates a new GetStatusParams object with the default values initialized, and the ability to set a context for a request
func NewGetStatusParamsWithHTTPClient ¶
func NewGetStatusParamsWithHTTPClient(client *http.Client) *GetStatusParams
NewGetStatusParamsWithHTTPClient creates a new GetStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStatusParamsWithTimeout ¶
func NewGetStatusParamsWithTimeout(timeout time.Duration) *GetStatusParams
NewGetStatusParamsWithTimeout creates a new GetStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStatusParams) SetContext ¶
func (o *GetStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get status params
func (*GetStatusParams) SetHTTPClient ¶
func (o *GetStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get status params
func (*GetStatusParams) SetTimeout ¶
func (o *GetStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get status params
func (*GetStatusParams) WithContext ¶
func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams
WithContext adds the context to the get status params
func (*GetStatusParams) WithHTTPClient ¶
func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams
WithHTTPClient adds the HTTPClient to the get status params
func (*GetStatusParams) WithTimeout ¶
func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams
WithTimeout adds the timeout to the get status params
func (*GetStatusParams) WriteToRequest ¶
func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatusReader ¶
type GetStatusReader struct {
// contains filtered or unexported fields
}
GetStatusReader is a Reader for the GetStatus structure.
func (*GetStatusReader) ReadResponse ¶
func (o *GetStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStatusUnprocessableEntity ¶
type GetStatusUnprocessableEntity struct {
Payload *models.ErrorPayload
}
GetStatusUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetStatusUnprocessableEntity ¶
func NewGetStatusUnprocessableEntity() *GetStatusUnprocessableEntity
NewGetStatusUnprocessableEntity creates a GetStatusUnprocessableEntity with default headers values
func (*GetStatusUnprocessableEntity) Error ¶
func (o *GetStatusUnprocessableEntity) Error() string
func (*GetStatusUnprocessableEntity) GetPayload ¶
func (o *GetStatusUnprocessableEntity) GetPayload() *models.ErrorPayload