admin

package
v0.3.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: AGPL-3.0, BSD-2-Clause, ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckManifestInternalServerError

type CheckManifestInternalServerError struct {
	Payload *models.Error
}
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 (*CheckManifestInternalServerError) GetPayload

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

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

type CheckManifestNotFound struct {
	Payload *models.Error
}
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

type CheckManifestOK struct {
	Payload *models.ErrorList
}
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

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 {
	Payload *models.Error
}
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

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

type ExportBookingsInternalServerError struct {
	Payload *models.Error
}
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 (*ExportBookingsInternalServerError) GetPayload

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

type ExportBookingsNotFound

type ExportBookingsNotFound struct {
	Payload *models.Error
}
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

type ExportBookingsOK struct {
	Payload models.Bookings
}
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

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 {
	Payload *models.Error
}
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 (*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

type ExportManifestInternalServerError struct {
	Payload *models.Error
}
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 (*ExportManifestInternalServerError) GetPayload

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

type ExportManifestNotFound

type ExportManifestNotFound struct {
	Payload *models.Error
}
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

type ExportManifestOK struct {
	Payload *models.Manifest
}
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

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 {
	Payload *models.Error
}
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 (*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

type ExportOldBookingsInternalServerError struct {
	Payload *models.Error
}
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 (*ExportOldBookingsInternalServerError) GetPayload

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

IsCode returns true when this export old bookings internal server error response a status code equal to that given

func (*ExportOldBookingsInternalServerError) IsRedirect

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

IsSuccess returns true when this export old bookings internal server error response has a 2xx status code

func (*ExportOldBookingsInternalServerError) String

type ExportOldBookingsNotFound

type ExportOldBookingsNotFound struct {
	Payload *models.Error
}
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

type ExportOldBookingsOK struct {
	Payload models.Bookings
}
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

WithContext adds the context to the export old bookings params

func (*ExportOldBookingsParams) WithDefaults

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

WithTimeout adds the timeout to the export old bookings params

func (*ExportOldBookingsParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*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

type ExportUsersInternalServerError

type ExportUsersInternalServerError struct {
	Payload *models.Error
}
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 (*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

type ExportUsersNotFound

type ExportUsersNotFound struct {
	Payload *models.Error
}
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

type ExportUsersOK struct {
	Payload models.Users
}
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 {
	Payload *models.Error
}
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

type GetResourceIsAvailableInternalServerError struct {
	Payload *models.Error
}
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 (*GetResourceIsAvailableInternalServerError) GetPayload added in v0.3.11

func (*GetResourceIsAvailableInternalServerError) IsClientError added in v0.3.11

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

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

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

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

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

type GetResourceIsAvailableNotFound added in v0.3.11

type GetResourceIsAvailableNotFound struct {
	Payload *models.Error
}
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 (*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

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 (*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

WithContext adds the context to the get resource is available params

func (*GetResourceIsAvailableParams) WithDefaults added in v0.3.11

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

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

WithTimeout adds the timeout to the get resource is available params

func (*GetResourceIsAvailableParams) WriteToRequest added in v0.3.11

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 {
	Payload *models.Error
}
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 (*GetResourceIsAvailableUnauthorized) GetPayload added in v0.3.11

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

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

IsSuccess returns true when this get resource is available unauthorized response has a 2xx status code

func (*GetResourceIsAvailableUnauthorized) String added in v0.3.11

type GetResourcesInternalServerError added in v0.3.11

type GetResourcesInternalServerError struct {
	Payload *models.Error
}
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 (*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

type GetResourcesNotFound added in v0.3.11

type GetResourcesNotFound struct {
	Payload *models.Error
}
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

type GetResourcesOK struct {
	Payload models.Resources
}
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

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 {
	Payload *models.Error
}
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

type GetSlotIsAvailableInternalServerError struct {
	Payload *models.Error
}
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 (*GetSlotIsAvailableInternalServerError) GetPayload

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

IsCode returns true when this get slot is available internal server error response a status code equal to that given

func (*GetSlotIsAvailableInternalServerError) IsRedirect

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

IsSuccess returns true when this get slot is available internal server error response has a 2xx status code

func (*GetSlotIsAvailableInternalServerError) String

type GetSlotIsAvailableNotFound

type GetSlotIsAvailableNotFound struct {
	Payload *models.Error
}
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 (*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

WithContext adds the context to the get slot is available params

func (*GetSlotIsAvailableParams) WithDefaults

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

WithTimeout adds the timeout to the get slot is available params

func (*GetSlotIsAvailableParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*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

type GetStoreStatusAdminInternalServerError

type GetStoreStatusAdminInternalServerError struct {
	Payload *models.Error
}
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 (*GetStoreStatusAdminInternalServerError) GetPayload

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

IsCode returns true when this get store status admin internal server error response a status code equal to that given

func (*GetStoreStatusAdminInternalServerError) IsRedirect

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

IsSuccess returns true when this get store status admin internal server error response has a 2xx status code

func (*GetStoreStatusAdminInternalServerError) String

type GetStoreStatusAdminNotFound

type GetStoreStatusAdminNotFound struct {
	Payload *models.Error
}
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 (*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 (*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

WithContext adds the context to the get store status admin params

func (*GetStoreStatusAdminParams) WithDefaults

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

WithTimeout adds the timeout to the get store status admin params

func (*GetStoreStatusAdminParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*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

type ReplaceBookingsInternalServerError

type ReplaceBookingsInternalServerError struct {
	Payload *models.Error
}
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 (*ReplaceBookingsInternalServerError) GetPayload

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

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

IsSuccess returns true when this replace bookings internal server error response has a 2xx status code

func (*ReplaceBookingsInternalServerError) String

type ReplaceBookingsNotFound

type ReplaceBookingsNotFound struct {
	Payload *models.Error
}
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

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 {
	Payload *models.Error
}
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 (*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

type ReplaceManifestInternalServerError struct {
	Payload *models.Error
}
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 (*ReplaceManifestInternalServerError) GetPayload

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

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

IsSuccess returns true when this replace manifest internal server error response has a 2xx status code

func (*ReplaceManifestInternalServerError) String

type ReplaceManifestNotFound

type ReplaceManifestNotFound struct {
	Payload *models.Error
}
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

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 {
	Payload *models.Error
}
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 (*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

type ReplaceOldBookingsInternalServerError struct {
	Payload *models.Error
}
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 (*ReplaceOldBookingsInternalServerError) GetPayload

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

IsCode returns true when this replace old bookings internal server error response a status code equal to that given

func (*ReplaceOldBookingsInternalServerError) IsRedirect

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

IsSuccess returns true when this replace old bookings internal server error response has a 2xx status code

func (*ReplaceOldBookingsInternalServerError) String

type ReplaceOldBookingsNotFound

type ReplaceOldBookingsNotFound struct {
	Payload *models.Error
}
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 (*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

WithBookings adds the bookings to the replace old bookings params

func (*ReplaceOldBookingsParams) WithContext

WithContext adds the context to the replace old bookings params

func (*ReplaceOldBookingsParams) WithDefaults

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

WithTimeout adds the timeout to the replace old bookings params

func (*ReplaceOldBookingsParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*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

type SetLockInternalServerError

type SetLockInternalServerError struct {
	Payload *models.Error
}
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 (*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

type SetLockNotFound struct {
	Payload *models.Error
}
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) Error

func (o *SetLockOK) Error() string

func (*SetLockOK) GetPayload

func (o *SetLockOK) GetPayload() *models.StoreStatusAdmin

func (*SetLockOK) IsClientError

func (o *SetLockOK) IsClientError() bool

IsClientError returns true when this set lock o k response has a 4xx status code

func (*SetLockOK) IsCode

func (o *SetLockOK) IsCode(code int) bool

IsCode returns true when this set lock o k response a status code equal to that given

func (*SetLockOK) IsRedirect

func (o *SetLockOK) IsRedirect() bool

IsRedirect returns true when this set lock o k response has a 3xx status code

func (*SetLockOK) IsServerError

func (o *SetLockOK) IsServerError() bool

IsServerError returns true when this set lock o k response has a 5xx status code

func (*SetLockOK) IsSuccess

func (o *SetLockOK) IsSuccess() bool

IsSuccess returns true when this set lock o k response has a 2xx status code

func (*SetLockOK) String

func (o *SetLockOK) String() string

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 {
	Payload *models.Error
}
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

type SetResourceIsAvailableInternalServerError struct {
	Payload *models.Error
}
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 (*SetResourceIsAvailableInternalServerError) GetPayload added in v0.3.11

func (*SetResourceIsAvailableInternalServerError) IsClientError added in v0.3.11

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

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

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

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

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

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 (*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

type SetResourceIsAvailableNotFound added in v0.3.11

type SetResourceIsAvailableNotFound struct {
	Payload *models.Error
}
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 (*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

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

WithContext adds the context to the set resource is available params

func (*SetResourceIsAvailableParams) WithDefaults added in v0.3.11

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

WithHTTPClient adds the HTTPClient to the set resource is available params

func (*SetResourceIsAvailableParams) WithReason added in v0.3.11

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

WithTimeout adds the timeout to the set resource is available params

func (*SetResourceIsAvailableParams) WriteToRequest added in v0.3.11

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 {
	Payload *models.Error
}
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 (*SetResourceIsAvailableUnauthorized) GetPayload added in v0.3.11

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

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

IsSuccess returns true when this set resource is available unauthorized response has a 2xx status code

func (*SetResourceIsAvailableUnauthorized) String added in v0.3.11

type SetSlotIsAvailableInternalServerError

type SetSlotIsAvailableInternalServerError struct {
	Payload *models.Error
}
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 (*SetSlotIsAvailableInternalServerError) GetPayload

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

IsCode returns true when this set slot is available internal server error response a status code equal to that given

func (*SetSlotIsAvailableInternalServerError) IsRedirect

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

IsSuccess returns true when this set slot is available internal server error response has a 2xx status code

func (*SetSlotIsAvailableInternalServerError) 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 (*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

type SetSlotIsAvailableNotFound struct {
	Payload *models.Error
}
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 (*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

WithContext adds the context to the set slot is available params

func (*SetSlotIsAvailableParams) WithDefaults

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

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

WithTimeout adds the timeout to the set slot is available params

func (*SetSlotIsAvailableParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL