Documentation
¶
Index ¶
- type Client
- func (a *Client) DeletePoolStore(params *DeletePoolStoreParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) ExportPoolStore(params *ExportPoolStoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportPoolStoreOK, error)
- func (a *Client) GetStoreStatus(params *GetStoreStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetStoreStatusOK, error)
- func (a *Client) ImportPoolStore(params *ImportPoolStoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportPoolStoreOK, error)
- func (a *Client) SetLock(params *SetLockParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetLockOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeletePoolStoreInternalServerError
- type DeletePoolStoreNotFound
- type DeletePoolStoreParams
- func NewDeletePoolStoreParams() *DeletePoolStoreParams
- func NewDeletePoolStoreParamsWithContext(ctx context.Context) *DeletePoolStoreParams
- func NewDeletePoolStoreParamsWithHTTPClient(client *http.Client) *DeletePoolStoreParams
- func NewDeletePoolStoreParamsWithTimeout(timeout time.Duration) *DeletePoolStoreParams
- func (o *DeletePoolStoreParams) SetContext(ctx context.Context)
- func (o *DeletePoolStoreParams) SetDefaults()
- func (o *DeletePoolStoreParams) SetHTTPClient(client *http.Client)
- func (o *DeletePoolStoreParams) SetTimeout(timeout time.Duration)
- func (o *DeletePoolStoreParams) WithContext(ctx context.Context) *DeletePoolStoreParams
- func (o *DeletePoolStoreParams) WithDefaults() *DeletePoolStoreParams
- func (o *DeletePoolStoreParams) WithHTTPClient(client *http.Client) *DeletePoolStoreParams
- func (o *DeletePoolStoreParams) WithTimeout(timeout time.Duration) *DeletePoolStoreParams
- func (o *DeletePoolStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePoolStoreReader
- type DeletePoolStoreUnauthorized
- type ExportPoolStoreInternalServerError
- type ExportPoolStoreOK
- type ExportPoolStoreParams
- func NewExportPoolStoreParams() *ExportPoolStoreParams
- func NewExportPoolStoreParamsWithContext(ctx context.Context) *ExportPoolStoreParams
- func NewExportPoolStoreParamsWithHTTPClient(client *http.Client) *ExportPoolStoreParams
- func NewExportPoolStoreParamsWithTimeout(timeout time.Duration) *ExportPoolStoreParams
- func (o *ExportPoolStoreParams) SetContext(ctx context.Context)
- func (o *ExportPoolStoreParams) SetDefaults()
- func (o *ExportPoolStoreParams) SetHTTPClient(client *http.Client)
- func (o *ExportPoolStoreParams) SetTimeout(timeout time.Duration)
- func (o *ExportPoolStoreParams) WithContext(ctx context.Context) *ExportPoolStoreParams
- func (o *ExportPoolStoreParams) WithDefaults() *ExportPoolStoreParams
- func (o *ExportPoolStoreParams) WithHTTPClient(client *http.Client) *ExportPoolStoreParams
- func (o *ExportPoolStoreParams) WithTimeout(timeout time.Duration) *ExportPoolStoreParams
- func (o *ExportPoolStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportPoolStoreReader
- type ExportPoolStoreUnauthorized
- type GetStoreStatusInternalServerError
- type GetStoreStatusOK
- type GetStoreStatusParams
- func NewGetStoreStatusParams() *GetStoreStatusParams
- func NewGetStoreStatusParamsWithContext(ctx context.Context) *GetStoreStatusParams
- func NewGetStoreStatusParamsWithHTTPClient(client *http.Client) *GetStoreStatusParams
- func NewGetStoreStatusParamsWithTimeout(timeout time.Duration) *GetStoreStatusParams
- func (o *GetStoreStatusParams) SetContext(ctx context.Context)
- func (o *GetStoreStatusParams) SetDefaults()
- func (o *GetStoreStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetStoreStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetStoreStatusParams) WithContext(ctx context.Context) *GetStoreStatusParams
- func (o *GetStoreStatusParams) WithDefaults() *GetStoreStatusParams
- func (o *GetStoreStatusParams) WithHTTPClient(client *http.Client) *GetStoreStatusParams
- func (o *GetStoreStatusParams) WithTimeout(timeout time.Duration) *GetStoreStatusParams
- func (o *GetStoreStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStoreStatusReader
- type GetStoreStatusUnauthorized
- type ImportPoolStoreInternalServerError
- type ImportPoolStoreOK
- type ImportPoolStoreParams
- func NewImportPoolStoreParams() *ImportPoolStoreParams
- func NewImportPoolStoreParamsWithContext(ctx context.Context) *ImportPoolStoreParams
- func NewImportPoolStoreParamsWithHTTPClient(client *http.Client) *ImportPoolStoreParams
- func NewImportPoolStoreParamsWithTimeout(timeout time.Duration) *ImportPoolStoreParams
- func (o *ImportPoolStoreParams) SetContext(ctx context.Context)
- func (o *ImportPoolStoreParams) SetDefaults()
- func (o *ImportPoolStoreParams) SetHTTPClient(client *http.Client)
- func (o *ImportPoolStoreParams) SetPoolstore(poolstore *models.Poolstore)
- func (o *ImportPoolStoreParams) SetTimeout(timeout time.Duration)
- func (o *ImportPoolStoreParams) WithContext(ctx context.Context) *ImportPoolStoreParams
- func (o *ImportPoolStoreParams) WithDefaults() *ImportPoolStoreParams
- func (o *ImportPoolStoreParams) WithHTTPClient(client *http.Client) *ImportPoolStoreParams
- func (o *ImportPoolStoreParams) WithPoolstore(poolstore *models.Poolstore) *ImportPoolStoreParams
- func (o *ImportPoolStoreParams) WithTimeout(timeout time.Duration) *ImportPoolStoreParams
- func (o *ImportPoolStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportPoolStoreReader
- type ImportPoolStoreUnauthorized
- type SetLockInternalServerError
- type SetLockOK
- type SetLockParams
- func (o *SetLockParams) SetContext(ctx context.Context)
- func (o *SetLockParams) SetDefaults()
- func (o *SetLockParams) SetHTTPClient(client *http.Client)
- func (o *SetLockParams) SetLock(lock bool)
- func (o *SetLockParams) SetMsg(msg *string)
- func (o *SetLockParams) SetTimeout(timeout time.Duration)
- func (o *SetLockParams) WithContext(ctx context.Context) *SetLockParams
- func (o *SetLockParams) WithDefaults() *SetLockParams
- func (o *SetLockParams) WithHTTPClient(client *http.Client) *SetLockParams
- func (o *SetLockParams) WithLock(lock bool) *SetLockParams
- func (o *SetLockParams) WithMsg(msg *string) *SetLockParams
- func (o *SetLockParams) WithTimeout(timeout time.Duration) *SetLockParams
- func (o *SetLockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetLockReader
- type SetLockUnauthorized
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 admin API
func (*Client) DeletePoolStore ¶
func (a *Client) DeletePoolStore(params *DeletePoolStoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeletePoolStore deletes current state
Delete the contents of the pool store including bookings
func (*Client) ExportPoolStore ¶
func (a *Client) ExportPoolStore(params *ExportPoolStoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportPoolStoreOK, error)
ExportPoolStore exports current state
Export the current pool store including bookings
func (*Client) GetStoreStatus ¶
func (a *Client) GetStoreStatus(params *GetStoreStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStoreStatusOK, error)
GetStoreStatus gets current status
Get the current status (number of groups, pools, bookings, time til last booking finished etc)
func (*Client) ImportPoolStore ¶
func (a *Client) ImportPoolStore(params *ImportPoolStoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportPoolStoreOK, error)
ImportPoolStore imports new current state
Import a new pool store including bookings
func (*Client) SetLock ¶
func (a *Client) SetLock(params *SetLockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetLockOK, error)
SetLock sets release booking lock
Set whether the bookings are locked or not
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 is the option for Client methods
type ClientService ¶
type ClientService interface {
DeletePoolStore(params *DeletePoolStoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
ExportPoolStore(params *ExportPoolStoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportPoolStoreOK, error)
GetStoreStatus(params *GetStoreStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStoreStatusOK, error)
ImportPoolStore(params *ImportPoolStoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportPoolStoreOK, error)
SetLock(params *SetLockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetLockOK, 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 admin API client.
type DeletePoolStoreInternalServerError ¶
type DeletePoolStoreInternalServerError struct {
Payload interface{}
}
DeletePoolStoreInternalServerError describes a response with status code 500, with default header values.
DeletePoolStoreInternalServerError delete pool store internal server error
func NewDeletePoolStoreInternalServerError ¶
func NewDeletePoolStoreInternalServerError() *DeletePoolStoreInternalServerError
NewDeletePoolStoreInternalServerError creates a DeletePoolStoreInternalServerError with default headers values
func (*DeletePoolStoreInternalServerError) Error ¶
func (o *DeletePoolStoreInternalServerError) Error() string
func (*DeletePoolStoreInternalServerError) GetPayload ¶
func (o *DeletePoolStoreInternalServerError) GetPayload() interface{}
type DeletePoolStoreNotFound ¶
type DeletePoolStoreNotFound struct {
Payload interface{}
}
DeletePoolStoreNotFound describes a response with status code 404, with default header values.
Unauthorized
func NewDeletePoolStoreNotFound ¶
func NewDeletePoolStoreNotFound() *DeletePoolStoreNotFound
NewDeletePoolStoreNotFound creates a DeletePoolStoreNotFound with default headers values
func (*DeletePoolStoreNotFound) Error ¶
func (o *DeletePoolStoreNotFound) Error() string
func (*DeletePoolStoreNotFound) GetPayload ¶
func (o *DeletePoolStoreNotFound) GetPayload() interface{}
type DeletePoolStoreParams ¶
type DeletePoolStoreParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeletePoolStoreParams contains all the parameters to send to the API endpoint
for the delete pool store operation. Typically these are written to a http.Request.
func NewDeletePoolStoreParams ¶
func NewDeletePoolStoreParams() *DeletePoolStoreParams
NewDeletePoolStoreParams creates a new DeletePoolStoreParams 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 NewDeletePoolStoreParamsWithContext ¶
func NewDeletePoolStoreParamsWithContext(ctx context.Context) *DeletePoolStoreParams
NewDeletePoolStoreParamsWithContext creates a new DeletePoolStoreParams object with the ability to set a context for a request.
func NewDeletePoolStoreParamsWithHTTPClient ¶
func NewDeletePoolStoreParamsWithHTTPClient(client *http.Client) *DeletePoolStoreParams
NewDeletePoolStoreParamsWithHTTPClient creates a new DeletePoolStoreParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePoolStoreParamsWithTimeout ¶
func NewDeletePoolStoreParamsWithTimeout(timeout time.Duration) *DeletePoolStoreParams
NewDeletePoolStoreParamsWithTimeout creates a new DeletePoolStoreParams object with the ability to set a timeout on a request.
func (*DeletePoolStoreParams) SetContext ¶
func (o *DeletePoolStoreParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pool store params
func (*DeletePoolStoreParams) SetDefaults ¶
func (o *DeletePoolStoreParams) SetDefaults()
SetDefaults hydrates default values in the delete pool store params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePoolStoreParams) SetHTTPClient ¶
func (o *DeletePoolStoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pool store params
func (*DeletePoolStoreParams) SetTimeout ¶
func (o *DeletePoolStoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pool store params
func (*DeletePoolStoreParams) WithContext ¶
func (o *DeletePoolStoreParams) WithContext(ctx context.Context) *DeletePoolStoreParams
WithContext adds the context to the delete pool store params
func (*DeletePoolStoreParams) WithDefaults ¶
func (o *DeletePoolStoreParams) WithDefaults() *DeletePoolStoreParams
WithDefaults hydrates default values in the delete pool store params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePoolStoreParams) WithHTTPClient ¶
func (o *DeletePoolStoreParams) WithHTTPClient(client *http.Client) *DeletePoolStoreParams
WithHTTPClient adds the HTTPClient to the delete pool store params
func (*DeletePoolStoreParams) WithTimeout ¶
func (o *DeletePoolStoreParams) WithTimeout(timeout time.Duration) *DeletePoolStoreParams
WithTimeout adds the timeout to the delete pool store params
func (*DeletePoolStoreParams) WriteToRequest ¶
func (o *DeletePoolStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePoolStoreReader ¶
type DeletePoolStoreReader struct {
// contains filtered or unexported fields
}
DeletePoolStoreReader is a Reader for the DeletePoolStore structure.
func (*DeletePoolStoreReader) ReadResponse ¶
func (o *DeletePoolStoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePoolStoreUnauthorized ¶
type DeletePoolStoreUnauthorized struct {
}
DeletePoolStoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeletePoolStoreUnauthorized ¶
func NewDeletePoolStoreUnauthorized() *DeletePoolStoreUnauthorized
NewDeletePoolStoreUnauthorized creates a DeletePoolStoreUnauthorized with default headers values
func (*DeletePoolStoreUnauthorized) Error ¶
func (o *DeletePoolStoreUnauthorized) Error() string
func (*DeletePoolStoreUnauthorized) GetPayload ¶
func (o *DeletePoolStoreUnauthorized) GetPayload() interface{}
type ExportPoolStoreInternalServerError ¶
type ExportPoolStoreInternalServerError struct {
Payload interface{}
}
ExportPoolStoreInternalServerError describes a response with status code 500, with default header values.
ExportPoolStoreInternalServerError export pool store internal server error
func NewExportPoolStoreInternalServerError ¶
func NewExportPoolStoreInternalServerError() *ExportPoolStoreInternalServerError
NewExportPoolStoreInternalServerError creates a ExportPoolStoreInternalServerError with default headers values
func (*ExportPoolStoreInternalServerError) Error ¶
func (o *ExportPoolStoreInternalServerError) Error() string
func (*ExportPoolStoreInternalServerError) GetPayload ¶
func (o *ExportPoolStoreInternalServerError) GetPayload() interface{}
type ExportPoolStoreOK ¶
ExportPoolStoreOK describes a response with status code 200, with default header values.
ExportPoolStoreOK export pool store o k
func NewExportPoolStoreOK ¶
func NewExportPoolStoreOK() *ExportPoolStoreOK
NewExportPoolStoreOK creates a ExportPoolStoreOK with default headers values
func (*ExportPoolStoreOK) Error ¶
func (o *ExportPoolStoreOK) Error() string
func (*ExportPoolStoreOK) GetPayload ¶
func (o *ExportPoolStoreOK) GetPayload() *models.Poolstore
type ExportPoolStoreParams ¶
type ExportPoolStoreParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExportPoolStoreParams contains all the parameters to send to the API endpoint
for the export pool store operation. Typically these are written to a http.Request.
func NewExportPoolStoreParams ¶
func NewExportPoolStoreParams() *ExportPoolStoreParams
NewExportPoolStoreParams creates a new ExportPoolStoreParams 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 NewExportPoolStoreParamsWithContext ¶
func NewExportPoolStoreParamsWithContext(ctx context.Context) *ExportPoolStoreParams
NewExportPoolStoreParamsWithContext creates a new ExportPoolStoreParams object with the ability to set a context for a request.
func NewExportPoolStoreParamsWithHTTPClient ¶
func NewExportPoolStoreParamsWithHTTPClient(client *http.Client) *ExportPoolStoreParams
NewExportPoolStoreParamsWithHTTPClient creates a new ExportPoolStoreParams object with the ability to set a custom HTTPClient for a request.
func NewExportPoolStoreParamsWithTimeout ¶
func NewExportPoolStoreParamsWithTimeout(timeout time.Duration) *ExportPoolStoreParams
NewExportPoolStoreParamsWithTimeout creates a new ExportPoolStoreParams object with the ability to set a timeout on a request.
func (*ExportPoolStoreParams) SetContext ¶
func (o *ExportPoolStoreParams) SetContext(ctx context.Context)
SetContext adds the context to the export pool store params
func (*ExportPoolStoreParams) SetDefaults ¶
func (o *ExportPoolStoreParams) SetDefaults()
SetDefaults hydrates default values in the export pool store params (not the query body).
All values with no default are reset to their zero value.
func (*ExportPoolStoreParams) SetHTTPClient ¶
func (o *ExportPoolStoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export pool store params
func (*ExportPoolStoreParams) SetTimeout ¶
func (o *ExportPoolStoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export pool store params
func (*ExportPoolStoreParams) WithContext ¶
func (o *ExportPoolStoreParams) WithContext(ctx context.Context) *ExportPoolStoreParams
WithContext adds the context to the export pool store params
func (*ExportPoolStoreParams) WithDefaults ¶
func (o *ExportPoolStoreParams) WithDefaults() *ExportPoolStoreParams
WithDefaults hydrates default values in the export pool store params (not the query body).
All values with no default are reset to their zero value.
func (*ExportPoolStoreParams) WithHTTPClient ¶
func (o *ExportPoolStoreParams) WithHTTPClient(client *http.Client) *ExportPoolStoreParams
WithHTTPClient adds the HTTPClient to the export pool store params
func (*ExportPoolStoreParams) WithTimeout ¶
func (o *ExportPoolStoreParams) WithTimeout(timeout time.Duration) *ExportPoolStoreParams
WithTimeout adds the timeout to the export pool store params
func (*ExportPoolStoreParams) WriteToRequest ¶
func (o *ExportPoolStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportPoolStoreReader ¶
type ExportPoolStoreReader struct {
// contains filtered or unexported fields
}
ExportPoolStoreReader is a Reader for the ExportPoolStore structure.
func (*ExportPoolStoreReader) ReadResponse ¶
func (o *ExportPoolStoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportPoolStoreUnauthorized ¶
type ExportPoolStoreUnauthorized struct {
}
ExportPoolStoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewExportPoolStoreUnauthorized ¶
func NewExportPoolStoreUnauthorized() *ExportPoolStoreUnauthorized
NewExportPoolStoreUnauthorized creates a ExportPoolStoreUnauthorized with default headers values
func (*ExportPoolStoreUnauthorized) Error ¶
func (o *ExportPoolStoreUnauthorized) Error() string
func (*ExportPoolStoreUnauthorized) GetPayload ¶
func (o *ExportPoolStoreUnauthorized) GetPayload() interface{}
type GetStoreStatusInternalServerError ¶
type GetStoreStatusInternalServerError struct {
Payload interface{}
}
GetStoreStatusInternalServerError describes a response with status code 500, with default header values.
GetStoreStatusInternalServerError get store status internal server error
func NewGetStoreStatusInternalServerError ¶
func NewGetStoreStatusInternalServerError() *GetStoreStatusInternalServerError
NewGetStoreStatusInternalServerError creates a GetStoreStatusInternalServerError with default headers values
func (*GetStoreStatusInternalServerError) Error ¶
func (o *GetStoreStatusInternalServerError) Error() string
func (*GetStoreStatusInternalServerError) GetPayload ¶
func (o *GetStoreStatusInternalServerError) GetPayload() interface{}
type GetStoreStatusOK ¶
type GetStoreStatusOK struct {
Payload *models.StoreStatus
}
GetStoreStatusOK describes a response with status code 200, with default header values.
GetStoreStatusOK get store status o k
func NewGetStoreStatusOK ¶
func NewGetStoreStatusOK() *GetStoreStatusOK
NewGetStoreStatusOK creates a GetStoreStatusOK with default headers values
func (*GetStoreStatusOK) Error ¶
func (o *GetStoreStatusOK) Error() string
func (*GetStoreStatusOK) GetPayload ¶
func (o *GetStoreStatusOK) GetPayload() *models.StoreStatus
type GetStoreStatusParams ¶
type GetStoreStatusParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetStoreStatusParams contains all the parameters to send to the API endpoint
for the get store status operation. Typically these are written to a http.Request.
func NewGetStoreStatusParams ¶
func NewGetStoreStatusParams() *GetStoreStatusParams
NewGetStoreStatusParams creates a new GetStoreStatusParams 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 NewGetStoreStatusParamsWithContext ¶
func NewGetStoreStatusParamsWithContext(ctx context.Context) *GetStoreStatusParams
NewGetStoreStatusParamsWithContext creates a new GetStoreStatusParams object with the ability to set a context for a request.
func NewGetStoreStatusParamsWithHTTPClient ¶
func NewGetStoreStatusParamsWithHTTPClient(client *http.Client) *GetStoreStatusParams
NewGetStoreStatusParamsWithHTTPClient creates a new GetStoreStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetStoreStatusParamsWithTimeout ¶
func NewGetStoreStatusParamsWithTimeout(timeout time.Duration) *GetStoreStatusParams
NewGetStoreStatusParamsWithTimeout creates a new GetStoreStatusParams object with the ability to set a timeout on a request.
func (*GetStoreStatusParams) SetContext ¶
func (o *GetStoreStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get store status params
func (*GetStoreStatusParams) SetDefaults ¶
func (o *GetStoreStatusParams) SetDefaults()
SetDefaults hydrates default values in the get store status params (not the query body).
All values with no default are reset to their zero value.
func (*GetStoreStatusParams) SetHTTPClient ¶
func (o *GetStoreStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get store status params
func (*GetStoreStatusParams) SetTimeout ¶
func (o *GetStoreStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get store status params
func (*GetStoreStatusParams) WithContext ¶
func (o *GetStoreStatusParams) WithContext(ctx context.Context) *GetStoreStatusParams
WithContext adds the context to the get store status params
func (*GetStoreStatusParams) WithDefaults ¶
func (o *GetStoreStatusParams) WithDefaults() *GetStoreStatusParams
WithDefaults hydrates default values in the get store status params (not the query body).
All values with no default are reset to their zero value.
func (*GetStoreStatusParams) WithHTTPClient ¶
func (o *GetStoreStatusParams) WithHTTPClient(client *http.Client) *GetStoreStatusParams
WithHTTPClient adds the HTTPClient to the get store status params
func (*GetStoreStatusParams) WithTimeout ¶
func (o *GetStoreStatusParams) WithTimeout(timeout time.Duration) *GetStoreStatusParams
WithTimeout adds the timeout to the get store status params
func (*GetStoreStatusParams) WriteToRequest ¶
func (o *GetStoreStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStoreStatusReader ¶
type GetStoreStatusReader struct {
// contains filtered or unexported fields
}
GetStoreStatusReader is a Reader for the GetStoreStatus structure.
func (*GetStoreStatusReader) ReadResponse ¶
func (o *GetStoreStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStoreStatusUnauthorized ¶
type GetStoreStatusUnauthorized struct {
}
GetStoreStatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetStoreStatusUnauthorized ¶
func NewGetStoreStatusUnauthorized() *GetStoreStatusUnauthorized
NewGetStoreStatusUnauthorized creates a GetStoreStatusUnauthorized with default headers values
func (*GetStoreStatusUnauthorized) Error ¶
func (o *GetStoreStatusUnauthorized) Error() string
func (*GetStoreStatusUnauthorized) GetPayload ¶
func (o *GetStoreStatusUnauthorized) GetPayload() interface{}
type ImportPoolStoreInternalServerError ¶
type ImportPoolStoreInternalServerError struct {
Payload interface{}
}
ImportPoolStoreInternalServerError describes a response with status code 500, with default header values.
ImportPoolStoreInternalServerError import pool store internal server error
func NewImportPoolStoreInternalServerError ¶
func NewImportPoolStoreInternalServerError() *ImportPoolStoreInternalServerError
NewImportPoolStoreInternalServerError creates a ImportPoolStoreInternalServerError with default headers values
func (*ImportPoolStoreInternalServerError) Error ¶
func (o *ImportPoolStoreInternalServerError) Error() string
func (*ImportPoolStoreInternalServerError) GetPayload ¶
func (o *ImportPoolStoreInternalServerError) GetPayload() interface{}
type ImportPoolStoreOK ¶
type ImportPoolStoreOK struct {
Payload *models.StoreStatus
}
ImportPoolStoreOK describes a response with status code 200, with default header values.
ImportPoolStoreOK import pool store o k
func NewImportPoolStoreOK ¶
func NewImportPoolStoreOK() *ImportPoolStoreOK
NewImportPoolStoreOK creates a ImportPoolStoreOK with default headers values
func (*ImportPoolStoreOK) Error ¶
func (o *ImportPoolStoreOK) Error() string
func (*ImportPoolStoreOK) GetPayload ¶
func (o *ImportPoolStoreOK) GetPayload() *models.StoreStatus
type ImportPoolStoreParams ¶
type ImportPoolStoreParams struct {
// Poolstore.
Poolstore *models.Poolstore
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ImportPoolStoreParams contains all the parameters to send to the API endpoint
for the import pool store operation. Typically these are written to a http.Request.
func NewImportPoolStoreParams ¶
func NewImportPoolStoreParams() *ImportPoolStoreParams
NewImportPoolStoreParams creates a new ImportPoolStoreParams 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 NewImportPoolStoreParamsWithContext ¶
func NewImportPoolStoreParamsWithContext(ctx context.Context) *ImportPoolStoreParams
NewImportPoolStoreParamsWithContext creates a new ImportPoolStoreParams object with the ability to set a context for a request.
func NewImportPoolStoreParamsWithHTTPClient ¶
func NewImportPoolStoreParamsWithHTTPClient(client *http.Client) *ImportPoolStoreParams
NewImportPoolStoreParamsWithHTTPClient creates a new ImportPoolStoreParams object with the ability to set a custom HTTPClient for a request.
func NewImportPoolStoreParamsWithTimeout ¶
func NewImportPoolStoreParamsWithTimeout(timeout time.Duration) *ImportPoolStoreParams
NewImportPoolStoreParamsWithTimeout creates a new ImportPoolStoreParams object with the ability to set a timeout on a request.
func (*ImportPoolStoreParams) SetContext ¶
func (o *ImportPoolStoreParams) SetContext(ctx context.Context)
SetContext adds the context to the import pool store params
func (*ImportPoolStoreParams) SetDefaults ¶
func (o *ImportPoolStoreParams) SetDefaults()
SetDefaults hydrates default values in the import pool store params (not the query body).
All values with no default are reset to their zero value.
func (*ImportPoolStoreParams) SetHTTPClient ¶
func (o *ImportPoolStoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import pool store params
func (*ImportPoolStoreParams) SetPoolstore ¶
func (o *ImportPoolStoreParams) SetPoolstore(poolstore *models.Poolstore)
SetPoolstore adds the poolstore to the import pool store params
func (*ImportPoolStoreParams) SetTimeout ¶
func (o *ImportPoolStoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import pool store params
func (*ImportPoolStoreParams) WithContext ¶
func (o *ImportPoolStoreParams) WithContext(ctx context.Context) *ImportPoolStoreParams
WithContext adds the context to the import pool store params
func (*ImportPoolStoreParams) WithDefaults ¶
func (o *ImportPoolStoreParams) WithDefaults() *ImportPoolStoreParams
WithDefaults hydrates default values in the import pool store params (not the query body).
All values with no default are reset to their zero value.
func (*ImportPoolStoreParams) WithHTTPClient ¶
func (o *ImportPoolStoreParams) WithHTTPClient(client *http.Client) *ImportPoolStoreParams
WithHTTPClient adds the HTTPClient to the import pool store params
func (*ImportPoolStoreParams) WithPoolstore ¶
func (o *ImportPoolStoreParams) WithPoolstore(poolstore *models.Poolstore) *ImportPoolStoreParams
WithPoolstore adds the poolstore to the import pool store params
func (*ImportPoolStoreParams) WithTimeout ¶
func (o *ImportPoolStoreParams) WithTimeout(timeout time.Duration) *ImportPoolStoreParams
WithTimeout adds the timeout to the import pool store params
func (*ImportPoolStoreParams) WriteToRequest ¶
func (o *ImportPoolStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportPoolStoreReader ¶
type ImportPoolStoreReader struct {
// contains filtered or unexported fields
}
ImportPoolStoreReader is a Reader for the ImportPoolStore structure.
func (*ImportPoolStoreReader) ReadResponse ¶
func (o *ImportPoolStoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportPoolStoreUnauthorized ¶
type ImportPoolStoreUnauthorized struct {
}
ImportPoolStoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewImportPoolStoreUnauthorized ¶
func NewImportPoolStoreUnauthorized() *ImportPoolStoreUnauthorized
NewImportPoolStoreUnauthorized creates a ImportPoolStoreUnauthorized with default headers values
func (*ImportPoolStoreUnauthorized) Error ¶
func (o *ImportPoolStoreUnauthorized) Error() string
func (*ImportPoolStoreUnauthorized) GetPayload ¶
func (o *ImportPoolStoreUnauthorized) GetPayload() interface{}
type SetLockInternalServerError ¶
type SetLockInternalServerError struct {
Payload interface{}
}
SetLockInternalServerError describes a response with status code 500, with default header values.
SetLockInternalServerError set lock internal server error
func NewSetLockInternalServerError ¶
func NewSetLockInternalServerError() *SetLockInternalServerError
NewSetLockInternalServerError creates a SetLockInternalServerError with default headers values
func (*SetLockInternalServerError) Error ¶
func (o *SetLockInternalServerError) Error() string
func (*SetLockInternalServerError) GetPayload ¶
func (o *SetLockInternalServerError) GetPayload() interface{}
type SetLockOK ¶
type SetLockOK struct {
Payload *models.StoreStatus
}
SetLockOK describes a response with status code 200, with default header values.
SetLockOK set lock o k
func NewSetLockOK ¶
func NewSetLockOK() *SetLockOK
NewSetLockOK creates a SetLockOK with default headers values
func (*SetLockOK) GetPayload ¶
func (o *SetLockOK) GetPayload() *models.StoreStatus
type SetLockParams ¶
type SetLockParams struct {
/* Lock.
set booking lock
*/
Lock bool
/* Msg.
set message of the day (use query so it can be seen in server logs)
*/
Msg *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SetLockParams contains all the parameters to send to the API endpoint
for the set lock operation. Typically these are written to a http.Request.
func NewSetLockParams ¶
func NewSetLockParams() *SetLockParams
NewSetLockParams creates a new SetLockParams 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 NewSetLockParamsWithContext ¶
func NewSetLockParamsWithContext(ctx context.Context) *SetLockParams
NewSetLockParamsWithContext creates a new SetLockParams object with the ability to set a context for a request.
func NewSetLockParamsWithHTTPClient ¶
func NewSetLockParamsWithHTTPClient(client *http.Client) *SetLockParams
NewSetLockParamsWithHTTPClient creates a new SetLockParams object with the ability to set a custom HTTPClient for a request.
func NewSetLockParamsWithTimeout ¶
func NewSetLockParamsWithTimeout(timeout time.Duration) *SetLockParams
NewSetLockParamsWithTimeout creates a new SetLockParams object with the ability to set a timeout on a request.
func (*SetLockParams) SetContext ¶
func (o *SetLockParams) SetContext(ctx context.Context)
SetContext adds the context to the set lock params
func (*SetLockParams) SetDefaults ¶
func (o *SetLockParams) SetDefaults()
SetDefaults hydrates default values in the set lock params (not the query body).
All values with no default are reset to their zero value.
func (*SetLockParams) SetHTTPClient ¶
func (o *SetLockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set lock params
func (*SetLockParams) SetLock ¶
func (o *SetLockParams) SetLock(lock bool)
SetLock adds the lock to the set lock params
func (*SetLockParams) SetMsg ¶
func (o *SetLockParams) SetMsg(msg *string)
SetMsg adds the msg to the set lock params
func (*SetLockParams) SetTimeout ¶
func (o *SetLockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set lock params
func (*SetLockParams) WithContext ¶
func (o *SetLockParams) WithContext(ctx context.Context) *SetLockParams
WithContext adds the context to the set lock params
func (*SetLockParams) WithDefaults ¶
func (o *SetLockParams) WithDefaults() *SetLockParams
WithDefaults hydrates default values in the set lock params (not the query body).
All values with no default are reset to their zero value.
func (*SetLockParams) WithHTTPClient ¶
func (o *SetLockParams) WithHTTPClient(client *http.Client) *SetLockParams
WithHTTPClient adds the HTTPClient to the set lock params
func (*SetLockParams) WithLock ¶
func (o *SetLockParams) WithLock(lock bool) *SetLockParams
WithLock adds the lock to the set lock params
func (*SetLockParams) WithMsg ¶
func (o *SetLockParams) WithMsg(msg *string) *SetLockParams
WithMsg adds the msg to the set lock params
func (*SetLockParams) WithTimeout ¶
func (o *SetLockParams) WithTimeout(timeout time.Duration) *SetLockParams
WithTimeout adds the timeout to the set lock params
func (*SetLockParams) WriteToRequest ¶
func (o *SetLockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetLockReader ¶
type SetLockReader struct {
// contains filtered or unexported fields
}
SetLockReader is a Reader for the SetLock structure.
func (*SetLockReader) ReadResponse ¶
func (o *SetLockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetLockUnauthorized ¶
type SetLockUnauthorized struct {
}
SetLockUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetLockUnauthorized ¶
func NewSetLockUnauthorized() *SetLockUnauthorized
NewSetLockUnauthorized creates a SetLockUnauthorized with default headers values
func (*SetLockUnauthorized) Error ¶
func (o *SetLockUnauthorized) Error() string
func (*SetLockUnauthorized) GetPayload ¶
func (o *SetLockUnauthorized) GetPayload() interface{}
Source Files
¶
- admin_client.go
- delete_pool_store_parameters.go
- delete_pool_store_responses.go
- export_pool_store_parameters.go
- export_pool_store_responses.go
- get_store_status_parameters.go
- get_store_status_responses.go
- import_pool_store_parameters.go
- import_pool_store_responses.go
- set_lock_parameters.go
- set_lock_responses.go