Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GlowReminderInternalServerError
- func (o *GlowReminderInternalServerError) Code() int
- func (o *GlowReminderInternalServerError) Error() string
- func (o *GlowReminderInternalServerError) IsClientError() bool
- func (o *GlowReminderInternalServerError) IsCode(code int) bool
- func (o *GlowReminderInternalServerError) IsRedirect() bool
- func (o *GlowReminderInternalServerError) IsServerError() bool
- func (o *GlowReminderInternalServerError) IsSuccess() bool
- func (o *GlowReminderInternalServerError) String() string
- type GlowReminderOK
- func (o *GlowReminderOK) Code() int
- func (o *GlowReminderOK) Error() string
- func (o *GlowReminderOK) IsClientError() bool
- func (o *GlowReminderOK) IsCode(code int) bool
- func (o *GlowReminderOK) IsRedirect() bool
- func (o *GlowReminderOK) IsServerError() bool
- func (o *GlowReminderOK) IsSuccess() bool
- func (o *GlowReminderOK) String() string
- type GlowReminderParams
- func (o *GlowReminderParams) SetBody(body *models.GlowReminder)
- func (o *GlowReminderParams) SetContext(ctx context.Context)
- func (o *GlowReminderParams) SetDefaults()
- func (o *GlowReminderParams) SetHTTPClient(client *http.Client)
- func (o *GlowReminderParams) SetTimeout(timeout time.Duration)
- func (o *GlowReminderParams) WithBody(body *models.GlowReminder) *GlowReminderParams
- func (o *GlowReminderParams) WithContext(ctx context.Context) *GlowReminderParams
- func (o *GlowReminderParams) WithDefaults() *GlowReminderParams
- func (o *GlowReminderParams) WithHTTPClient(client *http.Client) *GlowReminderParams
- func (o *GlowReminderParams) WithTimeout(timeout time.Duration) *GlowReminderParams
- func (o *GlowReminderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GlowReminderReader
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 operations API
func (*Client) GlowReminder ¶
func (a *Client) GlowReminder(params *GlowReminderParams, opts ...ClientOption) (*GlowReminderOK, error)
GlowReminder adds a glow reminder
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
GlowReminder(params *GlowReminderParams, opts ...ClientOption) (*GlowReminderOK, 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 operations API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new operations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GlowReminderInternalServerError ¶
type GlowReminderInternalServerError struct {
}
GlowReminderInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGlowReminderInternalServerError ¶
func NewGlowReminderInternalServerError() *GlowReminderInternalServerError
NewGlowReminderInternalServerError creates a GlowReminderInternalServerError with default headers values
func (*GlowReminderInternalServerError) Code ¶
func (o *GlowReminderInternalServerError) Code() int
Code gets the status code for the glow reminder internal server error response
func (*GlowReminderInternalServerError) Error ¶
func (o *GlowReminderInternalServerError) Error() string
func (*GlowReminderInternalServerError) IsClientError ¶
func (o *GlowReminderInternalServerError) IsClientError() bool
IsClientError returns true when this glow reminder internal server error response has a 4xx status code
func (*GlowReminderInternalServerError) IsCode ¶
func (o *GlowReminderInternalServerError) IsCode(code int) bool
IsCode returns true when this glow reminder internal server error response a status code equal to that given
func (*GlowReminderInternalServerError) IsRedirect ¶
func (o *GlowReminderInternalServerError) IsRedirect() bool
IsRedirect returns true when this glow reminder internal server error response has a 3xx status code
func (*GlowReminderInternalServerError) IsServerError ¶
func (o *GlowReminderInternalServerError) IsServerError() bool
IsServerError returns true when this glow reminder internal server error response has a 5xx status code
func (*GlowReminderInternalServerError) IsSuccess ¶
func (o *GlowReminderInternalServerError) IsSuccess() bool
IsSuccess returns true when this glow reminder internal server error response has a 2xx status code
func (*GlowReminderInternalServerError) String ¶
func (o *GlowReminderInternalServerError) String() string
type GlowReminderOK ¶
type GlowReminderOK struct {
}
GlowReminderOK describes a response with status code 200, with default header values.
successful operation
func NewGlowReminderOK ¶
func NewGlowReminderOK() *GlowReminderOK
NewGlowReminderOK creates a GlowReminderOK with default headers values
func (*GlowReminderOK) Code ¶
func (o *GlowReminderOK) Code() int
Code gets the status code for the glow reminder o k response
func (*GlowReminderOK) Error ¶
func (o *GlowReminderOK) Error() string
func (*GlowReminderOK) IsClientError ¶
func (o *GlowReminderOK) IsClientError() bool
IsClientError returns true when this glow reminder o k response has a 4xx status code
func (*GlowReminderOK) IsCode ¶
func (o *GlowReminderOK) IsCode(code int) bool
IsCode returns true when this glow reminder o k response a status code equal to that given
func (*GlowReminderOK) IsRedirect ¶
func (o *GlowReminderOK) IsRedirect() bool
IsRedirect returns true when this glow reminder o k response has a 3xx status code
func (*GlowReminderOK) IsServerError ¶
func (o *GlowReminderOK) IsServerError() bool
IsServerError returns true when this glow reminder o k response has a 5xx status code
func (*GlowReminderOK) IsSuccess ¶
func (o *GlowReminderOK) IsSuccess() bool
IsSuccess returns true when this glow reminder o k response has a 2xx status code
func (*GlowReminderOK) String ¶
func (o *GlowReminderOK) String() string
type GlowReminderParams ¶
type GlowReminderParams struct {
/* Body.
Glow Reminder object
*/
Body *models.GlowReminder
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GlowReminderParams contains all the parameters to send to the API endpoint
for the glow reminder operation. Typically these are written to a http.Request.
func NewGlowReminderParams ¶
func NewGlowReminderParams() *GlowReminderParams
NewGlowReminderParams creates a new GlowReminderParams 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 NewGlowReminderParamsWithContext ¶
func NewGlowReminderParamsWithContext(ctx context.Context) *GlowReminderParams
NewGlowReminderParamsWithContext creates a new GlowReminderParams object with the ability to set a context for a request.
func NewGlowReminderParamsWithHTTPClient ¶
func NewGlowReminderParamsWithHTTPClient(client *http.Client) *GlowReminderParams
NewGlowReminderParamsWithHTTPClient creates a new GlowReminderParams object with the ability to set a custom HTTPClient for a request.
func NewGlowReminderParamsWithTimeout ¶
func NewGlowReminderParamsWithTimeout(timeout time.Duration) *GlowReminderParams
NewGlowReminderParamsWithTimeout creates a new GlowReminderParams object with the ability to set a timeout on a request.
func (*GlowReminderParams) SetBody ¶
func (o *GlowReminderParams) SetBody(body *models.GlowReminder)
SetBody adds the body to the glow reminder params
func (*GlowReminderParams) SetContext ¶
func (o *GlowReminderParams) SetContext(ctx context.Context)
SetContext adds the context to the glow reminder params
func (*GlowReminderParams) SetDefaults ¶
func (o *GlowReminderParams) SetDefaults()
SetDefaults hydrates default values in the glow reminder params (not the query body).
All values with no default are reset to their zero value.
func (*GlowReminderParams) SetHTTPClient ¶
func (o *GlowReminderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the glow reminder params
func (*GlowReminderParams) SetTimeout ¶
func (o *GlowReminderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the glow reminder params
func (*GlowReminderParams) WithBody ¶
func (o *GlowReminderParams) WithBody(body *models.GlowReminder) *GlowReminderParams
WithBody adds the body to the glow reminder params
func (*GlowReminderParams) WithContext ¶
func (o *GlowReminderParams) WithContext(ctx context.Context) *GlowReminderParams
WithContext adds the context to the glow reminder params
func (*GlowReminderParams) WithDefaults ¶
func (o *GlowReminderParams) WithDefaults() *GlowReminderParams
WithDefaults hydrates default values in the glow reminder params (not the query body).
All values with no default are reset to their zero value.
func (*GlowReminderParams) WithHTTPClient ¶
func (o *GlowReminderParams) WithHTTPClient(client *http.Client) *GlowReminderParams
WithHTTPClient adds the HTTPClient to the glow reminder params
func (*GlowReminderParams) WithTimeout ¶
func (o *GlowReminderParams) WithTimeout(timeout time.Duration) *GlowReminderParams
WithTimeout adds the timeout to the glow reminder params
func (*GlowReminderParams) WriteToRequest ¶
func (o *GlowReminderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GlowReminderReader ¶
type GlowReminderReader struct {
// contains filtered or unexported fields
}
GlowReminderReader is a Reader for the GlowReminder structure.
func (*GlowReminderReader) ReadResponse ¶
func (o *GlowReminderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.