Documentation
¶
Index ¶
- type CheckManifestInternalServerError
- func (o *CheckManifestInternalServerError) Error() string
- func (o *CheckManifestInternalServerError) GetPayload() *models.Error
- func (o *CheckManifestInternalServerError) IsClientError() bool
- func (o *CheckManifestInternalServerError) IsCode(code int) bool
- func (o *CheckManifestInternalServerError) IsRedirect() bool
- func (o *CheckManifestInternalServerError) IsServerError() bool
- func (o *CheckManifestInternalServerError) IsSuccess() bool
- func (o *CheckManifestInternalServerError) String() string
- type CheckManifestNoContent
- func (o *CheckManifestNoContent) Error() string
- func (o *CheckManifestNoContent) IsClientError() bool
- func (o *CheckManifestNoContent) IsCode(code int) bool
- func (o *CheckManifestNoContent) IsRedirect() bool
- func (o *CheckManifestNoContent) IsServerError() bool
- func (o *CheckManifestNoContent) IsSuccess() bool
- func (o *CheckManifestNoContent) String() string
- type CheckManifestNotFound
- func (o *CheckManifestNotFound) Error() string
- func (o *CheckManifestNotFound) GetPayload() *models.Error
- func (o *CheckManifestNotFound) IsClientError() bool
- func (o *CheckManifestNotFound) IsCode(code int) bool
- func (o *CheckManifestNotFound) IsRedirect() bool
- func (o *CheckManifestNotFound) IsServerError() bool
- func (o *CheckManifestNotFound) IsSuccess() bool
- func (o *CheckManifestNotFound) String() string
- type CheckManifestOK
- func (o *CheckManifestOK) Error() string
- func (o *CheckManifestOK) GetPayload() *models.ErrorList
- func (o *CheckManifestOK) IsClientError() bool
- func (o *CheckManifestOK) IsCode(code int) bool
- func (o *CheckManifestOK) IsRedirect() bool
- func (o *CheckManifestOK) IsServerError() bool
- func (o *CheckManifestOK) IsSuccess() bool
- func (o *CheckManifestOK) String() string
- type CheckManifestParams
- func (o *CheckManifestParams) SetContext(ctx context.Context)
- func (o *CheckManifestParams) SetDefaults()
- func (o *CheckManifestParams) SetHTTPClient(client *http.Client)
- func (o *CheckManifestParams) SetManifest(manifest *models.Manifest)
- func (o *CheckManifestParams) SetTimeout(timeout time.Duration)
- func (o *CheckManifestParams) WithContext(ctx context.Context) *CheckManifestParams
- func (o *CheckManifestParams) WithDefaults() *CheckManifestParams
- func (o *CheckManifestParams) WithHTTPClient(client *http.Client) *CheckManifestParams
- func (o *CheckManifestParams) WithManifest(manifest *models.Manifest) *CheckManifestParams
- func (o *CheckManifestParams) WithTimeout(timeout time.Duration) *CheckManifestParams
- func (o *CheckManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckManifestReader
- type CheckManifestUnauthorized
- func (o *CheckManifestUnauthorized) Error() string
- func (o *CheckManifestUnauthorized) GetPayload() *models.Error
- func (o *CheckManifestUnauthorized) IsClientError() bool
- func (o *CheckManifestUnauthorized) IsCode(code int) bool
- func (o *CheckManifestUnauthorized) IsRedirect() bool
- func (o *CheckManifestUnauthorized) IsServerError() bool
- func (o *CheckManifestUnauthorized) IsSuccess() bool
- func (o *CheckManifestUnauthorized) String() string
- type Client
- func (a *Client) CheckManifest(params *CheckManifestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CheckManifestOK, *CheckManifestNoContent, error)
- func (a *Client) ExportBookings(params *ExportBookingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportBookingsOK, error)
- func (a *Client) ExportManifest(params *ExportManifestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportManifestOK, error)
- func (a *Client) ExportOldBookings(params *ExportOldBookingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportOldBookingsOK, error)
- func (a *Client) ExportUsers(params *ExportUsersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportUsersOK, error)
- func (a *Client) GetResourceIsAvailable(params *GetResourceIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourceIsAvailableOK, error)
- func (a *Client) GetResources(params *GetResourcesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetResourcesOK, error)
- func (a *Client) GetSlotIsAvailable(params *GetSlotIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSlotIsAvailableOK, error)
- func (a *Client) GetStoreStatusAdmin(params *GetStoreStatusAdminParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetStoreStatusAdminOK, error)
- func (a *Client) ReplaceBookings(params *ReplaceBookingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceBookingsOK, error)
- func (a *Client) ReplaceManifest(params *ReplaceManifestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceManifestOK, error)
- func (a *Client) ReplaceOldBookings(params *ReplaceOldBookingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceOldBookingsOK, error)
- func (a *Client) SetLock(params *SetLockParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetLockOK, error)
- func (a *Client) SetResourceIsAvailable(params *SetResourceIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetResourceIsAvailableNoContent, error)
- func (a *Client) SetSlotIsAvailable(params *SetSlotIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetSlotIsAvailableNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ExportBookingsInternalServerError
- func (o *ExportBookingsInternalServerError) Error() string
- func (o *ExportBookingsInternalServerError) GetPayload() *models.Error
- func (o *ExportBookingsInternalServerError) IsClientError() bool
- func (o *ExportBookingsInternalServerError) IsCode(code int) bool
- func (o *ExportBookingsInternalServerError) IsRedirect() bool
- func (o *ExportBookingsInternalServerError) IsServerError() bool
- func (o *ExportBookingsInternalServerError) IsSuccess() bool
- func (o *ExportBookingsInternalServerError) String() string
- type ExportBookingsNotFound
- func (o *ExportBookingsNotFound) Error() string
- func (o *ExportBookingsNotFound) GetPayload() *models.Error
- func (o *ExportBookingsNotFound) IsClientError() bool
- func (o *ExportBookingsNotFound) IsCode(code int) bool
- func (o *ExportBookingsNotFound) IsRedirect() bool
- func (o *ExportBookingsNotFound) IsServerError() bool
- func (o *ExportBookingsNotFound) IsSuccess() bool
- func (o *ExportBookingsNotFound) String() string
- type ExportBookingsOK
- func (o *ExportBookingsOK) Error() string
- func (o *ExportBookingsOK) GetPayload() models.Bookings
- func (o *ExportBookingsOK) IsClientError() bool
- func (o *ExportBookingsOK) IsCode(code int) bool
- func (o *ExportBookingsOK) IsRedirect() bool
- func (o *ExportBookingsOK) IsServerError() bool
- func (o *ExportBookingsOK) IsSuccess() bool
- func (o *ExportBookingsOK) String() string
- type ExportBookingsParams
- func NewExportBookingsParams() *ExportBookingsParams
- func NewExportBookingsParamsWithContext(ctx context.Context) *ExportBookingsParams
- func NewExportBookingsParamsWithHTTPClient(client *http.Client) *ExportBookingsParams
- func NewExportBookingsParamsWithTimeout(timeout time.Duration) *ExportBookingsParams
- func (o *ExportBookingsParams) SetContext(ctx context.Context)
- func (o *ExportBookingsParams) SetDefaults()
- func (o *ExportBookingsParams) SetHTTPClient(client *http.Client)
- func (o *ExportBookingsParams) SetTimeout(timeout time.Duration)
- func (o *ExportBookingsParams) WithContext(ctx context.Context) *ExportBookingsParams
- func (o *ExportBookingsParams) WithDefaults() *ExportBookingsParams
- func (o *ExportBookingsParams) WithHTTPClient(client *http.Client) *ExportBookingsParams
- func (o *ExportBookingsParams) WithTimeout(timeout time.Duration) *ExportBookingsParams
- func (o *ExportBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportBookingsReader
- type ExportBookingsUnauthorized
- func (o *ExportBookingsUnauthorized) Error() string
- func (o *ExportBookingsUnauthorized) GetPayload() *models.Error
- func (o *ExportBookingsUnauthorized) IsClientError() bool
- func (o *ExportBookingsUnauthorized) IsCode(code int) bool
- func (o *ExportBookingsUnauthorized) IsRedirect() bool
- func (o *ExportBookingsUnauthorized) IsServerError() bool
- func (o *ExportBookingsUnauthorized) IsSuccess() bool
- func (o *ExportBookingsUnauthorized) String() string
- type ExportManifestInternalServerError
- func (o *ExportManifestInternalServerError) Error() string
- func (o *ExportManifestInternalServerError) GetPayload() *models.Error
- func (o *ExportManifestInternalServerError) IsClientError() bool
- func (o *ExportManifestInternalServerError) IsCode(code int) bool
- func (o *ExportManifestInternalServerError) IsRedirect() bool
- func (o *ExportManifestInternalServerError) IsServerError() bool
- func (o *ExportManifestInternalServerError) IsSuccess() bool
- func (o *ExportManifestInternalServerError) String() string
- type ExportManifestNotFound
- func (o *ExportManifestNotFound) Error() string
- func (o *ExportManifestNotFound) GetPayload() *models.Error
- func (o *ExportManifestNotFound) IsClientError() bool
- func (o *ExportManifestNotFound) IsCode(code int) bool
- func (o *ExportManifestNotFound) IsRedirect() bool
- func (o *ExportManifestNotFound) IsServerError() bool
- func (o *ExportManifestNotFound) IsSuccess() bool
- func (o *ExportManifestNotFound) String() string
- type ExportManifestOK
- func (o *ExportManifestOK) Error() string
- func (o *ExportManifestOK) GetPayload() *models.Manifest
- func (o *ExportManifestOK) IsClientError() bool
- func (o *ExportManifestOK) IsCode(code int) bool
- func (o *ExportManifestOK) IsRedirect() bool
- func (o *ExportManifestOK) IsServerError() bool
- func (o *ExportManifestOK) IsSuccess() bool
- func (o *ExportManifestOK) String() string
- type ExportManifestParams
- func NewExportManifestParams() *ExportManifestParams
- func NewExportManifestParamsWithContext(ctx context.Context) *ExportManifestParams
- func NewExportManifestParamsWithHTTPClient(client *http.Client) *ExportManifestParams
- func NewExportManifestParamsWithTimeout(timeout time.Duration) *ExportManifestParams
- func (o *ExportManifestParams) SetContext(ctx context.Context)
- func (o *ExportManifestParams) SetDefaults()
- func (o *ExportManifestParams) SetHTTPClient(client *http.Client)
- func (o *ExportManifestParams) SetTimeout(timeout time.Duration)
- func (o *ExportManifestParams) WithContext(ctx context.Context) *ExportManifestParams
- func (o *ExportManifestParams) WithDefaults() *ExportManifestParams
- func (o *ExportManifestParams) WithHTTPClient(client *http.Client) *ExportManifestParams
- func (o *ExportManifestParams) WithTimeout(timeout time.Duration) *ExportManifestParams
- func (o *ExportManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportManifestReader
- type ExportManifestUnauthorized
- func (o *ExportManifestUnauthorized) Error() string
- func (o *ExportManifestUnauthorized) GetPayload() *models.Error
- func (o *ExportManifestUnauthorized) IsClientError() bool
- func (o *ExportManifestUnauthorized) IsCode(code int) bool
- func (o *ExportManifestUnauthorized) IsRedirect() bool
- func (o *ExportManifestUnauthorized) IsServerError() bool
- func (o *ExportManifestUnauthorized) IsSuccess() bool
- func (o *ExportManifestUnauthorized) String() string
- type ExportOldBookingsInternalServerError
- func (o *ExportOldBookingsInternalServerError) Error() string
- func (o *ExportOldBookingsInternalServerError) GetPayload() *models.Error
- func (o *ExportOldBookingsInternalServerError) IsClientError() bool
- func (o *ExportOldBookingsInternalServerError) IsCode(code int) bool
- func (o *ExportOldBookingsInternalServerError) IsRedirect() bool
- func (o *ExportOldBookingsInternalServerError) IsServerError() bool
- func (o *ExportOldBookingsInternalServerError) IsSuccess() bool
- func (o *ExportOldBookingsInternalServerError) String() string
- type ExportOldBookingsNotFound
- func (o *ExportOldBookingsNotFound) Error() string
- func (o *ExportOldBookingsNotFound) GetPayload() *models.Error
- func (o *ExportOldBookingsNotFound) IsClientError() bool
- func (o *ExportOldBookingsNotFound) IsCode(code int) bool
- func (o *ExportOldBookingsNotFound) IsRedirect() bool
- func (o *ExportOldBookingsNotFound) IsServerError() bool
- func (o *ExportOldBookingsNotFound) IsSuccess() bool
- func (o *ExportOldBookingsNotFound) String() string
- type ExportOldBookingsOK
- func (o *ExportOldBookingsOK) Error() string
- func (o *ExportOldBookingsOK) GetPayload() models.Bookings
- func (o *ExportOldBookingsOK) IsClientError() bool
- func (o *ExportOldBookingsOK) IsCode(code int) bool
- func (o *ExportOldBookingsOK) IsRedirect() bool
- func (o *ExportOldBookingsOK) IsServerError() bool
- func (o *ExportOldBookingsOK) IsSuccess() bool
- func (o *ExportOldBookingsOK) String() string
- type ExportOldBookingsParams
- func NewExportOldBookingsParams() *ExportOldBookingsParams
- func NewExportOldBookingsParamsWithContext(ctx context.Context) *ExportOldBookingsParams
- func NewExportOldBookingsParamsWithHTTPClient(client *http.Client) *ExportOldBookingsParams
- func NewExportOldBookingsParamsWithTimeout(timeout time.Duration) *ExportOldBookingsParams
- func (o *ExportOldBookingsParams) SetContext(ctx context.Context)
- func (o *ExportOldBookingsParams) SetDefaults()
- func (o *ExportOldBookingsParams) SetHTTPClient(client *http.Client)
- func (o *ExportOldBookingsParams) SetTimeout(timeout time.Duration)
- func (o *ExportOldBookingsParams) WithContext(ctx context.Context) *ExportOldBookingsParams
- func (o *ExportOldBookingsParams) WithDefaults() *ExportOldBookingsParams
- func (o *ExportOldBookingsParams) WithHTTPClient(client *http.Client) *ExportOldBookingsParams
- func (o *ExportOldBookingsParams) WithTimeout(timeout time.Duration) *ExportOldBookingsParams
- func (o *ExportOldBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportOldBookingsReader
- type ExportOldBookingsUnauthorized
- func (o *ExportOldBookingsUnauthorized) Error() string
- func (o *ExportOldBookingsUnauthorized) GetPayload() *models.Error
- func (o *ExportOldBookingsUnauthorized) IsClientError() bool
- func (o *ExportOldBookingsUnauthorized) IsCode(code int) bool
- func (o *ExportOldBookingsUnauthorized) IsRedirect() bool
- func (o *ExportOldBookingsUnauthorized) IsServerError() bool
- func (o *ExportOldBookingsUnauthorized) IsSuccess() bool
- func (o *ExportOldBookingsUnauthorized) String() string
- type ExportUsersInternalServerError
- func (o *ExportUsersInternalServerError) Error() string
- func (o *ExportUsersInternalServerError) GetPayload() *models.Error
- func (o *ExportUsersInternalServerError) IsClientError() bool
- func (o *ExportUsersInternalServerError) IsCode(code int) bool
- func (o *ExportUsersInternalServerError) IsRedirect() bool
- func (o *ExportUsersInternalServerError) IsServerError() bool
- func (o *ExportUsersInternalServerError) IsSuccess() bool
- func (o *ExportUsersInternalServerError) String() string
- type ExportUsersNotFound
- func (o *ExportUsersNotFound) Error() string
- func (o *ExportUsersNotFound) GetPayload() *models.Error
- func (o *ExportUsersNotFound) IsClientError() bool
- func (o *ExportUsersNotFound) IsCode(code int) bool
- func (o *ExportUsersNotFound) IsRedirect() bool
- func (o *ExportUsersNotFound) IsServerError() bool
- func (o *ExportUsersNotFound) IsSuccess() bool
- func (o *ExportUsersNotFound) String() string
- type ExportUsersOK
- func (o *ExportUsersOK) Error() string
- func (o *ExportUsersOK) GetPayload() models.Users
- func (o *ExportUsersOK) IsClientError() bool
- func (o *ExportUsersOK) IsCode(code int) bool
- func (o *ExportUsersOK) IsRedirect() bool
- func (o *ExportUsersOK) IsServerError() bool
- func (o *ExportUsersOK) IsSuccess() bool
- func (o *ExportUsersOK) String() string
- type ExportUsersParams
- func (o *ExportUsersParams) SetContext(ctx context.Context)
- func (o *ExportUsersParams) SetDefaults()
- func (o *ExportUsersParams) SetHTTPClient(client *http.Client)
- func (o *ExportUsersParams) SetTimeout(timeout time.Duration)
- func (o *ExportUsersParams) WithContext(ctx context.Context) *ExportUsersParams
- func (o *ExportUsersParams) WithDefaults() *ExportUsersParams
- func (o *ExportUsersParams) WithHTTPClient(client *http.Client) *ExportUsersParams
- func (o *ExportUsersParams) WithTimeout(timeout time.Duration) *ExportUsersParams
- func (o *ExportUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportUsersReader
- type ExportUsersUnauthorized
- func (o *ExportUsersUnauthorized) Error() string
- func (o *ExportUsersUnauthorized) GetPayload() *models.Error
- func (o *ExportUsersUnauthorized) IsClientError() bool
- func (o *ExportUsersUnauthorized) IsCode(code int) bool
- func (o *ExportUsersUnauthorized) IsRedirect() bool
- func (o *ExportUsersUnauthorized) IsServerError() bool
- func (o *ExportUsersUnauthorized) IsSuccess() bool
- func (o *ExportUsersUnauthorized) String() string
- type GetResourceIsAvailableInternalServerError
- func (o *GetResourceIsAvailableInternalServerError) Error() string
- func (o *GetResourceIsAvailableInternalServerError) GetPayload() *models.Error
- func (o *GetResourceIsAvailableInternalServerError) IsClientError() bool
- func (o *GetResourceIsAvailableInternalServerError) IsCode(code int) bool
- func (o *GetResourceIsAvailableInternalServerError) IsRedirect() bool
- func (o *GetResourceIsAvailableInternalServerError) IsServerError() bool
- func (o *GetResourceIsAvailableInternalServerError) IsSuccess() bool
- func (o *GetResourceIsAvailableInternalServerError) String() string
- type GetResourceIsAvailableNotFound
- func (o *GetResourceIsAvailableNotFound) Error() string
- func (o *GetResourceIsAvailableNotFound) GetPayload() *models.Error
- func (o *GetResourceIsAvailableNotFound) IsClientError() bool
- func (o *GetResourceIsAvailableNotFound) IsCode(code int) bool
- func (o *GetResourceIsAvailableNotFound) IsRedirect() bool
- func (o *GetResourceIsAvailableNotFound) IsServerError() bool
- func (o *GetResourceIsAvailableNotFound) IsSuccess() bool
- func (o *GetResourceIsAvailableNotFound) String() string
- type GetResourceIsAvailableOK
- func (o *GetResourceIsAvailableOK) Error() string
- func (o *GetResourceIsAvailableOK) GetPayload() *models.ResourceStatus
- func (o *GetResourceIsAvailableOK) IsClientError() bool
- func (o *GetResourceIsAvailableOK) IsCode(code int) bool
- func (o *GetResourceIsAvailableOK) IsRedirect() bool
- func (o *GetResourceIsAvailableOK) IsServerError() bool
- func (o *GetResourceIsAvailableOK) IsSuccess() bool
- func (o *GetResourceIsAvailableOK) String() string
- type GetResourceIsAvailableParams
- func NewGetResourceIsAvailableParams() *GetResourceIsAvailableParams
- func NewGetResourceIsAvailableParamsWithContext(ctx context.Context) *GetResourceIsAvailableParams
- func NewGetResourceIsAvailableParamsWithHTTPClient(client *http.Client) *GetResourceIsAvailableParams
- func NewGetResourceIsAvailableParamsWithTimeout(timeout time.Duration) *GetResourceIsAvailableParams
- func (o *GetResourceIsAvailableParams) SetContext(ctx context.Context)
- func (o *GetResourceIsAvailableParams) SetDefaults()
- func (o *GetResourceIsAvailableParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceIsAvailableParams) SetResourceName(resourceName string)
- func (o *GetResourceIsAvailableParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceIsAvailableParams) WithContext(ctx context.Context) *GetResourceIsAvailableParams
- func (o *GetResourceIsAvailableParams) WithDefaults() *GetResourceIsAvailableParams
- func (o *GetResourceIsAvailableParams) WithHTTPClient(client *http.Client) *GetResourceIsAvailableParams
- func (o *GetResourceIsAvailableParams) WithResourceName(resourceName string) *GetResourceIsAvailableParams
- func (o *GetResourceIsAvailableParams) WithTimeout(timeout time.Duration) *GetResourceIsAvailableParams
- func (o *GetResourceIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceIsAvailableReader
- type GetResourceIsAvailableUnauthorized
- func (o *GetResourceIsAvailableUnauthorized) Error() string
- func (o *GetResourceIsAvailableUnauthorized) GetPayload() *models.Error
- func (o *GetResourceIsAvailableUnauthorized) IsClientError() bool
- func (o *GetResourceIsAvailableUnauthorized) IsCode(code int) bool
- func (o *GetResourceIsAvailableUnauthorized) IsRedirect() bool
- func (o *GetResourceIsAvailableUnauthorized) IsServerError() bool
- func (o *GetResourceIsAvailableUnauthorized) IsSuccess() bool
- func (o *GetResourceIsAvailableUnauthorized) String() string
- type GetResourcesInternalServerError
- func (o *GetResourcesInternalServerError) Error() string
- func (o *GetResourcesInternalServerError) GetPayload() *models.Error
- func (o *GetResourcesInternalServerError) IsClientError() bool
- func (o *GetResourcesInternalServerError) IsCode(code int) bool
- func (o *GetResourcesInternalServerError) IsRedirect() bool
- func (o *GetResourcesInternalServerError) IsServerError() bool
- func (o *GetResourcesInternalServerError) IsSuccess() bool
- func (o *GetResourcesInternalServerError) String() string
- type GetResourcesNotFound
- func (o *GetResourcesNotFound) Error() string
- func (o *GetResourcesNotFound) GetPayload() *models.Error
- func (o *GetResourcesNotFound) IsClientError() bool
- func (o *GetResourcesNotFound) IsCode(code int) bool
- func (o *GetResourcesNotFound) IsRedirect() bool
- func (o *GetResourcesNotFound) IsServerError() bool
- func (o *GetResourcesNotFound) IsSuccess() bool
- func (o *GetResourcesNotFound) String() string
- type GetResourcesOK
- func (o *GetResourcesOK) Error() string
- func (o *GetResourcesOK) GetPayload() models.Resources
- func (o *GetResourcesOK) IsClientError() bool
- func (o *GetResourcesOK) IsCode(code int) bool
- func (o *GetResourcesOK) IsRedirect() bool
- func (o *GetResourcesOK) IsServerError() bool
- func (o *GetResourcesOK) IsSuccess() bool
- func (o *GetResourcesOK) String() string
- type GetResourcesParams
- func (o *GetResourcesParams) SetContext(ctx context.Context)
- func (o *GetResourcesParams) SetDefaults()
- func (o *GetResourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesParams) WithContext(ctx context.Context) *GetResourcesParams
- func (o *GetResourcesParams) WithDefaults() *GetResourcesParams
- func (o *GetResourcesParams) WithHTTPClient(client *http.Client) *GetResourcesParams
- func (o *GetResourcesParams) WithTimeout(timeout time.Duration) *GetResourcesParams
- func (o *GetResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesReader
- type GetResourcesUnauthorized
- func (o *GetResourcesUnauthorized) Error() string
- func (o *GetResourcesUnauthorized) GetPayload() *models.Error
- func (o *GetResourcesUnauthorized) IsClientError() bool
- func (o *GetResourcesUnauthorized) IsCode(code int) bool
- func (o *GetResourcesUnauthorized) IsRedirect() bool
- func (o *GetResourcesUnauthorized) IsServerError() bool
- func (o *GetResourcesUnauthorized) IsSuccess() bool
- func (o *GetResourcesUnauthorized) String() string
- type GetSlotIsAvailableInternalServerError
- func (o *GetSlotIsAvailableInternalServerError) Error() string
- func (o *GetSlotIsAvailableInternalServerError) GetPayload() *models.Error
- func (o *GetSlotIsAvailableInternalServerError) IsClientError() bool
- func (o *GetSlotIsAvailableInternalServerError) IsCode(code int) bool
- func (o *GetSlotIsAvailableInternalServerError) IsRedirect() bool
- func (o *GetSlotIsAvailableInternalServerError) IsServerError() bool
- func (o *GetSlotIsAvailableInternalServerError) IsSuccess() bool
- func (o *GetSlotIsAvailableInternalServerError) String() string
- type GetSlotIsAvailableNotFound
- func (o *GetSlotIsAvailableNotFound) Error() string
- func (o *GetSlotIsAvailableNotFound) GetPayload() *models.Error
- func (o *GetSlotIsAvailableNotFound) IsClientError() bool
- func (o *GetSlotIsAvailableNotFound) IsCode(code int) bool
- func (o *GetSlotIsAvailableNotFound) IsRedirect() bool
- func (o *GetSlotIsAvailableNotFound) IsServerError() bool
- func (o *GetSlotIsAvailableNotFound) IsSuccess() bool
- func (o *GetSlotIsAvailableNotFound) String() string
- type GetSlotIsAvailableOK
- func (o *GetSlotIsAvailableOK) Error() string
- func (o *GetSlotIsAvailableOK) GetPayload() *models.ResourceStatus
- func (o *GetSlotIsAvailableOK) IsClientError() bool
- func (o *GetSlotIsAvailableOK) IsCode(code int) bool
- func (o *GetSlotIsAvailableOK) IsRedirect() bool
- func (o *GetSlotIsAvailableOK) IsServerError() bool
- func (o *GetSlotIsAvailableOK) IsSuccess() bool
- func (o *GetSlotIsAvailableOK) String() string
- type GetSlotIsAvailableParams
- func NewGetSlotIsAvailableParams() *GetSlotIsAvailableParams
- func NewGetSlotIsAvailableParamsWithContext(ctx context.Context) *GetSlotIsAvailableParams
- func NewGetSlotIsAvailableParamsWithHTTPClient(client *http.Client) *GetSlotIsAvailableParams
- func NewGetSlotIsAvailableParamsWithTimeout(timeout time.Duration) *GetSlotIsAvailableParams
- func (o *GetSlotIsAvailableParams) SetContext(ctx context.Context)
- func (o *GetSlotIsAvailableParams) SetDefaults()
- func (o *GetSlotIsAvailableParams) SetHTTPClient(client *http.Client)
- func (o *GetSlotIsAvailableParams) SetSlotName(slotName string)
- func (o *GetSlotIsAvailableParams) SetTimeout(timeout time.Duration)
- func (o *GetSlotIsAvailableParams) WithContext(ctx context.Context) *GetSlotIsAvailableParams
- func (o *GetSlotIsAvailableParams) WithDefaults() *GetSlotIsAvailableParams
- func (o *GetSlotIsAvailableParams) WithHTTPClient(client *http.Client) *GetSlotIsAvailableParams
- func (o *GetSlotIsAvailableParams) WithSlotName(slotName string) *GetSlotIsAvailableParams
- func (o *GetSlotIsAvailableParams) WithTimeout(timeout time.Duration) *GetSlotIsAvailableParams
- func (o *GetSlotIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSlotIsAvailableReader
- type GetSlotIsAvailableUnauthorized
- func (o *GetSlotIsAvailableUnauthorized) Error() string
- func (o *GetSlotIsAvailableUnauthorized) GetPayload() *models.Error
- func (o *GetSlotIsAvailableUnauthorized) IsClientError() bool
- func (o *GetSlotIsAvailableUnauthorized) IsCode(code int) bool
- func (o *GetSlotIsAvailableUnauthorized) IsRedirect() bool
- func (o *GetSlotIsAvailableUnauthorized) IsServerError() bool
- func (o *GetSlotIsAvailableUnauthorized) IsSuccess() bool
- func (o *GetSlotIsAvailableUnauthorized) String() string
- type GetStoreStatusAdminInternalServerError
- func (o *GetStoreStatusAdminInternalServerError) Error() string
- func (o *GetStoreStatusAdminInternalServerError) GetPayload() *models.Error
- func (o *GetStoreStatusAdminInternalServerError) IsClientError() bool
- func (o *GetStoreStatusAdminInternalServerError) IsCode(code int) bool
- func (o *GetStoreStatusAdminInternalServerError) IsRedirect() bool
- func (o *GetStoreStatusAdminInternalServerError) IsServerError() bool
- func (o *GetStoreStatusAdminInternalServerError) IsSuccess() bool
- func (o *GetStoreStatusAdminInternalServerError) String() string
- type GetStoreStatusAdminNotFound
- func (o *GetStoreStatusAdminNotFound) Error() string
- func (o *GetStoreStatusAdminNotFound) GetPayload() *models.Error
- func (o *GetStoreStatusAdminNotFound) IsClientError() bool
- func (o *GetStoreStatusAdminNotFound) IsCode(code int) bool
- func (o *GetStoreStatusAdminNotFound) IsRedirect() bool
- func (o *GetStoreStatusAdminNotFound) IsServerError() bool
- func (o *GetStoreStatusAdminNotFound) IsSuccess() bool
- func (o *GetStoreStatusAdminNotFound) String() string
- type GetStoreStatusAdminOK
- func (o *GetStoreStatusAdminOK) Error() string
- func (o *GetStoreStatusAdminOK) GetPayload() *models.StoreStatusAdmin
- func (o *GetStoreStatusAdminOK) IsClientError() bool
- func (o *GetStoreStatusAdminOK) IsCode(code int) bool
- func (o *GetStoreStatusAdminOK) IsRedirect() bool
- func (o *GetStoreStatusAdminOK) IsServerError() bool
- func (o *GetStoreStatusAdminOK) IsSuccess() bool
- func (o *GetStoreStatusAdminOK) String() string
- type GetStoreStatusAdminParams
- func NewGetStoreStatusAdminParams() *GetStoreStatusAdminParams
- func NewGetStoreStatusAdminParamsWithContext(ctx context.Context) *GetStoreStatusAdminParams
- func NewGetStoreStatusAdminParamsWithHTTPClient(client *http.Client) *GetStoreStatusAdminParams
- func NewGetStoreStatusAdminParamsWithTimeout(timeout time.Duration) *GetStoreStatusAdminParams
- func (o *GetStoreStatusAdminParams) SetContext(ctx context.Context)
- func (o *GetStoreStatusAdminParams) SetDefaults()
- func (o *GetStoreStatusAdminParams) SetHTTPClient(client *http.Client)
- func (o *GetStoreStatusAdminParams) SetTimeout(timeout time.Duration)
- func (o *GetStoreStatusAdminParams) WithContext(ctx context.Context) *GetStoreStatusAdminParams
- func (o *GetStoreStatusAdminParams) WithDefaults() *GetStoreStatusAdminParams
- func (o *GetStoreStatusAdminParams) WithHTTPClient(client *http.Client) *GetStoreStatusAdminParams
- func (o *GetStoreStatusAdminParams) WithTimeout(timeout time.Duration) *GetStoreStatusAdminParams
- func (o *GetStoreStatusAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStoreStatusAdminReader
- type GetStoreStatusAdminUnauthorized
- func (o *GetStoreStatusAdminUnauthorized) Error() string
- func (o *GetStoreStatusAdminUnauthorized) GetPayload() *models.Error
- func (o *GetStoreStatusAdminUnauthorized) IsClientError() bool
- func (o *GetStoreStatusAdminUnauthorized) IsCode(code int) bool
- func (o *GetStoreStatusAdminUnauthorized) IsRedirect() bool
- func (o *GetStoreStatusAdminUnauthorized) IsServerError() bool
- func (o *GetStoreStatusAdminUnauthorized) IsSuccess() bool
- func (o *GetStoreStatusAdminUnauthorized) String() string
- type ReplaceBookingsInternalServerError
- func (o *ReplaceBookingsInternalServerError) Error() string
- func (o *ReplaceBookingsInternalServerError) GetPayload() *models.Error
- func (o *ReplaceBookingsInternalServerError) IsClientError() bool
- func (o *ReplaceBookingsInternalServerError) IsCode(code int) bool
- func (o *ReplaceBookingsInternalServerError) IsRedirect() bool
- func (o *ReplaceBookingsInternalServerError) IsServerError() bool
- func (o *ReplaceBookingsInternalServerError) IsSuccess() bool
- func (o *ReplaceBookingsInternalServerError) String() string
- type ReplaceBookingsNotFound
- func (o *ReplaceBookingsNotFound) Error() string
- func (o *ReplaceBookingsNotFound) GetPayload() *models.Error
- func (o *ReplaceBookingsNotFound) IsClientError() bool
- func (o *ReplaceBookingsNotFound) IsCode(code int) bool
- func (o *ReplaceBookingsNotFound) IsRedirect() bool
- func (o *ReplaceBookingsNotFound) IsServerError() bool
- func (o *ReplaceBookingsNotFound) IsSuccess() bool
- func (o *ReplaceBookingsNotFound) String() string
- type ReplaceBookingsOK
- func (o *ReplaceBookingsOK) Error() string
- func (o *ReplaceBookingsOK) GetPayload() *models.StoreStatusAdmin
- func (o *ReplaceBookingsOK) IsClientError() bool
- func (o *ReplaceBookingsOK) IsCode(code int) bool
- func (o *ReplaceBookingsOK) IsRedirect() bool
- func (o *ReplaceBookingsOK) IsServerError() bool
- func (o *ReplaceBookingsOK) IsSuccess() bool
- func (o *ReplaceBookingsOK) String() string
- type ReplaceBookingsParams
- func NewReplaceBookingsParams() *ReplaceBookingsParams
- func NewReplaceBookingsParamsWithContext(ctx context.Context) *ReplaceBookingsParams
- func NewReplaceBookingsParamsWithHTTPClient(client *http.Client) *ReplaceBookingsParams
- func NewReplaceBookingsParamsWithTimeout(timeout time.Duration) *ReplaceBookingsParams
- func (o *ReplaceBookingsParams) SetBookings(bookings models.Bookings)
- func (o *ReplaceBookingsParams) SetContext(ctx context.Context)
- func (o *ReplaceBookingsParams) SetDefaults()
- func (o *ReplaceBookingsParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceBookingsParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceBookingsParams) WithBookings(bookings models.Bookings) *ReplaceBookingsParams
- func (o *ReplaceBookingsParams) WithContext(ctx context.Context) *ReplaceBookingsParams
- func (o *ReplaceBookingsParams) WithDefaults() *ReplaceBookingsParams
- func (o *ReplaceBookingsParams) WithHTTPClient(client *http.Client) *ReplaceBookingsParams
- func (o *ReplaceBookingsParams) WithTimeout(timeout time.Duration) *ReplaceBookingsParams
- func (o *ReplaceBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceBookingsReader
- type ReplaceBookingsUnauthorized
- func (o *ReplaceBookingsUnauthorized) Error() string
- func (o *ReplaceBookingsUnauthorized) GetPayload() *models.Error
- func (o *ReplaceBookingsUnauthorized) IsClientError() bool
- func (o *ReplaceBookingsUnauthorized) IsCode(code int) bool
- func (o *ReplaceBookingsUnauthorized) IsRedirect() bool
- func (o *ReplaceBookingsUnauthorized) IsServerError() bool
- func (o *ReplaceBookingsUnauthorized) IsSuccess() bool
- func (o *ReplaceBookingsUnauthorized) String() string
- type ReplaceManifestInternalServerError
- func (o *ReplaceManifestInternalServerError) Error() string
- func (o *ReplaceManifestInternalServerError) GetPayload() *models.Error
- func (o *ReplaceManifestInternalServerError) IsClientError() bool
- func (o *ReplaceManifestInternalServerError) IsCode(code int) bool
- func (o *ReplaceManifestInternalServerError) IsRedirect() bool
- func (o *ReplaceManifestInternalServerError) IsServerError() bool
- func (o *ReplaceManifestInternalServerError) IsSuccess() bool
- func (o *ReplaceManifestInternalServerError) String() string
- type ReplaceManifestNotFound
- func (o *ReplaceManifestNotFound) Error() string
- func (o *ReplaceManifestNotFound) GetPayload() *models.Error
- func (o *ReplaceManifestNotFound) IsClientError() bool
- func (o *ReplaceManifestNotFound) IsCode(code int) bool
- func (o *ReplaceManifestNotFound) IsRedirect() bool
- func (o *ReplaceManifestNotFound) IsServerError() bool
- func (o *ReplaceManifestNotFound) IsSuccess() bool
- func (o *ReplaceManifestNotFound) String() string
- type ReplaceManifestOK
- func (o *ReplaceManifestOK) Error() string
- func (o *ReplaceManifestOK) GetPayload() *models.StoreStatusAdmin
- func (o *ReplaceManifestOK) IsClientError() bool
- func (o *ReplaceManifestOK) IsCode(code int) bool
- func (o *ReplaceManifestOK) IsRedirect() bool
- func (o *ReplaceManifestOK) IsServerError() bool
- func (o *ReplaceManifestOK) IsSuccess() bool
- func (o *ReplaceManifestOK) String() string
- type ReplaceManifestParams
- func NewReplaceManifestParams() *ReplaceManifestParams
- func NewReplaceManifestParamsWithContext(ctx context.Context) *ReplaceManifestParams
- func NewReplaceManifestParamsWithHTTPClient(client *http.Client) *ReplaceManifestParams
- func NewReplaceManifestParamsWithTimeout(timeout time.Duration) *ReplaceManifestParams
- func (o *ReplaceManifestParams) SetContext(ctx context.Context)
- func (o *ReplaceManifestParams) SetDefaults()
- func (o *ReplaceManifestParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceManifestParams) SetManifest(manifest *models.Manifest)
- func (o *ReplaceManifestParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceManifestParams) WithContext(ctx context.Context) *ReplaceManifestParams
- func (o *ReplaceManifestParams) WithDefaults() *ReplaceManifestParams
- func (o *ReplaceManifestParams) WithHTTPClient(client *http.Client) *ReplaceManifestParams
- func (o *ReplaceManifestParams) WithManifest(manifest *models.Manifest) *ReplaceManifestParams
- func (o *ReplaceManifestParams) WithTimeout(timeout time.Duration) *ReplaceManifestParams
- func (o *ReplaceManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceManifestReader
- type ReplaceManifestUnauthorized
- func (o *ReplaceManifestUnauthorized) Error() string
- func (o *ReplaceManifestUnauthorized) GetPayload() *models.Error
- func (o *ReplaceManifestUnauthorized) IsClientError() bool
- func (o *ReplaceManifestUnauthorized) IsCode(code int) bool
- func (o *ReplaceManifestUnauthorized) IsRedirect() bool
- func (o *ReplaceManifestUnauthorized) IsServerError() bool
- func (o *ReplaceManifestUnauthorized) IsSuccess() bool
- func (o *ReplaceManifestUnauthorized) String() string
- type ReplaceOldBookingsInternalServerError
- func (o *ReplaceOldBookingsInternalServerError) Error() string
- func (o *ReplaceOldBookingsInternalServerError) GetPayload() *models.Error
- func (o *ReplaceOldBookingsInternalServerError) IsClientError() bool
- func (o *ReplaceOldBookingsInternalServerError) IsCode(code int) bool
- func (o *ReplaceOldBookingsInternalServerError) IsRedirect() bool
- func (o *ReplaceOldBookingsInternalServerError) IsServerError() bool
- func (o *ReplaceOldBookingsInternalServerError) IsSuccess() bool
- func (o *ReplaceOldBookingsInternalServerError) String() string
- type ReplaceOldBookingsNotFound
- func (o *ReplaceOldBookingsNotFound) Error() string
- func (o *ReplaceOldBookingsNotFound) GetPayload() *models.Error
- func (o *ReplaceOldBookingsNotFound) IsClientError() bool
- func (o *ReplaceOldBookingsNotFound) IsCode(code int) bool
- func (o *ReplaceOldBookingsNotFound) IsRedirect() bool
- func (o *ReplaceOldBookingsNotFound) IsServerError() bool
- func (o *ReplaceOldBookingsNotFound) IsSuccess() bool
- func (o *ReplaceOldBookingsNotFound) String() string
- type ReplaceOldBookingsOK
- func (o *ReplaceOldBookingsOK) Error() string
- func (o *ReplaceOldBookingsOK) GetPayload() *models.StoreStatusAdmin
- func (o *ReplaceOldBookingsOK) IsClientError() bool
- func (o *ReplaceOldBookingsOK) IsCode(code int) bool
- func (o *ReplaceOldBookingsOK) IsRedirect() bool
- func (o *ReplaceOldBookingsOK) IsServerError() bool
- func (o *ReplaceOldBookingsOK) IsSuccess() bool
- func (o *ReplaceOldBookingsOK) String() string
- type ReplaceOldBookingsParams
- func NewReplaceOldBookingsParams() *ReplaceOldBookingsParams
- func NewReplaceOldBookingsParamsWithContext(ctx context.Context) *ReplaceOldBookingsParams
- func NewReplaceOldBookingsParamsWithHTTPClient(client *http.Client) *ReplaceOldBookingsParams
- func NewReplaceOldBookingsParamsWithTimeout(timeout time.Duration) *ReplaceOldBookingsParams
- func (o *ReplaceOldBookingsParams) SetBookings(bookings models.Bookings)
- func (o *ReplaceOldBookingsParams) SetContext(ctx context.Context)
- func (o *ReplaceOldBookingsParams) SetDefaults()
- func (o *ReplaceOldBookingsParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceOldBookingsParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceOldBookingsParams) WithBookings(bookings models.Bookings) *ReplaceOldBookingsParams
- func (o *ReplaceOldBookingsParams) WithContext(ctx context.Context) *ReplaceOldBookingsParams
- func (o *ReplaceOldBookingsParams) WithDefaults() *ReplaceOldBookingsParams
- func (o *ReplaceOldBookingsParams) WithHTTPClient(client *http.Client) *ReplaceOldBookingsParams
- func (o *ReplaceOldBookingsParams) WithTimeout(timeout time.Duration) *ReplaceOldBookingsParams
- func (o *ReplaceOldBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceOldBookingsReader
- type ReplaceOldBookingsUnauthorized
- func (o *ReplaceOldBookingsUnauthorized) Error() string
- func (o *ReplaceOldBookingsUnauthorized) GetPayload() *models.Error
- func (o *ReplaceOldBookingsUnauthorized) IsClientError() bool
- func (o *ReplaceOldBookingsUnauthorized) IsCode(code int) bool
- func (o *ReplaceOldBookingsUnauthorized) IsRedirect() bool
- func (o *ReplaceOldBookingsUnauthorized) IsServerError() bool
- func (o *ReplaceOldBookingsUnauthorized) IsSuccess() bool
- func (o *ReplaceOldBookingsUnauthorized) String() string
- type SetLockInternalServerError
- func (o *SetLockInternalServerError) Error() string
- func (o *SetLockInternalServerError) GetPayload() *models.Error
- func (o *SetLockInternalServerError) IsClientError() bool
- func (o *SetLockInternalServerError) IsCode(code int) bool
- func (o *SetLockInternalServerError) IsRedirect() bool
- func (o *SetLockInternalServerError) IsServerError() bool
- func (o *SetLockInternalServerError) IsSuccess() bool
- func (o *SetLockInternalServerError) String() string
- type SetLockNotFound
- func (o *SetLockNotFound) Error() string
- func (o *SetLockNotFound) GetPayload() *models.Error
- func (o *SetLockNotFound) IsClientError() bool
- func (o *SetLockNotFound) IsCode(code int) bool
- func (o *SetLockNotFound) IsRedirect() bool
- func (o *SetLockNotFound) IsServerError() bool
- func (o *SetLockNotFound) IsSuccess() bool
- func (o *SetLockNotFound) String() string
- type SetLockOK
- func (o *SetLockOK) Error() string
- func (o *SetLockOK) GetPayload() *models.StoreStatusAdmin
- func (o *SetLockOK) IsClientError() bool
- func (o *SetLockOK) IsCode(code int) bool
- func (o *SetLockOK) IsRedirect() bool
- func (o *SetLockOK) IsServerError() bool
- func (o *SetLockOK) IsSuccess() bool
- func (o *SetLockOK) String() string
- 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
- func (o *SetLockUnauthorized) Error() string
- func (o *SetLockUnauthorized) GetPayload() *models.Error
- func (o *SetLockUnauthorized) IsClientError() bool
- func (o *SetLockUnauthorized) IsCode(code int) bool
- func (o *SetLockUnauthorized) IsRedirect() bool
- func (o *SetLockUnauthorized) IsServerError() bool
- func (o *SetLockUnauthorized) IsSuccess() bool
- func (o *SetLockUnauthorized) String() string
- type SetResourceIsAvailableInternalServerError
- func (o *SetResourceIsAvailableInternalServerError) Error() string
- func (o *SetResourceIsAvailableInternalServerError) GetPayload() *models.Error
- func (o *SetResourceIsAvailableInternalServerError) IsClientError() bool
- func (o *SetResourceIsAvailableInternalServerError) IsCode(code int) bool
- func (o *SetResourceIsAvailableInternalServerError) IsRedirect() bool
- func (o *SetResourceIsAvailableInternalServerError) IsServerError() bool
- func (o *SetResourceIsAvailableInternalServerError) IsSuccess() bool
- func (o *SetResourceIsAvailableInternalServerError) String() string
- type SetResourceIsAvailableNoContent
- func (o *SetResourceIsAvailableNoContent) Error() string
- func (o *SetResourceIsAvailableNoContent) IsClientError() bool
- func (o *SetResourceIsAvailableNoContent) IsCode(code int) bool
- func (o *SetResourceIsAvailableNoContent) IsRedirect() bool
- func (o *SetResourceIsAvailableNoContent) IsServerError() bool
- func (o *SetResourceIsAvailableNoContent) IsSuccess() bool
- func (o *SetResourceIsAvailableNoContent) String() string
- type SetResourceIsAvailableNotFound
- func (o *SetResourceIsAvailableNotFound) Error() string
- func (o *SetResourceIsAvailableNotFound) GetPayload() *models.Error
- func (o *SetResourceIsAvailableNotFound) IsClientError() bool
- func (o *SetResourceIsAvailableNotFound) IsCode(code int) bool
- func (o *SetResourceIsAvailableNotFound) IsRedirect() bool
- func (o *SetResourceIsAvailableNotFound) IsServerError() bool
- func (o *SetResourceIsAvailableNotFound) IsSuccess() bool
- func (o *SetResourceIsAvailableNotFound) String() string
- type SetResourceIsAvailableParams
- func NewSetResourceIsAvailableParams() *SetResourceIsAvailableParams
- func NewSetResourceIsAvailableParamsWithContext(ctx context.Context) *SetResourceIsAvailableParams
- func NewSetResourceIsAvailableParamsWithHTTPClient(client *http.Client) *SetResourceIsAvailableParams
- func NewSetResourceIsAvailableParamsWithTimeout(timeout time.Duration) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) SetAvailable(available bool)
- func (o *SetResourceIsAvailableParams) SetContext(ctx context.Context)
- func (o *SetResourceIsAvailableParams) SetDefaults()
- func (o *SetResourceIsAvailableParams) SetHTTPClient(client *http.Client)
- func (o *SetResourceIsAvailableParams) SetReason(reason string)
- func (o *SetResourceIsAvailableParams) SetResourceName(resourceName string)
- func (o *SetResourceIsAvailableParams) SetTimeout(timeout time.Duration)
- func (o *SetResourceIsAvailableParams) WithAvailable(available bool) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WithContext(ctx context.Context) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WithDefaults() *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WithHTTPClient(client *http.Client) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WithReason(reason string) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WithResourceName(resourceName string) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WithTimeout(timeout time.Duration) *SetResourceIsAvailableParams
- func (o *SetResourceIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetResourceIsAvailableReader
- type SetResourceIsAvailableUnauthorized
- func (o *SetResourceIsAvailableUnauthorized) Error() string
- func (o *SetResourceIsAvailableUnauthorized) GetPayload() *models.Error
- func (o *SetResourceIsAvailableUnauthorized) IsClientError() bool
- func (o *SetResourceIsAvailableUnauthorized) IsCode(code int) bool
- func (o *SetResourceIsAvailableUnauthorized) IsRedirect() bool
- func (o *SetResourceIsAvailableUnauthorized) IsServerError() bool
- func (o *SetResourceIsAvailableUnauthorized) IsSuccess() bool
- func (o *SetResourceIsAvailableUnauthorized) String() string
- type SetSlotIsAvailableInternalServerError
- func (o *SetSlotIsAvailableInternalServerError) Error() string
- func (o *SetSlotIsAvailableInternalServerError) GetPayload() *models.Error
- func (o *SetSlotIsAvailableInternalServerError) IsClientError() bool
- func (o *SetSlotIsAvailableInternalServerError) IsCode(code int) bool
- func (o *SetSlotIsAvailableInternalServerError) IsRedirect() bool
- func (o *SetSlotIsAvailableInternalServerError) IsServerError() bool
- func (o *SetSlotIsAvailableInternalServerError) IsSuccess() bool
- func (o *SetSlotIsAvailableInternalServerError) String() string
- type SetSlotIsAvailableNoContent
- func (o *SetSlotIsAvailableNoContent) Error() string
- func (o *SetSlotIsAvailableNoContent) IsClientError() bool
- func (o *SetSlotIsAvailableNoContent) IsCode(code int) bool
- func (o *SetSlotIsAvailableNoContent) IsRedirect() bool
- func (o *SetSlotIsAvailableNoContent) IsServerError() bool
- func (o *SetSlotIsAvailableNoContent) IsSuccess() bool
- func (o *SetSlotIsAvailableNoContent) String() string
- type SetSlotIsAvailableNotFound
- func (o *SetSlotIsAvailableNotFound) Error() string
- func (o *SetSlotIsAvailableNotFound) GetPayload() *models.Error
- func (o *SetSlotIsAvailableNotFound) IsClientError() bool
- func (o *SetSlotIsAvailableNotFound) IsCode(code int) bool
- func (o *SetSlotIsAvailableNotFound) IsRedirect() bool
- func (o *SetSlotIsAvailableNotFound) IsServerError() bool
- func (o *SetSlotIsAvailableNotFound) IsSuccess() bool
- func (o *SetSlotIsAvailableNotFound) String() string
- type SetSlotIsAvailableParams
- func NewSetSlotIsAvailableParams() *SetSlotIsAvailableParams
- func NewSetSlotIsAvailableParamsWithContext(ctx context.Context) *SetSlotIsAvailableParams
- func NewSetSlotIsAvailableParamsWithHTTPClient(client *http.Client) *SetSlotIsAvailableParams
- func NewSetSlotIsAvailableParamsWithTimeout(timeout time.Duration) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) SetAvailable(available bool)
- func (o *SetSlotIsAvailableParams) SetContext(ctx context.Context)
- func (o *SetSlotIsAvailableParams) SetDefaults()
- func (o *SetSlotIsAvailableParams) SetHTTPClient(client *http.Client)
- func (o *SetSlotIsAvailableParams) SetReason(reason string)
- func (o *SetSlotIsAvailableParams) SetSlotName(slotName string)
- func (o *SetSlotIsAvailableParams) SetTimeout(timeout time.Duration)
- func (o *SetSlotIsAvailableParams) WithAvailable(available bool) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WithContext(ctx context.Context) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WithDefaults() *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WithHTTPClient(client *http.Client) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WithReason(reason string) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WithSlotName(slotName string) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WithTimeout(timeout time.Duration) *SetSlotIsAvailableParams
- func (o *SetSlotIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetSlotIsAvailableReader
- type SetSlotIsAvailableUnauthorized
- func (o *SetSlotIsAvailableUnauthorized) Error() string
- func (o *SetSlotIsAvailableUnauthorized) GetPayload() *models.Error
- func (o *SetSlotIsAvailableUnauthorized) IsClientError() bool
- func (o *SetSlotIsAvailableUnauthorized) IsCode(code int) bool
- func (o *SetSlotIsAvailableUnauthorized) IsRedirect() bool
- func (o *SetSlotIsAvailableUnauthorized) IsServerError() bool
- func (o *SetSlotIsAvailableUnauthorized) IsSuccess() bool
- func (o *SetSlotIsAvailableUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckManifestInternalServerError ¶
CheckManifestInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewCheckManifestInternalServerError ¶
func NewCheckManifestInternalServerError() *CheckManifestInternalServerError
NewCheckManifestInternalServerError creates a CheckManifestInternalServerError with default headers values
func (*CheckManifestInternalServerError) Error ¶
func (o *CheckManifestInternalServerError) Error() string
func (*CheckManifestInternalServerError) GetPayload ¶
func (o *CheckManifestInternalServerError) GetPayload() *models.Error
func (*CheckManifestInternalServerError) IsClientError ¶
func (o *CheckManifestInternalServerError) IsClientError() bool
IsClientError returns true when this check manifest internal server error response has a 4xx status code
func (*CheckManifestInternalServerError) IsCode ¶
func (o *CheckManifestInternalServerError) IsCode(code int) bool
IsCode returns true when this check manifest internal server error response a status code equal to that given
func (*CheckManifestInternalServerError) IsRedirect ¶
func (o *CheckManifestInternalServerError) IsRedirect() bool
IsRedirect returns true when this check manifest internal server error response has a 3xx status code
func (*CheckManifestInternalServerError) IsServerError ¶
func (o *CheckManifestInternalServerError) IsServerError() bool
IsServerError returns true when this check manifest internal server error response has a 5xx status code
func (*CheckManifestInternalServerError) IsSuccess ¶
func (o *CheckManifestInternalServerError) IsSuccess() bool
IsSuccess returns true when this check manifest internal server error response has a 2xx status code
func (*CheckManifestInternalServerError) String ¶
func (o *CheckManifestInternalServerError) String() string
type CheckManifestNoContent ¶
type CheckManifestNoContent struct { }
CheckManifestNoContent describes a response with status code 204, with default header values.
OK - manifest is valid
func NewCheckManifestNoContent ¶
func NewCheckManifestNoContent() *CheckManifestNoContent
NewCheckManifestNoContent creates a CheckManifestNoContent with default headers values
func (*CheckManifestNoContent) Error ¶
func (o *CheckManifestNoContent) Error() string
func (*CheckManifestNoContent) IsClientError ¶
func (o *CheckManifestNoContent) IsClientError() bool
IsClientError returns true when this check manifest no content response has a 4xx status code
func (*CheckManifestNoContent) IsCode ¶
func (o *CheckManifestNoContent) IsCode(code int) bool
IsCode returns true when this check manifest no content response a status code equal to that given
func (*CheckManifestNoContent) IsRedirect ¶
func (o *CheckManifestNoContent) IsRedirect() bool
IsRedirect returns true when this check manifest no content response has a 3xx status code
func (*CheckManifestNoContent) IsServerError ¶
func (o *CheckManifestNoContent) IsServerError() bool
IsServerError returns true when this check manifest no content response has a 5xx status code
func (*CheckManifestNoContent) IsSuccess ¶
func (o *CheckManifestNoContent) IsSuccess() bool
IsSuccess returns true when this check manifest no content response has a 2xx status code
func (*CheckManifestNoContent) String ¶
func (o *CheckManifestNoContent) String() string
type CheckManifestNotFound ¶
CheckManifestNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewCheckManifestNotFound ¶
func NewCheckManifestNotFound() *CheckManifestNotFound
NewCheckManifestNotFound creates a CheckManifestNotFound with default headers values
func (*CheckManifestNotFound) Error ¶
func (o *CheckManifestNotFound) Error() string
func (*CheckManifestNotFound) GetPayload ¶
func (o *CheckManifestNotFound) GetPayload() *models.Error
func (*CheckManifestNotFound) IsClientError ¶
func (o *CheckManifestNotFound) IsClientError() bool
IsClientError returns true when this check manifest not found response has a 4xx status code
func (*CheckManifestNotFound) IsCode ¶
func (o *CheckManifestNotFound) IsCode(code int) bool
IsCode returns true when this check manifest not found response a status code equal to that given
func (*CheckManifestNotFound) IsRedirect ¶
func (o *CheckManifestNotFound) IsRedirect() bool
IsRedirect returns true when this check manifest not found response has a 3xx status code
func (*CheckManifestNotFound) IsServerError ¶
func (o *CheckManifestNotFound) IsServerError() bool
IsServerError returns true when this check manifest not found response has a 5xx status code
func (*CheckManifestNotFound) IsSuccess ¶
func (o *CheckManifestNotFound) IsSuccess() bool
IsSuccess returns true when this check manifest not found response has a 2xx status code
func (*CheckManifestNotFound) String ¶
func (o *CheckManifestNotFound) String() string
type CheckManifestOK ¶ added in v0.3.0
CheckManifestOK describes a response with status code 200, with default header values.
List of errors (e.g. errors in client-provided data such as manifest)
func NewCheckManifestOK ¶ added in v0.3.0
func NewCheckManifestOK() *CheckManifestOK
NewCheckManifestOK creates a CheckManifestOK with default headers values
func (*CheckManifestOK) Error ¶ added in v0.3.0
func (o *CheckManifestOK) Error() string
func (*CheckManifestOK) GetPayload ¶ added in v0.3.0
func (o *CheckManifestOK) GetPayload() *models.ErrorList
func (*CheckManifestOK) IsClientError ¶ added in v0.3.0
func (o *CheckManifestOK) IsClientError() bool
IsClientError returns true when this check manifest o k response has a 4xx status code
func (*CheckManifestOK) IsCode ¶ added in v0.3.0
func (o *CheckManifestOK) IsCode(code int) bool
IsCode returns true when this check manifest o k response a status code equal to that given
func (*CheckManifestOK) IsRedirect ¶ added in v0.3.0
func (o *CheckManifestOK) IsRedirect() bool
IsRedirect returns true when this check manifest o k response has a 3xx status code
func (*CheckManifestOK) IsServerError ¶ added in v0.3.0
func (o *CheckManifestOK) IsServerError() bool
IsServerError returns true when this check manifest o k response has a 5xx status code
func (*CheckManifestOK) IsSuccess ¶ added in v0.3.0
func (o *CheckManifestOK) IsSuccess() bool
IsSuccess returns true when this check manifest o k response has a 2xx status code
func (*CheckManifestOK) String ¶ added in v0.3.0
func (o *CheckManifestOK) String() string
type CheckManifestParams ¶
type CheckManifestParams struct { // Manifest. Manifest *models.Manifest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckManifestParams contains all the parameters to send to the API endpoint
for the check manifest operation. Typically these are written to a http.Request.
func NewCheckManifestParams ¶
func NewCheckManifestParams() *CheckManifestParams
NewCheckManifestParams creates a new CheckManifestParams 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 NewCheckManifestParamsWithContext ¶
func NewCheckManifestParamsWithContext(ctx context.Context) *CheckManifestParams
NewCheckManifestParamsWithContext creates a new CheckManifestParams object with the ability to set a context for a request.
func NewCheckManifestParamsWithHTTPClient ¶
func NewCheckManifestParamsWithHTTPClient(client *http.Client) *CheckManifestParams
NewCheckManifestParamsWithHTTPClient creates a new CheckManifestParams object with the ability to set a custom HTTPClient for a request.
func NewCheckManifestParamsWithTimeout ¶
func NewCheckManifestParamsWithTimeout(timeout time.Duration) *CheckManifestParams
NewCheckManifestParamsWithTimeout creates a new CheckManifestParams object with the ability to set a timeout on a request.
func (*CheckManifestParams) SetContext ¶
func (o *CheckManifestParams) SetContext(ctx context.Context)
SetContext adds the context to the check manifest params
func (*CheckManifestParams) SetDefaults ¶
func (o *CheckManifestParams) SetDefaults()
SetDefaults hydrates default values in the check manifest params (not the query body).
All values with no default are reset to their zero value.
func (*CheckManifestParams) SetHTTPClient ¶
func (o *CheckManifestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check manifest params
func (*CheckManifestParams) SetManifest ¶
func (o *CheckManifestParams) SetManifest(manifest *models.Manifest)
SetManifest adds the manifest to the check manifest params
func (*CheckManifestParams) SetTimeout ¶
func (o *CheckManifestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check manifest params
func (*CheckManifestParams) WithContext ¶
func (o *CheckManifestParams) WithContext(ctx context.Context) *CheckManifestParams
WithContext adds the context to the check manifest params
func (*CheckManifestParams) WithDefaults ¶
func (o *CheckManifestParams) WithDefaults() *CheckManifestParams
WithDefaults hydrates default values in the check manifest params (not the query body).
All values with no default are reset to their zero value.
func (*CheckManifestParams) WithHTTPClient ¶
func (o *CheckManifestParams) WithHTTPClient(client *http.Client) *CheckManifestParams
WithHTTPClient adds the HTTPClient to the check manifest params
func (*CheckManifestParams) WithManifest ¶
func (o *CheckManifestParams) WithManifest(manifest *models.Manifest) *CheckManifestParams
WithManifest adds the manifest to the check manifest params
func (*CheckManifestParams) WithTimeout ¶
func (o *CheckManifestParams) WithTimeout(timeout time.Duration) *CheckManifestParams
WithTimeout adds the timeout to the check manifest params
func (*CheckManifestParams) WriteToRequest ¶
func (o *CheckManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckManifestReader ¶
type CheckManifestReader struct {
// contains filtered or unexported fields
}
CheckManifestReader is a Reader for the CheckManifest structure.
func (*CheckManifestReader) ReadResponse ¶
func (o *CheckManifestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckManifestUnauthorized ¶
type CheckManifestUnauthorized struct {
}CheckManifestUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCheckManifestUnauthorized ¶
func NewCheckManifestUnauthorized() *CheckManifestUnauthorized
NewCheckManifestUnauthorized creates a CheckManifestUnauthorized with default headers values
func (*CheckManifestUnauthorized) Error ¶
func (o *CheckManifestUnauthorized) Error() string
func (*CheckManifestUnauthorized) GetPayload ¶
func (o *CheckManifestUnauthorized) GetPayload() *models.Error
func (*CheckManifestUnauthorized) IsClientError ¶
func (o *CheckManifestUnauthorized) IsClientError() bool
IsClientError returns true when this check manifest unauthorized response has a 4xx status code
func (*CheckManifestUnauthorized) IsCode ¶
func (o *CheckManifestUnauthorized) IsCode(code int) bool
IsCode returns true when this check manifest unauthorized response a status code equal to that given
func (*CheckManifestUnauthorized) IsRedirect ¶
func (o *CheckManifestUnauthorized) IsRedirect() bool
IsRedirect returns true when this check manifest unauthorized response has a 3xx status code
func (*CheckManifestUnauthorized) IsServerError ¶
func (o *CheckManifestUnauthorized) IsServerError() bool
IsServerError returns true when this check manifest unauthorized response has a 5xx status code
func (*CheckManifestUnauthorized) IsSuccess ¶
func (o *CheckManifestUnauthorized) IsSuccess() bool
IsSuccess returns true when this check manifest unauthorized response has a 2xx status code
func (*CheckManifestUnauthorized) String ¶
func (o *CheckManifestUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin API
func (*Client) CheckManifest ¶
func (a *Client) CheckManifest(params *CheckManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckManifestOK, *CheckManifestNoContent, error)
CheckManifest checks a manifest
Check a manifest is valid. Returns 204 if valid or, 200 with a list of error(s).
func (*Client) ExportBookings ¶
func (a *Client) ExportBookings(params *ExportBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportBookingsOK, error)
ExportBookings exports a copy of all current bookings
Exports a copy of the current bookings, with sufficient information to allow editing and replacement. If successful produces JSON-formatted bookings list.
func (*Client) ExportManifest ¶
func (a *Client) ExportManifest(params *ExportManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportManifestOK, error)
ExportManifest exports the manifest
Export the manifest (resources, slots, policies, descriptions etc). Does not include bookings or users
func (*Client) ExportOldBookings ¶
func (a *Client) ExportOldBookings(params *ExportOldBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportOldBookingsOK, error)
ExportOldBookings exports a copy of all old bookings
Exports a copy of the old bookings, with sufficient information to allow editing and replacement. If successful produces JSON-formatted bookings list.
func (*Client) ExportUsers ¶
func (a *Client) ExportUsers(params *ExportUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportUsersOK, error)
ExportUsers exports users
Export bookings and usage data for each user
func (*Client) GetResourceIsAvailable ¶ added in v0.3.11
func (a *Client) GetResourceIsAvailable(params *GetResourceIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceIsAvailableOK, error)
GetResourceIsAvailable gets the availability of the resource
Gets the availability of the underlying resource for the slot, including a status message. Indicates when equipment is offline temprorarily, e.g. due to failing an automated test.
func (*Client) GetResources ¶ added in v0.3.11
func (a *Client) GetResources(params *GetResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourcesOK, error)
GetResources gets the list of resources in the manifest
Gets a list of all resources, including their availability and any tests specified
func (*Client) GetSlotIsAvailable ¶
func (a *Client) GetSlotIsAvailable(params *GetSlotIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSlotIsAvailableOK, error)
GetSlotIsAvailable gets the availability of the slot
Gets the availability of the underlying resource for the slot, including a status message. Indicates when equipment is offline temprorarily, e.g. due to failing an automated test.
func (*Client) GetStoreStatusAdmin ¶
func (a *Client) GetStoreStatusAdmin(params *GetStoreStatusAdminParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStoreStatusAdminOK, error)
GetStoreStatusAdmin gets current store status
Gets a count of the number of elements in the store, e.g. Bookings, Descriptions etc to facilitate a necessary but not sufficient check that replace manifest and replace bookings have produced the correct results.
func (*Client) ReplaceBookings ¶
func (a *Client) ReplaceBookings(params *ReplaceBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceBookingsOK, error)
ReplaceBookings replaces current bookings
Deletes all current bookings, refunds usage to users, and then replaces with current bookings. Existing users are retained, new users are created as required to match bookings.
func (*Client) ReplaceManifest ¶
func (a *Client) ReplaceManifest(params *ReplaceManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceManifestOK, error)
ReplaceManifest replaces the manifest
Delete the existing manifest and replace it with a new one. All items have specified names so bookings do not need updating (except perhaps you should if booked resources have been removed)
func (*Client) ReplaceOldBookings ¶
func (a *Client) ReplaceOldBookings(params *ReplaceOldBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceOldBookingsOK, error)
ReplaceOldBookings replaces old bookings
Deletes all old bookings, and all users, then replaces both according to the bookings in the request, i.e. users and their usage are created as required to match 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 booking system is locked for users
func (*Client) SetResourceIsAvailable ¶ added in v0.3.11
func (a *Client) SetResourceIsAvailable(params *SetResourceIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetResourceIsAvailableNoContent, error)
SetResourceIsAvailable sets the availability of the resource
Sets the availability of a resource, including a status message. Used to prevent users accessing equipment that should not be used, e.g. after failing an automated test, or make it available again after fixing it.
func (*Client) SetSlotIsAvailable ¶
func (a *Client) SetSlotIsAvailable(params *SetSlotIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetSlotIsAvailableNoContent, error)
SetSlotIsAvailable sets the availability of the slot
Sets the availability of the underlying resource for the slot, including a status message. Used to prevent users accessing equipment that should not be used, e.g. after failing an automated test, or make it available again after fixing it.
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 { CheckManifest(params *CheckManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckManifestOK, *CheckManifestNoContent, error) ExportBookings(params *ExportBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportBookingsOK, error) ExportManifest(params *ExportManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportManifestOK, error) ExportOldBookings(params *ExportOldBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportOldBookingsOK, error) ExportUsers(params *ExportUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportUsersOK, error) GetResourceIsAvailable(params *GetResourceIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourceIsAvailableOK, error) GetResources(params *GetResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetResourcesOK, error) GetSlotIsAvailable(params *GetSlotIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSlotIsAvailableOK, error) ReplaceBookings(params *ReplaceBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceBookingsOK, error) ReplaceManifest(params *ReplaceManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceManifestOK, error) ReplaceOldBookings(params *ReplaceOldBookingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceOldBookingsOK, error) SetResourceIsAvailable(params *SetResourceIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetResourceIsAvailableNoContent, error) SetSlotIsAvailable(params *SetSlotIsAvailableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetSlotIsAvailableNoContent, error) GetStoreStatusAdmin(params *GetStoreStatusAdminParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStoreStatusAdminOK, 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 ExportBookingsInternalServerError ¶
ExportBookingsInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewExportBookingsInternalServerError ¶
func NewExportBookingsInternalServerError() *ExportBookingsInternalServerError
NewExportBookingsInternalServerError creates a ExportBookingsInternalServerError with default headers values
func (*ExportBookingsInternalServerError) Error ¶
func (o *ExportBookingsInternalServerError) Error() string
func (*ExportBookingsInternalServerError) GetPayload ¶
func (o *ExportBookingsInternalServerError) GetPayload() *models.Error
func (*ExportBookingsInternalServerError) IsClientError ¶
func (o *ExportBookingsInternalServerError) IsClientError() bool
IsClientError returns true when this export bookings internal server error response has a 4xx status code
func (*ExportBookingsInternalServerError) IsCode ¶
func (o *ExportBookingsInternalServerError) IsCode(code int) bool
IsCode returns true when this export bookings internal server error response a status code equal to that given
func (*ExportBookingsInternalServerError) IsRedirect ¶
func (o *ExportBookingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this export bookings internal server error response has a 3xx status code
func (*ExportBookingsInternalServerError) IsServerError ¶
func (o *ExportBookingsInternalServerError) IsServerError() bool
IsServerError returns true when this export bookings internal server error response has a 5xx status code
func (*ExportBookingsInternalServerError) IsSuccess ¶
func (o *ExportBookingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this export bookings internal server error response has a 2xx status code
func (*ExportBookingsInternalServerError) String ¶
func (o *ExportBookingsInternalServerError) String() string
type ExportBookingsNotFound ¶
ExportBookingsNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewExportBookingsNotFound ¶
func NewExportBookingsNotFound() *ExportBookingsNotFound
NewExportBookingsNotFound creates a ExportBookingsNotFound with default headers values
func (*ExportBookingsNotFound) Error ¶
func (o *ExportBookingsNotFound) Error() string
func (*ExportBookingsNotFound) GetPayload ¶
func (o *ExportBookingsNotFound) GetPayload() *models.Error
func (*ExportBookingsNotFound) IsClientError ¶
func (o *ExportBookingsNotFound) IsClientError() bool
IsClientError returns true when this export bookings not found response has a 4xx status code
func (*ExportBookingsNotFound) IsCode ¶
func (o *ExportBookingsNotFound) IsCode(code int) bool
IsCode returns true when this export bookings not found response a status code equal to that given
func (*ExportBookingsNotFound) IsRedirect ¶
func (o *ExportBookingsNotFound) IsRedirect() bool
IsRedirect returns true when this export bookings not found response has a 3xx status code
func (*ExportBookingsNotFound) IsServerError ¶
func (o *ExportBookingsNotFound) IsServerError() bool
IsServerError returns true when this export bookings not found response has a 5xx status code
func (*ExportBookingsNotFound) IsSuccess ¶
func (o *ExportBookingsNotFound) IsSuccess() bool
IsSuccess returns true when this export bookings not found response has a 2xx status code
func (*ExportBookingsNotFound) String ¶
func (o *ExportBookingsNotFound) String() string
type ExportBookingsOK ¶
ExportBookingsOK describes a response with status code 200, with default header values.
OK
func NewExportBookingsOK ¶
func NewExportBookingsOK() *ExportBookingsOK
NewExportBookingsOK creates a ExportBookingsOK with default headers values
func (*ExportBookingsOK) Error ¶
func (o *ExportBookingsOK) Error() string
func (*ExportBookingsOK) GetPayload ¶
func (o *ExportBookingsOK) GetPayload() models.Bookings
func (*ExportBookingsOK) IsClientError ¶
func (o *ExportBookingsOK) IsClientError() bool
IsClientError returns true when this export bookings o k response has a 4xx status code
func (*ExportBookingsOK) IsCode ¶
func (o *ExportBookingsOK) IsCode(code int) bool
IsCode returns true when this export bookings o k response a status code equal to that given
func (*ExportBookingsOK) IsRedirect ¶
func (o *ExportBookingsOK) IsRedirect() bool
IsRedirect returns true when this export bookings o k response has a 3xx status code
func (*ExportBookingsOK) IsServerError ¶
func (o *ExportBookingsOK) IsServerError() bool
IsServerError returns true when this export bookings o k response has a 5xx status code
func (*ExportBookingsOK) IsSuccess ¶
func (o *ExportBookingsOK) IsSuccess() bool
IsSuccess returns true when this export bookings o k response has a 2xx status code
func (*ExportBookingsOK) String ¶
func (o *ExportBookingsOK) String() string
type ExportBookingsParams ¶
type ExportBookingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportBookingsParams contains all the parameters to send to the API endpoint
for the export bookings operation. Typically these are written to a http.Request.
func NewExportBookingsParams ¶
func NewExportBookingsParams() *ExportBookingsParams
NewExportBookingsParams creates a new ExportBookingsParams 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 NewExportBookingsParamsWithContext ¶
func NewExportBookingsParamsWithContext(ctx context.Context) *ExportBookingsParams
NewExportBookingsParamsWithContext creates a new ExportBookingsParams object with the ability to set a context for a request.
func NewExportBookingsParamsWithHTTPClient ¶
func NewExportBookingsParamsWithHTTPClient(client *http.Client) *ExportBookingsParams
NewExportBookingsParamsWithHTTPClient creates a new ExportBookingsParams object with the ability to set a custom HTTPClient for a request.
func NewExportBookingsParamsWithTimeout ¶
func NewExportBookingsParamsWithTimeout(timeout time.Duration) *ExportBookingsParams
NewExportBookingsParamsWithTimeout creates a new ExportBookingsParams object with the ability to set a timeout on a request.
func (*ExportBookingsParams) SetContext ¶
func (o *ExportBookingsParams) SetContext(ctx context.Context)
SetContext adds the context to the export bookings params
func (*ExportBookingsParams) SetDefaults ¶
func (o *ExportBookingsParams) SetDefaults()
SetDefaults hydrates default values in the export bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ExportBookingsParams) SetHTTPClient ¶
func (o *ExportBookingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export bookings params
func (*ExportBookingsParams) SetTimeout ¶
func (o *ExportBookingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export bookings params
func (*ExportBookingsParams) WithContext ¶
func (o *ExportBookingsParams) WithContext(ctx context.Context) *ExportBookingsParams
WithContext adds the context to the export bookings params
func (*ExportBookingsParams) WithDefaults ¶
func (o *ExportBookingsParams) WithDefaults() *ExportBookingsParams
WithDefaults hydrates default values in the export bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ExportBookingsParams) WithHTTPClient ¶
func (o *ExportBookingsParams) WithHTTPClient(client *http.Client) *ExportBookingsParams
WithHTTPClient adds the HTTPClient to the export bookings params
func (*ExportBookingsParams) WithTimeout ¶
func (o *ExportBookingsParams) WithTimeout(timeout time.Duration) *ExportBookingsParams
WithTimeout adds the timeout to the export bookings params
func (*ExportBookingsParams) WriteToRequest ¶
func (o *ExportBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportBookingsReader ¶
type ExportBookingsReader struct {
// contains filtered or unexported fields
}
ExportBookingsReader is a Reader for the ExportBookings structure.
func (*ExportBookingsReader) ReadResponse ¶
func (o *ExportBookingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportBookingsUnauthorized ¶
type ExportBookingsUnauthorized struct {
}ExportBookingsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewExportBookingsUnauthorized ¶
func NewExportBookingsUnauthorized() *ExportBookingsUnauthorized
NewExportBookingsUnauthorized creates a ExportBookingsUnauthorized with default headers values
func (*ExportBookingsUnauthorized) Error ¶
func (o *ExportBookingsUnauthorized) Error() string
func (*ExportBookingsUnauthorized) GetPayload ¶
func (o *ExportBookingsUnauthorized) GetPayload() *models.Error
func (*ExportBookingsUnauthorized) IsClientError ¶
func (o *ExportBookingsUnauthorized) IsClientError() bool
IsClientError returns true when this export bookings unauthorized response has a 4xx status code
func (*ExportBookingsUnauthorized) IsCode ¶
func (o *ExportBookingsUnauthorized) IsCode(code int) bool
IsCode returns true when this export bookings unauthorized response a status code equal to that given
func (*ExportBookingsUnauthorized) IsRedirect ¶
func (o *ExportBookingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this export bookings unauthorized response has a 3xx status code
func (*ExportBookingsUnauthorized) IsServerError ¶
func (o *ExportBookingsUnauthorized) IsServerError() bool
IsServerError returns true when this export bookings unauthorized response has a 5xx status code
func (*ExportBookingsUnauthorized) IsSuccess ¶
func (o *ExportBookingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this export bookings unauthorized response has a 2xx status code
func (*ExportBookingsUnauthorized) String ¶
func (o *ExportBookingsUnauthorized) String() string
type ExportManifestInternalServerError ¶
ExportManifestInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewExportManifestInternalServerError ¶
func NewExportManifestInternalServerError() *ExportManifestInternalServerError
NewExportManifestInternalServerError creates a ExportManifestInternalServerError with default headers values
func (*ExportManifestInternalServerError) Error ¶
func (o *ExportManifestInternalServerError) Error() string
func (*ExportManifestInternalServerError) GetPayload ¶
func (o *ExportManifestInternalServerError) GetPayload() *models.Error
func (*ExportManifestInternalServerError) IsClientError ¶
func (o *ExportManifestInternalServerError) IsClientError() bool
IsClientError returns true when this export manifest internal server error response has a 4xx status code
func (*ExportManifestInternalServerError) IsCode ¶
func (o *ExportManifestInternalServerError) IsCode(code int) bool
IsCode returns true when this export manifest internal server error response a status code equal to that given
func (*ExportManifestInternalServerError) IsRedirect ¶
func (o *ExportManifestInternalServerError) IsRedirect() bool
IsRedirect returns true when this export manifest internal server error response has a 3xx status code
func (*ExportManifestInternalServerError) IsServerError ¶
func (o *ExportManifestInternalServerError) IsServerError() bool
IsServerError returns true when this export manifest internal server error response has a 5xx status code
func (*ExportManifestInternalServerError) IsSuccess ¶
func (o *ExportManifestInternalServerError) IsSuccess() bool
IsSuccess returns true when this export manifest internal server error response has a 2xx status code
func (*ExportManifestInternalServerError) String ¶
func (o *ExportManifestInternalServerError) String() string
type ExportManifestNotFound ¶
ExportManifestNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewExportManifestNotFound ¶
func NewExportManifestNotFound() *ExportManifestNotFound
NewExportManifestNotFound creates a ExportManifestNotFound with default headers values
func (*ExportManifestNotFound) Error ¶
func (o *ExportManifestNotFound) Error() string
func (*ExportManifestNotFound) GetPayload ¶
func (o *ExportManifestNotFound) GetPayload() *models.Error
func (*ExportManifestNotFound) IsClientError ¶
func (o *ExportManifestNotFound) IsClientError() bool
IsClientError returns true when this export manifest not found response has a 4xx status code
func (*ExportManifestNotFound) IsCode ¶
func (o *ExportManifestNotFound) IsCode(code int) bool
IsCode returns true when this export manifest not found response a status code equal to that given
func (*ExportManifestNotFound) IsRedirect ¶
func (o *ExportManifestNotFound) IsRedirect() bool
IsRedirect returns true when this export manifest not found response has a 3xx status code
func (*ExportManifestNotFound) IsServerError ¶
func (o *ExportManifestNotFound) IsServerError() bool
IsServerError returns true when this export manifest not found response has a 5xx status code
func (*ExportManifestNotFound) IsSuccess ¶
func (o *ExportManifestNotFound) IsSuccess() bool
IsSuccess returns true when this export manifest not found response has a 2xx status code
func (*ExportManifestNotFound) String ¶
func (o *ExportManifestNotFound) String() string
type ExportManifestOK ¶
ExportManifestOK describes a response with status code 200, with default header values.
OK
func NewExportManifestOK ¶
func NewExportManifestOK() *ExportManifestOK
NewExportManifestOK creates a ExportManifestOK with default headers values
func (*ExportManifestOK) Error ¶
func (o *ExportManifestOK) Error() string
func (*ExportManifestOK) GetPayload ¶
func (o *ExportManifestOK) GetPayload() *models.Manifest
func (*ExportManifestOK) IsClientError ¶
func (o *ExportManifestOK) IsClientError() bool
IsClientError returns true when this export manifest o k response has a 4xx status code
func (*ExportManifestOK) IsCode ¶
func (o *ExportManifestOK) IsCode(code int) bool
IsCode returns true when this export manifest o k response a status code equal to that given
func (*ExportManifestOK) IsRedirect ¶
func (o *ExportManifestOK) IsRedirect() bool
IsRedirect returns true when this export manifest o k response has a 3xx status code
func (*ExportManifestOK) IsServerError ¶
func (o *ExportManifestOK) IsServerError() bool
IsServerError returns true when this export manifest o k response has a 5xx status code
func (*ExportManifestOK) IsSuccess ¶
func (o *ExportManifestOK) IsSuccess() bool
IsSuccess returns true when this export manifest o k response has a 2xx status code
func (*ExportManifestOK) String ¶
func (o *ExportManifestOK) String() string
type ExportManifestParams ¶
type ExportManifestParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportManifestParams contains all the parameters to send to the API endpoint
for the export manifest operation. Typically these are written to a http.Request.
func NewExportManifestParams ¶
func NewExportManifestParams() *ExportManifestParams
NewExportManifestParams creates a new ExportManifestParams 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 NewExportManifestParamsWithContext ¶
func NewExportManifestParamsWithContext(ctx context.Context) *ExportManifestParams
NewExportManifestParamsWithContext creates a new ExportManifestParams object with the ability to set a context for a request.
func NewExportManifestParamsWithHTTPClient ¶
func NewExportManifestParamsWithHTTPClient(client *http.Client) *ExportManifestParams
NewExportManifestParamsWithHTTPClient creates a new ExportManifestParams object with the ability to set a custom HTTPClient for a request.
func NewExportManifestParamsWithTimeout ¶
func NewExportManifestParamsWithTimeout(timeout time.Duration) *ExportManifestParams
NewExportManifestParamsWithTimeout creates a new ExportManifestParams object with the ability to set a timeout on a request.
func (*ExportManifestParams) SetContext ¶
func (o *ExportManifestParams) SetContext(ctx context.Context)
SetContext adds the context to the export manifest params
func (*ExportManifestParams) SetDefaults ¶
func (o *ExportManifestParams) SetDefaults()
SetDefaults hydrates default values in the export manifest params (not the query body).
All values with no default are reset to their zero value.
func (*ExportManifestParams) SetHTTPClient ¶
func (o *ExportManifestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export manifest params
func (*ExportManifestParams) SetTimeout ¶
func (o *ExportManifestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export manifest params
func (*ExportManifestParams) WithContext ¶
func (o *ExportManifestParams) WithContext(ctx context.Context) *ExportManifestParams
WithContext adds the context to the export manifest params
func (*ExportManifestParams) WithDefaults ¶
func (o *ExportManifestParams) WithDefaults() *ExportManifestParams
WithDefaults hydrates default values in the export manifest params (not the query body).
All values with no default are reset to their zero value.
func (*ExportManifestParams) WithHTTPClient ¶
func (o *ExportManifestParams) WithHTTPClient(client *http.Client) *ExportManifestParams
WithHTTPClient adds the HTTPClient to the export manifest params
func (*ExportManifestParams) WithTimeout ¶
func (o *ExportManifestParams) WithTimeout(timeout time.Duration) *ExportManifestParams
WithTimeout adds the timeout to the export manifest params
func (*ExportManifestParams) WriteToRequest ¶
func (o *ExportManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportManifestReader ¶
type ExportManifestReader struct {
// contains filtered or unexported fields
}
ExportManifestReader is a Reader for the ExportManifest structure.
func (*ExportManifestReader) ReadResponse ¶
func (o *ExportManifestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportManifestUnauthorized ¶
type ExportManifestUnauthorized struct {
}ExportManifestUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewExportManifestUnauthorized ¶
func NewExportManifestUnauthorized() *ExportManifestUnauthorized
NewExportManifestUnauthorized creates a ExportManifestUnauthorized with default headers values
func (*ExportManifestUnauthorized) Error ¶
func (o *ExportManifestUnauthorized) Error() string
func (*ExportManifestUnauthorized) GetPayload ¶
func (o *ExportManifestUnauthorized) GetPayload() *models.Error
func (*ExportManifestUnauthorized) IsClientError ¶
func (o *ExportManifestUnauthorized) IsClientError() bool
IsClientError returns true when this export manifest unauthorized response has a 4xx status code
func (*ExportManifestUnauthorized) IsCode ¶
func (o *ExportManifestUnauthorized) IsCode(code int) bool
IsCode returns true when this export manifest unauthorized response a status code equal to that given
func (*ExportManifestUnauthorized) IsRedirect ¶
func (o *ExportManifestUnauthorized) IsRedirect() bool
IsRedirect returns true when this export manifest unauthorized response has a 3xx status code
func (*ExportManifestUnauthorized) IsServerError ¶
func (o *ExportManifestUnauthorized) IsServerError() bool
IsServerError returns true when this export manifest unauthorized response has a 5xx status code
func (*ExportManifestUnauthorized) IsSuccess ¶
func (o *ExportManifestUnauthorized) IsSuccess() bool
IsSuccess returns true when this export manifest unauthorized response has a 2xx status code
func (*ExportManifestUnauthorized) String ¶
func (o *ExportManifestUnauthorized) String() string
type ExportOldBookingsInternalServerError ¶
ExportOldBookingsInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewExportOldBookingsInternalServerError ¶
func NewExportOldBookingsInternalServerError() *ExportOldBookingsInternalServerError
NewExportOldBookingsInternalServerError creates a ExportOldBookingsInternalServerError with default headers values
func (*ExportOldBookingsInternalServerError) Error ¶
func (o *ExportOldBookingsInternalServerError) Error() string
func (*ExportOldBookingsInternalServerError) GetPayload ¶
func (o *ExportOldBookingsInternalServerError) GetPayload() *models.Error
func (*ExportOldBookingsInternalServerError) IsClientError ¶
func (o *ExportOldBookingsInternalServerError) IsClientError() bool
IsClientError returns true when this export old bookings internal server error response has a 4xx status code
func (*ExportOldBookingsInternalServerError) IsCode ¶
func (o *ExportOldBookingsInternalServerError) IsCode(code int) bool
IsCode returns true when this export old bookings internal server error response a status code equal to that given
func (*ExportOldBookingsInternalServerError) IsRedirect ¶
func (o *ExportOldBookingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this export old bookings internal server error response has a 3xx status code
func (*ExportOldBookingsInternalServerError) IsServerError ¶
func (o *ExportOldBookingsInternalServerError) IsServerError() bool
IsServerError returns true when this export old bookings internal server error response has a 5xx status code
func (*ExportOldBookingsInternalServerError) IsSuccess ¶
func (o *ExportOldBookingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this export old bookings internal server error response has a 2xx status code
func (*ExportOldBookingsInternalServerError) String ¶
func (o *ExportOldBookingsInternalServerError) String() string
type ExportOldBookingsNotFound ¶
ExportOldBookingsNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewExportOldBookingsNotFound ¶
func NewExportOldBookingsNotFound() *ExportOldBookingsNotFound
NewExportOldBookingsNotFound creates a ExportOldBookingsNotFound with default headers values
func (*ExportOldBookingsNotFound) Error ¶
func (o *ExportOldBookingsNotFound) Error() string
func (*ExportOldBookingsNotFound) GetPayload ¶
func (o *ExportOldBookingsNotFound) GetPayload() *models.Error
func (*ExportOldBookingsNotFound) IsClientError ¶
func (o *ExportOldBookingsNotFound) IsClientError() bool
IsClientError returns true when this export old bookings not found response has a 4xx status code
func (*ExportOldBookingsNotFound) IsCode ¶
func (o *ExportOldBookingsNotFound) IsCode(code int) bool
IsCode returns true when this export old bookings not found response a status code equal to that given
func (*ExportOldBookingsNotFound) IsRedirect ¶
func (o *ExportOldBookingsNotFound) IsRedirect() bool
IsRedirect returns true when this export old bookings not found response has a 3xx status code
func (*ExportOldBookingsNotFound) IsServerError ¶
func (o *ExportOldBookingsNotFound) IsServerError() bool
IsServerError returns true when this export old bookings not found response has a 5xx status code
func (*ExportOldBookingsNotFound) IsSuccess ¶
func (o *ExportOldBookingsNotFound) IsSuccess() bool
IsSuccess returns true when this export old bookings not found response has a 2xx status code
func (*ExportOldBookingsNotFound) String ¶
func (o *ExportOldBookingsNotFound) String() string
type ExportOldBookingsOK ¶
ExportOldBookingsOK describes a response with status code 200, with default header values.
OK
func NewExportOldBookingsOK ¶
func NewExportOldBookingsOK() *ExportOldBookingsOK
NewExportOldBookingsOK creates a ExportOldBookingsOK with default headers values
func (*ExportOldBookingsOK) Error ¶
func (o *ExportOldBookingsOK) Error() string
func (*ExportOldBookingsOK) GetPayload ¶
func (o *ExportOldBookingsOK) GetPayload() models.Bookings
func (*ExportOldBookingsOK) IsClientError ¶
func (o *ExportOldBookingsOK) IsClientError() bool
IsClientError returns true when this export old bookings o k response has a 4xx status code
func (*ExportOldBookingsOK) IsCode ¶
func (o *ExportOldBookingsOK) IsCode(code int) bool
IsCode returns true when this export old bookings o k response a status code equal to that given
func (*ExportOldBookingsOK) IsRedirect ¶
func (o *ExportOldBookingsOK) IsRedirect() bool
IsRedirect returns true when this export old bookings o k response has a 3xx status code
func (*ExportOldBookingsOK) IsServerError ¶
func (o *ExportOldBookingsOK) IsServerError() bool
IsServerError returns true when this export old bookings o k response has a 5xx status code
func (*ExportOldBookingsOK) IsSuccess ¶
func (o *ExportOldBookingsOK) IsSuccess() bool
IsSuccess returns true when this export old bookings o k response has a 2xx status code
func (*ExportOldBookingsOK) String ¶
func (o *ExportOldBookingsOK) String() string
type ExportOldBookingsParams ¶
type ExportOldBookingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportOldBookingsParams contains all the parameters to send to the API endpoint
for the export old bookings operation. Typically these are written to a http.Request.
func NewExportOldBookingsParams ¶
func NewExportOldBookingsParams() *ExportOldBookingsParams
NewExportOldBookingsParams creates a new ExportOldBookingsParams 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 NewExportOldBookingsParamsWithContext ¶
func NewExportOldBookingsParamsWithContext(ctx context.Context) *ExportOldBookingsParams
NewExportOldBookingsParamsWithContext creates a new ExportOldBookingsParams object with the ability to set a context for a request.
func NewExportOldBookingsParamsWithHTTPClient ¶
func NewExportOldBookingsParamsWithHTTPClient(client *http.Client) *ExportOldBookingsParams
NewExportOldBookingsParamsWithHTTPClient creates a new ExportOldBookingsParams object with the ability to set a custom HTTPClient for a request.
func NewExportOldBookingsParamsWithTimeout ¶
func NewExportOldBookingsParamsWithTimeout(timeout time.Duration) *ExportOldBookingsParams
NewExportOldBookingsParamsWithTimeout creates a new ExportOldBookingsParams object with the ability to set a timeout on a request.
func (*ExportOldBookingsParams) SetContext ¶
func (o *ExportOldBookingsParams) SetContext(ctx context.Context)
SetContext adds the context to the export old bookings params
func (*ExportOldBookingsParams) SetDefaults ¶
func (o *ExportOldBookingsParams) SetDefaults()
SetDefaults hydrates default values in the export old bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ExportOldBookingsParams) SetHTTPClient ¶
func (o *ExportOldBookingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export old bookings params
func (*ExportOldBookingsParams) SetTimeout ¶
func (o *ExportOldBookingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export old bookings params
func (*ExportOldBookingsParams) WithContext ¶
func (o *ExportOldBookingsParams) WithContext(ctx context.Context) *ExportOldBookingsParams
WithContext adds the context to the export old bookings params
func (*ExportOldBookingsParams) WithDefaults ¶
func (o *ExportOldBookingsParams) WithDefaults() *ExportOldBookingsParams
WithDefaults hydrates default values in the export old bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ExportOldBookingsParams) WithHTTPClient ¶
func (o *ExportOldBookingsParams) WithHTTPClient(client *http.Client) *ExportOldBookingsParams
WithHTTPClient adds the HTTPClient to the export old bookings params
func (*ExportOldBookingsParams) WithTimeout ¶
func (o *ExportOldBookingsParams) WithTimeout(timeout time.Duration) *ExportOldBookingsParams
WithTimeout adds the timeout to the export old bookings params
func (*ExportOldBookingsParams) WriteToRequest ¶
func (o *ExportOldBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportOldBookingsReader ¶
type ExportOldBookingsReader struct {
// contains filtered or unexported fields
}
ExportOldBookingsReader is a Reader for the ExportOldBookings structure.
func (*ExportOldBookingsReader) ReadResponse ¶
func (o *ExportOldBookingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportOldBookingsUnauthorized ¶
type ExportOldBookingsUnauthorized struct {
}ExportOldBookingsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewExportOldBookingsUnauthorized ¶
func NewExportOldBookingsUnauthorized() *ExportOldBookingsUnauthorized
NewExportOldBookingsUnauthorized creates a ExportOldBookingsUnauthorized with default headers values
func (*ExportOldBookingsUnauthorized) Error ¶
func (o *ExportOldBookingsUnauthorized) Error() string
func (*ExportOldBookingsUnauthorized) GetPayload ¶
func (o *ExportOldBookingsUnauthorized) GetPayload() *models.Error
func (*ExportOldBookingsUnauthorized) IsClientError ¶
func (o *ExportOldBookingsUnauthorized) IsClientError() bool
IsClientError returns true when this export old bookings unauthorized response has a 4xx status code
func (*ExportOldBookingsUnauthorized) IsCode ¶
func (o *ExportOldBookingsUnauthorized) IsCode(code int) bool
IsCode returns true when this export old bookings unauthorized response a status code equal to that given
func (*ExportOldBookingsUnauthorized) IsRedirect ¶
func (o *ExportOldBookingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this export old bookings unauthorized response has a 3xx status code
func (*ExportOldBookingsUnauthorized) IsServerError ¶
func (o *ExportOldBookingsUnauthorized) IsServerError() bool
IsServerError returns true when this export old bookings unauthorized response has a 5xx status code
func (*ExportOldBookingsUnauthorized) IsSuccess ¶
func (o *ExportOldBookingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this export old bookings unauthorized response has a 2xx status code
func (*ExportOldBookingsUnauthorized) String ¶
func (o *ExportOldBookingsUnauthorized) String() string
type ExportUsersInternalServerError ¶
ExportUsersInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewExportUsersInternalServerError ¶
func NewExportUsersInternalServerError() *ExportUsersInternalServerError
NewExportUsersInternalServerError creates a ExportUsersInternalServerError with default headers values
func (*ExportUsersInternalServerError) Error ¶
func (o *ExportUsersInternalServerError) Error() string
func (*ExportUsersInternalServerError) GetPayload ¶
func (o *ExportUsersInternalServerError) GetPayload() *models.Error
func (*ExportUsersInternalServerError) IsClientError ¶
func (o *ExportUsersInternalServerError) IsClientError() bool
IsClientError returns true when this export users internal server error response has a 4xx status code
func (*ExportUsersInternalServerError) IsCode ¶
func (o *ExportUsersInternalServerError) IsCode(code int) bool
IsCode returns true when this export users internal server error response a status code equal to that given
func (*ExportUsersInternalServerError) IsRedirect ¶
func (o *ExportUsersInternalServerError) IsRedirect() bool
IsRedirect returns true when this export users internal server error response has a 3xx status code
func (*ExportUsersInternalServerError) IsServerError ¶
func (o *ExportUsersInternalServerError) IsServerError() bool
IsServerError returns true when this export users internal server error response has a 5xx status code
func (*ExportUsersInternalServerError) IsSuccess ¶
func (o *ExportUsersInternalServerError) IsSuccess() bool
IsSuccess returns true when this export users internal server error response has a 2xx status code
func (*ExportUsersInternalServerError) String ¶
func (o *ExportUsersInternalServerError) String() string
type ExportUsersNotFound ¶
ExportUsersNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewExportUsersNotFound ¶
func NewExportUsersNotFound() *ExportUsersNotFound
NewExportUsersNotFound creates a ExportUsersNotFound with default headers values
func (*ExportUsersNotFound) Error ¶
func (o *ExportUsersNotFound) Error() string
func (*ExportUsersNotFound) GetPayload ¶
func (o *ExportUsersNotFound) GetPayload() *models.Error
func (*ExportUsersNotFound) IsClientError ¶
func (o *ExportUsersNotFound) IsClientError() bool
IsClientError returns true when this export users not found response has a 4xx status code
func (*ExportUsersNotFound) IsCode ¶
func (o *ExportUsersNotFound) IsCode(code int) bool
IsCode returns true when this export users not found response a status code equal to that given
func (*ExportUsersNotFound) IsRedirect ¶
func (o *ExportUsersNotFound) IsRedirect() bool
IsRedirect returns true when this export users not found response has a 3xx status code
func (*ExportUsersNotFound) IsServerError ¶
func (o *ExportUsersNotFound) IsServerError() bool
IsServerError returns true when this export users not found response has a 5xx status code
func (*ExportUsersNotFound) IsSuccess ¶
func (o *ExportUsersNotFound) IsSuccess() bool
IsSuccess returns true when this export users not found response has a 2xx status code
func (*ExportUsersNotFound) String ¶
func (o *ExportUsersNotFound) String() string
type ExportUsersOK ¶
ExportUsersOK describes a response with status code 200, with default header values.
OK
func NewExportUsersOK ¶
func NewExportUsersOK() *ExportUsersOK
NewExportUsersOK creates a ExportUsersOK with default headers values
func (*ExportUsersOK) Error ¶
func (o *ExportUsersOK) Error() string
func (*ExportUsersOK) GetPayload ¶
func (o *ExportUsersOK) GetPayload() models.Users
func (*ExportUsersOK) IsClientError ¶
func (o *ExportUsersOK) IsClientError() bool
IsClientError returns true when this export users o k response has a 4xx status code
func (*ExportUsersOK) IsCode ¶
func (o *ExportUsersOK) IsCode(code int) bool
IsCode returns true when this export users o k response a status code equal to that given
func (*ExportUsersOK) IsRedirect ¶
func (o *ExportUsersOK) IsRedirect() bool
IsRedirect returns true when this export users o k response has a 3xx status code
func (*ExportUsersOK) IsServerError ¶
func (o *ExportUsersOK) IsServerError() bool
IsServerError returns true when this export users o k response has a 5xx status code
func (*ExportUsersOK) IsSuccess ¶
func (o *ExportUsersOK) IsSuccess() bool
IsSuccess returns true when this export users o k response has a 2xx status code
func (*ExportUsersOK) String ¶
func (o *ExportUsersOK) String() string
type ExportUsersParams ¶
type ExportUsersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportUsersParams contains all the parameters to send to the API endpoint
for the export users operation. Typically these are written to a http.Request.
func NewExportUsersParams ¶
func NewExportUsersParams() *ExportUsersParams
NewExportUsersParams creates a new ExportUsersParams 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 NewExportUsersParamsWithContext ¶
func NewExportUsersParamsWithContext(ctx context.Context) *ExportUsersParams
NewExportUsersParamsWithContext creates a new ExportUsersParams object with the ability to set a context for a request.
func NewExportUsersParamsWithHTTPClient ¶
func NewExportUsersParamsWithHTTPClient(client *http.Client) *ExportUsersParams
NewExportUsersParamsWithHTTPClient creates a new ExportUsersParams object with the ability to set a custom HTTPClient for a request.
func NewExportUsersParamsWithTimeout ¶
func NewExportUsersParamsWithTimeout(timeout time.Duration) *ExportUsersParams
NewExportUsersParamsWithTimeout creates a new ExportUsersParams object with the ability to set a timeout on a request.
func (*ExportUsersParams) SetContext ¶
func (o *ExportUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the export users params
func (*ExportUsersParams) SetDefaults ¶
func (o *ExportUsersParams) SetDefaults()
SetDefaults hydrates default values in the export users params (not the query body).
All values with no default are reset to their zero value.
func (*ExportUsersParams) SetHTTPClient ¶
func (o *ExportUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export users params
func (*ExportUsersParams) SetTimeout ¶
func (o *ExportUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export users params
func (*ExportUsersParams) WithContext ¶
func (o *ExportUsersParams) WithContext(ctx context.Context) *ExportUsersParams
WithContext adds the context to the export users params
func (*ExportUsersParams) WithDefaults ¶
func (o *ExportUsersParams) WithDefaults() *ExportUsersParams
WithDefaults hydrates default values in the export users params (not the query body).
All values with no default are reset to their zero value.
func (*ExportUsersParams) WithHTTPClient ¶
func (o *ExportUsersParams) WithHTTPClient(client *http.Client) *ExportUsersParams
WithHTTPClient adds the HTTPClient to the export users params
func (*ExportUsersParams) WithTimeout ¶
func (o *ExportUsersParams) WithTimeout(timeout time.Duration) *ExportUsersParams
WithTimeout adds the timeout to the export users params
func (*ExportUsersParams) WriteToRequest ¶
func (o *ExportUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportUsersReader ¶
type ExportUsersReader struct {
// contains filtered or unexported fields
}
ExportUsersReader is a Reader for the ExportUsers structure.
func (*ExportUsersReader) ReadResponse ¶
func (o *ExportUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportUsersUnauthorized ¶
type ExportUsersUnauthorized struct {
}ExportUsersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewExportUsersUnauthorized ¶
func NewExportUsersUnauthorized() *ExportUsersUnauthorized
NewExportUsersUnauthorized creates a ExportUsersUnauthorized with default headers values
func (*ExportUsersUnauthorized) Error ¶
func (o *ExportUsersUnauthorized) Error() string
func (*ExportUsersUnauthorized) GetPayload ¶
func (o *ExportUsersUnauthorized) GetPayload() *models.Error
func (*ExportUsersUnauthorized) IsClientError ¶
func (o *ExportUsersUnauthorized) IsClientError() bool
IsClientError returns true when this export users unauthorized response has a 4xx status code
func (*ExportUsersUnauthorized) IsCode ¶
func (o *ExportUsersUnauthorized) IsCode(code int) bool
IsCode returns true when this export users unauthorized response a status code equal to that given
func (*ExportUsersUnauthorized) IsRedirect ¶
func (o *ExportUsersUnauthorized) IsRedirect() bool
IsRedirect returns true when this export users unauthorized response has a 3xx status code
func (*ExportUsersUnauthorized) IsServerError ¶
func (o *ExportUsersUnauthorized) IsServerError() bool
IsServerError returns true when this export users unauthorized response has a 5xx status code
func (*ExportUsersUnauthorized) IsSuccess ¶
func (o *ExportUsersUnauthorized) IsSuccess() bool
IsSuccess returns true when this export users unauthorized response has a 2xx status code
func (*ExportUsersUnauthorized) String ¶
func (o *ExportUsersUnauthorized) String() string
type GetResourceIsAvailableInternalServerError ¶ added in v0.3.11
GetResourceIsAvailableInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetResourceIsAvailableInternalServerError ¶ added in v0.3.11
func NewGetResourceIsAvailableInternalServerError() *GetResourceIsAvailableInternalServerError
NewGetResourceIsAvailableInternalServerError creates a GetResourceIsAvailableInternalServerError with default headers values
func (*GetResourceIsAvailableInternalServerError) Error ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) Error() string
func (*GetResourceIsAvailableInternalServerError) GetPayload ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) GetPayload() *models.Error
func (*GetResourceIsAvailableInternalServerError) IsClientError ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) IsClientError() bool
IsClientError returns true when this get resource is available internal server error response has a 4xx status code
func (*GetResourceIsAvailableInternalServerError) IsCode ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) IsCode(code int) bool
IsCode returns true when this get resource is available internal server error response a status code equal to that given
func (*GetResourceIsAvailableInternalServerError) IsRedirect ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) IsRedirect() bool
IsRedirect returns true when this get resource is available internal server error response has a 3xx status code
func (*GetResourceIsAvailableInternalServerError) IsServerError ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) IsServerError() bool
IsServerError returns true when this get resource is available internal server error response has a 5xx status code
func (*GetResourceIsAvailableInternalServerError) IsSuccess ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) IsSuccess() bool
IsSuccess returns true when this get resource is available internal server error response has a 2xx status code
func (*GetResourceIsAvailableInternalServerError) String ¶ added in v0.3.11
func (o *GetResourceIsAvailableInternalServerError) String() string
type GetResourceIsAvailableNotFound ¶ added in v0.3.11
GetResourceIsAvailableNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetResourceIsAvailableNotFound ¶ added in v0.3.11
func NewGetResourceIsAvailableNotFound() *GetResourceIsAvailableNotFound
NewGetResourceIsAvailableNotFound creates a GetResourceIsAvailableNotFound with default headers values
func (*GetResourceIsAvailableNotFound) Error ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) Error() string
func (*GetResourceIsAvailableNotFound) GetPayload ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) GetPayload() *models.Error
func (*GetResourceIsAvailableNotFound) IsClientError ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) IsClientError() bool
IsClientError returns true when this get resource is available not found response has a 4xx status code
func (*GetResourceIsAvailableNotFound) IsCode ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) IsCode(code int) bool
IsCode returns true when this get resource is available not found response a status code equal to that given
func (*GetResourceIsAvailableNotFound) IsRedirect ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) IsRedirect() bool
IsRedirect returns true when this get resource is available not found response has a 3xx status code
func (*GetResourceIsAvailableNotFound) IsServerError ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) IsServerError() bool
IsServerError returns true when this get resource is available not found response has a 5xx status code
func (*GetResourceIsAvailableNotFound) IsSuccess ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) IsSuccess() bool
IsSuccess returns true when this get resource is available not found response has a 2xx status code
func (*GetResourceIsAvailableNotFound) String ¶ added in v0.3.11
func (o *GetResourceIsAvailableNotFound) String() string
type GetResourceIsAvailableOK ¶ added in v0.3.11
type GetResourceIsAvailableOK struct {
Payload *models.ResourceStatus
}
GetResourceIsAvailableOK describes a response with status code 200, with default header values.
OK
func NewGetResourceIsAvailableOK ¶ added in v0.3.11
func NewGetResourceIsAvailableOK() *GetResourceIsAvailableOK
NewGetResourceIsAvailableOK creates a GetResourceIsAvailableOK with default headers values
func (*GetResourceIsAvailableOK) Error ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) Error() string
func (*GetResourceIsAvailableOK) GetPayload ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) GetPayload() *models.ResourceStatus
func (*GetResourceIsAvailableOK) IsClientError ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) IsClientError() bool
IsClientError returns true when this get resource is available o k response has a 4xx status code
func (*GetResourceIsAvailableOK) IsCode ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) IsCode(code int) bool
IsCode returns true when this get resource is available o k response a status code equal to that given
func (*GetResourceIsAvailableOK) IsRedirect ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) IsRedirect() bool
IsRedirect returns true when this get resource is available o k response has a 3xx status code
func (*GetResourceIsAvailableOK) IsServerError ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) IsServerError() bool
IsServerError returns true when this get resource is available o k response has a 5xx status code
func (*GetResourceIsAvailableOK) IsSuccess ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) IsSuccess() bool
IsSuccess returns true when this get resource is available o k response has a 2xx status code
func (*GetResourceIsAvailableOK) String ¶ added in v0.3.11
func (o *GetResourceIsAvailableOK) String() string
type GetResourceIsAvailableParams ¶ added in v0.3.11
type GetResourceIsAvailableParams struct { // ResourceName. ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceIsAvailableParams contains all the parameters to send to the API endpoint
for the get resource is available operation. Typically these are written to a http.Request.
func NewGetResourceIsAvailableParams ¶ added in v0.3.11
func NewGetResourceIsAvailableParams() *GetResourceIsAvailableParams
NewGetResourceIsAvailableParams creates a new GetResourceIsAvailableParams 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 NewGetResourceIsAvailableParamsWithContext ¶ added in v0.3.11
func NewGetResourceIsAvailableParamsWithContext(ctx context.Context) *GetResourceIsAvailableParams
NewGetResourceIsAvailableParamsWithContext creates a new GetResourceIsAvailableParams object with the ability to set a context for a request.
func NewGetResourceIsAvailableParamsWithHTTPClient ¶ added in v0.3.11
func NewGetResourceIsAvailableParamsWithHTTPClient(client *http.Client) *GetResourceIsAvailableParams
NewGetResourceIsAvailableParamsWithHTTPClient creates a new GetResourceIsAvailableParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourceIsAvailableParamsWithTimeout ¶ added in v0.3.11
func NewGetResourceIsAvailableParamsWithTimeout(timeout time.Duration) *GetResourceIsAvailableParams
NewGetResourceIsAvailableParamsWithTimeout creates a new GetResourceIsAvailableParams object with the ability to set a timeout on a request.
func (*GetResourceIsAvailableParams) SetContext ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource is available params
func (*GetResourceIsAvailableParams) SetDefaults ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) SetDefaults()
SetDefaults hydrates default values in the get resource is available params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceIsAvailableParams) SetHTTPClient ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource is available params
func (*GetResourceIsAvailableParams) SetResourceName ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the get resource is available params
func (*GetResourceIsAvailableParams) SetTimeout ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource is available params
func (*GetResourceIsAvailableParams) WithContext ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) WithContext(ctx context.Context) *GetResourceIsAvailableParams
WithContext adds the context to the get resource is available params
func (*GetResourceIsAvailableParams) WithDefaults ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) WithDefaults() *GetResourceIsAvailableParams
WithDefaults hydrates default values in the get resource is available params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourceIsAvailableParams) WithHTTPClient ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) WithHTTPClient(client *http.Client) *GetResourceIsAvailableParams
WithHTTPClient adds the HTTPClient to the get resource is available params
func (*GetResourceIsAvailableParams) WithResourceName ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) WithResourceName(resourceName string) *GetResourceIsAvailableParams
WithResourceName adds the resourceName to the get resource is available params
func (*GetResourceIsAvailableParams) WithTimeout ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) WithTimeout(timeout time.Duration) *GetResourceIsAvailableParams
WithTimeout adds the timeout to the get resource is available params
func (*GetResourceIsAvailableParams) WriteToRequest ¶ added in v0.3.11
func (o *GetResourceIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceIsAvailableReader ¶ added in v0.3.11
type GetResourceIsAvailableReader struct {
// contains filtered or unexported fields
}
GetResourceIsAvailableReader is a Reader for the GetResourceIsAvailable structure.
func (*GetResourceIsAvailableReader) ReadResponse ¶ added in v0.3.11
func (o *GetResourceIsAvailableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceIsAvailableUnauthorized ¶ added in v0.3.11
type GetResourceIsAvailableUnauthorized struct {
}GetResourceIsAvailableUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetResourceIsAvailableUnauthorized ¶ added in v0.3.11
func NewGetResourceIsAvailableUnauthorized() *GetResourceIsAvailableUnauthorized
NewGetResourceIsAvailableUnauthorized creates a GetResourceIsAvailableUnauthorized with default headers values
func (*GetResourceIsAvailableUnauthorized) Error ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) Error() string
func (*GetResourceIsAvailableUnauthorized) GetPayload ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) GetPayload() *models.Error
func (*GetResourceIsAvailableUnauthorized) IsClientError ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) IsClientError() bool
IsClientError returns true when this get resource is available unauthorized response has a 4xx status code
func (*GetResourceIsAvailableUnauthorized) IsCode ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) IsCode(code int) bool
IsCode returns true when this get resource is available unauthorized response a status code equal to that given
func (*GetResourceIsAvailableUnauthorized) IsRedirect ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) IsRedirect() bool
IsRedirect returns true when this get resource is available unauthorized response has a 3xx status code
func (*GetResourceIsAvailableUnauthorized) IsServerError ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) IsServerError() bool
IsServerError returns true when this get resource is available unauthorized response has a 5xx status code
func (*GetResourceIsAvailableUnauthorized) IsSuccess ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) IsSuccess() bool
IsSuccess returns true when this get resource is available unauthorized response has a 2xx status code
func (*GetResourceIsAvailableUnauthorized) String ¶ added in v0.3.11
func (o *GetResourceIsAvailableUnauthorized) String() string
type GetResourcesInternalServerError ¶ added in v0.3.11
GetResourcesInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetResourcesInternalServerError ¶ added in v0.3.11
func NewGetResourcesInternalServerError() *GetResourcesInternalServerError
NewGetResourcesInternalServerError creates a GetResourcesInternalServerError with default headers values
func (*GetResourcesInternalServerError) Error ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) Error() string
func (*GetResourcesInternalServerError) GetPayload ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) GetPayload() *models.Error
func (*GetResourcesInternalServerError) IsClientError ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) IsClientError() bool
IsClientError returns true when this get resources internal server error response has a 4xx status code
func (*GetResourcesInternalServerError) IsCode ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) IsCode(code int) bool
IsCode returns true when this get resources internal server error response a status code equal to that given
func (*GetResourcesInternalServerError) IsRedirect ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get resources internal server error response has a 3xx status code
func (*GetResourcesInternalServerError) IsServerError ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) IsServerError() bool
IsServerError returns true when this get resources internal server error response has a 5xx status code
func (*GetResourcesInternalServerError) IsSuccess ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get resources internal server error response has a 2xx status code
func (*GetResourcesInternalServerError) String ¶ added in v0.3.11
func (o *GetResourcesInternalServerError) String() string
type GetResourcesNotFound ¶ added in v0.3.11
GetResourcesNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetResourcesNotFound ¶ added in v0.3.11
func NewGetResourcesNotFound() *GetResourcesNotFound
NewGetResourcesNotFound creates a GetResourcesNotFound with default headers values
func (*GetResourcesNotFound) Error ¶ added in v0.3.11
func (o *GetResourcesNotFound) Error() string
func (*GetResourcesNotFound) GetPayload ¶ added in v0.3.11
func (o *GetResourcesNotFound) GetPayload() *models.Error
func (*GetResourcesNotFound) IsClientError ¶ added in v0.3.11
func (o *GetResourcesNotFound) IsClientError() bool
IsClientError returns true when this get resources not found response has a 4xx status code
func (*GetResourcesNotFound) IsCode ¶ added in v0.3.11
func (o *GetResourcesNotFound) IsCode(code int) bool
IsCode returns true when this get resources not found response a status code equal to that given
func (*GetResourcesNotFound) IsRedirect ¶ added in v0.3.11
func (o *GetResourcesNotFound) IsRedirect() bool
IsRedirect returns true when this get resources not found response has a 3xx status code
func (*GetResourcesNotFound) IsServerError ¶ added in v0.3.11
func (o *GetResourcesNotFound) IsServerError() bool
IsServerError returns true when this get resources not found response has a 5xx status code
func (*GetResourcesNotFound) IsSuccess ¶ added in v0.3.11
func (o *GetResourcesNotFound) IsSuccess() bool
IsSuccess returns true when this get resources not found response has a 2xx status code
func (*GetResourcesNotFound) String ¶ added in v0.3.11
func (o *GetResourcesNotFound) String() string
type GetResourcesOK ¶ added in v0.3.11
GetResourcesOK describes a response with status code 200, with default header values.
OK
func NewGetResourcesOK ¶ added in v0.3.11
func NewGetResourcesOK() *GetResourcesOK
NewGetResourcesOK creates a GetResourcesOK with default headers values
func (*GetResourcesOK) Error ¶ added in v0.3.11
func (o *GetResourcesOK) Error() string
func (*GetResourcesOK) GetPayload ¶ added in v0.3.11
func (o *GetResourcesOK) GetPayload() models.Resources
func (*GetResourcesOK) IsClientError ¶ added in v0.3.11
func (o *GetResourcesOK) IsClientError() bool
IsClientError returns true when this get resources o k response has a 4xx status code
func (*GetResourcesOK) IsCode ¶ added in v0.3.11
func (o *GetResourcesOK) IsCode(code int) bool
IsCode returns true when this get resources o k response a status code equal to that given
func (*GetResourcesOK) IsRedirect ¶ added in v0.3.11
func (o *GetResourcesOK) IsRedirect() bool
IsRedirect returns true when this get resources o k response has a 3xx status code
func (*GetResourcesOK) IsServerError ¶ added in v0.3.11
func (o *GetResourcesOK) IsServerError() bool
IsServerError returns true when this get resources o k response has a 5xx status code
func (*GetResourcesOK) IsSuccess ¶ added in v0.3.11
func (o *GetResourcesOK) IsSuccess() bool
IsSuccess returns true when this get resources o k response has a 2xx status code
func (*GetResourcesOK) String ¶ added in v0.3.11
func (o *GetResourcesOK) String() string
type GetResourcesParams ¶ added in v0.3.11
type GetResourcesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesParams contains all the parameters to send to the API endpoint
for the get resources operation. Typically these are written to a http.Request.
func NewGetResourcesParams ¶ added in v0.3.11
func NewGetResourcesParams() *GetResourcesParams
NewGetResourcesParams creates a new GetResourcesParams 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 NewGetResourcesParamsWithContext ¶ added in v0.3.11
func NewGetResourcesParamsWithContext(ctx context.Context) *GetResourcesParams
NewGetResourcesParamsWithContext creates a new GetResourcesParams object with the ability to set a context for a request.
func NewGetResourcesParamsWithHTTPClient ¶ added in v0.3.11
func NewGetResourcesParamsWithHTTPClient(client *http.Client) *GetResourcesParams
NewGetResourcesParamsWithHTTPClient creates a new GetResourcesParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourcesParamsWithTimeout ¶ added in v0.3.11
func NewGetResourcesParamsWithTimeout(timeout time.Duration) *GetResourcesParams
NewGetResourcesParamsWithTimeout creates a new GetResourcesParams object with the ability to set a timeout on a request.
func (*GetResourcesParams) SetContext ¶ added in v0.3.11
func (o *GetResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources params
func (*GetResourcesParams) SetDefaults ¶ added in v0.3.11
func (o *GetResourcesParams) SetDefaults()
SetDefaults hydrates default values in the get resources params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourcesParams) SetHTTPClient ¶ added in v0.3.11
func (o *GetResourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources params
func (*GetResourcesParams) SetTimeout ¶ added in v0.3.11
func (o *GetResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources params
func (*GetResourcesParams) WithContext ¶ added in v0.3.11
func (o *GetResourcesParams) WithContext(ctx context.Context) *GetResourcesParams
WithContext adds the context to the get resources params
func (*GetResourcesParams) WithDefaults ¶ added in v0.3.11
func (o *GetResourcesParams) WithDefaults() *GetResourcesParams
WithDefaults hydrates default values in the get resources params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourcesParams) WithHTTPClient ¶ added in v0.3.11
func (o *GetResourcesParams) WithHTTPClient(client *http.Client) *GetResourcesParams
WithHTTPClient adds the HTTPClient to the get resources params
func (*GetResourcesParams) WithTimeout ¶ added in v0.3.11
func (o *GetResourcesParams) WithTimeout(timeout time.Duration) *GetResourcesParams
WithTimeout adds the timeout to the get resources params
func (*GetResourcesParams) WriteToRequest ¶ added in v0.3.11
func (o *GetResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesReader ¶ added in v0.3.11
type GetResourcesReader struct {
// contains filtered or unexported fields
}
GetResourcesReader is a Reader for the GetResources structure.
func (*GetResourcesReader) ReadResponse ¶ added in v0.3.11
func (o *GetResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesUnauthorized ¶ added in v0.3.11
type GetResourcesUnauthorized struct {
}GetResourcesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetResourcesUnauthorized ¶ added in v0.3.11
func NewGetResourcesUnauthorized() *GetResourcesUnauthorized
NewGetResourcesUnauthorized creates a GetResourcesUnauthorized with default headers values
func (*GetResourcesUnauthorized) Error ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) Error() string
func (*GetResourcesUnauthorized) GetPayload ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) GetPayload() *models.Error
func (*GetResourcesUnauthorized) IsClientError ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) IsClientError() bool
IsClientError returns true when this get resources unauthorized response has a 4xx status code
func (*GetResourcesUnauthorized) IsCode ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) IsCode(code int) bool
IsCode returns true when this get resources unauthorized response a status code equal to that given
func (*GetResourcesUnauthorized) IsRedirect ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get resources unauthorized response has a 3xx status code
func (*GetResourcesUnauthorized) IsServerError ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) IsServerError() bool
IsServerError returns true when this get resources unauthorized response has a 5xx status code
func (*GetResourcesUnauthorized) IsSuccess ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get resources unauthorized response has a 2xx status code
func (*GetResourcesUnauthorized) String ¶ added in v0.3.11
func (o *GetResourcesUnauthorized) String() string
type GetSlotIsAvailableInternalServerError ¶
GetSlotIsAvailableInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetSlotIsAvailableInternalServerError ¶
func NewGetSlotIsAvailableInternalServerError() *GetSlotIsAvailableInternalServerError
NewGetSlotIsAvailableInternalServerError creates a GetSlotIsAvailableInternalServerError with default headers values
func (*GetSlotIsAvailableInternalServerError) Error ¶
func (o *GetSlotIsAvailableInternalServerError) Error() string
func (*GetSlotIsAvailableInternalServerError) GetPayload ¶
func (o *GetSlotIsAvailableInternalServerError) GetPayload() *models.Error
func (*GetSlotIsAvailableInternalServerError) IsClientError ¶
func (o *GetSlotIsAvailableInternalServerError) IsClientError() bool
IsClientError returns true when this get slot is available internal server error response has a 4xx status code
func (*GetSlotIsAvailableInternalServerError) IsCode ¶
func (o *GetSlotIsAvailableInternalServerError) IsCode(code int) bool
IsCode returns true when this get slot is available internal server error response a status code equal to that given
func (*GetSlotIsAvailableInternalServerError) IsRedirect ¶
func (o *GetSlotIsAvailableInternalServerError) IsRedirect() bool
IsRedirect returns true when this get slot is available internal server error response has a 3xx status code
func (*GetSlotIsAvailableInternalServerError) IsServerError ¶
func (o *GetSlotIsAvailableInternalServerError) IsServerError() bool
IsServerError returns true when this get slot is available internal server error response has a 5xx status code
func (*GetSlotIsAvailableInternalServerError) IsSuccess ¶
func (o *GetSlotIsAvailableInternalServerError) IsSuccess() bool
IsSuccess returns true when this get slot is available internal server error response has a 2xx status code
func (*GetSlotIsAvailableInternalServerError) String ¶
func (o *GetSlotIsAvailableInternalServerError) String() string
type GetSlotIsAvailableNotFound ¶
GetSlotIsAvailableNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetSlotIsAvailableNotFound ¶
func NewGetSlotIsAvailableNotFound() *GetSlotIsAvailableNotFound
NewGetSlotIsAvailableNotFound creates a GetSlotIsAvailableNotFound with default headers values
func (*GetSlotIsAvailableNotFound) Error ¶
func (o *GetSlotIsAvailableNotFound) Error() string
func (*GetSlotIsAvailableNotFound) GetPayload ¶
func (o *GetSlotIsAvailableNotFound) GetPayload() *models.Error
func (*GetSlotIsAvailableNotFound) IsClientError ¶
func (o *GetSlotIsAvailableNotFound) IsClientError() bool
IsClientError returns true when this get slot is available not found response has a 4xx status code
func (*GetSlotIsAvailableNotFound) IsCode ¶
func (o *GetSlotIsAvailableNotFound) IsCode(code int) bool
IsCode returns true when this get slot is available not found response a status code equal to that given
func (*GetSlotIsAvailableNotFound) IsRedirect ¶
func (o *GetSlotIsAvailableNotFound) IsRedirect() bool
IsRedirect returns true when this get slot is available not found response has a 3xx status code
func (*GetSlotIsAvailableNotFound) IsServerError ¶
func (o *GetSlotIsAvailableNotFound) IsServerError() bool
IsServerError returns true when this get slot is available not found response has a 5xx status code
func (*GetSlotIsAvailableNotFound) IsSuccess ¶
func (o *GetSlotIsAvailableNotFound) IsSuccess() bool
IsSuccess returns true when this get slot is available not found response has a 2xx status code
func (*GetSlotIsAvailableNotFound) String ¶
func (o *GetSlotIsAvailableNotFound) String() string
type GetSlotIsAvailableOK ¶
type GetSlotIsAvailableOK struct {
Payload *models.ResourceStatus
}
GetSlotIsAvailableOK describes a response with status code 200, with default header values.
OK
func NewGetSlotIsAvailableOK ¶
func NewGetSlotIsAvailableOK() *GetSlotIsAvailableOK
NewGetSlotIsAvailableOK creates a GetSlotIsAvailableOK with default headers values
func (*GetSlotIsAvailableOK) Error ¶
func (o *GetSlotIsAvailableOK) Error() string
func (*GetSlotIsAvailableOK) GetPayload ¶
func (o *GetSlotIsAvailableOK) GetPayload() *models.ResourceStatus
func (*GetSlotIsAvailableOK) IsClientError ¶
func (o *GetSlotIsAvailableOK) IsClientError() bool
IsClientError returns true when this get slot is available o k response has a 4xx status code
func (*GetSlotIsAvailableOK) IsCode ¶
func (o *GetSlotIsAvailableOK) IsCode(code int) bool
IsCode returns true when this get slot is available o k response a status code equal to that given
func (*GetSlotIsAvailableOK) IsRedirect ¶
func (o *GetSlotIsAvailableOK) IsRedirect() bool
IsRedirect returns true when this get slot is available o k response has a 3xx status code
func (*GetSlotIsAvailableOK) IsServerError ¶
func (o *GetSlotIsAvailableOK) IsServerError() bool
IsServerError returns true when this get slot is available o k response has a 5xx status code
func (*GetSlotIsAvailableOK) IsSuccess ¶
func (o *GetSlotIsAvailableOK) IsSuccess() bool
IsSuccess returns true when this get slot is available o k response has a 2xx status code
func (*GetSlotIsAvailableOK) String ¶
func (o *GetSlotIsAvailableOK) String() string
type GetSlotIsAvailableParams ¶
type GetSlotIsAvailableParams struct { // SlotName. SlotName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSlotIsAvailableParams contains all the parameters to send to the API endpoint
for the get slot is available operation. Typically these are written to a http.Request.
func NewGetSlotIsAvailableParams ¶
func NewGetSlotIsAvailableParams() *GetSlotIsAvailableParams
NewGetSlotIsAvailableParams creates a new GetSlotIsAvailableParams 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 NewGetSlotIsAvailableParamsWithContext ¶
func NewGetSlotIsAvailableParamsWithContext(ctx context.Context) *GetSlotIsAvailableParams
NewGetSlotIsAvailableParamsWithContext creates a new GetSlotIsAvailableParams object with the ability to set a context for a request.
func NewGetSlotIsAvailableParamsWithHTTPClient ¶
func NewGetSlotIsAvailableParamsWithHTTPClient(client *http.Client) *GetSlotIsAvailableParams
NewGetSlotIsAvailableParamsWithHTTPClient creates a new GetSlotIsAvailableParams object with the ability to set a custom HTTPClient for a request.
func NewGetSlotIsAvailableParamsWithTimeout ¶
func NewGetSlotIsAvailableParamsWithTimeout(timeout time.Duration) *GetSlotIsAvailableParams
NewGetSlotIsAvailableParamsWithTimeout creates a new GetSlotIsAvailableParams object with the ability to set a timeout on a request.
func (*GetSlotIsAvailableParams) SetContext ¶
func (o *GetSlotIsAvailableParams) SetContext(ctx context.Context)
SetContext adds the context to the get slot is available params
func (*GetSlotIsAvailableParams) SetDefaults ¶
func (o *GetSlotIsAvailableParams) SetDefaults()
SetDefaults hydrates default values in the get slot is available params (not the query body).
All values with no default are reset to their zero value.
func (*GetSlotIsAvailableParams) SetHTTPClient ¶
func (o *GetSlotIsAvailableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get slot is available params
func (*GetSlotIsAvailableParams) SetSlotName ¶
func (o *GetSlotIsAvailableParams) SetSlotName(slotName string)
SetSlotName adds the slotName to the get slot is available params
func (*GetSlotIsAvailableParams) SetTimeout ¶
func (o *GetSlotIsAvailableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get slot is available params
func (*GetSlotIsAvailableParams) WithContext ¶
func (o *GetSlotIsAvailableParams) WithContext(ctx context.Context) *GetSlotIsAvailableParams
WithContext adds the context to the get slot is available params
func (*GetSlotIsAvailableParams) WithDefaults ¶
func (o *GetSlotIsAvailableParams) WithDefaults() *GetSlotIsAvailableParams
WithDefaults hydrates default values in the get slot is available params (not the query body).
All values with no default are reset to their zero value.
func (*GetSlotIsAvailableParams) WithHTTPClient ¶
func (o *GetSlotIsAvailableParams) WithHTTPClient(client *http.Client) *GetSlotIsAvailableParams
WithHTTPClient adds the HTTPClient to the get slot is available params
func (*GetSlotIsAvailableParams) WithSlotName ¶
func (o *GetSlotIsAvailableParams) WithSlotName(slotName string) *GetSlotIsAvailableParams
WithSlotName adds the slotName to the get slot is available params
func (*GetSlotIsAvailableParams) WithTimeout ¶
func (o *GetSlotIsAvailableParams) WithTimeout(timeout time.Duration) *GetSlotIsAvailableParams
WithTimeout adds the timeout to the get slot is available params
func (*GetSlotIsAvailableParams) WriteToRequest ¶
func (o *GetSlotIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSlotIsAvailableReader ¶
type GetSlotIsAvailableReader struct {
// contains filtered or unexported fields
}
GetSlotIsAvailableReader is a Reader for the GetSlotIsAvailable structure.
func (*GetSlotIsAvailableReader) ReadResponse ¶
func (o *GetSlotIsAvailableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSlotIsAvailableUnauthorized ¶
type GetSlotIsAvailableUnauthorized struct {
}GetSlotIsAvailableUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetSlotIsAvailableUnauthorized ¶
func NewGetSlotIsAvailableUnauthorized() *GetSlotIsAvailableUnauthorized
NewGetSlotIsAvailableUnauthorized creates a GetSlotIsAvailableUnauthorized with default headers values
func (*GetSlotIsAvailableUnauthorized) Error ¶
func (o *GetSlotIsAvailableUnauthorized) Error() string
func (*GetSlotIsAvailableUnauthorized) GetPayload ¶
func (o *GetSlotIsAvailableUnauthorized) GetPayload() *models.Error
func (*GetSlotIsAvailableUnauthorized) IsClientError ¶
func (o *GetSlotIsAvailableUnauthorized) IsClientError() bool
IsClientError returns true when this get slot is available unauthorized response has a 4xx status code
func (*GetSlotIsAvailableUnauthorized) IsCode ¶
func (o *GetSlotIsAvailableUnauthorized) IsCode(code int) bool
IsCode returns true when this get slot is available unauthorized response a status code equal to that given
func (*GetSlotIsAvailableUnauthorized) IsRedirect ¶
func (o *GetSlotIsAvailableUnauthorized) IsRedirect() bool
IsRedirect returns true when this get slot is available unauthorized response has a 3xx status code
func (*GetSlotIsAvailableUnauthorized) IsServerError ¶
func (o *GetSlotIsAvailableUnauthorized) IsServerError() bool
IsServerError returns true when this get slot is available unauthorized response has a 5xx status code
func (*GetSlotIsAvailableUnauthorized) IsSuccess ¶
func (o *GetSlotIsAvailableUnauthorized) IsSuccess() bool
IsSuccess returns true when this get slot is available unauthorized response has a 2xx status code
func (*GetSlotIsAvailableUnauthorized) String ¶
func (o *GetSlotIsAvailableUnauthorized) String() string
type GetStoreStatusAdminInternalServerError ¶
GetStoreStatusAdminInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewGetStoreStatusAdminInternalServerError ¶
func NewGetStoreStatusAdminInternalServerError() *GetStoreStatusAdminInternalServerError
NewGetStoreStatusAdminInternalServerError creates a GetStoreStatusAdminInternalServerError with default headers values
func (*GetStoreStatusAdminInternalServerError) Error ¶
func (o *GetStoreStatusAdminInternalServerError) Error() string
func (*GetStoreStatusAdminInternalServerError) GetPayload ¶
func (o *GetStoreStatusAdminInternalServerError) GetPayload() *models.Error
func (*GetStoreStatusAdminInternalServerError) IsClientError ¶
func (o *GetStoreStatusAdminInternalServerError) IsClientError() bool
IsClientError returns true when this get store status admin internal server error response has a 4xx status code
func (*GetStoreStatusAdminInternalServerError) IsCode ¶
func (o *GetStoreStatusAdminInternalServerError) IsCode(code int) bool
IsCode returns true when this get store status admin internal server error response a status code equal to that given
func (*GetStoreStatusAdminInternalServerError) IsRedirect ¶
func (o *GetStoreStatusAdminInternalServerError) IsRedirect() bool
IsRedirect returns true when this get store status admin internal server error response has a 3xx status code
func (*GetStoreStatusAdminInternalServerError) IsServerError ¶
func (o *GetStoreStatusAdminInternalServerError) IsServerError() bool
IsServerError returns true when this get store status admin internal server error response has a 5xx status code
func (*GetStoreStatusAdminInternalServerError) IsSuccess ¶
func (o *GetStoreStatusAdminInternalServerError) IsSuccess() bool
IsSuccess returns true when this get store status admin internal server error response has a 2xx status code
func (*GetStoreStatusAdminInternalServerError) String ¶
func (o *GetStoreStatusAdminInternalServerError) String() string
type GetStoreStatusAdminNotFound ¶
GetStoreStatusAdminNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetStoreStatusAdminNotFound ¶
func NewGetStoreStatusAdminNotFound() *GetStoreStatusAdminNotFound
NewGetStoreStatusAdminNotFound creates a GetStoreStatusAdminNotFound with default headers values
func (*GetStoreStatusAdminNotFound) Error ¶
func (o *GetStoreStatusAdminNotFound) Error() string
func (*GetStoreStatusAdminNotFound) GetPayload ¶
func (o *GetStoreStatusAdminNotFound) GetPayload() *models.Error
func (*GetStoreStatusAdminNotFound) IsClientError ¶
func (o *GetStoreStatusAdminNotFound) IsClientError() bool
IsClientError returns true when this get store status admin not found response has a 4xx status code
func (*GetStoreStatusAdminNotFound) IsCode ¶
func (o *GetStoreStatusAdminNotFound) IsCode(code int) bool
IsCode returns true when this get store status admin not found response a status code equal to that given
func (*GetStoreStatusAdminNotFound) IsRedirect ¶
func (o *GetStoreStatusAdminNotFound) IsRedirect() bool
IsRedirect returns true when this get store status admin not found response has a 3xx status code
func (*GetStoreStatusAdminNotFound) IsServerError ¶
func (o *GetStoreStatusAdminNotFound) IsServerError() bool
IsServerError returns true when this get store status admin not found response has a 5xx status code
func (*GetStoreStatusAdminNotFound) IsSuccess ¶
func (o *GetStoreStatusAdminNotFound) IsSuccess() bool
IsSuccess returns true when this get store status admin not found response has a 2xx status code
func (*GetStoreStatusAdminNotFound) String ¶
func (o *GetStoreStatusAdminNotFound) String() string
type GetStoreStatusAdminOK ¶
type GetStoreStatusAdminOK struct {
Payload *models.StoreStatusAdmin
}
GetStoreStatusAdminOK describes a response with status code 200, with default header values.
OK
func NewGetStoreStatusAdminOK ¶
func NewGetStoreStatusAdminOK() *GetStoreStatusAdminOK
NewGetStoreStatusAdminOK creates a GetStoreStatusAdminOK with default headers values
func (*GetStoreStatusAdminOK) Error ¶
func (o *GetStoreStatusAdminOK) Error() string
func (*GetStoreStatusAdminOK) GetPayload ¶
func (o *GetStoreStatusAdminOK) GetPayload() *models.StoreStatusAdmin
func (*GetStoreStatusAdminOK) IsClientError ¶
func (o *GetStoreStatusAdminOK) IsClientError() bool
IsClientError returns true when this get store status admin o k response has a 4xx status code
func (*GetStoreStatusAdminOK) IsCode ¶
func (o *GetStoreStatusAdminOK) IsCode(code int) bool
IsCode returns true when this get store status admin o k response a status code equal to that given
func (*GetStoreStatusAdminOK) IsRedirect ¶
func (o *GetStoreStatusAdminOK) IsRedirect() bool
IsRedirect returns true when this get store status admin o k response has a 3xx status code
func (*GetStoreStatusAdminOK) IsServerError ¶
func (o *GetStoreStatusAdminOK) IsServerError() bool
IsServerError returns true when this get store status admin o k response has a 5xx status code
func (*GetStoreStatusAdminOK) IsSuccess ¶
func (o *GetStoreStatusAdminOK) IsSuccess() bool
IsSuccess returns true when this get store status admin o k response has a 2xx status code
func (*GetStoreStatusAdminOK) String ¶
func (o *GetStoreStatusAdminOK) String() string
type GetStoreStatusAdminParams ¶
type GetStoreStatusAdminParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStoreStatusAdminParams contains all the parameters to send to the API endpoint
for the get store status admin operation. Typically these are written to a http.Request.
func NewGetStoreStatusAdminParams ¶
func NewGetStoreStatusAdminParams() *GetStoreStatusAdminParams
NewGetStoreStatusAdminParams creates a new GetStoreStatusAdminParams 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 NewGetStoreStatusAdminParamsWithContext ¶
func NewGetStoreStatusAdminParamsWithContext(ctx context.Context) *GetStoreStatusAdminParams
NewGetStoreStatusAdminParamsWithContext creates a new GetStoreStatusAdminParams object with the ability to set a context for a request.
func NewGetStoreStatusAdminParamsWithHTTPClient ¶
func NewGetStoreStatusAdminParamsWithHTTPClient(client *http.Client) *GetStoreStatusAdminParams
NewGetStoreStatusAdminParamsWithHTTPClient creates a new GetStoreStatusAdminParams object with the ability to set a custom HTTPClient for a request.
func NewGetStoreStatusAdminParamsWithTimeout ¶
func NewGetStoreStatusAdminParamsWithTimeout(timeout time.Duration) *GetStoreStatusAdminParams
NewGetStoreStatusAdminParamsWithTimeout creates a new GetStoreStatusAdminParams object with the ability to set a timeout on a request.
func (*GetStoreStatusAdminParams) SetContext ¶
func (o *GetStoreStatusAdminParams) SetContext(ctx context.Context)
SetContext adds the context to the get store status admin params
func (*GetStoreStatusAdminParams) SetDefaults ¶
func (o *GetStoreStatusAdminParams) SetDefaults()
SetDefaults hydrates default values in the get store status admin params (not the query body).
All values with no default are reset to their zero value.
func (*GetStoreStatusAdminParams) SetHTTPClient ¶
func (o *GetStoreStatusAdminParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get store status admin params
func (*GetStoreStatusAdminParams) SetTimeout ¶
func (o *GetStoreStatusAdminParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get store status admin params
func (*GetStoreStatusAdminParams) WithContext ¶
func (o *GetStoreStatusAdminParams) WithContext(ctx context.Context) *GetStoreStatusAdminParams
WithContext adds the context to the get store status admin params
func (*GetStoreStatusAdminParams) WithDefaults ¶
func (o *GetStoreStatusAdminParams) WithDefaults() *GetStoreStatusAdminParams
WithDefaults hydrates default values in the get store status admin params (not the query body).
All values with no default are reset to their zero value.
func (*GetStoreStatusAdminParams) WithHTTPClient ¶
func (o *GetStoreStatusAdminParams) WithHTTPClient(client *http.Client) *GetStoreStatusAdminParams
WithHTTPClient adds the HTTPClient to the get store status admin params
func (*GetStoreStatusAdminParams) WithTimeout ¶
func (o *GetStoreStatusAdminParams) WithTimeout(timeout time.Duration) *GetStoreStatusAdminParams
WithTimeout adds the timeout to the get store status admin params
func (*GetStoreStatusAdminParams) WriteToRequest ¶
func (o *GetStoreStatusAdminParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStoreStatusAdminReader ¶
type GetStoreStatusAdminReader struct {
// contains filtered or unexported fields
}
GetStoreStatusAdminReader is a Reader for the GetStoreStatusAdmin structure.
func (*GetStoreStatusAdminReader) ReadResponse ¶
func (o *GetStoreStatusAdminReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStoreStatusAdminUnauthorized ¶
type GetStoreStatusAdminUnauthorized struct {
}GetStoreStatusAdminUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetStoreStatusAdminUnauthorized ¶
func NewGetStoreStatusAdminUnauthorized() *GetStoreStatusAdminUnauthorized
NewGetStoreStatusAdminUnauthorized creates a GetStoreStatusAdminUnauthorized with default headers values
func (*GetStoreStatusAdminUnauthorized) Error ¶
func (o *GetStoreStatusAdminUnauthorized) Error() string
func (*GetStoreStatusAdminUnauthorized) GetPayload ¶
func (o *GetStoreStatusAdminUnauthorized) GetPayload() *models.Error
func (*GetStoreStatusAdminUnauthorized) IsClientError ¶
func (o *GetStoreStatusAdminUnauthorized) IsClientError() bool
IsClientError returns true when this get store status admin unauthorized response has a 4xx status code
func (*GetStoreStatusAdminUnauthorized) IsCode ¶
func (o *GetStoreStatusAdminUnauthorized) IsCode(code int) bool
IsCode returns true when this get store status admin unauthorized response a status code equal to that given
func (*GetStoreStatusAdminUnauthorized) IsRedirect ¶
func (o *GetStoreStatusAdminUnauthorized) IsRedirect() bool
IsRedirect returns true when this get store status admin unauthorized response has a 3xx status code
func (*GetStoreStatusAdminUnauthorized) IsServerError ¶
func (o *GetStoreStatusAdminUnauthorized) IsServerError() bool
IsServerError returns true when this get store status admin unauthorized response has a 5xx status code
func (*GetStoreStatusAdminUnauthorized) IsSuccess ¶
func (o *GetStoreStatusAdminUnauthorized) IsSuccess() bool
IsSuccess returns true when this get store status admin unauthorized response has a 2xx status code
func (*GetStoreStatusAdminUnauthorized) String ¶
func (o *GetStoreStatusAdminUnauthorized) String() string
type ReplaceBookingsInternalServerError ¶
ReplaceBookingsInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewReplaceBookingsInternalServerError ¶
func NewReplaceBookingsInternalServerError() *ReplaceBookingsInternalServerError
NewReplaceBookingsInternalServerError creates a ReplaceBookingsInternalServerError with default headers values
func (*ReplaceBookingsInternalServerError) Error ¶
func (o *ReplaceBookingsInternalServerError) Error() string
func (*ReplaceBookingsInternalServerError) GetPayload ¶
func (o *ReplaceBookingsInternalServerError) GetPayload() *models.Error
func (*ReplaceBookingsInternalServerError) IsClientError ¶
func (o *ReplaceBookingsInternalServerError) IsClientError() bool
IsClientError returns true when this replace bookings internal server error response has a 4xx status code
func (*ReplaceBookingsInternalServerError) IsCode ¶
func (o *ReplaceBookingsInternalServerError) IsCode(code int) bool
IsCode returns true when this replace bookings internal server error response a status code equal to that given
func (*ReplaceBookingsInternalServerError) IsRedirect ¶
func (o *ReplaceBookingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this replace bookings internal server error response has a 3xx status code
func (*ReplaceBookingsInternalServerError) IsServerError ¶
func (o *ReplaceBookingsInternalServerError) IsServerError() bool
IsServerError returns true when this replace bookings internal server error response has a 5xx status code
func (*ReplaceBookingsInternalServerError) IsSuccess ¶
func (o *ReplaceBookingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this replace bookings internal server error response has a 2xx status code
func (*ReplaceBookingsInternalServerError) String ¶
func (o *ReplaceBookingsInternalServerError) String() string
type ReplaceBookingsNotFound ¶
ReplaceBookingsNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceBookingsNotFound ¶
func NewReplaceBookingsNotFound() *ReplaceBookingsNotFound
NewReplaceBookingsNotFound creates a ReplaceBookingsNotFound with default headers values
func (*ReplaceBookingsNotFound) Error ¶
func (o *ReplaceBookingsNotFound) Error() string
func (*ReplaceBookingsNotFound) GetPayload ¶
func (o *ReplaceBookingsNotFound) GetPayload() *models.Error
func (*ReplaceBookingsNotFound) IsClientError ¶
func (o *ReplaceBookingsNotFound) IsClientError() bool
IsClientError returns true when this replace bookings not found response has a 4xx status code
func (*ReplaceBookingsNotFound) IsCode ¶
func (o *ReplaceBookingsNotFound) IsCode(code int) bool
IsCode returns true when this replace bookings not found response a status code equal to that given
func (*ReplaceBookingsNotFound) IsRedirect ¶
func (o *ReplaceBookingsNotFound) IsRedirect() bool
IsRedirect returns true when this replace bookings not found response has a 3xx status code
func (*ReplaceBookingsNotFound) IsServerError ¶
func (o *ReplaceBookingsNotFound) IsServerError() bool
IsServerError returns true when this replace bookings not found response has a 5xx status code
func (*ReplaceBookingsNotFound) IsSuccess ¶
func (o *ReplaceBookingsNotFound) IsSuccess() bool
IsSuccess returns true when this replace bookings not found response has a 2xx status code
func (*ReplaceBookingsNotFound) String ¶
func (o *ReplaceBookingsNotFound) String() string
type ReplaceBookingsOK ¶
type ReplaceBookingsOK struct {
Payload *models.StoreStatusAdmin
}
ReplaceBookingsOK describes a response with status code 200, with default header values.
OK
func NewReplaceBookingsOK ¶
func NewReplaceBookingsOK() *ReplaceBookingsOK
NewReplaceBookingsOK creates a ReplaceBookingsOK with default headers values
func (*ReplaceBookingsOK) Error ¶
func (o *ReplaceBookingsOK) Error() string
func (*ReplaceBookingsOK) GetPayload ¶
func (o *ReplaceBookingsOK) GetPayload() *models.StoreStatusAdmin
func (*ReplaceBookingsOK) IsClientError ¶
func (o *ReplaceBookingsOK) IsClientError() bool
IsClientError returns true when this replace bookings o k response has a 4xx status code
func (*ReplaceBookingsOK) IsCode ¶
func (o *ReplaceBookingsOK) IsCode(code int) bool
IsCode returns true when this replace bookings o k response a status code equal to that given
func (*ReplaceBookingsOK) IsRedirect ¶
func (o *ReplaceBookingsOK) IsRedirect() bool
IsRedirect returns true when this replace bookings o k response has a 3xx status code
func (*ReplaceBookingsOK) IsServerError ¶
func (o *ReplaceBookingsOK) IsServerError() bool
IsServerError returns true when this replace bookings o k response has a 5xx status code
func (*ReplaceBookingsOK) IsSuccess ¶
func (o *ReplaceBookingsOK) IsSuccess() bool
IsSuccess returns true when this replace bookings o k response has a 2xx status code
func (*ReplaceBookingsOK) String ¶
func (o *ReplaceBookingsOK) String() string
type ReplaceBookingsParams ¶
type ReplaceBookingsParams struct { // Bookings. Bookings models.Bookings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceBookingsParams contains all the parameters to send to the API endpoint
for the replace bookings operation. Typically these are written to a http.Request.
func NewReplaceBookingsParams ¶
func NewReplaceBookingsParams() *ReplaceBookingsParams
NewReplaceBookingsParams creates a new ReplaceBookingsParams 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 NewReplaceBookingsParamsWithContext ¶
func NewReplaceBookingsParamsWithContext(ctx context.Context) *ReplaceBookingsParams
NewReplaceBookingsParamsWithContext creates a new ReplaceBookingsParams object with the ability to set a context for a request.
func NewReplaceBookingsParamsWithHTTPClient ¶
func NewReplaceBookingsParamsWithHTTPClient(client *http.Client) *ReplaceBookingsParams
NewReplaceBookingsParamsWithHTTPClient creates a new ReplaceBookingsParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceBookingsParamsWithTimeout ¶
func NewReplaceBookingsParamsWithTimeout(timeout time.Duration) *ReplaceBookingsParams
NewReplaceBookingsParamsWithTimeout creates a new ReplaceBookingsParams object with the ability to set a timeout on a request.
func (*ReplaceBookingsParams) SetBookings ¶
func (o *ReplaceBookingsParams) SetBookings(bookings models.Bookings)
SetBookings adds the bookings to the replace bookings params
func (*ReplaceBookingsParams) SetContext ¶
func (o *ReplaceBookingsParams) SetContext(ctx context.Context)
SetContext adds the context to the replace bookings params
func (*ReplaceBookingsParams) SetDefaults ¶
func (o *ReplaceBookingsParams) SetDefaults()
SetDefaults hydrates default values in the replace bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceBookingsParams) SetHTTPClient ¶
func (o *ReplaceBookingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace bookings params
func (*ReplaceBookingsParams) SetTimeout ¶
func (o *ReplaceBookingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace bookings params
func (*ReplaceBookingsParams) WithBookings ¶
func (o *ReplaceBookingsParams) WithBookings(bookings models.Bookings) *ReplaceBookingsParams
WithBookings adds the bookings to the replace bookings params
func (*ReplaceBookingsParams) WithContext ¶
func (o *ReplaceBookingsParams) WithContext(ctx context.Context) *ReplaceBookingsParams
WithContext adds the context to the replace bookings params
func (*ReplaceBookingsParams) WithDefaults ¶
func (o *ReplaceBookingsParams) WithDefaults() *ReplaceBookingsParams
WithDefaults hydrates default values in the replace bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceBookingsParams) WithHTTPClient ¶
func (o *ReplaceBookingsParams) WithHTTPClient(client *http.Client) *ReplaceBookingsParams
WithHTTPClient adds the HTTPClient to the replace bookings params
func (*ReplaceBookingsParams) WithTimeout ¶
func (o *ReplaceBookingsParams) WithTimeout(timeout time.Duration) *ReplaceBookingsParams
WithTimeout adds the timeout to the replace bookings params
func (*ReplaceBookingsParams) WriteToRequest ¶
func (o *ReplaceBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceBookingsReader ¶
type ReplaceBookingsReader struct {
// contains filtered or unexported fields
}
ReplaceBookingsReader is a Reader for the ReplaceBookings structure.
func (*ReplaceBookingsReader) ReadResponse ¶
func (o *ReplaceBookingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceBookingsUnauthorized ¶
type ReplaceBookingsUnauthorized struct {
}ReplaceBookingsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewReplaceBookingsUnauthorized ¶
func NewReplaceBookingsUnauthorized() *ReplaceBookingsUnauthorized
NewReplaceBookingsUnauthorized creates a ReplaceBookingsUnauthorized with default headers values
func (*ReplaceBookingsUnauthorized) Error ¶
func (o *ReplaceBookingsUnauthorized) Error() string
func (*ReplaceBookingsUnauthorized) GetPayload ¶
func (o *ReplaceBookingsUnauthorized) GetPayload() *models.Error
func (*ReplaceBookingsUnauthorized) IsClientError ¶
func (o *ReplaceBookingsUnauthorized) IsClientError() bool
IsClientError returns true when this replace bookings unauthorized response has a 4xx status code
func (*ReplaceBookingsUnauthorized) IsCode ¶
func (o *ReplaceBookingsUnauthorized) IsCode(code int) bool
IsCode returns true when this replace bookings unauthorized response a status code equal to that given
func (*ReplaceBookingsUnauthorized) IsRedirect ¶
func (o *ReplaceBookingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this replace bookings unauthorized response has a 3xx status code
func (*ReplaceBookingsUnauthorized) IsServerError ¶
func (o *ReplaceBookingsUnauthorized) IsServerError() bool
IsServerError returns true when this replace bookings unauthorized response has a 5xx status code
func (*ReplaceBookingsUnauthorized) IsSuccess ¶
func (o *ReplaceBookingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this replace bookings unauthorized response has a 2xx status code
func (*ReplaceBookingsUnauthorized) String ¶
func (o *ReplaceBookingsUnauthorized) String() string
type ReplaceManifestInternalServerError ¶
ReplaceManifestInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewReplaceManifestInternalServerError ¶
func NewReplaceManifestInternalServerError() *ReplaceManifestInternalServerError
NewReplaceManifestInternalServerError creates a ReplaceManifestInternalServerError with default headers values
func (*ReplaceManifestInternalServerError) Error ¶
func (o *ReplaceManifestInternalServerError) Error() string
func (*ReplaceManifestInternalServerError) GetPayload ¶
func (o *ReplaceManifestInternalServerError) GetPayload() *models.Error
func (*ReplaceManifestInternalServerError) IsClientError ¶
func (o *ReplaceManifestInternalServerError) IsClientError() bool
IsClientError returns true when this replace manifest internal server error response has a 4xx status code
func (*ReplaceManifestInternalServerError) IsCode ¶
func (o *ReplaceManifestInternalServerError) IsCode(code int) bool
IsCode returns true when this replace manifest internal server error response a status code equal to that given
func (*ReplaceManifestInternalServerError) IsRedirect ¶
func (o *ReplaceManifestInternalServerError) IsRedirect() bool
IsRedirect returns true when this replace manifest internal server error response has a 3xx status code
func (*ReplaceManifestInternalServerError) IsServerError ¶
func (o *ReplaceManifestInternalServerError) IsServerError() bool
IsServerError returns true when this replace manifest internal server error response has a 5xx status code
func (*ReplaceManifestInternalServerError) IsSuccess ¶
func (o *ReplaceManifestInternalServerError) IsSuccess() bool
IsSuccess returns true when this replace manifest internal server error response has a 2xx status code
func (*ReplaceManifestInternalServerError) String ¶
func (o *ReplaceManifestInternalServerError) String() string
type ReplaceManifestNotFound ¶
ReplaceManifestNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceManifestNotFound ¶
func NewReplaceManifestNotFound() *ReplaceManifestNotFound
NewReplaceManifestNotFound creates a ReplaceManifestNotFound with default headers values
func (*ReplaceManifestNotFound) Error ¶
func (o *ReplaceManifestNotFound) Error() string
func (*ReplaceManifestNotFound) GetPayload ¶
func (o *ReplaceManifestNotFound) GetPayload() *models.Error
func (*ReplaceManifestNotFound) IsClientError ¶
func (o *ReplaceManifestNotFound) IsClientError() bool
IsClientError returns true when this replace manifest not found response has a 4xx status code
func (*ReplaceManifestNotFound) IsCode ¶
func (o *ReplaceManifestNotFound) IsCode(code int) bool
IsCode returns true when this replace manifest not found response a status code equal to that given
func (*ReplaceManifestNotFound) IsRedirect ¶
func (o *ReplaceManifestNotFound) IsRedirect() bool
IsRedirect returns true when this replace manifest not found response has a 3xx status code
func (*ReplaceManifestNotFound) IsServerError ¶
func (o *ReplaceManifestNotFound) IsServerError() bool
IsServerError returns true when this replace manifest not found response has a 5xx status code
func (*ReplaceManifestNotFound) IsSuccess ¶
func (o *ReplaceManifestNotFound) IsSuccess() bool
IsSuccess returns true when this replace manifest not found response has a 2xx status code
func (*ReplaceManifestNotFound) String ¶
func (o *ReplaceManifestNotFound) String() string
type ReplaceManifestOK ¶
type ReplaceManifestOK struct {
Payload *models.StoreStatusAdmin
}
ReplaceManifestOK describes a response with status code 200, with default header values.
OK
func NewReplaceManifestOK ¶
func NewReplaceManifestOK() *ReplaceManifestOK
NewReplaceManifestOK creates a ReplaceManifestOK with default headers values
func (*ReplaceManifestOK) Error ¶
func (o *ReplaceManifestOK) Error() string
func (*ReplaceManifestOK) GetPayload ¶
func (o *ReplaceManifestOK) GetPayload() *models.StoreStatusAdmin
func (*ReplaceManifestOK) IsClientError ¶
func (o *ReplaceManifestOK) IsClientError() bool
IsClientError returns true when this replace manifest o k response has a 4xx status code
func (*ReplaceManifestOK) IsCode ¶
func (o *ReplaceManifestOK) IsCode(code int) bool
IsCode returns true when this replace manifest o k response a status code equal to that given
func (*ReplaceManifestOK) IsRedirect ¶
func (o *ReplaceManifestOK) IsRedirect() bool
IsRedirect returns true when this replace manifest o k response has a 3xx status code
func (*ReplaceManifestOK) IsServerError ¶
func (o *ReplaceManifestOK) IsServerError() bool
IsServerError returns true when this replace manifest o k response has a 5xx status code
func (*ReplaceManifestOK) IsSuccess ¶
func (o *ReplaceManifestOK) IsSuccess() bool
IsSuccess returns true when this replace manifest o k response has a 2xx status code
func (*ReplaceManifestOK) String ¶
func (o *ReplaceManifestOK) String() string
type ReplaceManifestParams ¶
type ReplaceManifestParams struct { // Manifest. Manifest *models.Manifest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceManifestParams contains all the parameters to send to the API endpoint
for the replace manifest operation. Typically these are written to a http.Request.
func NewReplaceManifestParams ¶
func NewReplaceManifestParams() *ReplaceManifestParams
NewReplaceManifestParams creates a new ReplaceManifestParams 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 NewReplaceManifestParamsWithContext ¶
func NewReplaceManifestParamsWithContext(ctx context.Context) *ReplaceManifestParams
NewReplaceManifestParamsWithContext creates a new ReplaceManifestParams object with the ability to set a context for a request.
func NewReplaceManifestParamsWithHTTPClient ¶
func NewReplaceManifestParamsWithHTTPClient(client *http.Client) *ReplaceManifestParams
NewReplaceManifestParamsWithHTTPClient creates a new ReplaceManifestParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceManifestParamsWithTimeout ¶
func NewReplaceManifestParamsWithTimeout(timeout time.Duration) *ReplaceManifestParams
NewReplaceManifestParamsWithTimeout creates a new ReplaceManifestParams object with the ability to set a timeout on a request.
func (*ReplaceManifestParams) SetContext ¶
func (o *ReplaceManifestParams) SetContext(ctx context.Context)
SetContext adds the context to the replace manifest params
func (*ReplaceManifestParams) SetDefaults ¶
func (o *ReplaceManifestParams) SetDefaults()
SetDefaults hydrates default values in the replace manifest params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceManifestParams) SetHTTPClient ¶
func (o *ReplaceManifestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace manifest params
func (*ReplaceManifestParams) SetManifest ¶
func (o *ReplaceManifestParams) SetManifest(manifest *models.Manifest)
SetManifest adds the manifest to the replace manifest params
func (*ReplaceManifestParams) SetTimeout ¶
func (o *ReplaceManifestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace manifest params
func (*ReplaceManifestParams) WithContext ¶
func (o *ReplaceManifestParams) WithContext(ctx context.Context) *ReplaceManifestParams
WithContext adds the context to the replace manifest params
func (*ReplaceManifestParams) WithDefaults ¶
func (o *ReplaceManifestParams) WithDefaults() *ReplaceManifestParams
WithDefaults hydrates default values in the replace manifest params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceManifestParams) WithHTTPClient ¶
func (o *ReplaceManifestParams) WithHTTPClient(client *http.Client) *ReplaceManifestParams
WithHTTPClient adds the HTTPClient to the replace manifest params
func (*ReplaceManifestParams) WithManifest ¶
func (o *ReplaceManifestParams) WithManifest(manifest *models.Manifest) *ReplaceManifestParams
WithManifest adds the manifest to the replace manifest params
func (*ReplaceManifestParams) WithTimeout ¶
func (o *ReplaceManifestParams) WithTimeout(timeout time.Duration) *ReplaceManifestParams
WithTimeout adds the timeout to the replace manifest params
func (*ReplaceManifestParams) WriteToRequest ¶
func (o *ReplaceManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceManifestReader ¶
type ReplaceManifestReader struct {
// contains filtered or unexported fields
}
ReplaceManifestReader is a Reader for the ReplaceManifest structure.
func (*ReplaceManifestReader) ReadResponse ¶
func (o *ReplaceManifestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceManifestUnauthorized ¶
type ReplaceManifestUnauthorized struct {
}ReplaceManifestUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewReplaceManifestUnauthorized ¶
func NewReplaceManifestUnauthorized() *ReplaceManifestUnauthorized
NewReplaceManifestUnauthorized creates a ReplaceManifestUnauthorized with default headers values
func (*ReplaceManifestUnauthorized) Error ¶
func (o *ReplaceManifestUnauthorized) Error() string
func (*ReplaceManifestUnauthorized) GetPayload ¶
func (o *ReplaceManifestUnauthorized) GetPayload() *models.Error
func (*ReplaceManifestUnauthorized) IsClientError ¶
func (o *ReplaceManifestUnauthorized) IsClientError() bool
IsClientError returns true when this replace manifest unauthorized response has a 4xx status code
func (*ReplaceManifestUnauthorized) IsCode ¶
func (o *ReplaceManifestUnauthorized) IsCode(code int) bool
IsCode returns true when this replace manifest unauthorized response a status code equal to that given
func (*ReplaceManifestUnauthorized) IsRedirect ¶
func (o *ReplaceManifestUnauthorized) IsRedirect() bool
IsRedirect returns true when this replace manifest unauthorized response has a 3xx status code
func (*ReplaceManifestUnauthorized) IsServerError ¶
func (o *ReplaceManifestUnauthorized) IsServerError() bool
IsServerError returns true when this replace manifest unauthorized response has a 5xx status code
func (*ReplaceManifestUnauthorized) IsSuccess ¶
func (o *ReplaceManifestUnauthorized) IsSuccess() bool
IsSuccess returns true when this replace manifest unauthorized response has a 2xx status code
func (*ReplaceManifestUnauthorized) String ¶
func (o *ReplaceManifestUnauthorized) String() string
type ReplaceOldBookingsInternalServerError ¶
ReplaceOldBookingsInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewReplaceOldBookingsInternalServerError ¶
func NewReplaceOldBookingsInternalServerError() *ReplaceOldBookingsInternalServerError
NewReplaceOldBookingsInternalServerError creates a ReplaceOldBookingsInternalServerError with default headers values
func (*ReplaceOldBookingsInternalServerError) Error ¶
func (o *ReplaceOldBookingsInternalServerError) Error() string
func (*ReplaceOldBookingsInternalServerError) GetPayload ¶
func (o *ReplaceOldBookingsInternalServerError) GetPayload() *models.Error
func (*ReplaceOldBookingsInternalServerError) IsClientError ¶
func (o *ReplaceOldBookingsInternalServerError) IsClientError() bool
IsClientError returns true when this replace old bookings internal server error response has a 4xx status code
func (*ReplaceOldBookingsInternalServerError) IsCode ¶
func (o *ReplaceOldBookingsInternalServerError) IsCode(code int) bool
IsCode returns true when this replace old bookings internal server error response a status code equal to that given
func (*ReplaceOldBookingsInternalServerError) IsRedirect ¶
func (o *ReplaceOldBookingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this replace old bookings internal server error response has a 3xx status code
func (*ReplaceOldBookingsInternalServerError) IsServerError ¶
func (o *ReplaceOldBookingsInternalServerError) IsServerError() bool
IsServerError returns true when this replace old bookings internal server error response has a 5xx status code
func (*ReplaceOldBookingsInternalServerError) IsSuccess ¶
func (o *ReplaceOldBookingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this replace old bookings internal server error response has a 2xx status code
func (*ReplaceOldBookingsInternalServerError) String ¶
func (o *ReplaceOldBookingsInternalServerError) String() string
type ReplaceOldBookingsNotFound ¶
ReplaceOldBookingsNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceOldBookingsNotFound ¶
func NewReplaceOldBookingsNotFound() *ReplaceOldBookingsNotFound
NewReplaceOldBookingsNotFound creates a ReplaceOldBookingsNotFound with default headers values
func (*ReplaceOldBookingsNotFound) Error ¶
func (o *ReplaceOldBookingsNotFound) Error() string
func (*ReplaceOldBookingsNotFound) GetPayload ¶
func (o *ReplaceOldBookingsNotFound) GetPayload() *models.Error
func (*ReplaceOldBookingsNotFound) IsClientError ¶
func (o *ReplaceOldBookingsNotFound) IsClientError() bool
IsClientError returns true when this replace old bookings not found response has a 4xx status code
func (*ReplaceOldBookingsNotFound) IsCode ¶
func (o *ReplaceOldBookingsNotFound) IsCode(code int) bool
IsCode returns true when this replace old bookings not found response a status code equal to that given
func (*ReplaceOldBookingsNotFound) IsRedirect ¶
func (o *ReplaceOldBookingsNotFound) IsRedirect() bool
IsRedirect returns true when this replace old bookings not found response has a 3xx status code
func (*ReplaceOldBookingsNotFound) IsServerError ¶
func (o *ReplaceOldBookingsNotFound) IsServerError() bool
IsServerError returns true when this replace old bookings not found response has a 5xx status code
func (*ReplaceOldBookingsNotFound) IsSuccess ¶
func (o *ReplaceOldBookingsNotFound) IsSuccess() bool
IsSuccess returns true when this replace old bookings not found response has a 2xx status code
func (*ReplaceOldBookingsNotFound) String ¶
func (o *ReplaceOldBookingsNotFound) String() string
type ReplaceOldBookingsOK ¶
type ReplaceOldBookingsOK struct {
Payload *models.StoreStatusAdmin
}
ReplaceOldBookingsOK describes a response with status code 200, with default header values.
OK
func NewReplaceOldBookingsOK ¶
func NewReplaceOldBookingsOK() *ReplaceOldBookingsOK
NewReplaceOldBookingsOK creates a ReplaceOldBookingsOK with default headers values
func (*ReplaceOldBookingsOK) Error ¶
func (o *ReplaceOldBookingsOK) Error() string
func (*ReplaceOldBookingsOK) GetPayload ¶
func (o *ReplaceOldBookingsOK) GetPayload() *models.StoreStatusAdmin
func (*ReplaceOldBookingsOK) IsClientError ¶
func (o *ReplaceOldBookingsOK) IsClientError() bool
IsClientError returns true when this replace old bookings o k response has a 4xx status code
func (*ReplaceOldBookingsOK) IsCode ¶
func (o *ReplaceOldBookingsOK) IsCode(code int) bool
IsCode returns true when this replace old bookings o k response a status code equal to that given
func (*ReplaceOldBookingsOK) IsRedirect ¶
func (o *ReplaceOldBookingsOK) IsRedirect() bool
IsRedirect returns true when this replace old bookings o k response has a 3xx status code
func (*ReplaceOldBookingsOK) IsServerError ¶
func (o *ReplaceOldBookingsOK) IsServerError() bool
IsServerError returns true when this replace old bookings o k response has a 5xx status code
func (*ReplaceOldBookingsOK) IsSuccess ¶
func (o *ReplaceOldBookingsOK) IsSuccess() bool
IsSuccess returns true when this replace old bookings o k response has a 2xx status code
func (*ReplaceOldBookingsOK) String ¶
func (o *ReplaceOldBookingsOK) String() string
type ReplaceOldBookingsParams ¶
type ReplaceOldBookingsParams struct { // Bookings. Bookings models.Bookings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceOldBookingsParams contains all the parameters to send to the API endpoint
for the replace old bookings operation. Typically these are written to a http.Request.
func NewReplaceOldBookingsParams ¶
func NewReplaceOldBookingsParams() *ReplaceOldBookingsParams
NewReplaceOldBookingsParams creates a new ReplaceOldBookingsParams 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 NewReplaceOldBookingsParamsWithContext ¶
func NewReplaceOldBookingsParamsWithContext(ctx context.Context) *ReplaceOldBookingsParams
NewReplaceOldBookingsParamsWithContext creates a new ReplaceOldBookingsParams object with the ability to set a context for a request.
func NewReplaceOldBookingsParamsWithHTTPClient ¶
func NewReplaceOldBookingsParamsWithHTTPClient(client *http.Client) *ReplaceOldBookingsParams
NewReplaceOldBookingsParamsWithHTTPClient creates a new ReplaceOldBookingsParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceOldBookingsParamsWithTimeout ¶
func NewReplaceOldBookingsParamsWithTimeout(timeout time.Duration) *ReplaceOldBookingsParams
NewReplaceOldBookingsParamsWithTimeout creates a new ReplaceOldBookingsParams object with the ability to set a timeout on a request.
func (*ReplaceOldBookingsParams) SetBookings ¶
func (o *ReplaceOldBookingsParams) SetBookings(bookings models.Bookings)
SetBookings adds the bookings to the replace old bookings params
func (*ReplaceOldBookingsParams) SetContext ¶
func (o *ReplaceOldBookingsParams) SetContext(ctx context.Context)
SetContext adds the context to the replace old bookings params
func (*ReplaceOldBookingsParams) SetDefaults ¶
func (o *ReplaceOldBookingsParams) SetDefaults()
SetDefaults hydrates default values in the replace old bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceOldBookingsParams) SetHTTPClient ¶
func (o *ReplaceOldBookingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace old bookings params
func (*ReplaceOldBookingsParams) SetTimeout ¶
func (o *ReplaceOldBookingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace old bookings params
func (*ReplaceOldBookingsParams) WithBookings ¶
func (o *ReplaceOldBookingsParams) WithBookings(bookings models.Bookings) *ReplaceOldBookingsParams
WithBookings adds the bookings to the replace old bookings params
func (*ReplaceOldBookingsParams) WithContext ¶
func (o *ReplaceOldBookingsParams) WithContext(ctx context.Context) *ReplaceOldBookingsParams
WithContext adds the context to the replace old bookings params
func (*ReplaceOldBookingsParams) WithDefaults ¶
func (o *ReplaceOldBookingsParams) WithDefaults() *ReplaceOldBookingsParams
WithDefaults hydrates default values in the replace old bookings params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceOldBookingsParams) WithHTTPClient ¶
func (o *ReplaceOldBookingsParams) WithHTTPClient(client *http.Client) *ReplaceOldBookingsParams
WithHTTPClient adds the HTTPClient to the replace old bookings params
func (*ReplaceOldBookingsParams) WithTimeout ¶
func (o *ReplaceOldBookingsParams) WithTimeout(timeout time.Duration) *ReplaceOldBookingsParams
WithTimeout adds the timeout to the replace old bookings params
func (*ReplaceOldBookingsParams) WriteToRequest ¶
func (o *ReplaceOldBookingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceOldBookingsReader ¶
type ReplaceOldBookingsReader struct {
// contains filtered or unexported fields
}
ReplaceOldBookingsReader is a Reader for the ReplaceOldBookings structure.
func (*ReplaceOldBookingsReader) ReadResponse ¶
func (o *ReplaceOldBookingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceOldBookingsUnauthorized ¶
type ReplaceOldBookingsUnauthorized struct {
}ReplaceOldBookingsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewReplaceOldBookingsUnauthorized ¶
func NewReplaceOldBookingsUnauthorized() *ReplaceOldBookingsUnauthorized
NewReplaceOldBookingsUnauthorized creates a ReplaceOldBookingsUnauthorized with default headers values
func (*ReplaceOldBookingsUnauthorized) Error ¶
func (o *ReplaceOldBookingsUnauthorized) Error() string
func (*ReplaceOldBookingsUnauthorized) GetPayload ¶
func (o *ReplaceOldBookingsUnauthorized) GetPayload() *models.Error
func (*ReplaceOldBookingsUnauthorized) IsClientError ¶
func (o *ReplaceOldBookingsUnauthorized) IsClientError() bool
IsClientError returns true when this replace old bookings unauthorized response has a 4xx status code
func (*ReplaceOldBookingsUnauthorized) IsCode ¶
func (o *ReplaceOldBookingsUnauthorized) IsCode(code int) bool
IsCode returns true when this replace old bookings unauthorized response a status code equal to that given
func (*ReplaceOldBookingsUnauthorized) IsRedirect ¶
func (o *ReplaceOldBookingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this replace old bookings unauthorized response has a 3xx status code
func (*ReplaceOldBookingsUnauthorized) IsServerError ¶
func (o *ReplaceOldBookingsUnauthorized) IsServerError() bool
IsServerError returns true when this replace old bookings unauthorized response has a 5xx status code
func (*ReplaceOldBookingsUnauthorized) IsSuccess ¶
func (o *ReplaceOldBookingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this replace old bookings unauthorized response has a 2xx status code
func (*ReplaceOldBookingsUnauthorized) String ¶
func (o *ReplaceOldBookingsUnauthorized) String() string
type SetLockInternalServerError ¶
SetLockInternalServerError describes a response with status code 500, with default header values.
Internal 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() *models.Error
func (*SetLockInternalServerError) IsClientError ¶
func (o *SetLockInternalServerError) IsClientError() bool
IsClientError returns true when this set lock internal server error response has a 4xx status code
func (*SetLockInternalServerError) IsCode ¶
func (o *SetLockInternalServerError) IsCode(code int) bool
IsCode returns true when this set lock internal server error response a status code equal to that given
func (*SetLockInternalServerError) IsRedirect ¶
func (o *SetLockInternalServerError) IsRedirect() bool
IsRedirect returns true when this set lock internal server error response has a 3xx status code
func (*SetLockInternalServerError) IsServerError ¶
func (o *SetLockInternalServerError) IsServerError() bool
IsServerError returns true when this set lock internal server error response has a 5xx status code
func (*SetLockInternalServerError) IsSuccess ¶
func (o *SetLockInternalServerError) IsSuccess() bool
IsSuccess returns true when this set lock internal server error response has a 2xx status code
func (*SetLockInternalServerError) String ¶
func (o *SetLockInternalServerError) String() string
type SetLockNotFound ¶
SetLockNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewSetLockNotFound ¶
func NewSetLockNotFound() *SetLockNotFound
NewSetLockNotFound creates a SetLockNotFound with default headers values
func (*SetLockNotFound) Error ¶
func (o *SetLockNotFound) Error() string
func (*SetLockNotFound) GetPayload ¶
func (o *SetLockNotFound) GetPayload() *models.Error
func (*SetLockNotFound) IsClientError ¶
func (o *SetLockNotFound) IsClientError() bool
IsClientError returns true when this set lock not found response has a 4xx status code
func (*SetLockNotFound) IsCode ¶
func (o *SetLockNotFound) IsCode(code int) bool
IsCode returns true when this set lock not found response a status code equal to that given
func (*SetLockNotFound) IsRedirect ¶
func (o *SetLockNotFound) IsRedirect() bool
IsRedirect returns true when this set lock not found response has a 3xx status code
func (*SetLockNotFound) IsServerError ¶
func (o *SetLockNotFound) IsServerError() bool
IsServerError returns true when this set lock not found response has a 5xx status code
func (*SetLockNotFound) IsSuccess ¶
func (o *SetLockNotFound) IsSuccess() bool
IsSuccess returns true when this set lock not found response has a 2xx status code
func (*SetLockNotFound) String ¶
func (o *SetLockNotFound) String() string
type SetLockOK ¶
type SetLockOK struct {
Payload *models.StoreStatusAdmin
}
SetLockOK describes a response with status code 200, with default header values.
OK
func NewSetLockOK ¶
func NewSetLockOK() *SetLockOK
NewSetLockOK creates a SetLockOK with default headers values
func (*SetLockOK) GetPayload ¶
func (o *SetLockOK) GetPayload() *models.StoreStatusAdmin
func (*SetLockOK) IsClientError ¶
IsClientError returns true when this set lock o k response has a 4xx status code
func (*SetLockOK) IsCode ¶
IsCode returns true when this set lock o k response a status code equal to that given
func (*SetLockOK) IsRedirect ¶
IsRedirect returns true when this set lock o k response has a 3xx status code
func (*SetLockOK) IsServerError ¶
IsServerError returns true when this set lock o k response has a 5xx status code
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() *models.Error
func (*SetLockUnauthorized) IsClientError ¶
func (o *SetLockUnauthorized) IsClientError() bool
IsClientError returns true when this set lock unauthorized response has a 4xx status code
func (*SetLockUnauthorized) IsCode ¶
func (o *SetLockUnauthorized) IsCode(code int) bool
IsCode returns true when this set lock unauthorized response a status code equal to that given
func (*SetLockUnauthorized) IsRedirect ¶
func (o *SetLockUnauthorized) IsRedirect() bool
IsRedirect returns true when this set lock unauthorized response has a 3xx status code
func (*SetLockUnauthorized) IsServerError ¶
func (o *SetLockUnauthorized) IsServerError() bool
IsServerError returns true when this set lock unauthorized response has a 5xx status code
func (*SetLockUnauthorized) IsSuccess ¶
func (o *SetLockUnauthorized) IsSuccess() bool
IsSuccess returns true when this set lock unauthorized response has a 2xx status code
func (*SetLockUnauthorized) String ¶
func (o *SetLockUnauthorized) String() string
type SetResourceIsAvailableInternalServerError ¶ added in v0.3.11
SetResourceIsAvailableInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewSetResourceIsAvailableInternalServerError ¶ added in v0.3.11
func NewSetResourceIsAvailableInternalServerError() *SetResourceIsAvailableInternalServerError
NewSetResourceIsAvailableInternalServerError creates a SetResourceIsAvailableInternalServerError with default headers values
func (*SetResourceIsAvailableInternalServerError) Error ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) Error() string
func (*SetResourceIsAvailableInternalServerError) GetPayload ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) GetPayload() *models.Error
func (*SetResourceIsAvailableInternalServerError) IsClientError ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) IsClientError() bool
IsClientError returns true when this set resource is available internal server error response has a 4xx status code
func (*SetResourceIsAvailableInternalServerError) IsCode ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) IsCode(code int) bool
IsCode returns true when this set resource is available internal server error response a status code equal to that given
func (*SetResourceIsAvailableInternalServerError) IsRedirect ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) IsRedirect() bool
IsRedirect returns true when this set resource is available internal server error response has a 3xx status code
func (*SetResourceIsAvailableInternalServerError) IsServerError ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) IsServerError() bool
IsServerError returns true when this set resource is available internal server error response has a 5xx status code
func (*SetResourceIsAvailableInternalServerError) IsSuccess ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) IsSuccess() bool
IsSuccess returns true when this set resource is available internal server error response has a 2xx status code
func (*SetResourceIsAvailableInternalServerError) String ¶ added in v0.3.11
func (o *SetResourceIsAvailableInternalServerError) String() string
type SetResourceIsAvailableNoContent ¶ added in v0.3.11
type SetResourceIsAvailableNoContent struct { }
SetResourceIsAvailableNoContent describes a response with status code 204, with default header values.
OK
func NewSetResourceIsAvailableNoContent ¶ added in v0.3.11
func NewSetResourceIsAvailableNoContent() *SetResourceIsAvailableNoContent
NewSetResourceIsAvailableNoContent creates a SetResourceIsAvailableNoContent with default headers values
func (*SetResourceIsAvailableNoContent) Error ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) Error() string
func (*SetResourceIsAvailableNoContent) IsClientError ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) IsClientError() bool
IsClientError returns true when this set resource is available no content response has a 4xx status code
func (*SetResourceIsAvailableNoContent) IsCode ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) IsCode(code int) bool
IsCode returns true when this set resource is available no content response a status code equal to that given
func (*SetResourceIsAvailableNoContent) IsRedirect ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) IsRedirect() bool
IsRedirect returns true when this set resource is available no content response has a 3xx status code
func (*SetResourceIsAvailableNoContent) IsServerError ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) IsServerError() bool
IsServerError returns true when this set resource is available no content response has a 5xx status code
func (*SetResourceIsAvailableNoContent) IsSuccess ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) IsSuccess() bool
IsSuccess returns true when this set resource is available no content response has a 2xx status code
func (*SetResourceIsAvailableNoContent) String ¶ added in v0.3.11
func (o *SetResourceIsAvailableNoContent) String() string
type SetResourceIsAvailableNotFound ¶ added in v0.3.11
SetResourceIsAvailableNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewSetResourceIsAvailableNotFound ¶ added in v0.3.11
func NewSetResourceIsAvailableNotFound() *SetResourceIsAvailableNotFound
NewSetResourceIsAvailableNotFound creates a SetResourceIsAvailableNotFound with default headers values
func (*SetResourceIsAvailableNotFound) Error ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) Error() string
func (*SetResourceIsAvailableNotFound) GetPayload ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) GetPayload() *models.Error
func (*SetResourceIsAvailableNotFound) IsClientError ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) IsClientError() bool
IsClientError returns true when this set resource is available not found response has a 4xx status code
func (*SetResourceIsAvailableNotFound) IsCode ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) IsCode(code int) bool
IsCode returns true when this set resource is available not found response a status code equal to that given
func (*SetResourceIsAvailableNotFound) IsRedirect ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) IsRedirect() bool
IsRedirect returns true when this set resource is available not found response has a 3xx status code
func (*SetResourceIsAvailableNotFound) IsServerError ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) IsServerError() bool
IsServerError returns true when this set resource is available not found response has a 5xx status code
func (*SetResourceIsAvailableNotFound) IsSuccess ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) IsSuccess() bool
IsSuccess returns true when this set resource is available not found response has a 2xx status code
func (*SetResourceIsAvailableNotFound) String ¶ added in v0.3.11
func (o *SetResourceIsAvailableNotFound) String() string
type SetResourceIsAvailableParams ¶ added in v0.3.11
type SetResourceIsAvailableParams struct { // Available. Available bool // Reason. Reason string // ResourceName. ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetResourceIsAvailableParams contains all the parameters to send to the API endpoint
for the set resource is available operation. Typically these are written to a http.Request.
func NewSetResourceIsAvailableParams ¶ added in v0.3.11
func NewSetResourceIsAvailableParams() *SetResourceIsAvailableParams
NewSetResourceIsAvailableParams creates a new SetResourceIsAvailableParams 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 NewSetResourceIsAvailableParamsWithContext ¶ added in v0.3.11
func NewSetResourceIsAvailableParamsWithContext(ctx context.Context) *SetResourceIsAvailableParams
NewSetResourceIsAvailableParamsWithContext creates a new SetResourceIsAvailableParams object with the ability to set a context for a request.
func NewSetResourceIsAvailableParamsWithHTTPClient ¶ added in v0.3.11
func NewSetResourceIsAvailableParamsWithHTTPClient(client *http.Client) *SetResourceIsAvailableParams
NewSetResourceIsAvailableParamsWithHTTPClient creates a new SetResourceIsAvailableParams object with the ability to set a custom HTTPClient for a request.
func NewSetResourceIsAvailableParamsWithTimeout ¶ added in v0.3.11
func NewSetResourceIsAvailableParamsWithTimeout(timeout time.Duration) *SetResourceIsAvailableParams
NewSetResourceIsAvailableParamsWithTimeout creates a new SetResourceIsAvailableParams object with the ability to set a timeout on a request.
func (*SetResourceIsAvailableParams) SetAvailable ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetAvailable(available bool)
SetAvailable adds the available to the set resource is available params
func (*SetResourceIsAvailableParams) SetContext ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetContext(ctx context.Context)
SetContext adds the context to the set resource is available params
func (*SetResourceIsAvailableParams) SetDefaults ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetDefaults()
SetDefaults hydrates default values in the set resource is available params (not the query body).
All values with no default are reset to their zero value.
func (*SetResourceIsAvailableParams) SetHTTPClient ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set resource is available params
func (*SetResourceIsAvailableParams) SetReason ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetReason(reason string)
SetReason adds the reason to the set resource is available params
func (*SetResourceIsAvailableParams) SetResourceName ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the set resource is available params
func (*SetResourceIsAvailableParams) SetTimeout ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set resource is available params
func (*SetResourceIsAvailableParams) WithAvailable ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithAvailable(available bool) *SetResourceIsAvailableParams
WithAvailable adds the available to the set resource is available params
func (*SetResourceIsAvailableParams) WithContext ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithContext(ctx context.Context) *SetResourceIsAvailableParams
WithContext adds the context to the set resource is available params
func (*SetResourceIsAvailableParams) WithDefaults ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithDefaults() *SetResourceIsAvailableParams
WithDefaults hydrates default values in the set resource is available params (not the query body).
All values with no default are reset to their zero value.
func (*SetResourceIsAvailableParams) WithHTTPClient ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithHTTPClient(client *http.Client) *SetResourceIsAvailableParams
WithHTTPClient adds the HTTPClient to the set resource is available params
func (*SetResourceIsAvailableParams) WithReason ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithReason(reason string) *SetResourceIsAvailableParams
WithReason adds the reason to the set resource is available params
func (*SetResourceIsAvailableParams) WithResourceName ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithResourceName(resourceName string) *SetResourceIsAvailableParams
WithResourceName adds the resourceName to the set resource is available params
func (*SetResourceIsAvailableParams) WithTimeout ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WithTimeout(timeout time.Duration) *SetResourceIsAvailableParams
WithTimeout adds the timeout to the set resource is available params
func (*SetResourceIsAvailableParams) WriteToRequest ¶ added in v0.3.11
func (o *SetResourceIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetResourceIsAvailableReader ¶ added in v0.3.11
type SetResourceIsAvailableReader struct {
// contains filtered or unexported fields
}
SetResourceIsAvailableReader is a Reader for the SetResourceIsAvailable structure.
func (*SetResourceIsAvailableReader) ReadResponse ¶ added in v0.3.11
func (o *SetResourceIsAvailableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetResourceIsAvailableUnauthorized ¶ added in v0.3.11
type SetResourceIsAvailableUnauthorized struct {
}SetResourceIsAvailableUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetResourceIsAvailableUnauthorized ¶ added in v0.3.11
func NewSetResourceIsAvailableUnauthorized() *SetResourceIsAvailableUnauthorized
NewSetResourceIsAvailableUnauthorized creates a SetResourceIsAvailableUnauthorized with default headers values
func (*SetResourceIsAvailableUnauthorized) Error ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) Error() string
func (*SetResourceIsAvailableUnauthorized) GetPayload ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) GetPayload() *models.Error
func (*SetResourceIsAvailableUnauthorized) IsClientError ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) IsClientError() bool
IsClientError returns true when this set resource is available unauthorized response has a 4xx status code
func (*SetResourceIsAvailableUnauthorized) IsCode ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) IsCode(code int) bool
IsCode returns true when this set resource is available unauthorized response a status code equal to that given
func (*SetResourceIsAvailableUnauthorized) IsRedirect ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) IsRedirect() bool
IsRedirect returns true when this set resource is available unauthorized response has a 3xx status code
func (*SetResourceIsAvailableUnauthorized) IsServerError ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) IsServerError() bool
IsServerError returns true when this set resource is available unauthorized response has a 5xx status code
func (*SetResourceIsAvailableUnauthorized) IsSuccess ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) IsSuccess() bool
IsSuccess returns true when this set resource is available unauthorized response has a 2xx status code
func (*SetResourceIsAvailableUnauthorized) String ¶ added in v0.3.11
func (o *SetResourceIsAvailableUnauthorized) String() string
type SetSlotIsAvailableInternalServerError ¶
SetSlotIsAvailableInternalServerError describes a response with status code 500, with default header values.
Internal Error
func NewSetSlotIsAvailableInternalServerError ¶
func NewSetSlotIsAvailableInternalServerError() *SetSlotIsAvailableInternalServerError
NewSetSlotIsAvailableInternalServerError creates a SetSlotIsAvailableInternalServerError with default headers values
func (*SetSlotIsAvailableInternalServerError) Error ¶
func (o *SetSlotIsAvailableInternalServerError) Error() string
func (*SetSlotIsAvailableInternalServerError) GetPayload ¶
func (o *SetSlotIsAvailableInternalServerError) GetPayload() *models.Error
func (*SetSlotIsAvailableInternalServerError) IsClientError ¶
func (o *SetSlotIsAvailableInternalServerError) IsClientError() bool
IsClientError returns true when this set slot is available internal server error response has a 4xx status code
func (*SetSlotIsAvailableInternalServerError) IsCode ¶
func (o *SetSlotIsAvailableInternalServerError) IsCode(code int) bool
IsCode returns true when this set slot is available internal server error response a status code equal to that given
func (*SetSlotIsAvailableInternalServerError) IsRedirect ¶
func (o *SetSlotIsAvailableInternalServerError) IsRedirect() bool
IsRedirect returns true when this set slot is available internal server error response has a 3xx status code
func (*SetSlotIsAvailableInternalServerError) IsServerError ¶
func (o *SetSlotIsAvailableInternalServerError) IsServerError() bool
IsServerError returns true when this set slot is available internal server error response has a 5xx status code
func (*SetSlotIsAvailableInternalServerError) IsSuccess ¶
func (o *SetSlotIsAvailableInternalServerError) IsSuccess() bool
IsSuccess returns true when this set slot is available internal server error response has a 2xx status code
func (*SetSlotIsAvailableInternalServerError) String ¶
func (o *SetSlotIsAvailableInternalServerError) String() string
type SetSlotIsAvailableNoContent ¶
type SetSlotIsAvailableNoContent struct { }
SetSlotIsAvailableNoContent describes a response with status code 204, with default header values.
OK
func NewSetSlotIsAvailableNoContent ¶
func NewSetSlotIsAvailableNoContent() *SetSlotIsAvailableNoContent
NewSetSlotIsAvailableNoContent creates a SetSlotIsAvailableNoContent with default headers values
func (*SetSlotIsAvailableNoContent) Error ¶
func (o *SetSlotIsAvailableNoContent) Error() string
func (*SetSlotIsAvailableNoContent) IsClientError ¶
func (o *SetSlotIsAvailableNoContent) IsClientError() bool
IsClientError returns true when this set slot is available no content response has a 4xx status code
func (*SetSlotIsAvailableNoContent) IsCode ¶
func (o *SetSlotIsAvailableNoContent) IsCode(code int) bool
IsCode returns true when this set slot is available no content response a status code equal to that given
func (*SetSlotIsAvailableNoContent) IsRedirect ¶
func (o *SetSlotIsAvailableNoContent) IsRedirect() bool
IsRedirect returns true when this set slot is available no content response has a 3xx status code
func (*SetSlotIsAvailableNoContent) IsServerError ¶
func (o *SetSlotIsAvailableNoContent) IsServerError() bool
IsServerError returns true when this set slot is available no content response has a 5xx status code
func (*SetSlotIsAvailableNoContent) IsSuccess ¶
func (o *SetSlotIsAvailableNoContent) IsSuccess() bool
IsSuccess returns true when this set slot is available no content response has a 2xx status code
func (*SetSlotIsAvailableNoContent) String ¶
func (o *SetSlotIsAvailableNoContent) String() string
type SetSlotIsAvailableNotFound ¶
SetSlotIsAvailableNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewSetSlotIsAvailableNotFound ¶
func NewSetSlotIsAvailableNotFound() *SetSlotIsAvailableNotFound
NewSetSlotIsAvailableNotFound creates a SetSlotIsAvailableNotFound with default headers values
func (*SetSlotIsAvailableNotFound) Error ¶
func (o *SetSlotIsAvailableNotFound) Error() string
func (*SetSlotIsAvailableNotFound) GetPayload ¶
func (o *SetSlotIsAvailableNotFound) GetPayload() *models.Error
func (*SetSlotIsAvailableNotFound) IsClientError ¶
func (o *SetSlotIsAvailableNotFound) IsClientError() bool
IsClientError returns true when this set slot is available not found response has a 4xx status code
func (*SetSlotIsAvailableNotFound) IsCode ¶
func (o *SetSlotIsAvailableNotFound) IsCode(code int) bool
IsCode returns true when this set slot is available not found response a status code equal to that given
func (*SetSlotIsAvailableNotFound) IsRedirect ¶
func (o *SetSlotIsAvailableNotFound) IsRedirect() bool
IsRedirect returns true when this set slot is available not found response has a 3xx status code
func (*SetSlotIsAvailableNotFound) IsServerError ¶
func (o *SetSlotIsAvailableNotFound) IsServerError() bool
IsServerError returns true when this set slot is available not found response has a 5xx status code
func (*SetSlotIsAvailableNotFound) IsSuccess ¶
func (o *SetSlotIsAvailableNotFound) IsSuccess() bool
IsSuccess returns true when this set slot is available not found response has a 2xx status code
func (*SetSlotIsAvailableNotFound) String ¶
func (o *SetSlotIsAvailableNotFound) String() string
type SetSlotIsAvailableParams ¶
type SetSlotIsAvailableParams struct { // Available. Available bool // Reason. Reason string // SlotName. SlotName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetSlotIsAvailableParams contains all the parameters to send to the API endpoint
for the set slot is available operation. Typically these are written to a http.Request.
func NewSetSlotIsAvailableParams ¶
func NewSetSlotIsAvailableParams() *SetSlotIsAvailableParams
NewSetSlotIsAvailableParams creates a new SetSlotIsAvailableParams 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 NewSetSlotIsAvailableParamsWithContext ¶
func NewSetSlotIsAvailableParamsWithContext(ctx context.Context) *SetSlotIsAvailableParams
NewSetSlotIsAvailableParamsWithContext creates a new SetSlotIsAvailableParams object with the ability to set a context for a request.
func NewSetSlotIsAvailableParamsWithHTTPClient ¶
func NewSetSlotIsAvailableParamsWithHTTPClient(client *http.Client) *SetSlotIsAvailableParams
NewSetSlotIsAvailableParamsWithHTTPClient creates a new SetSlotIsAvailableParams object with the ability to set a custom HTTPClient for a request.
func NewSetSlotIsAvailableParamsWithTimeout ¶
func NewSetSlotIsAvailableParamsWithTimeout(timeout time.Duration) *SetSlotIsAvailableParams
NewSetSlotIsAvailableParamsWithTimeout creates a new SetSlotIsAvailableParams object with the ability to set a timeout on a request.
func (*SetSlotIsAvailableParams) SetAvailable ¶
func (o *SetSlotIsAvailableParams) SetAvailable(available bool)
SetAvailable adds the available to the set slot is available params
func (*SetSlotIsAvailableParams) SetContext ¶
func (o *SetSlotIsAvailableParams) SetContext(ctx context.Context)
SetContext adds the context to the set slot is available params
func (*SetSlotIsAvailableParams) SetDefaults ¶
func (o *SetSlotIsAvailableParams) SetDefaults()
SetDefaults hydrates default values in the set slot is available params (not the query body).
All values with no default are reset to their zero value.
func (*SetSlotIsAvailableParams) SetHTTPClient ¶
func (o *SetSlotIsAvailableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set slot is available params
func (*SetSlotIsAvailableParams) SetReason ¶
func (o *SetSlotIsAvailableParams) SetReason(reason string)
SetReason adds the reason to the set slot is available params
func (*SetSlotIsAvailableParams) SetSlotName ¶
func (o *SetSlotIsAvailableParams) SetSlotName(slotName string)
SetSlotName adds the slotName to the set slot is available params
func (*SetSlotIsAvailableParams) SetTimeout ¶
func (o *SetSlotIsAvailableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set slot is available params
func (*SetSlotIsAvailableParams) WithAvailable ¶
func (o *SetSlotIsAvailableParams) WithAvailable(available bool) *SetSlotIsAvailableParams
WithAvailable adds the available to the set slot is available params
func (*SetSlotIsAvailableParams) WithContext ¶
func (o *SetSlotIsAvailableParams) WithContext(ctx context.Context) *SetSlotIsAvailableParams
WithContext adds the context to the set slot is available params
func (*SetSlotIsAvailableParams) WithDefaults ¶
func (o *SetSlotIsAvailableParams) WithDefaults() *SetSlotIsAvailableParams
WithDefaults hydrates default values in the set slot is available params (not the query body).
All values with no default are reset to their zero value.
func (*SetSlotIsAvailableParams) WithHTTPClient ¶
func (o *SetSlotIsAvailableParams) WithHTTPClient(client *http.Client) *SetSlotIsAvailableParams
WithHTTPClient adds the HTTPClient to the set slot is available params
func (*SetSlotIsAvailableParams) WithReason ¶
func (o *SetSlotIsAvailableParams) WithReason(reason string) *SetSlotIsAvailableParams
WithReason adds the reason to the set slot is available params
func (*SetSlotIsAvailableParams) WithSlotName ¶
func (o *SetSlotIsAvailableParams) WithSlotName(slotName string) *SetSlotIsAvailableParams
WithSlotName adds the slotName to the set slot is available params
func (*SetSlotIsAvailableParams) WithTimeout ¶
func (o *SetSlotIsAvailableParams) WithTimeout(timeout time.Duration) *SetSlotIsAvailableParams
WithTimeout adds the timeout to the set slot is available params
func (*SetSlotIsAvailableParams) WriteToRequest ¶
func (o *SetSlotIsAvailableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetSlotIsAvailableReader ¶
type SetSlotIsAvailableReader struct {
// contains filtered or unexported fields
}
SetSlotIsAvailableReader is a Reader for the SetSlotIsAvailable structure.
func (*SetSlotIsAvailableReader) ReadResponse ¶
func (o *SetSlotIsAvailableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetSlotIsAvailableUnauthorized ¶
type SetSlotIsAvailableUnauthorized struct {
}SetSlotIsAvailableUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetSlotIsAvailableUnauthorized ¶
func NewSetSlotIsAvailableUnauthorized() *SetSlotIsAvailableUnauthorized
NewSetSlotIsAvailableUnauthorized creates a SetSlotIsAvailableUnauthorized with default headers values
func (*SetSlotIsAvailableUnauthorized) Error ¶
func (o *SetSlotIsAvailableUnauthorized) Error() string
func (*SetSlotIsAvailableUnauthorized) GetPayload ¶
func (o *SetSlotIsAvailableUnauthorized) GetPayload() *models.Error
func (*SetSlotIsAvailableUnauthorized) IsClientError ¶
func (o *SetSlotIsAvailableUnauthorized) IsClientError() bool
IsClientError returns true when this set slot is available unauthorized response has a 4xx status code
func (*SetSlotIsAvailableUnauthorized) IsCode ¶
func (o *SetSlotIsAvailableUnauthorized) IsCode(code int) bool
IsCode returns true when this set slot is available unauthorized response a status code equal to that given
func (*SetSlotIsAvailableUnauthorized) IsRedirect ¶
func (o *SetSlotIsAvailableUnauthorized) IsRedirect() bool
IsRedirect returns true when this set slot is available unauthorized response has a 3xx status code
func (*SetSlotIsAvailableUnauthorized) IsServerError ¶
func (o *SetSlotIsAvailableUnauthorized) IsServerError() bool
IsServerError returns true when this set slot is available unauthorized response has a 5xx status code
func (*SetSlotIsAvailableUnauthorized) IsSuccess ¶
func (o *SetSlotIsAvailableUnauthorized) IsSuccess() bool
IsSuccess returns true when this set slot is available unauthorized response has a 2xx status code
func (*SetSlotIsAvailableUnauthorized) String ¶
func (o *SetSlotIsAvailableUnauthorized) String() string
Source Files
¶
- admin_client.go
- check_manifest_parameters.go
- check_manifest_responses.go
- export_bookings_parameters.go
- export_bookings_responses.go
- export_manifest_parameters.go
- export_manifest_responses.go
- export_old_bookings_parameters.go
- export_old_bookings_responses.go
- export_users_parameters.go
- export_users_responses.go
- get_resource_is_available_parameters.go
- get_resource_is_available_responses.go
- get_resources_parameters.go
- get_resources_responses.go
- get_slot_is_available_parameters.go
- get_slot_is_available_responses.go
- get_store_status_admin_parameters.go
- get_store_status_admin_responses.go
- replace_bookings_parameters.go
- replace_bookings_responses.go
- replace_manifest_parameters.go
- replace_manifest_responses.go
- replace_old_bookings_parameters.go
- replace_old_bookings_responses.go
- set_lock_parameters.go
- set_lock_responses.go
- set_resource_is_available_parameters.go
- set_resource_is_available_responses.go
- set_slot_is_available_parameters.go
- set_slot_is_available_responses.go