users

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 AddGroupForUserInternalServerError added in v0.3.0

type AddGroupForUserInternalServerError struct {
	Payload *models.Error
}
AddGroupForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewAddGroupForUserInternalServerError added in v0.3.0

func NewAddGroupForUserInternalServerError() *AddGroupForUserInternalServerError

NewAddGroupForUserInternalServerError creates a AddGroupForUserInternalServerError with default headers values

func (*AddGroupForUserInternalServerError) Error added in v0.3.0

func (*AddGroupForUserInternalServerError) GetPayload added in v0.3.0

func (*AddGroupForUserInternalServerError) IsClientError added in v0.3.0

func (o *AddGroupForUserInternalServerError) IsClientError() bool

IsClientError returns true when this add group for user internal server error response has a 4xx status code

func (*AddGroupForUserInternalServerError) IsCode added in v0.3.0

IsCode returns true when this add group for user internal server error response a status code equal to that given

func (*AddGroupForUserInternalServerError) IsRedirect added in v0.3.0

func (o *AddGroupForUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this add group for user internal server error response has a 3xx status code

func (*AddGroupForUserInternalServerError) IsServerError added in v0.3.0

func (o *AddGroupForUserInternalServerError) IsServerError() bool

IsServerError returns true when this add group for user internal server error response has a 5xx status code

func (*AddGroupForUserInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this add group for user internal server error response has a 2xx status code

func (*AddGroupForUserInternalServerError) String added in v0.3.0

type AddGroupForUserNoContent added in v0.3.0

type AddGroupForUserNoContent struct {
}
AddGroupForUserNoContent describes a response with status code 204, with default header values.

OK - No Content

func NewAddGroupForUserNoContent added in v0.3.0

func NewAddGroupForUserNoContent() *AddGroupForUserNoContent

NewAddGroupForUserNoContent creates a AddGroupForUserNoContent with default headers values

func (*AddGroupForUserNoContent) Error added in v0.3.0

func (o *AddGroupForUserNoContent) Error() string

func (*AddGroupForUserNoContent) IsClientError added in v0.3.0

func (o *AddGroupForUserNoContent) IsClientError() bool

IsClientError returns true when this add group for user no content response has a 4xx status code

func (*AddGroupForUserNoContent) IsCode added in v0.3.0

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

IsCode returns true when this add group for user no content response a status code equal to that given

func (*AddGroupForUserNoContent) IsRedirect added in v0.3.0

func (o *AddGroupForUserNoContent) IsRedirect() bool

IsRedirect returns true when this add group for user no content response has a 3xx status code

func (*AddGroupForUserNoContent) IsServerError added in v0.3.0

func (o *AddGroupForUserNoContent) IsServerError() bool

IsServerError returns true when this add group for user no content response has a 5xx status code

func (*AddGroupForUserNoContent) IsSuccess added in v0.3.0

func (o *AddGroupForUserNoContent) IsSuccess() bool

IsSuccess returns true when this add group for user no content response has a 2xx status code

func (*AddGroupForUserNoContent) String added in v0.3.0

func (o *AddGroupForUserNoContent) String() string

type AddGroupForUserNotFound added in v0.3.0

type AddGroupForUserNotFound struct {
	Payload *models.Error
}
AddGroupForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewAddGroupForUserNotFound added in v0.3.0

func NewAddGroupForUserNotFound() *AddGroupForUserNotFound

NewAddGroupForUserNotFound creates a AddGroupForUserNotFound with default headers values

func (*AddGroupForUserNotFound) Error added in v0.3.0

func (o *AddGroupForUserNotFound) Error() string

func (*AddGroupForUserNotFound) GetPayload added in v0.3.0

func (o *AddGroupForUserNotFound) GetPayload() *models.Error

func (*AddGroupForUserNotFound) IsClientError added in v0.3.0

func (o *AddGroupForUserNotFound) IsClientError() bool

IsClientError returns true when this add group for user not found response has a 4xx status code

func (*AddGroupForUserNotFound) IsCode added in v0.3.0

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

IsCode returns true when this add group for user not found response a status code equal to that given

func (*AddGroupForUserNotFound) IsRedirect added in v0.3.0

func (o *AddGroupForUserNotFound) IsRedirect() bool

IsRedirect returns true when this add group for user not found response has a 3xx status code

func (*AddGroupForUserNotFound) IsServerError added in v0.3.0

func (o *AddGroupForUserNotFound) IsServerError() bool

IsServerError returns true when this add group for user not found response has a 5xx status code

func (*AddGroupForUserNotFound) IsSuccess added in v0.3.0

func (o *AddGroupForUserNotFound) IsSuccess() bool

IsSuccess returns true when this add group for user not found response has a 2xx status code

func (*AddGroupForUserNotFound) String added in v0.3.0

func (o *AddGroupForUserNotFound) String() string

type AddGroupForUserParams added in v0.3.0

type AddGroupForUserParams struct {

	// GroupName.
	GroupName string

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddGroupForUserParams contains all the parameters to send to the API endpoint

for the add group for user operation.

Typically these are written to a http.Request.

func NewAddGroupForUserParams added in v0.3.0

func NewAddGroupForUserParams() *AddGroupForUserParams

NewAddGroupForUserParams creates a new AddGroupForUserParams 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 NewAddGroupForUserParamsWithContext added in v0.3.0

func NewAddGroupForUserParamsWithContext(ctx context.Context) *AddGroupForUserParams

NewAddGroupForUserParamsWithContext creates a new AddGroupForUserParams object with the ability to set a context for a request.

func NewAddGroupForUserParamsWithHTTPClient added in v0.3.0

func NewAddGroupForUserParamsWithHTTPClient(client *http.Client) *AddGroupForUserParams

NewAddGroupForUserParamsWithHTTPClient creates a new AddGroupForUserParams object with the ability to set a custom HTTPClient for a request.

func NewAddGroupForUserParamsWithTimeout added in v0.3.0

func NewAddGroupForUserParamsWithTimeout(timeout time.Duration) *AddGroupForUserParams

NewAddGroupForUserParamsWithTimeout creates a new AddGroupForUserParams object with the ability to set a timeout on a request.

func (*AddGroupForUserParams) SetContext added in v0.3.0

func (o *AddGroupForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the add group for user params

func (*AddGroupForUserParams) SetDefaults added in v0.3.0

func (o *AddGroupForUserParams) SetDefaults()

SetDefaults hydrates default values in the add group for user params (not the query body).

All values with no default are reset to their zero value.

func (*AddGroupForUserParams) SetGroupName added in v0.3.0

func (o *AddGroupForUserParams) SetGroupName(groupName string)

SetGroupName adds the groupName to the add group for user params

func (*AddGroupForUserParams) SetHTTPClient added in v0.3.0

func (o *AddGroupForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add group for user params

func (*AddGroupForUserParams) SetTimeout added in v0.3.0

func (o *AddGroupForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add group for user params

func (*AddGroupForUserParams) SetUserName added in v0.3.0

func (o *AddGroupForUserParams) SetUserName(userName string)

SetUserName adds the userName to the add group for user params

func (*AddGroupForUserParams) WithContext added in v0.3.0

WithContext adds the context to the add group for user params

func (*AddGroupForUserParams) WithDefaults added in v0.3.0

func (o *AddGroupForUserParams) WithDefaults() *AddGroupForUserParams

WithDefaults hydrates default values in the add group for user params (not the query body).

All values with no default are reset to their zero value.

func (*AddGroupForUserParams) WithGroupName added in v0.3.0

func (o *AddGroupForUserParams) WithGroupName(groupName string) *AddGroupForUserParams

WithGroupName adds the groupName to the add group for user params

func (*AddGroupForUserParams) WithHTTPClient added in v0.3.0

func (o *AddGroupForUserParams) WithHTTPClient(client *http.Client) *AddGroupForUserParams

WithHTTPClient adds the HTTPClient to the add group for user params

func (*AddGroupForUserParams) WithTimeout added in v0.3.0

func (o *AddGroupForUserParams) WithTimeout(timeout time.Duration) *AddGroupForUserParams

WithTimeout adds the timeout to the add group for user params

func (*AddGroupForUserParams) WithUserName added in v0.3.0

func (o *AddGroupForUserParams) WithUserName(userName string) *AddGroupForUserParams

WithUserName adds the userName to the add group for user params

func (*AddGroupForUserParams) WriteToRequest added in v0.3.0

func (o *AddGroupForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddGroupForUserReader added in v0.3.0

type AddGroupForUserReader struct {
	// contains filtered or unexported fields
}

AddGroupForUserReader is a Reader for the AddGroupForUser structure.

func (*AddGroupForUserReader) ReadResponse added in v0.3.0

func (o *AddGroupForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddGroupForUserUnauthorized added in v0.3.0

type AddGroupForUserUnauthorized struct {
	Payload *models.Error
}
AddGroupForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewAddGroupForUserUnauthorized added in v0.3.0

func NewAddGroupForUserUnauthorized() *AddGroupForUserUnauthorized

NewAddGroupForUserUnauthorized creates a AddGroupForUserUnauthorized with default headers values

func (*AddGroupForUserUnauthorized) Error added in v0.3.0

func (*AddGroupForUserUnauthorized) GetPayload added in v0.3.0

func (o *AddGroupForUserUnauthorized) GetPayload() *models.Error

func (*AddGroupForUserUnauthorized) IsClientError added in v0.3.0

func (o *AddGroupForUserUnauthorized) IsClientError() bool

IsClientError returns true when this add group for user unauthorized response has a 4xx status code

func (*AddGroupForUserUnauthorized) IsCode added in v0.3.0

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

IsCode returns true when this add group for user unauthorized response a status code equal to that given

func (*AddGroupForUserUnauthorized) IsRedirect added in v0.3.0

func (o *AddGroupForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this add group for user unauthorized response has a 3xx status code

func (*AddGroupForUserUnauthorized) IsServerError added in v0.3.0

func (o *AddGroupForUserUnauthorized) IsServerError() bool

IsServerError returns true when this add group for user unauthorized response has a 5xx status code

func (*AddGroupForUserUnauthorized) IsSuccess added in v0.3.0

func (o *AddGroupForUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this add group for user unauthorized response has a 2xx status code

func (*AddGroupForUserUnauthorized) String added in v0.3.0

func (o *AddGroupForUserUnauthorized) String() string

type AddPolicyForUserInternalServerError

type AddPolicyForUserInternalServerError struct {
	Payload *models.Error
}
AddPolicyForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewAddPolicyForUserInternalServerError

func NewAddPolicyForUserInternalServerError() *AddPolicyForUserInternalServerError

NewAddPolicyForUserInternalServerError creates a AddPolicyForUserInternalServerError with default headers values

func (*AddPolicyForUserInternalServerError) Error

func (*AddPolicyForUserInternalServerError) GetPayload

func (*AddPolicyForUserInternalServerError) IsClientError

func (o *AddPolicyForUserInternalServerError) IsClientError() bool

IsClientError returns true when this add policy for user internal server error response has a 4xx status code

func (*AddPolicyForUserInternalServerError) IsCode

IsCode returns true when this add policy for user internal server error response a status code equal to that given

func (*AddPolicyForUserInternalServerError) IsRedirect

func (o *AddPolicyForUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this add policy for user internal server error response has a 3xx status code

func (*AddPolicyForUserInternalServerError) IsServerError

func (o *AddPolicyForUserInternalServerError) IsServerError() bool

IsServerError returns true when this add policy for user internal server error response has a 5xx status code

func (*AddPolicyForUserInternalServerError) IsSuccess

IsSuccess returns true when this add policy for user internal server error response has a 2xx status code

func (*AddPolicyForUserInternalServerError) String

type AddPolicyForUserNoContent

type AddPolicyForUserNoContent struct {
}
AddPolicyForUserNoContent describes a response with status code 204, with default header values.

OK - No Content

func NewAddPolicyForUserNoContent

func NewAddPolicyForUserNoContent() *AddPolicyForUserNoContent

NewAddPolicyForUserNoContent creates a AddPolicyForUserNoContent with default headers values

func (*AddPolicyForUserNoContent) Error

func (o *AddPolicyForUserNoContent) Error() string

func (*AddPolicyForUserNoContent) IsClientError

func (o *AddPolicyForUserNoContent) IsClientError() bool

IsClientError returns true when this add policy for user no content response has a 4xx status code

func (*AddPolicyForUserNoContent) IsCode

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

IsCode returns true when this add policy for user no content response a status code equal to that given

func (*AddPolicyForUserNoContent) IsRedirect

func (o *AddPolicyForUserNoContent) IsRedirect() bool

IsRedirect returns true when this add policy for user no content response has a 3xx status code

func (*AddPolicyForUserNoContent) IsServerError

func (o *AddPolicyForUserNoContent) IsServerError() bool

IsServerError returns true when this add policy for user no content response has a 5xx status code

func (*AddPolicyForUserNoContent) IsSuccess

func (o *AddPolicyForUserNoContent) IsSuccess() bool

IsSuccess returns true when this add policy for user no content response has a 2xx status code

func (*AddPolicyForUserNoContent) String

func (o *AddPolicyForUserNoContent) String() string

type AddPolicyForUserNotFound

type AddPolicyForUserNotFound struct {
	Payload *models.Error
}
AddPolicyForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewAddPolicyForUserNotFound

func NewAddPolicyForUserNotFound() *AddPolicyForUserNotFound

NewAddPolicyForUserNotFound creates a AddPolicyForUserNotFound with default headers values

func (*AddPolicyForUserNotFound) Error

func (o *AddPolicyForUserNotFound) Error() string

func (*AddPolicyForUserNotFound) GetPayload

func (o *AddPolicyForUserNotFound) GetPayload() *models.Error

func (*AddPolicyForUserNotFound) IsClientError

func (o *AddPolicyForUserNotFound) IsClientError() bool

IsClientError returns true when this add policy for user not found response has a 4xx status code

func (*AddPolicyForUserNotFound) IsCode

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

IsCode returns true when this add policy for user not found response a status code equal to that given

func (*AddPolicyForUserNotFound) IsRedirect

func (o *AddPolicyForUserNotFound) IsRedirect() bool

IsRedirect returns true when this add policy for user not found response has a 3xx status code

func (*AddPolicyForUserNotFound) IsServerError

func (o *AddPolicyForUserNotFound) IsServerError() bool

IsServerError returns true when this add policy for user not found response has a 5xx status code

func (*AddPolicyForUserNotFound) IsSuccess

func (o *AddPolicyForUserNotFound) IsSuccess() bool

IsSuccess returns true when this add policy for user not found response has a 2xx status code

func (*AddPolicyForUserNotFound) String

func (o *AddPolicyForUserNotFound) String() string

type AddPolicyForUserParams

type AddPolicyForUserParams struct {

	// PolicyName.
	PolicyName string

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddPolicyForUserParams contains all the parameters to send to the API endpoint

for the add policy for user operation.

Typically these are written to a http.Request.

func NewAddPolicyForUserParams

func NewAddPolicyForUserParams() *AddPolicyForUserParams

NewAddPolicyForUserParams creates a new AddPolicyForUserParams 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 NewAddPolicyForUserParamsWithContext

func NewAddPolicyForUserParamsWithContext(ctx context.Context) *AddPolicyForUserParams

NewAddPolicyForUserParamsWithContext creates a new AddPolicyForUserParams object with the ability to set a context for a request.

func NewAddPolicyForUserParamsWithHTTPClient

func NewAddPolicyForUserParamsWithHTTPClient(client *http.Client) *AddPolicyForUserParams

NewAddPolicyForUserParamsWithHTTPClient creates a new AddPolicyForUserParams object with the ability to set a custom HTTPClient for a request.

func NewAddPolicyForUserParamsWithTimeout

func NewAddPolicyForUserParamsWithTimeout(timeout time.Duration) *AddPolicyForUserParams

NewAddPolicyForUserParamsWithTimeout creates a new AddPolicyForUserParams object with the ability to set a timeout on a request.

func (*AddPolicyForUserParams) SetContext

func (o *AddPolicyForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the add policy for user params

func (*AddPolicyForUserParams) SetDefaults

func (o *AddPolicyForUserParams) SetDefaults()

SetDefaults hydrates default values in the add policy for user params (not the query body).

All values with no default are reset to their zero value.

func (*AddPolicyForUserParams) SetHTTPClient

func (o *AddPolicyForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add policy for user params

func (*AddPolicyForUserParams) SetPolicyName

func (o *AddPolicyForUserParams) SetPolicyName(policyName string)

SetPolicyName adds the policyName to the add policy for user params

func (*AddPolicyForUserParams) SetTimeout

func (o *AddPolicyForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add policy for user params

func (*AddPolicyForUserParams) SetUserName

func (o *AddPolicyForUserParams) SetUserName(userName string)

SetUserName adds the userName to the add policy for user params

func (*AddPolicyForUserParams) WithContext

WithContext adds the context to the add policy for user params

func (*AddPolicyForUserParams) WithDefaults

WithDefaults hydrates default values in the add policy for user params (not the query body).

All values with no default are reset to their zero value.

func (*AddPolicyForUserParams) WithHTTPClient

func (o *AddPolicyForUserParams) WithHTTPClient(client *http.Client) *AddPolicyForUserParams

WithHTTPClient adds the HTTPClient to the add policy for user params

func (*AddPolicyForUserParams) WithPolicyName

func (o *AddPolicyForUserParams) WithPolicyName(policyName string) *AddPolicyForUserParams

WithPolicyName adds the policyName to the add policy for user params

func (*AddPolicyForUserParams) WithTimeout

WithTimeout adds the timeout to the add policy for user params

func (*AddPolicyForUserParams) WithUserName

func (o *AddPolicyForUserParams) WithUserName(userName string) *AddPolicyForUserParams

WithUserName adds the userName to the add policy for user params

func (*AddPolicyForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddPolicyForUserReader

type AddPolicyForUserReader struct {
	// contains filtered or unexported fields
}

AddPolicyForUserReader is a Reader for the AddPolicyForUser structure.

func (*AddPolicyForUserReader) ReadResponse

func (o *AddPolicyForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddPolicyForUserUnauthorized

type AddPolicyForUserUnauthorized struct {
	Payload *models.Error
}
AddPolicyForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewAddPolicyForUserUnauthorized

func NewAddPolicyForUserUnauthorized() *AddPolicyForUserUnauthorized

NewAddPolicyForUserUnauthorized creates a AddPolicyForUserUnauthorized with default headers values

func (*AddPolicyForUserUnauthorized) Error

func (*AddPolicyForUserUnauthorized) GetPayload

func (o *AddPolicyForUserUnauthorized) GetPayload() *models.Error

func (*AddPolicyForUserUnauthorized) IsClientError

func (o *AddPolicyForUserUnauthorized) IsClientError() bool

IsClientError returns true when this add policy for user unauthorized response has a 4xx status code

func (*AddPolicyForUserUnauthorized) IsCode

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

IsCode returns true when this add policy for user unauthorized response a status code equal to that given

func (*AddPolicyForUserUnauthorized) IsRedirect

func (o *AddPolicyForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this add policy for user unauthorized response has a 3xx status code

func (*AddPolicyForUserUnauthorized) IsServerError

func (o *AddPolicyForUserUnauthorized) IsServerError() bool

IsServerError returns true when this add policy for user unauthorized response has a 5xx status code

func (*AddPolicyForUserUnauthorized) IsSuccess

func (o *AddPolicyForUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this add policy for user unauthorized response has a 2xx status code

func (*AddPolicyForUserUnauthorized) String

type CancelBookingInternalServerError

type CancelBookingInternalServerError struct {
	Payload *models.Error
}
CancelBookingInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewCancelBookingInternalServerError

func NewCancelBookingInternalServerError() *CancelBookingInternalServerError

NewCancelBookingInternalServerError creates a CancelBookingInternalServerError with default headers values

func (*CancelBookingInternalServerError) Error

func (*CancelBookingInternalServerError) GetPayload

func (*CancelBookingInternalServerError) IsClientError

func (o *CancelBookingInternalServerError) IsClientError() bool

IsClientError returns true when this cancel booking internal server error response has a 4xx status code

func (*CancelBookingInternalServerError) IsCode

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

IsCode returns true when this cancel booking internal server error response a status code equal to that given

func (*CancelBookingInternalServerError) IsRedirect

func (o *CancelBookingInternalServerError) IsRedirect() bool

IsRedirect returns true when this cancel booking internal server error response has a 3xx status code

func (*CancelBookingInternalServerError) IsServerError

func (o *CancelBookingInternalServerError) IsServerError() bool

IsServerError returns true when this cancel booking internal server error response has a 5xx status code

func (*CancelBookingInternalServerError) IsSuccess

func (o *CancelBookingInternalServerError) IsSuccess() bool

IsSuccess returns true when this cancel booking internal server error response has a 2xx status code

func (*CancelBookingInternalServerError) String

type CancelBookingNotFound

type CancelBookingNotFound struct {
	Payload *models.Error
}
CancelBookingNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewCancelBookingNotFound

func NewCancelBookingNotFound() *CancelBookingNotFound

NewCancelBookingNotFound creates a CancelBookingNotFound with default headers values

func (*CancelBookingNotFound) Error

func (o *CancelBookingNotFound) Error() string

func (*CancelBookingNotFound) GetPayload

func (o *CancelBookingNotFound) GetPayload() *models.Error

func (*CancelBookingNotFound) IsClientError

func (o *CancelBookingNotFound) IsClientError() bool

IsClientError returns true when this cancel booking not found response has a 4xx status code

func (*CancelBookingNotFound) IsCode

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

IsCode returns true when this cancel booking not found response a status code equal to that given

func (*CancelBookingNotFound) IsRedirect

func (o *CancelBookingNotFound) IsRedirect() bool

IsRedirect returns true when this cancel booking not found response has a 3xx status code

func (*CancelBookingNotFound) IsServerError

func (o *CancelBookingNotFound) IsServerError() bool

IsServerError returns true when this cancel booking not found response has a 5xx status code

func (*CancelBookingNotFound) IsSuccess

func (o *CancelBookingNotFound) IsSuccess() bool

IsSuccess returns true when this cancel booking not found response has a 2xx status code

func (*CancelBookingNotFound) String

func (o *CancelBookingNotFound) String() string

type CancelBookingParams

type CancelBookingParams struct {

	// BookingName.
	BookingName string

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CancelBookingParams contains all the parameters to send to the API endpoint

for the cancel booking operation.

Typically these are written to a http.Request.

func NewCancelBookingParams

func NewCancelBookingParams() *CancelBookingParams

NewCancelBookingParams creates a new CancelBookingParams 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 NewCancelBookingParamsWithContext

func NewCancelBookingParamsWithContext(ctx context.Context) *CancelBookingParams

NewCancelBookingParamsWithContext creates a new CancelBookingParams object with the ability to set a context for a request.

func NewCancelBookingParamsWithHTTPClient

func NewCancelBookingParamsWithHTTPClient(client *http.Client) *CancelBookingParams

NewCancelBookingParamsWithHTTPClient creates a new CancelBookingParams object with the ability to set a custom HTTPClient for a request.

func NewCancelBookingParamsWithTimeout

func NewCancelBookingParamsWithTimeout(timeout time.Duration) *CancelBookingParams

NewCancelBookingParamsWithTimeout creates a new CancelBookingParams object with the ability to set a timeout on a request.

func (*CancelBookingParams) SetBookingName

func (o *CancelBookingParams) SetBookingName(bookingName string)

SetBookingName adds the bookingName to the cancel booking params

func (*CancelBookingParams) SetContext

func (o *CancelBookingParams) SetContext(ctx context.Context)

SetContext adds the context to the cancel booking params

func (*CancelBookingParams) SetDefaults

func (o *CancelBookingParams) SetDefaults()

SetDefaults hydrates default values in the cancel booking params (not the query body).

All values with no default are reset to their zero value.

func (*CancelBookingParams) SetHTTPClient

func (o *CancelBookingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cancel booking params

func (*CancelBookingParams) SetTimeout

func (o *CancelBookingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cancel booking params

func (*CancelBookingParams) SetUserName

func (o *CancelBookingParams) SetUserName(userName string)

SetUserName adds the userName to the cancel booking params

func (*CancelBookingParams) WithBookingName

func (o *CancelBookingParams) WithBookingName(bookingName string) *CancelBookingParams

WithBookingName adds the bookingName to the cancel booking params

func (*CancelBookingParams) WithContext

WithContext adds the context to the cancel booking params

func (*CancelBookingParams) WithDefaults

func (o *CancelBookingParams) WithDefaults() *CancelBookingParams

WithDefaults hydrates default values in the cancel booking params (not the query body).

All values with no default are reset to their zero value.

func (*CancelBookingParams) WithHTTPClient

func (o *CancelBookingParams) WithHTTPClient(client *http.Client) *CancelBookingParams

WithHTTPClient adds the HTTPClient to the cancel booking params

func (*CancelBookingParams) WithTimeout

func (o *CancelBookingParams) WithTimeout(timeout time.Duration) *CancelBookingParams

WithTimeout adds the timeout to the cancel booking params

func (*CancelBookingParams) WithUserName

func (o *CancelBookingParams) WithUserName(userName string) *CancelBookingParams

WithUserName adds the userName to the cancel booking params

func (*CancelBookingParams) WriteToRequest

func (o *CancelBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CancelBookingReader

type CancelBookingReader struct {
	// contains filtered or unexported fields
}

CancelBookingReader is a Reader for the CancelBooking structure.

func (*CancelBookingReader) ReadResponse

func (o *CancelBookingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CancelBookingUnauthorized

type CancelBookingUnauthorized struct {
	Payload *models.Error
}
CancelBookingUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCancelBookingUnauthorized

func NewCancelBookingUnauthorized() *CancelBookingUnauthorized

NewCancelBookingUnauthorized creates a CancelBookingUnauthorized with default headers values

func (*CancelBookingUnauthorized) Error

func (o *CancelBookingUnauthorized) Error() string

func (*CancelBookingUnauthorized) GetPayload

func (o *CancelBookingUnauthorized) GetPayload() *models.Error

func (*CancelBookingUnauthorized) IsClientError

func (o *CancelBookingUnauthorized) IsClientError() bool

IsClientError returns true when this cancel booking unauthorized response has a 4xx status code

func (*CancelBookingUnauthorized) IsCode

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

IsCode returns true when this cancel booking unauthorized response a status code equal to that given

func (*CancelBookingUnauthorized) IsRedirect

func (o *CancelBookingUnauthorized) IsRedirect() bool

IsRedirect returns true when this cancel booking unauthorized response has a 3xx status code

func (*CancelBookingUnauthorized) IsServerError

func (o *CancelBookingUnauthorized) IsServerError() bool

IsServerError returns true when this cancel booking unauthorized response has a 5xx status code

func (*CancelBookingUnauthorized) IsSuccess

func (o *CancelBookingUnauthorized) IsSuccess() bool

IsSuccess returns true when this cancel booking unauthorized response has a 2xx status code

func (*CancelBookingUnauthorized) String

func (o *CancelBookingUnauthorized) String() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for users API

func (*Client) AddGroupForUser added in v0.3.0

func (a *Client) AddGroupForUser(params *AddGroupForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGroupForUserNoContent, error)

AddGroupForUser adds group to user account

Add group to the list of groups with which this user is allowed to make bookings

func (*Client) CancelBooking

func (a *Client) CancelBooking(params *CancelBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

CancelBooking cancels the booking

For users to cancel their booking(s) on at a time. Checks if the booking is unstarted and/or unfulfilled, and cancels if so. A booking cannot be cancelled once an activity has been requested. A booking can be cancelled after it started, so long as it is unfulfilled (no activity requested). The user must be the owner of the booking to cancel it. Admins can cancel bookings by Lock() -> ExportBookings() -> edit -> ReplaceBookings()-> Unlock(). There is no need for an endpoint for admin single booking cancellation because the only visibility they have of bookings is via ExportBookings. Remaing time in the booking at time of cancellation is refunded to the user's usage tracker for that policy. That is intended to encourage early cancellation. Returns 404 on successful cancellation, or if there is no such booking.

func (*Client) GetAccessToken

func (a *Client) GetAccessToken(params *GetAccessTokenParams, opts ...ClientOption) (*GetAccessTokenOK, error)

GetAccessToken requests a user access token

The access token is required to authenticate requests to the rest of the user-facing API. Ideally access to this endpoint should be secured by the identity management system. The access token has a limited lifetime but can be re-requested as needed. Consider rate-limiting this per-connection.

func (*Client) GetActivity

func (a *Client) GetActivity(params *GetActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActivityOK, error)

GetActivity requests the activity that goes with the booking

Checks if the booking has started or not and if so, returns an activity that can be used to access the booked resource. Since this mutates the state of the booking (from unfulfilled to fulfilled) it is a put not a get.

func (*Client) GetAvailability

func (a *Client) GetAvailability(params *GetAvailabilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailabilityOK, error)

GetAvailability gets availability for the slot

Pagination is supported by the limit and offset parameters. For the first query '?limit=20&offset=0', the second '?limit=20&offset=20'. The offset is equal to the zero-indexed value of the first item of the next page to be returned (20 items are indexed from 0 to 19, so 20 is the first item to be returned in the second page). Note that drift can occur if slots are booked during the sending of availability data, potentially preventing a user from seeing some slots that move earlier in the index and cross a pagination boundary. Users should refresh their results from 0 offset on a regular-ish basis if they wish to avoid this.

func (*Client) GetBookingsForUser

func (a *Client) GetBookingsForUser(params *GetBookingsForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBookingsForUserOK, error)

GetBookingsForUser gets all current bookings for the user

Get all current bookings for the user. It's assumed that no pagination will be required due to likely policy limits being a couple of bookings per policy and users typically having only a couple of policies. No pagination may cause issues for admins that book hundreds or thousands slots on behalf of students, although it is likely such bookings would be automated so no need to support rapid update of a GUI, at least for now.

func (*Client) GetDescription

func (a *Client) GetDescription(params *GetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDescriptionOK, error)

GetDescription gets description

Get description

func (*Client) GetGroup added in v0.3.0

func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)

GetGroup gets group

Get fully described group, including described policies, and described slots

func (*Client) GetGroupsForUser added in v0.3.0

func (a *Client) GetGroupsForUser(params *GetGroupsForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupsForUserOK, error)

GetGroupsForUser gets all current groups for user

Get all current groups for user. This only returns groups that are currently listed within the user's groups. Group data includes a description, but not policies.

func (*Client) GetOldBookingsForUser

func (a *Client) GetOldBookingsForUser(params *GetOldBookingsForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOldBookingsForUserOK, error)

GetOldBookingsForUser gets all old bookings for the user

Get all old bookings for the user. It's assumed that no pagination will be required due to likely policy limits including usage limits and users typically having only a couple of policies, although in practice pagination may be useful for heavy users.

func (*Client) GetPolicy

func (a *Client) GetPolicy(params *GetPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPolicyOK, error)

GetPolicy gets policy

Get policy

func (*Client) GetPolicyStatusForUser

func (a *Client) GetPolicyStatusForUser(params *GetPolicyStatusForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPolicyStatusForUserOK, error)

GetPolicyStatusForUser gets policy status

Get policy status for the user

func (*Client) GetStoreStatusUser

func (a *Client) GetStoreStatusUser(params *GetStoreStatusUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStoreStatusUserOK, error)

GetStoreStatusUser gets current store status

Gets the current store status from a user perspective (e.g. is it locked? what is the reason?)

func (*Client) MakeBooking

func (a *Client) MakeBooking(params *MakeBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MakeBookingNoContent, error)

MakeBooking requests a booking

A booking is requested for a specific combination of policy-slot-user-from-to. Users should check availability first, and only make requests that are likely to be granted. If there is no current availability then requests will be denied. If there is availability, there is still a chance another user requests the same slot just before - whichever request is received by the server first will be allowed, the other denied. The user_name must match the user_name the user logged in with, that is in the authorisation token in the header.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UniqueName

func (a *Client) UniqueName(params *UniqueNameParams, opts ...ClientOption) (*UniqueNameOK, error)

UniqueName requests a new unique username

Generates a unique username that meets the minimum length requirements for the booking system. No security/token needed, because users needs a/this name to login

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddGroupForUser(params *AddGroupForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddGroupForUserNoContent, error)

	CancelBooking(params *CancelBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetAccessToken(params *GetAccessTokenParams, opts ...ClientOption) (*GetAccessTokenOK, error)

	GetActivity(params *GetActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActivityOK, error)

	GetAvailability(params *GetAvailabilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailabilityOK, error)

	GetBookingsForUser(params *GetBookingsForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBookingsForUserOK, error)

	GetDescription(params *GetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDescriptionOK, error)

	GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)

	GetGroupsForUser(params *GetGroupsForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupsForUserOK, error)

	GetOldBookingsForUser(params *GetOldBookingsForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOldBookingsForUserOK, error)

	GetPolicy(params *GetPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPolicyOK, error)

	GetPolicyStatusForUser(params *GetPolicyStatusForUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPolicyStatusForUserOK, error)

	MakeBooking(params *MakeBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MakeBookingNoContent, error)

	UniqueName(params *UniqueNameParams, opts ...ClientOption) (*UniqueNameOK, error)

	GetStoreStatusUser(params *GetStoreStatusUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStoreStatusUserOK, 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 users API client.

type GetAccessTokenInternalServerError

type GetAccessTokenInternalServerError struct {
	Payload *models.Error
}
GetAccessTokenInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetAccessTokenInternalServerError

func NewGetAccessTokenInternalServerError() *GetAccessTokenInternalServerError

NewGetAccessTokenInternalServerError creates a GetAccessTokenInternalServerError with default headers values

func (*GetAccessTokenInternalServerError) Error

func (*GetAccessTokenInternalServerError) GetPayload

func (*GetAccessTokenInternalServerError) IsClientError

func (o *GetAccessTokenInternalServerError) IsClientError() bool

IsClientError returns true when this get access token internal server error response has a 4xx status code

func (*GetAccessTokenInternalServerError) IsCode

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

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

func (*GetAccessTokenInternalServerError) IsRedirect

func (o *GetAccessTokenInternalServerError) IsRedirect() bool

IsRedirect returns true when this get access token internal server error response has a 3xx status code

func (*GetAccessTokenInternalServerError) IsServerError

func (o *GetAccessTokenInternalServerError) IsServerError() bool

IsServerError returns true when this get access token internal server error response has a 5xx status code

func (*GetAccessTokenInternalServerError) IsSuccess

func (o *GetAccessTokenInternalServerError) IsSuccess() bool

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

func (*GetAccessTokenInternalServerError) String

type GetAccessTokenNotFound

type GetAccessTokenNotFound struct {
	Payload *models.Error
}
GetAccessTokenNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetAccessTokenNotFound

func NewGetAccessTokenNotFound() *GetAccessTokenNotFound

NewGetAccessTokenNotFound creates a GetAccessTokenNotFound with default headers values

func (*GetAccessTokenNotFound) Error

func (o *GetAccessTokenNotFound) Error() string

func (*GetAccessTokenNotFound) GetPayload

func (o *GetAccessTokenNotFound) GetPayload() *models.Error

func (*GetAccessTokenNotFound) IsClientError

func (o *GetAccessTokenNotFound) IsClientError() bool

IsClientError returns true when this get access token not found response has a 4xx status code

func (*GetAccessTokenNotFound) IsCode

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

IsCode returns true when this get access token not found response a status code equal to that given

func (*GetAccessTokenNotFound) IsRedirect

func (o *GetAccessTokenNotFound) IsRedirect() bool

IsRedirect returns true when this get access token not found response has a 3xx status code

func (*GetAccessTokenNotFound) IsServerError

func (o *GetAccessTokenNotFound) IsServerError() bool

IsServerError returns true when this get access token not found response has a 5xx status code

func (*GetAccessTokenNotFound) IsSuccess

func (o *GetAccessTokenNotFound) IsSuccess() bool

IsSuccess returns true when this get access token not found response has a 2xx status code

func (*GetAccessTokenNotFound) String

func (o *GetAccessTokenNotFound) String() string

type GetAccessTokenOK

type GetAccessTokenOK struct {
	Payload *models.AccessToken
}
GetAccessTokenOK describes a response with status code 200, with default header values.

OK

func NewGetAccessTokenOK

func NewGetAccessTokenOK() *GetAccessTokenOK

NewGetAccessTokenOK creates a GetAccessTokenOK with default headers values

func (*GetAccessTokenOK) Error

func (o *GetAccessTokenOK) Error() string

func (*GetAccessTokenOK) GetPayload

func (o *GetAccessTokenOK) GetPayload() *models.AccessToken

func (*GetAccessTokenOK) IsClientError

func (o *GetAccessTokenOK) IsClientError() bool

IsClientError returns true when this get access token o k response has a 4xx status code

func (*GetAccessTokenOK) IsCode

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

IsCode returns true when this get access token o k response a status code equal to that given

func (*GetAccessTokenOK) IsRedirect

func (o *GetAccessTokenOK) IsRedirect() bool

IsRedirect returns true when this get access token o k response has a 3xx status code

func (*GetAccessTokenOK) IsServerError

func (o *GetAccessTokenOK) IsServerError() bool

IsServerError returns true when this get access token o k response has a 5xx status code

func (*GetAccessTokenOK) IsSuccess

func (o *GetAccessTokenOK) IsSuccess() bool

IsSuccess returns true when this get access token o k response has a 2xx status code

func (*GetAccessTokenOK) String

func (o *GetAccessTokenOK) String() string

type GetAccessTokenParams

type GetAccessTokenParams struct {

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccessTokenParams contains all the parameters to send to the API endpoint

for the get access token operation.

Typically these are written to a http.Request.

func NewGetAccessTokenParams

func NewGetAccessTokenParams() *GetAccessTokenParams

NewGetAccessTokenParams creates a new GetAccessTokenParams 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 NewGetAccessTokenParamsWithContext

func NewGetAccessTokenParamsWithContext(ctx context.Context) *GetAccessTokenParams

NewGetAccessTokenParamsWithContext creates a new GetAccessTokenParams object with the ability to set a context for a request.

func NewGetAccessTokenParamsWithHTTPClient

func NewGetAccessTokenParamsWithHTTPClient(client *http.Client) *GetAccessTokenParams

NewGetAccessTokenParamsWithHTTPClient creates a new GetAccessTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccessTokenParamsWithTimeout

func NewGetAccessTokenParamsWithTimeout(timeout time.Duration) *GetAccessTokenParams

NewGetAccessTokenParamsWithTimeout creates a new GetAccessTokenParams object with the ability to set a timeout on a request.

func (*GetAccessTokenParams) SetContext

func (o *GetAccessTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the get access token params

func (*GetAccessTokenParams) SetDefaults

func (o *GetAccessTokenParams) SetDefaults()

SetDefaults hydrates default values in the get access token params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessTokenParams) SetHTTPClient

func (o *GetAccessTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get access token params

func (*GetAccessTokenParams) SetTimeout

func (o *GetAccessTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get access token params

func (*GetAccessTokenParams) SetUserName

func (o *GetAccessTokenParams) SetUserName(userName string)

SetUserName adds the userName to the get access token params

func (*GetAccessTokenParams) WithContext

WithContext adds the context to the get access token params

func (*GetAccessTokenParams) WithDefaults

func (o *GetAccessTokenParams) WithDefaults() *GetAccessTokenParams

WithDefaults hydrates default values in the get access token params (not the query body).

All values with no default are reset to their zero value.

func (*GetAccessTokenParams) WithHTTPClient

func (o *GetAccessTokenParams) WithHTTPClient(client *http.Client) *GetAccessTokenParams

WithHTTPClient adds the HTTPClient to the get access token params

func (*GetAccessTokenParams) WithTimeout

func (o *GetAccessTokenParams) WithTimeout(timeout time.Duration) *GetAccessTokenParams

WithTimeout adds the timeout to the get access token params

func (*GetAccessTokenParams) WithUserName

func (o *GetAccessTokenParams) WithUserName(userName string) *GetAccessTokenParams

WithUserName adds the userName to the get access token params

func (*GetAccessTokenParams) WriteToRequest

func (o *GetAccessTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAccessTokenReader

type GetAccessTokenReader struct {
	// contains filtered or unexported fields
}

GetAccessTokenReader is a Reader for the GetAccessToken structure.

func (*GetAccessTokenReader) ReadResponse

func (o *GetAccessTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccessTokenUnauthorized

type GetAccessTokenUnauthorized struct {
	Payload *models.Error
}
GetAccessTokenUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccessTokenUnauthorized

func NewGetAccessTokenUnauthorized() *GetAccessTokenUnauthorized

NewGetAccessTokenUnauthorized creates a GetAccessTokenUnauthorized with default headers values

func (*GetAccessTokenUnauthorized) Error

func (*GetAccessTokenUnauthorized) GetPayload

func (o *GetAccessTokenUnauthorized) GetPayload() *models.Error

func (*GetAccessTokenUnauthorized) IsClientError

func (o *GetAccessTokenUnauthorized) IsClientError() bool

IsClientError returns true when this get access token unauthorized response has a 4xx status code

func (*GetAccessTokenUnauthorized) IsCode

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

IsCode returns true when this get access token unauthorized response a status code equal to that given

func (*GetAccessTokenUnauthorized) IsRedirect

func (o *GetAccessTokenUnauthorized) IsRedirect() bool

IsRedirect returns true when this get access token unauthorized response has a 3xx status code

func (*GetAccessTokenUnauthorized) IsServerError

func (o *GetAccessTokenUnauthorized) IsServerError() bool

IsServerError returns true when this get access token unauthorized response has a 5xx status code

func (*GetAccessTokenUnauthorized) IsSuccess

func (o *GetAccessTokenUnauthorized) IsSuccess() bool

IsSuccess returns true when this get access token unauthorized response has a 2xx status code

func (*GetAccessTokenUnauthorized) String

func (o *GetAccessTokenUnauthorized) String() string

type GetActivityInternalServerError

type GetActivityInternalServerError struct {
	Payload *models.Error
}
GetActivityInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetActivityInternalServerError

func NewGetActivityInternalServerError() *GetActivityInternalServerError

NewGetActivityInternalServerError creates a GetActivityInternalServerError with default headers values

func (*GetActivityInternalServerError) Error

func (*GetActivityInternalServerError) GetPayload

func (o *GetActivityInternalServerError) GetPayload() *models.Error

func (*GetActivityInternalServerError) IsClientError

func (o *GetActivityInternalServerError) IsClientError() bool

IsClientError returns true when this get activity internal server error response has a 4xx status code

func (*GetActivityInternalServerError) IsCode

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

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

func (*GetActivityInternalServerError) IsRedirect

func (o *GetActivityInternalServerError) IsRedirect() bool

IsRedirect returns true when this get activity internal server error response has a 3xx status code

func (*GetActivityInternalServerError) IsServerError

func (o *GetActivityInternalServerError) IsServerError() bool

IsServerError returns true when this get activity internal server error response has a 5xx status code

func (*GetActivityInternalServerError) IsSuccess

func (o *GetActivityInternalServerError) IsSuccess() bool

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

func (*GetActivityInternalServerError) String

type GetActivityNotFound

type GetActivityNotFound struct {
	Payload *models.Error
}
GetActivityNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetActivityNotFound

func NewGetActivityNotFound() *GetActivityNotFound

NewGetActivityNotFound creates a GetActivityNotFound with default headers values

func (*GetActivityNotFound) Error

func (o *GetActivityNotFound) Error() string

func (*GetActivityNotFound) GetPayload

func (o *GetActivityNotFound) GetPayload() *models.Error

func (*GetActivityNotFound) IsClientError

func (o *GetActivityNotFound) IsClientError() bool

IsClientError returns true when this get activity not found response has a 4xx status code

func (*GetActivityNotFound) IsCode

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

IsCode returns true when this get activity not found response a status code equal to that given

func (*GetActivityNotFound) IsRedirect

func (o *GetActivityNotFound) IsRedirect() bool

IsRedirect returns true when this get activity not found response has a 3xx status code

func (*GetActivityNotFound) IsServerError

func (o *GetActivityNotFound) IsServerError() bool

IsServerError returns true when this get activity not found response has a 5xx status code

func (*GetActivityNotFound) IsSuccess

func (o *GetActivityNotFound) IsSuccess() bool

IsSuccess returns true when this get activity not found response has a 2xx status code

func (*GetActivityNotFound) String

func (o *GetActivityNotFound) String() string

type GetActivityOK

type GetActivityOK struct {
	Payload *models.Activity
}
GetActivityOK describes a response with status code 200, with default header values.

OK

func NewGetActivityOK

func NewGetActivityOK() *GetActivityOK

NewGetActivityOK creates a GetActivityOK with default headers values

func (*GetActivityOK) Error

func (o *GetActivityOK) Error() string

func (*GetActivityOK) GetPayload

func (o *GetActivityOK) GetPayload() *models.Activity

func (*GetActivityOK) IsClientError

func (o *GetActivityOK) IsClientError() bool

IsClientError returns true when this get activity o k response has a 4xx status code

func (*GetActivityOK) IsCode

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

IsCode returns true when this get activity o k response a status code equal to that given

func (*GetActivityOK) IsRedirect

func (o *GetActivityOK) IsRedirect() bool

IsRedirect returns true when this get activity o k response has a 3xx status code

func (*GetActivityOK) IsServerError

func (o *GetActivityOK) IsServerError() bool

IsServerError returns true when this get activity o k response has a 5xx status code

func (*GetActivityOK) IsSuccess

func (o *GetActivityOK) IsSuccess() bool

IsSuccess returns true when this get activity o k response has a 2xx status code

func (*GetActivityOK) String

func (o *GetActivityOK) String() string

type GetActivityParams

type GetActivityParams struct {

	// BookingName.
	BookingName string

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetActivityParams contains all the parameters to send to the API endpoint

for the get activity operation.

Typically these are written to a http.Request.

func NewGetActivityParams

func NewGetActivityParams() *GetActivityParams

NewGetActivityParams creates a new GetActivityParams 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 NewGetActivityParamsWithContext

func NewGetActivityParamsWithContext(ctx context.Context) *GetActivityParams

NewGetActivityParamsWithContext creates a new GetActivityParams object with the ability to set a context for a request.

func NewGetActivityParamsWithHTTPClient

func NewGetActivityParamsWithHTTPClient(client *http.Client) *GetActivityParams

NewGetActivityParamsWithHTTPClient creates a new GetActivityParams object with the ability to set a custom HTTPClient for a request.

func NewGetActivityParamsWithTimeout

func NewGetActivityParamsWithTimeout(timeout time.Duration) *GetActivityParams

NewGetActivityParamsWithTimeout creates a new GetActivityParams object with the ability to set a timeout on a request.

func (*GetActivityParams) SetBookingName

func (o *GetActivityParams) SetBookingName(bookingName string)

SetBookingName adds the bookingName to the get activity params

func (*GetActivityParams) SetContext

func (o *GetActivityParams) SetContext(ctx context.Context)

SetContext adds the context to the get activity params

func (*GetActivityParams) SetDefaults

func (o *GetActivityParams) SetDefaults()

SetDefaults hydrates default values in the get activity params (not the query body).

All values with no default are reset to their zero value.

func (*GetActivityParams) SetHTTPClient

func (o *GetActivityParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get activity params

func (*GetActivityParams) SetTimeout

func (o *GetActivityParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get activity params

func (*GetActivityParams) SetUserName

func (o *GetActivityParams) SetUserName(userName string)

SetUserName adds the userName to the get activity params

func (*GetActivityParams) WithBookingName

func (o *GetActivityParams) WithBookingName(bookingName string) *GetActivityParams

WithBookingName adds the bookingName to the get activity params

func (*GetActivityParams) WithContext

func (o *GetActivityParams) WithContext(ctx context.Context) *GetActivityParams

WithContext adds the context to the get activity params

func (*GetActivityParams) WithDefaults

func (o *GetActivityParams) WithDefaults() *GetActivityParams

WithDefaults hydrates default values in the get activity params (not the query body).

All values with no default are reset to their zero value.

func (*GetActivityParams) WithHTTPClient

func (o *GetActivityParams) WithHTTPClient(client *http.Client) *GetActivityParams

WithHTTPClient adds the HTTPClient to the get activity params

func (*GetActivityParams) WithTimeout

func (o *GetActivityParams) WithTimeout(timeout time.Duration) *GetActivityParams

WithTimeout adds the timeout to the get activity params

func (*GetActivityParams) WithUserName

func (o *GetActivityParams) WithUserName(userName string) *GetActivityParams

WithUserName adds the userName to the get activity params

func (*GetActivityParams) WriteToRequest

func (o *GetActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetActivityReader

type GetActivityReader struct {
	// contains filtered or unexported fields
}

GetActivityReader is a Reader for the GetActivity structure.

func (*GetActivityReader) ReadResponse

func (o *GetActivityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetActivityUnauthorized

type GetActivityUnauthorized struct {
	Payload *models.Error
}
GetActivityUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetActivityUnauthorized

func NewGetActivityUnauthorized() *GetActivityUnauthorized

NewGetActivityUnauthorized creates a GetActivityUnauthorized with default headers values

func (*GetActivityUnauthorized) Error

func (o *GetActivityUnauthorized) Error() string

func (*GetActivityUnauthorized) GetPayload

func (o *GetActivityUnauthorized) GetPayload() *models.Error

func (*GetActivityUnauthorized) IsClientError

func (o *GetActivityUnauthorized) IsClientError() bool

IsClientError returns true when this get activity unauthorized response has a 4xx status code

func (*GetActivityUnauthorized) IsCode

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

IsCode returns true when this get activity unauthorized response a status code equal to that given

func (*GetActivityUnauthorized) IsRedirect

func (o *GetActivityUnauthorized) IsRedirect() bool

IsRedirect returns true when this get activity unauthorized response has a 3xx status code

func (*GetActivityUnauthorized) IsServerError

func (o *GetActivityUnauthorized) IsServerError() bool

IsServerError returns true when this get activity unauthorized response has a 5xx status code

func (*GetActivityUnauthorized) IsSuccess

func (o *GetActivityUnauthorized) IsSuccess() bool

IsSuccess returns true when this get activity unauthorized response has a 2xx status code

func (*GetActivityUnauthorized) String

func (o *GetActivityUnauthorized) String() string

type GetAvailabilityInternalServerError

type GetAvailabilityInternalServerError struct {
	Payload *models.Error
}
GetAvailabilityInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetAvailabilityInternalServerError

func NewGetAvailabilityInternalServerError() *GetAvailabilityInternalServerError

NewGetAvailabilityInternalServerError creates a GetAvailabilityInternalServerError with default headers values

func (*GetAvailabilityInternalServerError) Error

func (*GetAvailabilityInternalServerError) GetPayload

func (*GetAvailabilityInternalServerError) IsClientError

func (o *GetAvailabilityInternalServerError) IsClientError() bool

IsClientError returns true when this get availability internal server error response has a 4xx status code

func (*GetAvailabilityInternalServerError) IsCode

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

func (*GetAvailabilityInternalServerError) IsRedirect

func (o *GetAvailabilityInternalServerError) IsRedirect() bool

IsRedirect returns true when this get availability internal server error response has a 3xx status code

func (*GetAvailabilityInternalServerError) IsServerError

func (o *GetAvailabilityInternalServerError) IsServerError() bool

IsServerError returns true when this get availability internal server error response has a 5xx status code

func (*GetAvailabilityInternalServerError) IsSuccess

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

func (*GetAvailabilityInternalServerError) String

type GetAvailabilityNotFound

type GetAvailabilityNotFound struct {
	Payload *models.Error
}
GetAvailabilityNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetAvailabilityNotFound

func NewGetAvailabilityNotFound() *GetAvailabilityNotFound

NewGetAvailabilityNotFound creates a GetAvailabilityNotFound with default headers values

func (*GetAvailabilityNotFound) Error

func (o *GetAvailabilityNotFound) Error() string

func (*GetAvailabilityNotFound) GetPayload

func (o *GetAvailabilityNotFound) GetPayload() *models.Error

func (*GetAvailabilityNotFound) IsClientError

func (o *GetAvailabilityNotFound) IsClientError() bool

IsClientError returns true when this get availability not found response has a 4xx status code

func (*GetAvailabilityNotFound) IsCode

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

IsCode returns true when this get availability not found response a status code equal to that given

func (*GetAvailabilityNotFound) IsRedirect

func (o *GetAvailabilityNotFound) IsRedirect() bool

IsRedirect returns true when this get availability not found response has a 3xx status code

func (*GetAvailabilityNotFound) IsServerError

func (o *GetAvailabilityNotFound) IsServerError() bool

IsServerError returns true when this get availability not found response has a 5xx status code

func (*GetAvailabilityNotFound) IsSuccess

func (o *GetAvailabilityNotFound) IsSuccess() bool

IsSuccess returns true when this get availability not found response has a 2xx status code

func (*GetAvailabilityNotFound) String

func (o *GetAvailabilityNotFound) String() string

type GetAvailabilityOK

type GetAvailabilityOK struct {
	Payload models.Intervals
}
GetAvailabilityOK describes a response with status code 200, with default header values.

OK

func NewGetAvailabilityOK

func NewGetAvailabilityOK() *GetAvailabilityOK

NewGetAvailabilityOK creates a GetAvailabilityOK with default headers values

func (*GetAvailabilityOK) Error

func (o *GetAvailabilityOK) Error() string

func (*GetAvailabilityOK) GetPayload

func (o *GetAvailabilityOK) GetPayload() models.Intervals

func (*GetAvailabilityOK) IsClientError

func (o *GetAvailabilityOK) IsClientError() bool

IsClientError returns true when this get availability o k response has a 4xx status code

func (*GetAvailabilityOK) IsCode

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

IsCode returns true when this get availability o k response a status code equal to that given

func (*GetAvailabilityOK) IsRedirect

func (o *GetAvailabilityOK) IsRedirect() bool

IsRedirect returns true when this get availability o k response has a 3xx status code

func (*GetAvailabilityOK) IsServerError

func (o *GetAvailabilityOK) IsServerError() bool

IsServerError returns true when this get availability o k response has a 5xx status code

func (*GetAvailabilityOK) IsSuccess

func (o *GetAvailabilityOK) IsSuccess() bool

IsSuccess returns true when this get availability o k response has a 2xx status code

func (*GetAvailabilityOK) String

func (o *GetAvailabilityOK) String() string

type GetAvailabilityParams

type GetAvailabilityParams struct {

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	// SlotName.
	SlotName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAvailabilityParams contains all the parameters to send to the API endpoint

for the get availability operation.

Typically these are written to a http.Request.

func NewGetAvailabilityParams

func NewGetAvailabilityParams() *GetAvailabilityParams

NewGetAvailabilityParams creates a new GetAvailabilityParams 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 NewGetAvailabilityParamsWithContext

func NewGetAvailabilityParamsWithContext(ctx context.Context) *GetAvailabilityParams

NewGetAvailabilityParamsWithContext creates a new GetAvailabilityParams object with the ability to set a context for a request.

func NewGetAvailabilityParamsWithHTTPClient

func NewGetAvailabilityParamsWithHTTPClient(client *http.Client) *GetAvailabilityParams

NewGetAvailabilityParamsWithHTTPClient creates a new GetAvailabilityParams object with the ability to set a custom HTTPClient for a request.

func NewGetAvailabilityParamsWithTimeout

func NewGetAvailabilityParamsWithTimeout(timeout time.Duration) *GetAvailabilityParams

NewGetAvailabilityParamsWithTimeout creates a new GetAvailabilityParams object with the ability to set a timeout on a request.

func (*GetAvailabilityParams) SetContext

func (o *GetAvailabilityParams) SetContext(ctx context.Context)

SetContext adds the context to the get availability params

func (*GetAvailabilityParams) SetDefaults

func (o *GetAvailabilityParams) SetDefaults()

SetDefaults hydrates default values in the get availability params (not the query body).

All values with no default are reset to their zero value.

func (*GetAvailabilityParams) SetHTTPClient

func (o *GetAvailabilityParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get availability params

func (*GetAvailabilityParams) SetLimit

func (o *GetAvailabilityParams) SetLimit(limit *int64)

SetLimit adds the limit to the get availability params

func (*GetAvailabilityParams) SetOffset

func (o *GetAvailabilityParams) SetOffset(offset *int64)

SetOffset adds the offset to the get availability params

func (*GetAvailabilityParams) SetSlotName

func (o *GetAvailabilityParams) SetSlotName(slotName string)

SetSlotName adds the slotName to the get availability params

func (*GetAvailabilityParams) SetTimeout

func (o *GetAvailabilityParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get availability params

func (*GetAvailabilityParams) WithContext

WithContext adds the context to the get availability params

func (*GetAvailabilityParams) WithDefaults

func (o *GetAvailabilityParams) WithDefaults() *GetAvailabilityParams

WithDefaults hydrates default values in the get availability params (not the query body).

All values with no default are reset to their zero value.

func (*GetAvailabilityParams) WithHTTPClient

func (o *GetAvailabilityParams) WithHTTPClient(client *http.Client) *GetAvailabilityParams

WithHTTPClient adds the HTTPClient to the get availability params

func (*GetAvailabilityParams) WithLimit

func (o *GetAvailabilityParams) WithLimit(limit *int64) *GetAvailabilityParams

WithLimit adds the limit to the get availability params

func (*GetAvailabilityParams) WithOffset

func (o *GetAvailabilityParams) WithOffset(offset *int64) *GetAvailabilityParams

WithOffset adds the offset to the get availability params

func (*GetAvailabilityParams) WithSlotName

func (o *GetAvailabilityParams) WithSlotName(slotName string) *GetAvailabilityParams

WithSlotName adds the slotName to the get availability params

func (*GetAvailabilityParams) WithTimeout

func (o *GetAvailabilityParams) WithTimeout(timeout time.Duration) *GetAvailabilityParams

WithTimeout adds the timeout to the get availability params

func (*GetAvailabilityParams) WriteToRequest

func (o *GetAvailabilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAvailabilityReader

type GetAvailabilityReader struct {
	// contains filtered or unexported fields
}

GetAvailabilityReader is a Reader for the GetAvailability structure.

func (*GetAvailabilityReader) ReadResponse

func (o *GetAvailabilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAvailabilityUnauthorized

type GetAvailabilityUnauthorized struct {
	Payload *models.Error
}
GetAvailabilityUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAvailabilityUnauthorized

func NewGetAvailabilityUnauthorized() *GetAvailabilityUnauthorized

NewGetAvailabilityUnauthorized creates a GetAvailabilityUnauthorized with default headers values

func (*GetAvailabilityUnauthorized) Error

func (*GetAvailabilityUnauthorized) GetPayload

func (o *GetAvailabilityUnauthorized) GetPayload() *models.Error

func (*GetAvailabilityUnauthorized) IsClientError

func (o *GetAvailabilityUnauthorized) IsClientError() bool

IsClientError returns true when this get availability unauthorized response has a 4xx status code

func (*GetAvailabilityUnauthorized) IsCode

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

IsCode returns true when this get availability unauthorized response a status code equal to that given

func (*GetAvailabilityUnauthorized) IsRedirect

func (o *GetAvailabilityUnauthorized) IsRedirect() bool

IsRedirect returns true when this get availability unauthorized response has a 3xx status code

func (*GetAvailabilityUnauthorized) IsServerError

func (o *GetAvailabilityUnauthorized) IsServerError() bool

IsServerError returns true when this get availability unauthorized response has a 5xx status code

func (*GetAvailabilityUnauthorized) IsSuccess

func (o *GetAvailabilityUnauthorized) IsSuccess() bool

IsSuccess returns true when this get availability unauthorized response has a 2xx status code

func (*GetAvailabilityUnauthorized) String

func (o *GetAvailabilityUnauthorized) String() string

type GetBookingsForUserInternalServerError

type GetBookingsForUserInternalServerError struct {
	Payload *models.Error
}
GetBookingsForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetBookingsForUserInternalServerError

func NewGetBookingsForUserInternalServerError() *GetBookingsForUserInternalServerError

NewGetBookingsForUserInternalServerError creates a GetBookingsForUserInternalServerError with default headers values

func (*GetBookingsForUserInternalServerError) Error

func (*GetBookingsForUserInternalServerError) GetPayload

func (*GetBookingsForUserInternalServerError) IsClientError

func (o *GetBookingsForUserInternalServerError) IsClientError() bool

IsClientError returns true when this get bookings for user internal server error response has a 4xx status code

func (*GetBookingsForUserInternalServerError) IsCode

IsCode returns true when this get bookings for user internal server error response a status code equal to that given

func (*GetBookingsForUserInternalServerError) IsRedirect

IsRedirect returns true when this get bookings for user internal server error response has a 3xx status code

func (*GetBookingsForUserInternalServerError) IsServerError

func (o *GetBookingsForUserInternalServerError) IsServerError() bool

IsServerError returns true when this get bookings for user internal server error response has a 5xx status code

func (*GetBookingsForUserInternalServerError) IsSuccess

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

func (*GetBookingsForUserInternalServerError) String

type GetBookingsForUserNotFound

type GetBookingsForUserNotFound struct {
	Payload *models.Error
}
GetBookingsForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetBookingsForUserNotFound

func NewGetBookingsForUserNotFound() *GetBookingsForUserNotFound

NewGetBookingsForUserNotFound creates a GetBookingsForUserNotFound with default headers values

func (*GetBookingsForUserNotFound) Error

func (*GetBookingsForUserNotFound) GetPayload

func (o *GetBookingsForUserNotFound) GetPayload() *models.Error

func (*GetBookingsForUserNotFound) IsClientError

func (o *GetBookingsForUserNotFound) IsClientError() bool

IsClientError returns true when this get bookings for user not found response has a 4xx status code

func (*GetBookingsForUserNotFound) IsCode

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

IsCode returns true when this get bookings for user not found response a status code equal to that given

func (*GetBookingsForUserNotFound) IsRedirect

func (o *GetBookingsForUserNotFound) IsRedirect() bool

IsRedirect returns true when this get bookings for user not found response has a 3xx status code

func (*GetBookingsForUserNotFound) IsServerError

func (o *GetBookingsForUserNotFound) IsServerError() bool

IsServerError returns true when this get bookings for user not found response has a 5xx status code

func (*GetBookingsForUserNotFound) IsSuccess

func (o *GetBookingsForUserNotFound) IsSuccess() bool

IsSuccess returns true when this get bookings for user not found response has a 2xx status code

func (*GetBookingsForUserNotFound) String

func (o *GetBookingsForUserNotFound) String() string

type GetBookingsForUserOK

type GetBookingsForUserOK struct {
	Payload models.Bookings
}
GetBookingsForUserOK describes a response with status code 200, with default header values.

OK

func NewGetBookingsForUserOK

func NewGetBookingsForUserOK() *GetBookingsForUserOK

NewGetBookingsForUserOK creates a GetBookingsForUserOK with default headers values

func (*GetBookingsForUserOK) Error

func (o *GetBookingsForUserOK) Error() string

func (*GetBookingsForUserOK) GetPayload

func (o *GetBookingsForUserOK) GetPayload() models.Bookings

func (*GetBookingsForUserOK) IsClientError

func (o *GetBookingsForUserOK) IsClientError() bool

IsClientError returns true when this get bookings for user o k response has a 4xx status code

func (*GetBookingsForUserOK) IsCode

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

IsCode returns true when this get bookings for user o k response a status code equal to that given

func (*GetBookingsForUserOK) IsRedirect

func (o *GetBookingsForUserOK) IsRedirect() bool

IsRedirect returns true when this get bookings for user o k response has a 3xx status code

func (*GetBookingsForUserOK) IsServerError

func (o *GetBookingsForUserOK) IsServerError() bool

IsServerError returns true when this get bookings for user o k response has a 5xx status code

func (*GetBookingsForUserOK) IsSuccess

func (o *GetBookingsForUserOK) IsSuccess() bool

IsSuccess returns true when this get bookings for user o k response has a 2xx status code

func (*GetBookingsForUserOK) String

func (o *GetBookingsForUserOK) String() string

type GetBookingsForUserParams

type GetBookingsForUserParams struct {

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBookingsForUserParams contains all the parameters to send to the API endpoint

for the get bookings for user operation.

Typically these are written to a http.Request.

func NewGetBookingsForUserParams

func NewGetBookingsForUserParams() *GetBookingsForUserParams

NewGetBookingsForUserParams creates a new GetBookingsForUserParams 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 NewGetBookingsForUserParamsWithContext

func NewGetBookingsForUserParamsWithContext(ctx context.Context) *GetBookingsForUserParams

NewGetBookingsForUserParamsWithContext creates a new GetBookingsForUserParams object with the ability to set a context for a request.

func NewGetBookingsForUserParamsWithHTTPClient

func NewGetBookingsForUserParamsWithHTTPClient(client *http.Client) *GetBookingsForUserParams

NewGetBookingsForUserParamsWithHTTPClient creates a new GetBookingsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetBookingsForUserParamsWithTimeout

func NewGetBookingsForUserParamsWithTimeout(timeout time.Duration) *GetBookingsForUserParams

NewGetBookingsForUserParamsWithTimeout creates a new GetBookingsForUserParams object with the ability to set a timeout on a request.

func (*GetBookingsForUserParams) SetContext

func (o *GetBookingsForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get bookings for user params

func (*GetBookingsForUserParams) SetDefaults

func (o *GetBookingsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get bookings for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetBookingsForUserParams) SetHTTPClient

func (o *GetBookingsForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get bookings for user params

func (*GetBookingsForUserParams) SetTimeout

func (o *GetBookingsForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get bookings for user params

func (*GetBookingsForUserParams) SetUserName

func (o *GetBookingsForUserParams) SetUserName(userName string)

SetUserName adds the userName to the get bookings for user params

func (*GetBookingsForUserParams) WithContext

WithContext adds the context to the get bookings for user params

func (*GetBookingsForUserParams) WithDefaults

WithDefaults hydrates default values in the get bookings for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetBookingsForUserParams) WithHTTPClient

func (o *GetBookingsForUserParams) WithHTTPClient(client *http.Client) *GetBookingsForUserParams

WithHTTPClient adds the HTTPClient to the get bookings for user params

func (*GetBookingsForUserParams) WithTimeout

WithTimeout adds the timeout to the get bookings for user params

func (*GetBookingsForUserParams) WithUserName

func (o *GetBookingsForUserParams) WithUserName(userName string) *GetBookingsForUserParams

WithUserName adds the userName to the get bookings for user params

func (*GetBookingsForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBookingsForUserReader

type GetBookingsForUserReader struct {
	// contains filtered or unexported fields
}

GetBookingsForUserReader is a Reader for the GetBookingsForUser structure.

func (*GetBookingsForUserReader) ReadResponse

func (o *GetBookingsForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetBookingsForUserUnauthorized

type GetBookingsForUserUnauthorized struct {
	Payload *models.Error
}
GetBookingsForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetBookingsForUserUnauthorized

func NewGetBookingsForUserUnauthorized() *GetBookingsForUserUnauthorized

NewGetBookingsForUserUnauthorized creates a GetBookingsForUserUnauthorized with default headers values

func (*GetBookingsForUserUnauthorized) Error

func (*GetBookingsForUserUnauthorized) GetPayload

func (o *GetBookingsForUserUnauthorized) GetPayload() *models.Error

func (*GetBookingsForUserUnauthorized) IsClientError

func (o *GetBookingsForUserUnauthorized) IsClientError() bool

IsClientError returns true when this get bookings for user unauthorized response has a 4xx status code

func (*GetBookingsForUserUnauthorized) IsCode

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

IsCode returns true when this get bookings for user unauthorized response a status code equal to that given

func (*GetBookingsForUserUnauthorized) IsRedirect

func (o *GetBookingsForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get bookings for user unauthorized response has a 3xx status code

func (*GetBookingsForUserUnauthorized) IsServerError

func (o *GetBookingsForUserUnauthorized) IsServerError() bool

IsServerError returns true when this get bookings for user unauthorized response has a 5xx status code

func (*GetBookingsForUserUnauthorized) IsSuccess

func (o *GetBookingsForUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get bookings for user unauthorized response has a 2xx status code

func (*GetBookingsForUserUnauthorized) String

type GetDescriptionInternalServerError

type GetDescriptionInternalServerError struct {
	Payload *models.Error
}
GetDescriptionInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetDescriptionInternalServerError

func NewGetDescriptionInternalServerError() *GetDescriptionInternalServerError

NewGetDescriptionInternalServerError creates a GetDescriptionInternalServerError with default headers values

func (*GetDescriptionInternalServerError) Error

func (*GetDescriptionInternalServerError) GetPayload

func (*GetDescriptionInternalServerError) IsClientError

func (o *GetDescriptionInternalServerError) IsClientError() bool

IsClientError returns true when this get description internal server error response has a 4xx status code

func (*GetDescriptionInternalServerError) IsCode

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

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

func (*GetDescriptionInternalServerError) IsRedirect

func (o *GetDescriptionInternalServerError) IsRedirect() bool

IsRedirect returns true when this get description internal server error response has a 3xx status code

func (*GetDescriptionInternalServerError) IsServerError

func (o *GetDescriptionInternalServerError) IsServerError() bool

IsServerError returns true when this get description internal server error response has a 5xx status code

func (*GetDescriptionInternalServerError) IsSuccess

func (o *GetDescriptionInternalServerError) IsSuccess() bool

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

func (*GetDescriptionInternalServerError) String

type GetDescriptionNotFound

type GetDescriptionNotFound struct {
	Payload *models.Error
}
GetDescriptionNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetDescriptionNotFound

func NewGetDescriptionNotFound() *GetDescriptionNotFound

NewGetDescriptionNotFound creates a GetDescriptionNotFound with default headers values

func (*GetDescriptionNotFound) Error

func (o *GetDescriptionNotFound) Error() string

func (*GetDescriptionNotFound) GetPayload

func (o *GetDescriptionNotFound) GetPayload() *models.Error

func (*GetDescriptionNotFound) IsClientError

func (o *GetDescriptionNotFound) IsClientError() bool

IsClientError returns true when this get description not found response has a 4xx status code

func (*GetDescriptionNotFound) IsCode

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

IsCode returns true when this get description not found response a status code equal to that given

func (*GetDescriptionNotFound) IsRedirect

func (o *GetDescriptionNotFound) IsRedirect() bool

IsRedirect returns true when this get description not found response has a 3xx status code

func (*GetDescriptionNotFound) IsServerError

func (o *GetDescriptionNotFound) IsServerError() bool

IsServerError returns true when this get description not found response has a 5xx status code

func (*GetDescriptionNotFound) IsSuccess

func (o *GetDescriptionNotFound) IsSuccess() bool

IsSuccess returns true when this get description not found response has a 2xx status code

func (*GetDescriptionNotFound) String

func (o *GetDescriptionNotFound) String() string

type GetDescriptionOK

type GetDescriptionOK struct {
	Payload *models.Description
}
GetDescriptionOK describes a response with status code 200, with default header values.

OK

func NewGetDescriptionOK

func NewGetDescriptionOK() *GetDescriptionOK

NewGetDescriptionOK creates a GetDescriptionOK with default headers values

func (*GetDescriptionOK) Error

func (o *GetDescriptionOK) Error() string

func (*GetDescriptionOK) GetPayload

func (o *GetDescriptionOK) GetPayload() *models.Description

func (*GetDescriptionOK) IsClientError

func (o *GetDescriptionOK) IsClientError() bool

IsClientError returns true when this get description o k response has a 4xx status code

func (*GetDescriptionOK) IsCode

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

IsCode returns true when this get description o k response a status code equal to that given

func (*GetDescriptionOK) IsRedirect

func (o *GetDescriptionOK) IsRedirect() bool

IsRedirect returns true when this get description o k response has a 3xx status code

func (*GetDescriptionOK) IsServerError

func (o *GetDescriptionOK) IsServerError() bool

IsServerError returns true when this get description o k response has a 5xx status code

func (*GetDescriptionOK) IsSuccess

func (o *GetDescriptionOK) IsSuccess() bool

IsSuccess returns true when this get description o k response has a 2xx status code

func (*GetDescriptionOK) String

func (o *GetDescriptionOK) String() string

type GetDescriptionParams

type GetDescriptionParams struct {

	// DescriptionName.
	DescriptionName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDescriptionParams contains all the parameters to send to the API endpoint

for the get description operation.

Typically these are written to a http.Request.

func NewGetDescriptionParams

func NewGetDescriptionParams() *GetDescriptionParams

NewGetDescriptionParams creates a new GetDescriptionParams 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 NewGetDescriptionParamsWithContext

func NewGetDescriptionParamsWithContext(ctx context.Context) *GetDescriptionParams

NewGetDescriptionParamsWithContext creates a new GetDescriptionParams object with the ability to set a context for a request.

func NewGetDescriptionParamsWithHTTPClient

func NewGetDescriptionParamsWithHTTPClient(client *http.Client) *GetDescriptionParams

NewGetDescriptionParamsWithHTTPClient creates a new GetDescriptionParams object with the ability to set a custom HTTPClient for a request.

func NewGetDescriptionParamsWithTimeout

func NewGetDescriptionParamsWithTimeout(timeout time.Duration) *GetDescriptionParams

NewGetDescriptionParamsWithTimeout creates a new GetDescriptionParams object with the ability to set a timeout on a request.

func (*GetDescriptionParams) SetContext

func (o *GetDescriptionParams) SetContext(ctx context.Context)

SetContext adds the context to the get description params

func (*GetDescriptionParams) SetDefaults

func (o *GetDescriptionParams) SetDefaults()

SetDefaults hydrates default values in the get description params (not the query body).

All values with no default are reset to their zero value.

func (*GetDescriptionParams) SetDescriptionName

func (o *GetDescriptionParams) SetDescriptionName(descriptionName string)

SetDescriptionName adds the descriptionName to the get description params

func (*GetDescriptionParams) SetHTTPClient

func (o *GetDescriptionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get description params

func (*GetDescriptionParams) SetTimeout

func (o *GetDescriptionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get description params

func (*GetDescriptionParams) WithContext

WithContext adds the context to the get description params

func (*GetDescriptionParams) WithDefaults

func (o *GetDescriptionParams) WithDefaults() *GetDescriptionParams

WithDefaults hydrates default values in the get description params (not the query body).

All values with no default are reset to their zero value.

func (*GetDescriptionParams) WithDescriptionName

func (o *GetDescriptionParams) WithDescriptionName(descriptionName string) *GetDescriptionParams

WithDescriptionName adds the descriptionName to the get description params

func (*GetDescriptionParams) WithHTTPClient

func (o *GetDescriptionParams) WithHTTPClient(client *http.Client) *GetDescriptionParams

WithHTTPClient adds the HTTPClient to the get description params

func (*GetDescriptionParams) WithTimeout

func (o *GetDescriptionParams) WithTimeout(timeout time.Duration) *GetDescriptionParams

WithTimeout adds the timeout to the get description params

func (*GetDescriptionParams) WriteToRequest

func (o *GetDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDescriptionReader

type GetDescriptionReader struct {
	// contains filtered or unexported fields
}

GetDescriptionReader is a Reader for the GetDescription structure.

func (*GetDescriptionReader) ReadResponse

func (o *GetDescriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDescriptionUnauthorized

type GetDescriptionUnauthorized struct {
	Payload *models.Error
}
GetDescriptionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDescriptionUnauthorized

func NewGetDescriptionUnauthorized() *GetDescriptionUnauthorized

NewGetDescriptionUnauthorized creates a GetDescriptionUnauthorized with default headers values

func (*GetDescriptionUnauthorized) Error

func (*GetDescriptionUnauthorized) GetPayload

func (o *GetDescriptionUnauthorized) GetPayload() *models.Error

func (*GetDescriptionUnauthorized) IsClientError

func (o *GetDescriptionUnauthorized) IsClientError() bool

IsClientError returns true when this get description unauthorized response has a 4xx status code

func (*GetDescriptionUnauthorized) IsCode

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

IsCode returns true when this get description unauthorized response a status code equal to that given

func (*GetDescriptionUnauthorized) IsRedirect

func (o *GetDescriptionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get description unauthorized response has a 3xx status code

func (*GetDescriptionUnauthorized) IsServerError

func (o *GetDescriptionUnauthorized) IsServerError() bool

IsServerError returns true when this get description unauthorized response has a 5xx status code

func (*GetDescriptionUnauthorized) IsSuccess

func (o *GetDescriptionUnauthorized) IsSuccess() bool

IsSuccess returns true when this get description unauthorized response has a 2xx status code

func (*GetDescriptionUnauthorized) String

func (o *GetDescriptionUnauthorized) String() string

type GetGroupInternalServerError added in v0.3.0

type GetGroupInternalServerError struct {
	Payload *models.Error
}
GetGroupInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetGroupInternalServerError added in v0.3.0

func NewGetGroupInternalServerError() *GetGroupInternalServerError

NewGetGroupInternalServerError creates a GetGroupInternalServerError with default headers values

func (*GetGroupInternalServerError) Error added in v0.3.0

func (*GetGroupInternalServerError) GetPayload added in v0.3.0

func (o *GetGroupInternalServerError) GetPayload() *models.Error

func (*GetGroupInternalServerError) IsClientError added in v0.3.0

func (o *GetGroupInternalServerError) IsClientError() bool

IsClientError returns true when this get group internal server error response has a 4xx status code

func (*GetGroupInternalServerError) IsCode added in v0.3.0

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

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

func (*GetGroupInternalServerError) IsRedirect added in v0.3.0

func (o *GetGroupInternalServerError) IsRedirect() bool

IsRedirect returns true when this get group internal server error response has a 3xx status code

func (*GetGroupInternalServerError) IsServerError added in v0.3.0

func (o *GetGroupInternalServerError) IsServerError() bool

IsServerError returns true when this get group internal server error response has a 5xx status code

func (*GetGroupInternalServerError) IsSuccess added in v0.3.0

func (o *GetGroupInternalServerError) IsSuccess() bool

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

func (*GetGroupInternalServerError) String added in v0.3.0

func (o *GetGroupInternalServerError) String() string

type GetGroupNotFound added in v0.3.0

type GetGroupNotFound struct {
	Payload *models.Error
}
GetGroupNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetGroupNotFound added in v0.3.0

func NewGetGroupNotFound() *GetGroupNotFound

NewGetGroupNotFound creates a GetGroupNotFound with default headers values

func (*GetGroupNotFound) Error added in v0.3.0

func (o *GetGroupNotFound) Error() string

func (*GetGroupNotFound) GetPayload added in v0.3.0

func (o *GetGroupNotFound) GetPayload() *models.Error

func (*GetGroupNotFound) IsClientError added in v0.3.0

func (o *GetGroupNotFound) IsClientError() bool

IsClientError returns true when this get group not found response has a 4xx status code

func (*GetGroupNotFound) IsCode added in v0.3.0

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

IsCode returns true when this get group not found response a status code equal to that given

func (*GetGroupNotFound) IsRedirect added in v0.3.0

func (o *GetGroupNotFound) IsRedirect() bool

IsRedirect returns true when this get group not found response has a 3xx status code

func (*GetGroupNotFound) IsServerError added in v0.3.0

func (o *GetGroupNotFound) IsServerError() bool

IsServerError returns true when this get group not found response has a 5xx status code

func (*GetGroupNotFound) IsSuccess added in v0.3.0

func (o *GetGroupNotFound) IsSuccess() bool

IsSuccess returns true when this get group not found response has a 2xx status code

func (*GetGroupNotFound) String added in v0.3.0

func (o *GetGroupNotFound) String() string

type GetGroupOK added in v0.3.0

type GetGroupOK struct {
	Payload *models.GroupDescribedWithPolicies
}
GetGroupOK describes a response with status code 200, with default header values.

OK

func NewGetGroupOK added in v0.3.0

func NewGetGroupOK() *GetGroupOK

NewGetGroupOK creates a GetGroupOK with default headers values

func (*GetGroupOK) Error added in v0.3.0

func (o *GetGroupOK) Error() string

func (*GetGroupOK) GetPayload added in v0.3.0

func (o *GetGroupOK) GetPayload() *models.GroupDescribedWithPolicies

func (*GetGroupOK) IsClientError added in v0.3.0

func (o *GetGroupOK) IsClientError() bool

IsClientError returns true when this get group o k response has a 4xx status code

func (*GetGroupOK) IsCode added in v0.3.0

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

IsCode returns true when this get group o k response a status code equal to that given

func (*GetGroupOK) IsRedirect added in v0.3.0

func (o *GetGroupOK) IsRedirect() bool

IsRedirect returns true when this get group o k response has a 3xx status code

func (*GetGroupOK) IsServerError added in v0.3.0

func (o *GetGroupOK) IsServerError() bool

IsServerError returns true when this get group o k response has a 5xx status code

func (*GetGroupOK) IsSuccess added in v0.3.0

func (o *GetGroupOK) IsSuccess() bool

IsSuccess returns true when this get group o k response has a 2xx status code

func (*GetGroupOK) String added in v0.3.0

func (o *GetGroupOK) String() string

type GetGroupParams added in v0.3.0

type GetGroupParams struct {

	// GroupName.
	GroupName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGroupParams contains all the parameters to send to the API endpoint

for the get group operation.

Typically these are written to a http.Request.

func NewGetGroupParams added in v0.3.0

func NewGetGroupParams() *GetGroupParams

NewGetGroupParams creates a new GetGroupParams 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 NewGetGroupParamsWithContext added in v0.3.0

func NewGetGroupParamsWithContext(ctx context.Context) *GetGroupParams

NewGetGroupParamsWithContext creates a new GetGroupParams object with the ability to set a context for a request.

func NewGetGroupParamsWithHTTPClient added in v0.3.0

func NewGetGroupParamsWithHTTPClient(client *http.Client) *GetGroupParams

NewGetGroupParamsWithHTTPClient creates a new GetGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupParamsWithTimeout added in v0.3.0

func NewGetGroupParamsWithTimeout(timeout time.Duration) *GetGroupParams

NewGetGroupParamsWithTimeout creates a new GetGroupParams object with the ability to set a timeout on a request.

func (*GetGroupParams) SetContext added in v0.3.0

func (o *GetGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the get group params

func (*GetGroupParams) SetDefaults added in v0.3.0

func (o *GetGroupParams) SetDefaults()

SetDefaults hydrates default values in the get group params (not the query body).

All values with no default are reset to their zero value.

func (*GetGroupParams) SetGroupName added in v0.3.0

func (o *GetGroupParams) SetGroupName(groupName string)

SetGroupName adds the groupName to the get group params

func (*GetGroupParams) SetHTTPClient added in v0.3.0

func (o *GetGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) SetTimeout added in v0.3.0

func (o *GetGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get group params

func (*GetGroupParams) WithContext added in v0.3.0

func (o *GetGroupParams) WithContext(ctx context.Context) *GetGroupParams

WithContext adds the context to the get group params

func (*GetGroupParams) WithDefaults added in v0.3.0

func (o *GetGroupParams) WithDefaults() *GetGroupParams

WithDefaults hydrates default values in the get group params (not the query body).

All values with no default are reset to their zero value.

func (*GetGroupParams) WithGroupName added in v0.3.0

func (o *GetGroupParams) WithGroupName(groupName string) *GetGroupParams

WithGroupName adds the groupName to the get group params

func (*GetGroupParams) WithHTTPClient added in v0.3.0

func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams

WithHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) WithTimeout added in v0.3.0

func (o *GetGroupParams) WithTimeout(timeout time.Duration) *GetGroupParams

WithTimeout adds the timeout to the get group params

func (*GetGroupParams) WriteToRequest added in v0.3.0

func (o *GetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetGroupReader added in v0.3.0

type GetGroupReader struct {
	// contains filtered or unexported fields
}

GetGroupReader is a Reader for the GetGroup structure.

func (*GetGroupReader) ReadResponse added in v0.3.0

func (o *GetGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGroupUnauthorized added in v0.3.0

type GetGroupUnauthorized struct {
	Payload *models.Error
}
GetGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetGroupUnauthorized added in v0.3.0

func NewGetGroupUnauthorized() *GetGroupUnauthorized

NewGetGroupUnauthorized creates a GetGroupUnauthorized with default headers values

func (*GetGroupUnauthorized) Error added in v0.3.0

func (o *GetGroupUnauthorized) Error() string

func (*GetGroupUnauthorized) GetPayload added in v0.3.0

func (o *GetGroupUnauthorized) GetPayload() *models.Error

func (*GetGroupUnauthorized) IsClientError added in v0.3.0

func (o *GetGroupUnauthorized) IsClientError() bool

IsClientError returns true when this get group unauthorized response has a 4xx status code

func (*GetGroupUnauthorized) IsCode added in v0.3.0

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

IsCode returns true when this get group unauthorized response a status code equal to that given

func (*GetGroupUnauthorized) IsRedirect added in v0.3.0

func (o *GetGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this get group unauthorized response has a 3xx status code

func (*GetGroupUnauthorized) IsServerError added in v0.3.0

func (o *GetGroupUnauthorized) IsServerError() bool

IsServerError returns true when this get group unauthorized response has a 5xx status code

func (*GetGroupUnauthorized) IsSuccess added in v0.3.0

func (o *GetGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this get group unauthorized response has a 2xx status code

func (*GetGroupUnauthorized) String added in v0.3.0

func (o *GetGroupUnauthorized) String() string

type GetGroupsForUserInternalServerError added in v0.3.0

type GetGroupsForUserInternalServerError struct {
	Payload *models.Error
}
GetGroupsForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetGroupsForUserInternalServerError added in v0.3.0

func NewGetGroupsForUserInternalServerError() *GetGroupsForUserInternalServerError

NewGetGroupsForUserInternalServerError creates a GetGroupsForUserInternalServerError with default headers values

func (*GetGroupsForUserInternalServerError) Error added in v0.3.0

func (*GetGroupsForUserInternalServerError) GetPayload added in v0.3.0

func (*GetGroupsForUserInternalServerError) IsClientError added in v0.3.0

func (o *GetGroupsForUserInternalServerError) IsClientError() bool

IsClientError returns true when this get groups for user internal server error response has a 4xx status code

func (*GetGroupsForUserInternalServerError) IsCode added in v0.3.0

IsCode returns true when this get groups for user internal server error response a status code equal to that given

func (*GetGroupsForUserInternalServerError) IsRedirect added in v0.3.0

func (o *GetGroupsForUserInternalServerError) IsRedirect() bool

IsRedirect returns true when this get groups for user internal server error response has a 3xx status code

func (*GetGroupsForUserInternalServerError) IsServerError added in v0.3.0

func (o *GetGroupsForUserInternalServerError) IsServerError() bool

IsServerError returns true when this get groups for user internal server error response has a 5xx status code

func (*GetGroupsForUserInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this get groups for user internal server error response has a 2xx status code

func (*GetGroupsForUserInternalServerError) String added in v0.3.0

type GetGroupsForUserNotFound added in v0.3.0

type GetGroupsForUserNotFound struct {
	Payload *models.Error
}
GetGroupsForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetGroupsForUserNotFound added in v0.3.0

func NewGetGroupsForUserNotFound() *GetGroupsForUserNotFound

NewGetGroupsForUserNotFound creates a GetGroupsForUserNotFound with default headers values

func (*GetGroupsForUserNotFound) Error added in v0.3.0

func (o *GetGroupsForUserNotFound) Error() string

func (*GetGroupsForUserNotFound) GetPayload added in v0.3.0

func (o *GetGroupsForUserNotFound) GetPayload() *models.Error

func (*GetGroupsForUserNotFound) IsClientError added in v0.3.0

func (o *GetGroupsForUserNotFound) IsClientError() bool

IsClientError returns true when this get groups for user not found response has a 4xx status code

func (*GetGroupsForUserNotFound) IsCode added in v0.3.0

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

IsCode returns true when this get groups for user not found response a status code equal to that given

func (*GetGroupsForUserNotFound) IsRedirect added in v0.3.0

func (o *GetGroupsForUserNotFound) IsRedirect() bool

IsRedirect returns true when this get groups for user not found response has a 3xx status code

func (*GetGroupsForUserNotFound) IsServerError added in v0.3.0

func (o *GetGroupsForUserNotFound) IsServerError() bool

IsServerError returns true when this get groups for user not found response has a 5xx status code

func (*GetGroupsForUserNotFound) IsSuccess added in v0.3.0

func (o *GetGroupsForUserNotFound) IsSuccess() bool

IsSuccess returns true when this get groups for user not found response has a 2xx status code

func (*GetGroupsForUserNotFound) String added in v0.3.0

func (o *GetGroupsForUserNotFound) String() string

type GetGroupsForUserOK added in v0.3.0

type GetGroupsForUserOK struct {
	Payload models.GroupsDescribed
}
GetGroupsForUserOK describes a response with status code 200, with default header values.

OK

func NewGetGroupsForUserOK added in v0.3.0

func NewGetGroupsForUserOK() *GetGroupsForUserOK

NewGetGroupsForUserOK creates a GetGroupsForUserOK with default headers values

func (*GetGroupsForUserOK) Error added in v0.3.0

func (o *GetGroupsForUserOK) Error() string

func (*GetGroupsForUserOK) GetPayload added in v0.3.0

func (o *GetGroupsForUserOK) GetPayload() models.GroupsDescribed

func (*GetGroupsForUserOK) IsClientError added in v0.3.0

func (o *GetGroupsForUserOK) IsClientError() bool

IsClientError returns true when this get groups for user o k response has a 4xx status code

func (*GetGroupsForUserOK) IsCode added in v0.3.0

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

IsCode returns true when this get groups for user o k response a status code equal to that given

func (*GetGroupsForUserOK) IsRedirect added in v0.3.0

func (o *GetGroupsForUserOK) IsRedirect() bool

IsRedirect returns true when this get groups for user o k response has a 3xx status code

func (*GetGroupsForUserOK) IsServerError added in v0.3.0

func (o *GetGroupsForUserOK) IsServerError() bool

IsServerError returns true when this get groups for user o k response has a 5xx status code

func (*GetGroupsForUserOK) IsSuccess added in v0.3.0

func (o *GetGroupsForUserOK) IsSuccess() bool

IsSuccess returns true when this get groups for user o k response has a 2xx status code

func (*GetGroupsForUserOK) String added in v0.3.0

func (o *GetGroupsForUserOK) String() string

type GetGroupsForUserParams added in v0.3.0

type GetGroupsForUserParams struct {

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGroupsForUserParams contains all the parameters to send to the API endpoint

for the get groups for user operation.

Typically these are written to a http.Request.

func NewGetGroupsForUserParams added in v0.3.0

func NewGetGroupsForUserParams() *GetGroupsForUserParams

NewGetGroupsForUserParams creates a new GetGroupsForUserParams 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 NewGetGroupsForUserParamsWithContext added in v0.3.0

func NewGetGroupsForUserParamsWithContext(ctx context.Context) *GetGroupsForUserParams

NewGetGroupsForUserParamsWithContext creates a new GetGroupsForUserParams object with the ability to set a context for a request.

func NewGetGroupsForUserParamsWithHTTPClient added in v0.3.0

func NewGetGroupsForUserParamsWithHTTPClient(client *http.Client) *GetGroupsForUserParams

NewGetGroupsForUserParamsWithHTTPClient creates a new GetGroupsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupsForUserParamsWithTimeout added in v0.3.0

func NewGetGroupsForUserParamsWithTimeout(timeout time.Duration) *GetGroupsForUserParams

NewGetGroupsForUserParamsWithTimeout creates a new GetGroupsForUserParams object with the ability to set a timeout on a request.

func (*GetGroupsForUserParams) SetContext added in v0.3.0

func (o *GetGroupsForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get groups for user params

func (*GetGroupsForUserParams) SetDefaults added in v0.3.0

func (o *GetGroupsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get groups for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetGroupsForUserParams) SetHTTPClient added in v0.3.0

func (o *GetGroupsForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get groups for user params

func (*GetGroupsForUserParams) SetTimeout added in v0.3.0

func (o *GetGroupsForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get groups for user params

func (*GetGroupsForUserParams) SetUserName added in v0.3.0

func (o *GetGroupsForUserParams) SetUserName(userName string)

SetUserName adds the userName to the get groups for user params

func (*GetGroupsForUserParams) WithContext added in v0.3.0

WithContext adds the context to the get groups for user params

func (*GetGroupsForUserParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get groups for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetGroupsForUserParams) WithHTTPClient added in v0.3.0

func (o *GetGroupsForUserParams) WithHTTPClient(client *http.Client) *GetGroupsForUserParams

WithHTTPClient adds the HTTPClient to the get groups for user params

func (*GetGroupsForUserParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the get groups for user params

func (*GetGroupsForUserParams) WithUserName added in v0.3.0

func (o *GetGroupsForUserParams) WithUserName(userName string) *GetGroupsForUserParams

WithUserName adds the userName to the get groups for user params

func (*GetGroupsForUserParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type GetGroupsForUserReader added in v0.3.0

type GetGroupsForUserReader struct {
	// contains filtered or unexported fields
}

GetGroupsForUserReader is a Reader for the GetGroupsForUser structure.

func (*GetGroupsForUserReader) ReadResponse added in v0.3.0

func (o *GetGroupsForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGroupsForUserUnauthorized added in v0.3.0

type GetGroupsForUserUnauthorized struct {
	Payload *models.Error
}
GetGroupsForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetGroupsForUserUnauthorized added in v0.3.0

func NewGetGroupsForUserUnauthorized() *GetGroupsForUserUnauthorized

NewGetGroupsForUserUnauthorized creates a GetGroupsForUserUnauthorized with default headers values

func (*GetGroupsForUserUnauthorized) Error added in v0.3.0

func (*GetGroupsForUserUnauthorized) GetPayload added in v0.3.0

func (o *GetGroupsForUserUnauthorized) GetPayload() *models.Error

func (*GetGroupsForUserUnauthorized) IsClientError added in v0.3.0

func (o *GetGroupsForUserUnauthorized) IsClientError() bool

IsClientError returns true when this get groups for user unauthorized response has a 4xx status code

func (*GetGroupsForUserUnauthorized) IsCode added in v0.3.0

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

IsCode returns true when this get groups for user unauthorized response a status code equal to that given

func (*GetGroupsForUserUnauthorized) IsRedirect added in v0.3.0

func (o *GetGroupsForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get groups for user unauthorized response has a 3xx status code

func (*GetGroupsForUserUnauthorized) IsServerError added in v0.3.0

func (o *GetGroupsForUserUnauthorized) IsServerError() bool

IsServerError returns true when this get groups for user unauthorized response has a 5xx status code

func (*GetGroupsForUserUnauthorized) IsSuccess added in v0.3.0

func (o *GetGroupsForUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get groups for user unauthorized response has a 2xx status code

func (*GetGroupsForUserUnauthorized) String added in v0.3.0

type GetOldBookingsForUserInternalServerError

type GetOldBookingsForUserInternalServerError struct {
	Payload *models.Error
}
GetOldBookingsForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetOldBookingsForUserInternalServerError

func NewGetOldBookingsForUserInternalServerError() *GetOldBookingsForUserInternalServerError

NewGetOldBookingsForUserInternalServerError creates a GetOldBookingsForUserInternalServerError with default headers values

func (*GetOldBookingsForUserInternalServerError) Error

func (*GetOldBookingsForUserInternalServerError) GetPayload

func (*GetOldBookingsForUserInternalServerError) IsClientError

IsClientError returns true when this get old bookings for user internal server error response has a 4xx status code

func (*GetOldBookingsForUserInternalServerError) IsCode

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

func (*GetOldBookingsForUserInternalServerError) IsRedirect

IsRedirect returns true when this get old bookings for user internal server error response has a 3xx status code

func (*GetOldBookingsForUserInternalServerError) IsServerError

IsServerError returns true when this get old bookings for user internal server error response has a 5xx status code

func (*GetOldBookingsForUserInternalServerError) IsSuccess

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

func (*GetOldBookingsForUserInternalServerError) String

type GetOldBookingsForUserNotFound

type GetOldBookingsForUserNotFound struct {
	Payload *models.Error
}
GetOldBookingsForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetOldBookingsForUserNotFound

func NewGetOldBookingsForUserNotFound() *GetOldBookingsForUserNotFound

NewGetOldBookingsForUserNotFound creates a GetOldBookingsForUserNotFound with default headers values

func (*GetOldBookingsForUserNotFound) Error

func (*GetOldBookingsForUserNotFound) GetPayload

func (o *GetOldBookingsForUserNotFound) GetPayload() *models.Error

func (*GetOldBookingsForUserNotFound) IsClientError

func (o *GetOldBookingsForUserNotFound) IsClientError() bool

IsClientError returns true when this get old bookings for user not found response has a 4xx status code

func (*GetOldBookingsForUserNotFound) IsCode

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

IsCode returns true when this get old bookings for user not found response a status code equal to that given

func (*GetOldBookingsForUserNotFound) IsRedirect

func (o *GetOldBookingsForUserNotFound) IsRedirect() bool

IsRedirect returns true when this get old bookings for user not found response has a 3xx status code

func (*GetOldBookingsForUserNotFound) IsServerError

func (o *GetOldBookingsForUserNotFound) IsServerError() bool

IsServerError returns true when this get old bookings for user not found response has a 5xx status code

func (*GetOldBookingsForUserNotFound) IsSuccess

func (o *GetOldBookingsForUserNotFound) IsSuccess() bool

IsSuccess returns true when this get old bookings for user not found response has a 2xx status code

func (*GetOldBookingsForUserNotFound) String

type GetOldBookingsForUserOK

type GetOldBookingsForUserOK struct {
	Payload models.Bookings
}
GetOldBookingsForUserOK describes a response with status code 200, with default header values.

OK

func NewGetOldBookingsForUserOK

func NewGetOldBookingsForUserOK() *GetOldBookingsForUserOK

NewGetOldBookingsForUserOK creates a GetOldBookingsForUserOK with default headers values

func (*GetOldBookingsForUserOK) Error

func (o *GetOldBookingsForUserOK) Error() string

func (*GetOldBookingsForUserOK) GetPayload

func (o *GetOldBookingsForUserOK) GetPayload() models.Bookings

func (*GetOldBookingsForUserOK) IsClientError

func (o *GetOldBookingsForUserOK) IsClientError() bool

IsClientError returns true when this get old bookings for user o k response has a 4xx status code

func (*GetOldBookingsForUserOK) IsCode

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

IsCode returns true when this get old bookings for user o k response a status code equal to that given

func (*GetOldBookingsForUserOK) IsRedirect

func (o *GetOldBookingsForUserOK) IsRedirect() bool

IsRedirect returns true when this get old bookings for user o k response has a 3xx status code

func (*GetOldBookingsForUserOK) IsServerError

func (o *GetOldBookingsForUserOK) IsServerError() bool

IsServerError returns true when this get old bookings for user o k response has a 5xx status code

func (*GetOldBookingsForUserOK) IsSuccess

func (o *GetOldBookingsForUserOK) IsSuccess() bool

IsSuccess returns true when this get old bookings for user o k response has a 2xx status code

func (*GetOldBookingsForUserOK) String

func (o *GetOldBookingsForUserOK) String() string

type GetOldBookingsForUserParams

type GetOldBookingsForUserParams struct {

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOldBookingsForUserParams contains all the parameters to send to the API endpoint

for the get old bookings for user operation.

Typically these are written to a http.Request.

func NewGetOldBookingsForUserParams

func NewGetOldBookingsForUserParams() *GetOldBookingsForUserParams

NewGetOldBookingsForUserParams creates a new GetOldBookingsForUserParams 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 NewGetOldBookingsForUserParamsWithContext

func NewGetOldBookingsForUserParamsWithContext(ctx context.Context) *GetOldBookingsForUserParams

NewGetOldBookingsForUserParamsWithContext creates a new GetOldBookingsForUserParams object with the ability to set a context for a request.

func NewGetOldBookingsForUserParamsWithHTTPClient

func NewGetOldBookingsForUserParamsWithHTTPClient(client *http.Client) *GetOldBookingsForUserParams

NewGetOldBookingsForUserParamsWithHTTPClient creates a new GetOldBookingsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetOldBookingsForUserParamsWithTimeout

func NewGetOldBookingsForUserParamsWithTimeout(timeout time.Duration) *GetOldBookingsForUserParams

NewGetOldBookingsForUserParamsWithTimeout creates a new GetOldBookingsForUserParams object with the ability to set a timeout on a request.

func (*GetOldBookingsForUserParams) SetContext

func (o *GetOldBookingsForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get old bookings for user params

func (*GetOldBookingsForUserParams) SetDefaults

func (o *GetOldBookingsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get old bookings for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetOldBookingsForUserParams) SetHTTPClient

func (o *GetOldBookingsForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get old bookings for user params

func (*GetOldBookingsForUserParams) SetTimeout

func (o *GetOldBookingsForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get old bookings for user params

func (*GetOldBookingsForUserParams) SetUserName

func (o *GetOldBookingsForUserParams) SetUserName(userName string)

SetUserName adds the userName to the get old bookings for user params

func (*GetOldBookingsForUserParams) WithContext

WithContext adds the context to the get old bookings for user params

func (*GetOldBookingsForUserParams) WithDefaults

WithDefaults hydrates default values in the get old bookings for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetOldBookingsForUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get old bookings for user params

func (*GetOldBookingsForUserParams) WithTimeout

WithTimeout adds the timeout to the get old bookings for user params

func (*GetOldBookingsForUserParams) WithUserName

WithUserName adds the userName to the get old bookings for user params

func (*GetOldBookingsForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOldBookingsForUserReader

type GetOldBookingsForUserReader struct {
	// contains filtered or unexported fields
}

GetOldBookingsForUserReader is a Reader for the GetOldBookingsForUser structure.

func (*GetOldBookingsForUserReader) ReadResponse

func (o *GetOldBookingsForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOldBookingsForUserUnauthorized

type GetOldBookingsForUserUnauthorized struct {
	Payload *models.Error
}
GetOldBookingsForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetOldBookingsForUserUnauthorized

func NewGetOldBookingsForUserUnauthorized() *GetOldBookingsForUserUnauthorized

NewGetOldBookingsForUserUnauthorized creates a GetOldBookingsForUserUnauthorized with default headers values

func (*GetOldBookingsForUserUnauthorized) Error

func (*GetOldBookingsForUserUnauthorized) GetPayload

func (*GetOldBookingsForUserUnauthorized) IsClientError

func (o *GetOldBookingsForUserUnauthorized) IsClientError() bool

IsClientError returns true when this get old bookings for user unauthorized response has a 4xx status code

func (*GetOldBookingsForUserUnauthorized) IsCode

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

IsCode returns true when this get old bookings for user unauthorized response a status code equal to that given

func (*GetOldBookingsForUserUnauthorized) IsRedirect

func (o *GetOldBookingsForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get old bookings for user unauthorized response has a 3xx status code

func (*GetOldBookingsForUserUnauthorized) IsServerError

func (o *GetOldBookingsForUserUnauthorized) IsServerError() bool

IsServerError returns true when this get old bookings for user unauthorized response has a 5xx status code

func (*GetOldBookingsForUserUnauthorized) IsSuccess

func (o *GetOldBookingsForUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get old bookings for user unauthorized response has a 2xx status code

func (*GetOldBookingsForUserUnauthorized) String

type GetPoliciesForUserInternalServerError

type GetPoliciesForUserInternalServerError struct {
	Payload *models.Error
}
GetPoliciesForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetPoliciesForUserInternalServerError

func NewGetPoliciesForUserInternalServerError() *GetPoliciesForUserInternalServerError

NewGetPoliciesForUserInternalServerError creates a GetPoliciesForUserInternalServerError with default headers values

func (*GetPoliciesForUserInternalServerError) Error

func (*GetPoliciesForUserInternalServerError) GetPayload

func (*GetPoliciesForUserInternalServerError) IsClientError

func (o *GetPoliciesForUserInternalServerError) IsClientError() bool

IsClientError returns true when this get policies for user internal server error response has a 4xx status code

func (*GetPoliciesForUserInternalServerError) IsCode

IsCode returns true when this get policies for user internal server error response a status code equal to that given

func (*GetPoliciesForUserInternalServerError) IsRedirect

IsRedirect returns true when this get policies for user internal server error response has a 3xx status code

func (*GetPoliciesForUserInternalServerError) IsServerError

func (o *GetPoliciesForUserInternalServerError) IsServerError() bool

IsServerError returns true when this get policies for user internal server error response has a 5xx status code

func (*GetPoliciesForUserInternalServerError) IsSuccess

IsSuccess returns true when this get policies for user internal server error response has a 2xx status code

func (*GetPoliciesForUserInternalServerError) String

type GetPoliciesForUserNotFound

type GetPoliciesForUserNotFound struct {
	Payload *models.Error
}
GetPoliciesForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetPoliciesForUserNotFound

func NewGetPoliciesForUserNotFound() *GetPoliciesForUserNotFound

NewGetPoliciesForUserNotFound creates a GetPoliciesForUserNotFound with default headers values

func (*GetPoliciesForUserNotFound) Error

func (*GetPoliciesForUserNotFound) GetPayload

func (o *GetPoliciesForUserNotFound) GetPayload() *models.Error

func (*GetPoliciesForUserNotFound) IsClientError

func (o *GetPoliciesForUserNotFound) IsClientError() bool

IsClientError returns true when this get policies for user not found response has a 4xx status code

func (*GetPoliciesForUserNotFound) IsCode

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

IsCode returns true when this get policies for user not found response a status code equal to that given

func (*GetPoliciesForUserNotFound) IsRedirect

func (o *GetPoliciesForUserNotFound) IsRedirect() bool

IsRedirect returns true when this get policies for user not found response has a 3xx status code

func (*GetPoliciesForUserNotFound) IsServerError

func (o *GetPoliciesForUserNotFound) IsServerError() bool

IsServerError returns true when this get policies for user not found response has a 5xx status code

func (*GetPoliciesForUserNotFound) IsSuccess

func (o *GetPoliciesForUserNotFound) IsSuccess() bool

IsSuccess returns true when this get policies for user not found response has a 2xx status code

func (*GetPoliciesForUserNotFound) String

func (o *GetPoliciesForUserNotFound) String() string

type GetPoliciesForUserOK

type GetPoliciesForUserOK struct {
	Payload models.PoliciesDescribed
}
GetPoliciesForUserOK describes a response with status code 200, with default header values.

OK

func NewGetPoliciesForUserOK

func NewGetPoliciesForUserOK() *GetPoliciesForUserOK

NewGetPoliciesForUserOK creates a GetPoliciesForUserOK with default headers values

func (*GetPoliciesForUserOK) Error

func (o *GetPoliciesForUserOK) Error() string

func (*GetPoliciesForUserOK) GetPayload

func (*GetPoliciesForUserOK) IsClientError

func (o *GetPoliciesForUserOK) IsClientError() bool

IsClientError returns true when this get policies for user o k response has a 4xx status code

func (*GetPoliciesForUserOK) IsCode

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

IsCode returns true when this get policies for user o k response a status code equal to that given

func (*GetPoliciesForUserOK) IsRedirect

func (o *GetPoliciesForUserOK) IsRedirect() bool

IsRedirect returns true when this get policies for user o k response has a 3xx status code

func (*GetPoliciesForUserOK) IsServerError

func (o *GetPoliciesForUserOK) IsServerError() bool

IsServerError returns true when this get policies for user o k response has a 5xx status code

func (*GetPoliciesForUserOK) IsSuccess

func (o *GetPoliciesForUserOK) IsSuccess() bool

IsSuccess returns true when this get policies for user o k response has a 2xx status code

func (*GetPoliciesForUserOK) String

func (o *GetPoliciesForUserOK) String() string

type GetPoliciesForUserParams

type GetPoliciesForUserParams struct {

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPoliciesForUserParams contains all the parameters to send to the API endpoint

for the get policies for user operation.

Typically these are written to a http.Request.

func NewGetPoliciesForUserParams

func NewGetPoliciesForUserParams() *GetPoliciesForUserParams

NewGetPoliciesForUserParams creates a new GetPoliciesForUserParams 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 NewGetPoliciesForUserParamsWithContext

func NewGetPoliciesForUserParamsWithContext(ctx context.Context) *GetPoliciesForUserParams

NewGetPoliciesForUserParamsWithContext creates a new GetPoliciesForUserParams object with the ability to set a context for a request.

func NewGetPoliciesForUserParamsWithHTTPClient

func NewGetPoliciesForUserParamsWithHTTPClient(client *http.Client) *GetPoliciesForUserParams

NewGetPoliciesForUserParamsWithHTTPClient creates a new GetPoliciesForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetPoliciesForUserParamsWithTimeout

func NewGetPoliciesForUserParamsWithTimeout(timeout time.Duration) *GetPoliciesForUserParams

NewGetPoliciesForUserParamsWithTimeout creates a new GetPoliciesForUserParams object with the ability to set a timeout on a request.

func (*GetPoliciesForUserParams) SetContext

func (o *GetPoliciesForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get policies for user params

func (*GetPoliciesForUserParams) SetDefaults

func (o *GetPoliciesForUserParams) SetDefaults()

SetDefaults hydrates default values in the get policies for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetPoliciesForUserParams) SetHTTPClient

func (o *GetPoliciesForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policies for user params

func (*GetPoliciesForUserParams) SetTimeout

func (o *GetPoliciesForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policies for user params

func (*GetPoliciesForUserParams) SetUserName

func (o *GetPoliciesForUserParams) SetUserName(userName string)

SetUserName adds the userName to the get policies for user params

func (*GetPoliciesForUserParams) WithContext

WithContext adds the context to the get policies for user params

func (*GetPoliciesForUserParams) WithDefaults

WithDefaults hydrates default values in the get policies for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetPoliciesForUserParams) WithHTTPClient

func (o *GetPoliciesForUserParams) WithHTTPClient(client *http.Client) *GetPoliciesForUserParams

WithHTTPClient adds the HTTPClient to the get policies for user params

func (*GetPoliciesForUserParams) WithTimeout

WithTimeout adds the timeout to the get policies for user params

func (*GetPoliciesForUserParams) WithUserName

func (o *GetPoliciesForUserParams) WithUserName(userName string) *GetPoliciesForUserParams

WithUserName adds the userName to the get policies for user params

func (*GetPoliciesForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPoliciesForUserReader

type GetPoliciesForUserReader struct {
	// contains filtered or unexported fields
}

GetPoliciesForUserReader is a Reader for the GetPoliciesForUser structure.

func (*GetPoliciesForUserReader) ReadResponse

func (o *GetPoliciesForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPoliciesForUserUnauthorized

type GetPoliciesForUserUnauthorized struct {
	Payload *models.Error
}
GetPoliciesForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPoliciesForUserUnauthorized

func NewGetPoliciesForUserUnauthorized() *GetPoliciesForUserUnauthorized

NewGetPoliciesForUserUnauthorized creates a GetPoliciesForUserUnauthorized with default headers values

func (*GetPoliciesForUserUnauthorized) Error

func (*GetPoliciesForUserUnauthorized) GetPayload

func (o *GetPoliciesForUserUnauthorized) GetPayload() *models.Error

func (*GetPoliciesForUserUnauthorized) IsClientError

func (o *GetPoliciesForUserUnauthorized) IsClientError() bool

IsClientError returns true when this get policies for user unauthorized response has a 4xx status code

func (*GetPoliciesForUserUnauthorized) IsCode

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

IsCode returns true when this get policies for user unauthorized response a status code equal to that given

func (*GetPoliciesForUserUnauthorized) IsRedirect

func (o *GetPoliciesForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get policies for user unauthorized response has a 3xx status code

func (*GetPoliciesForUserUnauthorized) IsServerError

func (o *GetPoliciesForUserUnauthorized) IsServerError() bool

IsServerError returns true when this get policies for user unauthorized response has a 5xx status code

func (*GetPoliciesForUserUnauthorized) IsSuccess

func (o *GetPoliciesForUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get policies for user unauthorized response has a 2xx status code

func (*GetPoliciesForUserUnauthorized) String

type GetPolicyInternalServerError

type GetPolicyInternalServerError struct {
	Payload *models.Error
}
GetPolicyInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetPolicyInternalServerError

func NewGetPolicyInternalServerError() *GetPolicyInternalServerError

NewGetPolicyInternalServerError creates a GetPolicyInternalServerError with default headers values

func (*GetPolicyInternalServerError) Error

func (*GetPolicyInternalServerError) GetPayload

func (o *GetPolicyInternalServerError) GetPayload() *models.Error

func (*GetPolicyInternalServerError) IsClientError

func (o *GetPolicyInternalServerError) IsClientError() bool

IsClientError returns true when this get policy internal server error response has a 4xx status code

func (*GetPolicyInternalServerError) IsCode

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

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

func (*GetPolicyInternalServerError) IsRedirect

func (o *GetPolicyInternalServerError) IsRedirect() bool

IsRedirect returns true when this get policy internal server error response has a 3xx status code

func (*GetPolicyInternalServerError) IsServerError

func (o *GetPolicyInternalServerError) IsServerError() bool

IsServerError returns true when this get policy internal server error response has a 5xx status code

func (*GetPolicyInternalServerError) IsSuccess

func (o *GetPolicyInternalServerError) IsSuccess() bool

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

func (*GetPolicyInternalServerError) String

type GetPolicyNotFound

type GetPolicyNotFound struct {
	Payload *models.Error
}
GetPolicyNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetPolicyNotFound

func NewGetPolicyNotFound() *GetPolicyNotFound

NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values

func (*GetPolicyNotFound) Error

func (o *GetPolicyNotFound) Error() string

func (*GetPolicyNotFound) GetPayload

func (o *GetPolicyNotFound) GetPayload() *models.Error

func (*GetPolicyNotFound) IsClientError

func (o *GetPolicyNotFound) IsClientError() bool

IsClientError returns true when this get policy not found response has a 4xx status code

func (*GetPolicyNotFound) IsCode

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

IsCode returns true when this get policy not found response a status code equal to that given

func (*GetPolicyNotFound) IsRedirect

func (o *GetPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get policy not found response has a 3xx status code

func (*GetPolicyNotFound) IsServerError

func (o *GetPolicyNotFound) IsServerError() bool

IsServerError returns true when this get policy not found response has a 5xx status code

func (*GetPolicyNotFound) IsSuccess

func (o *GetPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get policy not found response has a 2xx status code

func (*GetPolicyNotFound) String

func (o *GetPolicyNotFound) String() string

type GetPolicyOK

type GetPolicyOK struct {
	Payload *models.PolicyDescribed
}
GetPolicyOK describes a response with status code 200, with default header values.

OK

func NewGetPolicyOK

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates a GetPolicyOK with default headers values

func (*GetPolicyOK) Error

func (o *GetPolicyOK) Error() string

func (*GetPolicyOK) GetPayload

func (o *GetPolicyOK) GetPayload() *models.PolicyDescribed

func (*GetPolicyOK) IsClientError

func (o *GetPolicyOK) IsClientError() bool

IsClientError returns true when this get policy o k response has a 4xx status code

func (*GetPolicyOK) IsCode

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

IsCode returns true when this get policy o k response a status code equal to that given

func (*GetPolicyOK) IsRedirect

func (o *GetPolicyOK) IsRedirect() bool

IsRedirect returns true when this get policy o k response has a 3xx status code

func (*GetPolicyOK) IsServerError

func (o *GetPolicyOK) IsServerError() bool

IsServerError returns true when this get policy o k response has a 5xx status code

func (*GetPolicyOK) IsSuccess

func (o *GetPolicyOK) IsSuccess() bool

IsSuccess returns true when this get policy o k response has a 2xx status code

func (*GetPolicyOK) String

func (o *GetPolicyOK) String() string

type GetPolicyParams

type GetPolicyParams struct {

	// PolicyName.
	PolicyName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPolicyParams contains all the parameters to send to the API endpoint

for the get policy operation.

Typically these are written to a http.Request.

func NewGetPolicyParams

func NewGetPolicyParams() *GetPolicyParams

NewGetPolicyParams creates a new GetPolicyParams 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 NewGetPolicyParamsWithContext

func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams

NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the ability to set a context for a request.

func NewGetPolicyParamsWithHTTPClient

func NewGetPolicyParamsWithHTTPClient(client *http.Client) *GetPolicyParams

NewGetPolicyParamsWithHTTPClient creates a new GetPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicyParamsWithTimeout

func NewGetPolicyParamsWithTimeout(timeout time.Duration) *GetPolicyParams

NewGetPolicyParamsWithTimeout creates a new GetPolicyParams object with the ability to set a timeout on a request.

func (*GetPolicyParams) SetContext

func (o *GetPolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the get policy params

func (*GetPolicyParams) SetDefaults

func (o *GetPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyParams) SetHTTPClient

func (o *GetPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) SetPolicyName

func (o *GetPolicyParams) SetPolicyName(policyName string)

SetPolicyName adds the policyName to the get policy params

func (*GetPolicyParams) SetTimeout

func (o *GetPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WithContext

func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams

WithContext adds the context to the get policy params

func (*GetPolicyParams) WithDefaults

func (o *GetPolicyParams) WithDefaults() *GetPolicyParams

WithDefaults hydrates default values in the get policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyParams) WithHTTPClient

func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams

WithHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) WithPolicyName

func (o *GetPolicyParams) WithPolicyName(policyName string) *GetPolicyParams

WithPolicyName adds the policyName to the get policy params

func (*GetPolicyParams) WithTimeout

func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams

WithTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WriteToRequest

func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPolicyReader

type GetPolicyReader struct {
	// contains filtered or unexported fields
}

GetPolicyReader is a Reader for the GetPolicy structure.

func (*GetPolicyReader) ReadResponse

func (o *GetPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPolicyStatusForUserInternalServerError

type GetPolicyStatusForUserInternalServerError struct {
	Payload *models.Error
}
GetPolicyStatusForUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetPolicyStatusForUserInternalServerError

func NewGetPolicyStatusForUserInternalServerError() *GetPolicyStatusForUserInternalServerError

NewGetPolicyStatusForUserInternalServerError creates a GetPolicyStatusForUserInternalServerError with default headers values

func (*GetPolicyStatusForUserInternalServerError) Error

func (*GetPolicyStatusForUserInternalServerError) GetPayload

func (*GetPolicyStatusForUserInternalServerError) IsClientError

IsClientError returns true when this get policy status for user internal server error response has a 4xx status code

func (*GetPolicyStatusForUserInternalServerError) IsCode

IsCode returns true when this get policy status for user internal server error response a status code equal to that given

func (*GetPolicyStatusForUserInternalServerError) IsRedirect

IsRedirect returns true when this get policy status for user internal server error response has a 3xx status code

func (*GetPolicyStatusForUserInternalServerError) IsServerError

IsServerError returns true when this get policy status for user internal server error response has a 5xx status code

func (*GetPolicyStatusForUserInternalServerError) IsSuccess

IsSuccess returns true when this get policy status for user internal server error response has a 2xx status code

func (*GetPolicyStatusForUserInternalServerError) String

type GetPolicyStatusForUserNotFound

type GetPolicyStatusForUserNotFound struct {
	Payload *models.Error
}
GetPolicyStatusForUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetPolicyStatusForUserNotFound

func NewGetPolicyStatusForUserNotFound() *GetPolicyStatusForUserNotFound

NewGetPolicyStatusForUserNotFound creates a GetPolicyStatusForUserNotFound with default headers values

func (*GetPolicyStatusForUserNotFound) Error

func (*GetPolicyStatusForUserNotFound) GetPayload

func (o *GetPolicyStatusForUserNotFound) GetPayload() *models.Error

func (*GetPolicyStatusForUserNotFound) IsClientError

func (o *GetPolicyStatusForUserNotFound) IsClientError() bool

IsClientError returns true when this get policy status for user not found response has a 4xx status code

func (*GetPolicyStatusForUserNotFound) IsCode

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

IsCode returns true when this get policy status for user not found response a status code equal to that given

func (*GetPolicyStatusForUserNotFound) IsRedirect

func (o *GetPolicyStatusForUserNotFound) IsRedirect() bool

IsRedirect returns true when this get policy status for user not found response has a 3xx status code

func (*GetPolicyStatusForUserNotFound) IsServerError

func (o *GetPolicyStatusForUserNotFound) IsServerError() bool

IsServerError returns true when this get policy status for user not found response has a 5xx status code

func (*GetPolicyStatusForUserNotFound) IsSuccess

func (o *GetPolicyStatusForUserNotFound) IsSuccess() bool

IsSuccess returns true when this get policy status for user not found response has a 2xx status code

func (*GetPolicyStatusForUserNotFound) String

type GetPolicyStatusForUserOK

type GetPolicyStatusForUserOK struct {
	Payload *models.PolicyStatus
}
GetPolicyStatusForUserOK describes a response with status code 200, with default header values.

OK

func NewGetPolicyStatusForUserOK

func NewGetPolicyStatusForUserOK() *GetPolicyStatusForUserOK

NewGetPolicyStatusForUserOK creates a GetPolicyStatusForUserOK with default headers values

func (*GetPolicyStatusForUserOK) Error

func (o *GetPolicyStatusForUserOK) Error() string

func (*GetPolicyStatusForUserOK) GetPayload

func (o *GetPolicyStatusForUserOK) GetPayload() *models.PolicyStatus

func (*GetPolicyStatusForUserOK) IsClientError

func (o *GetPolicyStatusForUserOK) IsClientError() bool

IsClientError returns true when this get policy status for user o k response has a 4xx status code

func (*GetPolicyStatusForUserOK) IsCode

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

IsCode returns true when this get policy status for user o k response a status code equal to that given

func (*GetPolicyStatusForUserOK) IsRedirect

func (o *GetPolicyStatusForUserOK) IsRedirect() bool

IsRedirect returns true when this get policy status for user o k response has a 3xx status code

func (*GetPolicyStatusForUserOK) IsServerError

func (o *GetPolicyStatusForUserOK) IsServerError() bool

IsServerError returns true when this get policy status for user o k response has a 5xx status code

func (*GetPolicyStatusForUserOK) IsSuccess

func (o *GetPolicyStatusForUserOK) IsSuccess() bool

IsSuccess returns true when this get policy status for user o k response has a 2xx status code

func (*GetPolicyStatusForUserOK) String

func (o *GetPolicyStatusForUserOK) String() string

type GetPolicyStatusForUserParams

type GetPolicyStatusForUserParams struct {

	// PolicyName.
	PolicyName string

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPolicyStatusForUserParams contains all the parameters to send to the API endpoint

for the get policy status for user operation.

Typically these are written to a http.Request.

func NewGetPolicyStatusForUserParams

func NewGetPolicyStatusForUserParams() *GetPolicyStatusForUserParams

NewGetPolicyStatusForUserParams creates a new GetPolicyStatusForUserParams 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 NewGetPolicyStatusForUserParamsWithContext

func NewGetPolicyStatusForUserParamsWithContext(ctx context.Context) *GetPolicyStatusForUserParams

NewGetPolicyStatusForUserParamsWithContext creates a new GetPolicyStatusForUserParams object with the ability to set a context for a request.

func NewGetPolicyStatusForUserParamsWithHTTPClient

func NewGetPolicyStatusForUserParamsWithHTTPClient(client *http.Client) *GetPolicyStatusForUserParams

NewGetPolicyStatusForUserParamsWithHTTPClient creates a new GetPolicyStatusForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetPolicyStatusForUserParamsWithTimeout

func NewGetPolicyStatusForUserParamsWithTimeout(timeout time.Duration) *GetPolicyStatusForUserParams

NewGetPolicyStatusForUserParamsWithTimeout creates a new GetPolicyStatusForUserParams object with the ability to set a timeout on a request.

func (*GetPolicyStatusForUserParams) SetContext

func (o *GetPolicyStatusForUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get policy status for user params

func (*GetPolicyStatusForUserParams) SetDefaults

func (o *GetPolicyStatusForUserParams) SetDefaults()

SetDefaults hydrates default values in the get policy status for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyStatusForUserParams) SetHTTPClient

func (o *GetPolicyStatusForUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policy status for user params

func (*GetPolicyStatusForUserParams) SetPolicyName

func (o *GetPolicyStatusForUserParams) SetPolicyName(policyName string)

SetPolicyName adds the policyName to the get policy status for user params

func (*GetPolicyStatusForUserParams) SetTimeout

func (o *GetPolicyStatusForUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policy status for user params

func (*GetPolicyStatusForUserParams) SetUserName

func (o *GetPolicyStatusForUserParams) SetUserName(userName string)

SetUserName adds the userName to the get policy status for user params

func (*GetPolicyStatusForUserParams) WithContext

WithContext adds the context to the get policy status for user params

func (*GetPolicyStatusForUserParams) WithDefaults

WithDefaults hydrates default values in the get policy status for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetPolicyStatusForUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get policy status for user params

func (*GetPolicyStatusForUserParams) WithPolicyName

func (o *GetPolicyStatusForUserParams) WithPolicyName(policyName string) *GetPolicyStatusForUserParams

WithPolicyName adds the policyName to the get policy status for user params

func (*GetPolicyStatusForUserParams) WithTimeout

WithTimeout adds the timeout to the get policy status for user params

func (*GetPolicyStatusForUserParams) WithUserName

WithUserName adds the userName to the get policy status for user params

func (*GetPolicyStatusForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPolicyStatusForUserReader

type GetPolicyStatusForUserReader struct {
	// contains filtered or unexported fields
}

GetPolicyStatusForUserReader is a Reader for the GetPolicyStatusForUser structure.

func (*GetPolicyStatusForUserReader) ReadResponse

func (o *GetPolicyStatusForUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPolicyStatusForUserUnauthorized

type GetPolicyStatusForUserUnauthorized struct {
	Payload *models.Error
}
GetPolicyStatusForUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPolicyStatusForUserUnauthorized

func NewGetPolicyStatusForUserUnauthorized() *GetPolicyStatusForUserUnauthorized

NewGetPolicyStatusForUserUnauthorized creates a GetPolicyStatusForUserUnauthorized with default headers values

func (*GetPolicyStatusForUserUnauthorized) Error

func (*GetPolicyStatusForUserUnauthorized) GetPayload

func (*GetPolicyStatusForUserUnauthorized) IsClientError

func (o *GetPolicyStatusForUserUnauthorized) IsClientError() bool

IsClientError returns true when this get policy status for user unauthorized response has a 4xx status code

func (*GetPolicyStatusForUserUnauthorized) IsCode

IsCode returns true when this get policy status for user unauthorized response a status code equal to that given

func (*GetPolicyStatusForUserUnauthorized) IsRedirect

func (o *GetPolicyStatusForUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get policy status for user unauthorized response has a 3xx status code

func (*GetPolicyStatusForUserUnauthorized) IsServerError

func (o *GetPolicyStatusForUserUnauthorized) IsServerError() bool

IsServerError returns true when this get policy status for user unauthorized response has a 5xx status code

func (*GetPolicyStatusForUserUnauthorized) IsSuccess

IsSuccess returns true when this get policy status for user unauthorized response has a 2xx status code

func (*GetPolicyStatusForUserUnauthorized) String

type GetPolicyUnauthorized

type GetPolicyUnauthorized struct {
	Payload *models.Error
}
GetPolicyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPolicyUnauthorized

func NewGetPolicyUnauthorized() *GetPolicyUnauthorized

NewGetPolicyUnauthorized creates a GetPolicyUnauthorized with default headers values

func (*GetPolicyUnauthorized) Error

func (o *GetPolicyUnauthorized) Error() string

func (*GetPolicyUnauthorized) GetPayload

func (o *GetPolicyUnauthorized) GetPayload() *models.Error

func (*GetPolicyUnauthorized) IsClientError

func (o *GetPolicyUnauthorized) IsClientError() bool

IsClientError returns true when this get policy unauthorized response has a 4xx status code

func (*GetPolicyUnauthorized) IsCode

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

IsCode returns true when this get policy unauthorized response a status code equal to that given

func (*GetPolicyUnauthorized) IsRedirect

func (o *GetPolicyUnauthorized) IsRedirect() bool

IsRedirect returns true when this get policy unauthorized response has a 3xx status code

func (*GetPolicyUnauthorized) IsServerError

func (o *GetPolicyUnauthorized) IsServerError() bool

IsServerError returns true when this get policy unauthorized response has a 5xx status code

func (*GetPolicyUnauthorized) IsSuccess

func (o *GetPolicyUnauthorized) IsSuccess() bool

IsSuccess returns true when this get policy unauthorized response has a 2xx status code

func (*GetPolicyUnauthorized) String

func (o *GetPolicyUnauthorized) String() string

type GetStoreStatusUserInternalServerError

type GetStoreStatusUserInternalServerError struct {
	Payload *models.Error
}
GetStoreStatusUserInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetStoreStatusUserInternalServerError

func NewGetStoreStatusUserInternalServerError() *GetStoreStatusUserInternalServerError

NewGetStoreStatusUserInternalServerError creates a GetStoreStatusUserInternalServerError with default headers values

func (*GetStoreStatusUserInternalServerError) Error

func (*GetStoreStatusUserInternalServerError) GetPayload

func (*GetStoreStatusUserInternalServerError) IsClientError

func (o *GetStoreStatusUserInternalServerError) IsClientError() bool

IsClientError returns true when this get store status user internal server error response has a 4xx status code

func (*GetStoreStatusUserInternalServerError) IsCode

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

func (*GetStoreStatusUserInternalServerError) IsRedirect

IsRedirect returns true when this get store status user internal server error response has a 3xx status code

func (*GetStoreStatusUserInternalServerError) IsServerError

func (o *GetStoreStatusUserInternalServerError) IsServerError() bool

IsServerError returns true when this get store status user internal server error response has a 5xx status code

func (*GetStoreStatusUserInternalServerError) IsSuccess

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

func (*GetStoreStatusUserInternalServerError) String

type GetStoreStatusUserNotFound

type GetStoreStatusUserNotFound struct {
	Payload *models.Error
}
GetStoreStatusUserNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetStoreStatusUserNotFound

func NewGetStoreStatusUserNotFound() *GetStoreStatusUserNotFound

NewGetStoreStatusUserNotFound creates a GetStoreStatusUserNotFound with default headers values

func (*GetStoreStatusUserNotFound) Error

func (*GetStoreStatusUserNotFound) GetPayload

func (o *GetStoreStatusUserNotFound) GetPayload() *models.Error

func (*GetStoreStatusUserNotFound) IsClientError

func (o *GetStoreStatusUserNotFound) IsClientError() bool

IsClientError returns true when this get store status user not found response has a 4xx status code

func (*GetStoreStatusUserNotFound) IsCode

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

IsCode returns true when this get store status user not found response a status code equal to that given

func (*GetStoreStatusUserNotFound) IsRedirect

func (o *GetStoreStatusUserNotFound) IsRedirect() bool

IsRedirect returns true when this get store status user not found response has a 3xx status code

func (*GetStoreStatusUserNotFound) IsServerError

func (o *GetStoreStatusUserNotFound) IsServerError() bool

IsServerError returns true when this get store status user not found response has a 5xx status code

func (*GetStoreStatusUserNotFound) IsSuccess

func (o *GetStoreStatusUserNotFound) IsSuccess() bool

IsSuccess returns true when this get store status user not found response has a 2xx status code

func (*GetStoreStatusUserNotFound) String

func (o *GetStoreStatusUserNotFound) String() string

type GetStoreStatusUserOK

type GetStoreStatusUserOK struct {
	Payload *models.StoreStatusUser
}
GetStoreStatusUserOK describes a response with status code 200, with default header values.

OK

func NewGetStoreStatusUserOK

func NewGetStoreStatusUserOK() *GetStoreStatusUserOK

NewGetStoreStatusUserOK creates a GetStoreStatusUserOK with default headers values

func (*GetStoreStatusUserOK) Error

func (o *GetStoreStatusUserOK) Error() string

func (*GetStoreStatusUserOK) GetPayload

func (o *GetStoreStatusUserOK) GetPayload() *models.StoreStatusUser

func (*GetStoreStatusUserOK) IsClientError

func (o *GetStoreStatusUserOK) IsClientError() bool

IsClientError returns true when this get store status user o k response has a 4xx status code

func (*GetStoreStatusUserOK) IsCode

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

IsCode returns true when this get store status user o k response a status code equal to that given

func (*GetStoreStatusUserOK) IsRedirect

func (o *GetStoreStatusUserOK) IsRedirect() bool

IsRedirect returns true when this get store status user o k response has a 3xx status code

func (*GetStoreStatusUserOK) IsServerError

func (o *GetStoreStatusUserOK) IsServerError() bool

IsServerError returns true when this get store status user o k response has a 5xx status code

func (*GetStoreStatusUserOK) IsSuccess

func (o *GetStoreStatusUserOK) IsSuccess() bool

IsSuccess returns true when this get store status user o k response has a 2xx status code

func (*GetStoreStatusUserOK) String

func (o *GetStoreStatusUserOK) String() string

type GetStoreStatusUserParams

type GetStoreStatusUserParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStoreStatusUserParams contains all the parameters to send to the API endpoint

for the get store status user operation.

Typically these are written to a http.Request.

func NewGetStoreStatusUserParams

func NewGetStoreStatusUserParams() *GetStoreStatusUserParams

NewGetStoreStatusUserParams creates a new GetStoreStatusUserParams 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 NewGetStoreStatusUserParamsWithContext

func NewGetStoreStatusUserParamsWithContext(ctx context.Context) *GetStoreStatusUserParams

NewGetStoreStatusUserParamsWithContext creates a new GetStoreStatusUserParams object with the ability to set a context for a request.

func NewGetStoreStatusUserParamsWithHTTPClient

func NewGetStoreStatusUserParamsWithHTTPClient(client *http.Client) *GetStoreStatusUserParams

NewGetStoreStatusUserParamsWithHTTPClient creates a new GetStoreStatusUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetStoreStatusUserParamsWithTimeout

func NewGetStoreStatusUserParamsWithTimeout(timeout time.Duration) *GetStoreStatusUserParams

NewGetStoreStatusUserParamsWithTimeout creates a new GetStoreStatusUserParams object with the ability to set a timeout on a request.

func (*GetStoreStatusUserParams) SetContext

func (o *GetStoreStatusUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get store status user params

func (*GetStoreStatusUserParams) SetDefaults

func (o *GetStoreStatusUserParams) SetDefaults()

SetDefaults hydrates default values in the get store status user params (not the query body).

All values with no default are reset to their zero value.

func (*GetStoreStatusUserParams) SetHTTPClient

func (o *GetStoreStatusUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get store status user params

func (*GetStoreStatusUserParams) SetTimeout

func (o *GetStoreStatusUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get store status user params

func (*GetStoreStatusUserParams) WithContext

WithContext adds the context to the get store status user params

func (*GetStoreStatusUserParams) WithDefaults

WithDefaults hydrates default values in the get store status user params (not the query body).

All values with no default are reset to their zero value.

func (*GetStoreStatusUserParams) WithHTTPClient

func (o *GetStoreStatusUserParams) WithHTTPClient(client *http.Client) *GetStoreStatusUserParams

WithHTTPClient adds the HTTPClient to the get store status user params

func (*GetStoreStatusUserParams) WithTimeout

WithTimeout adds the timeout to the get store status user params

func (*GetStoreStatusUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStoreStatusUserReader

type GetStoreStatusUserReader struct {
	// contains filtered or unexported fields
}

GetStoreStatusUserReader is a Reader for the GetStoreStatusUser structure.

func (*GetStoreStatusUserReader) ReadResponse

func (o *GetStoreStatusUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStoreStatusUserUnauthorized

type GetStoreStatusUserUnauthorized struct {
	Payload *models.Error
}
GetStoreStatusUserUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetStoreStatusUserUnauthorized

func NewGetStoreStatusUserUnauthorized() *GetStoreStatusUserUnauthorized

NewGetStoreStatusUserUnauthorized creates a GetStoreStatusUserUnauthorized with default headers values

func (*GetStoreStatusUserUnauthorized) Error

func (*GetStoreStatusUserUnauthorized) GetPayload

func (o *GetStoreStatusUserUnauthorized) GetPayload() *models.Error

func (*GetStoreStatusUserUnauthorized) IsClientError

func (o *GetStoreStatusUserUnauthorized) IsClientError() bool

IsClientError returns true when this get store status user unauthorized response has a 4xx status code

func (*GetStoreStatusUserUnauthorized) IsCode

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

IsCode returns true when this get store status user unauthorized response a status code equal to that given

func (*GetStoreStatusUserUnauthorized) IsRedirect

func (o *GetStoreStatusUserUnauthorized) IsRedirect() bool

IsRedirect returns true when this get store status user unauthorized response has a 3xx status code

func (*GetStoreStatusUserUnauthorized) IsServerError

func (o *GetStoreStatusUserUnauthorized) IsServerError() bool

IsServerError returns true when this get store status user unauthorized response has a 5xx status code

func (*GetStoreStatusUserUnauthorized) IsSuccess

func (o *GetStoreStatusUserUnauthorized) IsSuccess() bool

IsSuccess returns true when this get store status user unauthorized response has a 2xx status code

func (*GetStoreStatusUserUnauthorized) String

type MakeBookingConflict

type MakeBookingConflict struct {
	Payload interface{}
}
MakeBookingConflict describes a response with status code 409, with default header values.

Conflict - unavailable for the requested interval

func NewMakeBookingConflict

func NewMakeBookingConflict() *MakeBookingConflict

NewMakeBookingConflict creates a MakeBookingConflict with default headers values

func (*MakeBookingConflict) Error

func (o *MakeBookingConflict) Error() string

func (*MakeBookingConflict) GetPayload

func (o *MakeBookingConflict) GetPayload() interface{}

func (*MakeBookingConflict) IsClientError

func (o *MakeBookingConflict) IsClientError() bool

IsClientError returns true when this make booking conflict response has a 4xx status code

func (*MakeBookingConflict) IsCode

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

IsCode returns true when this make booking conflict response a status code equal to that given

func (*MakeBookingConflict) IsRedirect

func (o *MakeBookingConflict) IsRedirect() bool

IsRedirect returns true when this make booking conflict response has a 3xx status code

func (*MakeBookingConflict) IsServerError

func (o *MakeBookingConflict) IsServerError() bool

IsServerError returns true when this make booking conflict response has a 5xx status code

func (*MakeBookingConflict) IsSuccess

func (o *MakeBookingConflict) IsSuccess() bool

IsSuccess returns true when this make booking conflict response has a 2xx status code

func (*MakeBookingConflict) String

func (o *MakeBookingConflict) String() string

type MakeBookingInternalServerError

type MakeBookingInternalServerError struct {
	Payload *models.Error
}
MakeBookingInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewMakeBookingInternalServerError

func NewMakeBookingInternalServerError() *MakeBookingInternalServerError

NewMakeBookingInternalServerError creates a MakeBookingInternalServerError with default headers values

func (*MakeBookingInternalServerError) Error

func (*MakeBookingInternalServerError) GetPayload

func (o *MakeBookingInternalServerError) GetPayload() *models.Error

func (*MakeBookingInternalServerError) IsClientError

func (o *MakeBookingInternalServerError) IsClientError() bool

IsClientError returns true when this make booking internal server error response has a 4xx status code

func (*MakeBookingInternalServerError) IsCode

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

IsCode returns true when this make booking internal server error response a status code equal to that given

func (*MakeBookingInternalServerError) IsRedirect

func (o *MakeBookingInternalServerError) IsRedirect() bool

IsRedirect returns true when this make booking internal server error response has a 3xx status code

func (*MakeBookingInternalServerError) IsServerError

func (o *MakeBookingInternalServerError) IsServerError() bool

IsServerError returns true when this make booking internal server error response has a 5xx status code

func (*MakeBookingInternalServerError) IsSuccess

func (o *MakeBookingInternalServerError) IsSuccess() bool

IsSuccess returns true when this make booking internal server error response has a 2xx status code

func (*MakeBookingInternalServerError) String

type MakeBookingNoContent

type MakeBookingNoContent struct {
}
MakeBookingNoContent describes a response with status code 204, with default header values.

OK - No Content

func NewMakeBookingNoContent

func NewMakeBookingNoContent() *MakeBookingNoContent

NewMakeBookingNoContent creates a MakeBookingNoContent with default headers values

func (*MakeBookingNoContent) Error

func (o *MakeBookingNoContent) Error() string

func (*MakeBookingNoContent) IsClientError

func (o *MakeBookingNoContent) IsClientError() bool

IsClientError returns true when this make booking no content response has a 4xx status code

func (*MakeBookingNoContent) IsCode

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

IsCode returns true when this make booking no content response a status code equal to that given

func (*MakeBookingNoContent) IsRedirect

func (o *MakeBookingNoContent) IsRedirect() bool

IsRedirect returns true when this make booking no content response has a 3xx status code

func (*MakeBookingNoContent) IsServerError

func (o *MakeBookingNoContent) IsServerError() bool

IsServerError returns true when this make booking no content response has a 5xx status code

func (*MakeBookingNoContent) IsSuccess

func (o *MakeBookingNoContent) IsSuccess() bool

IsSuccess returns true when this make booking no content response has a 2xx status code

func (*MakeBookingNoContent) String

func (o *MakeBookingNoContent) String() string

type MakeBookingNotFound

type MakeBookingNotFound struct {
	Payload *models.Error
}
MakeBookingNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewMakeBookingNotFound

func NewMakeBookingNotFound() *MakeBookingNotFound

NewMakeBookingNotFound creates a MakeBookingNotFound with default headers values

func (*MakeBookingNotFound) Error

func (o *MakeBookingNotFound) Error() string

func (*MakeBookingNotFound) GetPayload

func (o *MakeBookingNotFound) GetPayload() *models.Error

func (*MakeBookingNotFound) IsClientError

func (o *MakeBookingNotFound) IsClientError() bool

IsClientError returns true when this make booking not found response has a 4xx status code

func (*MakeBookingNotFound) IsCode

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

IsCode returns true when this make booking not found response a status code equal to that given

func (*MakeBookingNotFound) IsRedirect

func (o *MakeBookingNotFound) IsRedirect() bool

IsRedirect returns true when this make booking not found response has a 3xx status code

func (*MakeBookingNotFound) IsServerError

func (o *MakeBookingNotFound) IsServerError() bool

IsServerError returns true when this make booking not found response has a 5xx status code

func (*MakeBookingNotFound) IsSuccess

func (o *MakeBookingNotFound) IsSuccess() bool

IsSuccess returns true when this make booking not found response has a 2xx status code

func (*MakeBookingNotFound) String

func (o *MakeBookingNotFound) String() string

type MakeBookingParams

type MakeBookingParams struct {

	// From.
	//
	// Format: date-time
	From strfmt.DateTime

	// SlotName.
	SlotName string

	// To.
	//
	// Format: date-time
	To strfmt.DateTime

	// UserName.
	UserName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MakeBookingParams contains all the parameters to send to the API endpoint

for the make booking operation.

Typically these are written to a http.Request.

func NewMakeBookingParams

func NewMakeBookingParams() *MakeBookingParams

NewMakeBookingParams creates a new MakeBookingParams 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 NewMakeBookingParamsWithContext

func NewMakeBookingParamsWithContext(ctx context.Context) *MakeBookingParams

NewMakeBookingParamsWithContext creates a new MakeBookingParams object with the ability to set a context for a request.

func NewMakeBookingParamsWithHTTPClient

func NewMakeBookingParamsWithHTTPClient(client *http.Client) *MakeBookingParams

NewMakeBookingParamsWithHTTPClient creates a new MakeBookingParams object with the ability to set a custom HTTPClient for a request.

func NewMakeBookingParamsWithTimeout

func NewMakeBookingParamsWithTimeout(timeout time.Duration) *MakeBookingParams

NewMakeBookingParamsWithTimeout creates a new MakeBookingParams object with the ability to set a timeout on a request.

func (*MakeBookingParams) SetContext

func (o *MakeBookingParams) SetContext(ctx context.Context)

SetContext adds the context to the make booking params

func (*MakeBookingParams) SetDefaults

func (o *MakeBookingParams) SetDefaults()

SetDefaults hydrates default values in the make booking params (not the query body).

All values with no default are reset to their zero value.

func (*MakeBookingParams) SetFrom

func (o *MakeBookingParams) SetFrom(from strfmt.DateTime)

SetFrom adds the from to the make booking params

func (*MakeBookingParams) SetHTTPClient

func (o *MakeBookingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the make booking params

func (*MakeBookingParams) SetSlotName

func (o *MakeBookingParams) SetSlotName(slotName string)

SetSlotName adds the slotName to the make booking params

func (*MakeBookingParams) SetTimeout

func (o *MakeBookingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the make booking params

func (*MakeBookingParams) SetTo

func (o *MakeBookingParams) SetTo(to strfmt.DateTime)

SetTo adds the to to the make booking params

func (*MakeBookingParams) SetUserName

func (o *MakeBookingParams) SetUserName(userName string)

SetUserName adds the userName to the make booking params

func (*MakeBookingParams) WithContext

func (o *MakeBookingParams) WithContext(ctx context.Context) *MakeBookingParams

WithContext adds the context to the make booking params

func (*MakeBookingParams) WithDefaults

func (o *MakeBookingParams) WithDefaults() *MakeBookingParams

WithDefaults hydrates default values in the make booking params (not the query body).

All values with no default are reset to their zero value.

func (*MakeBookingParams) WithFrom

WithFrom adds the from to the make booking params

func (*MakeBookingParams) WithHTTPClient

func (o *MakeBookingParams) WithHTTPClient(client *http.Client) *MakeBookingParams

WithHTTPClient adds the HTTPClient to the make booking params

func (*MakeBookingParams) WithSlotName

func (o *MakeBookingParams) WithSlotName(slotName string) *MakeBookingParams

WithSlotName adds the slotName to the make booking params

func (*MakeBookingParams) WithTimeout

func (o *MakeBookingParams) WithTimeout(timeout time.Duration) *MakeBookingParams

WithTimeout adds the timeout to the make booking params

func (*MakeBookingParams) WithTo

WithTo adds the to to the make booking params

func (*MakeBookingParams) WithUserName

func (o *MakeBookingParams) WithUserName(userName string) *MakeBookingParams

WithUserName adds the userName to the make booking params

func (*MakeBookingParams) WriteToRequest

func (o *MakeBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MakeBookingReader

type MakeBookingReader struct {
	// contains filtered or unexported fields
}

MakeBookingReader is a Reader for the MakeBooking structure.

func (*MakeBookingReader) ReadResponse

func (o *MakeBookingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MakeBookingUnauthorized

type MakeBookingUnauthorized struct {
	Payload *models.Error
}
MakeBookingUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewMakeBookingUnauthorized

func NewMakeBookingUnauthorized() *MakeBookingUnauthorized

NewMakeBookingUnauthorized creates a MakeBookingUnauthorized with default headers values

func (*MakeBookingUnauthorized) Error

func (o *MakeBookingUnauthorized) Error() string

func (*MakeBookingUnauthorized) GetPayload

func (o *MakeBookingUnauthorized) GetPayload() *models.Error

func (*MakeBookingUnauthorized) IsClientError

func (o *MakeBookingUnauthorized) IsClientError() bool

IsClientError returns true when this make booking unauthorized response has a 4xx status code

func (*MakeBookingUnauthorized) IsCode

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

IsCode returns true when this make booking unauthorized response a status code equal to that given

func (*MakeBookingUnauthorized) IsRedirect

func (o *MakeBookingUnauthorized) IsRedirect() bool

IsRedirect returns true when this make booking unauthorized response has a 3xx status code

func (*MakeBookingUnauthorized) IsServerError

func (o *MakeBookingUnauthorized) IsServerError() bool

IsServerError returns true when this make booking unauthorized response has a 5xx status code

func (*MakeBookingUnauthorized) IsSuccess

func (o *MakeBookingUnauthorized) IsSuccess() bool

IsSuccess returns true when this make booking unauthorized response has a 2xx status code

func (*MakeBookingUnauthorized) String

func (o *MakeBookingUnauthorized) String() string

type UniqueNameInternalServerError

type UniqueNameInternalServerError struct {
	Payload *models.Error
}
UniqueNameInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewUniqueNameInternalServerError

func NewUniqueNameInternalServerError() *UniqueNameInternalServerError

NewUniqueNameInternalServerError creates a UniqueNameInternalServerError with default headers values

func (*UniqueNameInternalServerError) Error

func (*UniqueNameInternalServerError) GetPayload

func (o *UniqueNameInternalServerError) GetPayload() *models.Error

func (*UniqueNameInternalServerError) IsClientError

func (o *UniqueNameInternalServerError) IsClientError() bool

IsClientError returns true when this unique name internal server error response has a 4xx status code

func (*UniqueNameInternalServerError) IsCode

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

IsCode returns true when this unique name internal server error response a status code equal to that given

func (*UniqueNameInternalServerError) IsRedirect

func (o *UniqueNameInternalServerError) IsRedirect() bool

IsRedirect returns true when this unique name internal server error response has a 3xx status code

func (*UniqueNameInternalServerError) IsServerError

func (o *UniqueNameInternalServerError) IsServerError() bool

IsServerError returns true when this unique name internal server error response has a 5xx status code

func (*UniqueNameInternalServerError) IsSuccess

func (o *UniqueNameInternalServerError) IsSuccess() bool

IsSuccess returns true when this unique name internal server error response has a 2xx status code

func (*UniqueNameInternalServerError) String

type UniqueNameOK

type UniqueNameOK struct {
	Payload *models.UserName
}
UniqueNameOK describes a response with status code 200, with default header values.

OK

func NewUniqueNameOK

func NewUniqueNameOK() *UniqueNameOK

NewUniqueNameOK creates a UniqueNameOK with default headers values

func (*UniqueNameOK) Error

func (o *UniqueNameOK) Error() string

func (*UniqueNameOK) GetPayload

func (o *UniqueNameOK) GetPayload() *models.UserName

func (*UniqueNameOK) IsClientError

func (o *UniqueNameOK) IsClientError() bool

IsClientError returns true when this unique name o k response has a 4xx status code

func (*UniqueNameOK) IsCode

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

IsCode returns true when this unique name o k response a status code equal to that given

func (*UniqueNameOK) IsRedirect

func (o *UniqueNameOK) IsRedirect() bool

IsRedirect returns true when this unique name o k response has a 3xx status code

func (*UniqueNameOK) IsServerError

func (o *UniqueNameOK) IsServerError() bool

IsServerError returns true when this unique name o k response has a 5xx status code

func (*UniqueNameOK) IsSuccess

func (o *UniqueNameOK) IsSuccess() bool

IsSuccess returns true when this unique name o k response has a 2xx status code

func (*UniqueNameOK) String

func (o *UniqueNameOK) String() string

type UniqueNameParams

type UniqueNameParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UniqueNameParams contains all the parameters to send to the API endpoint

for the unique name operation.

Typically these are written to a http.Request.

func NewUniqueNameParams

func NewUniqueNameParams() *UniqueNameParams

NewUniqueNameParams creates a new UniqueNameParams 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 NewUniqueNameParamsWithContext

func NewUniqueNameParamsWithContext(ctx context.Context) *UniqueNameParams

NewUniqueNameParamsWithContext creates a new UniqueNameParams object with the ability to set a context for a request.

func NewUniqueNameParamsWithHTTPClient

func NewUniqueNameParamsWithHTTPClient(client *http.Client) *UniqueNameParams

NewUniqueNameParamsWithHTTPClient creates a new UniqueNameParams object with the ability to set a custom HTTPClient for a request.

func NewUniqueNameParamsWithTimeout

func NewUniqueNameParamsWithTimeout(timeout time.Duration) *UniqueNameParams

NewUniqueNameParamsWithTimeout creates a new UniqueNameParams object with the ability to set a timeout on a request.

func (*UniqueNameParams) SetContext

func (o *UniqueNameParams) SetContext(ctx context.Context)

SetContext adds the context to the unique name params

func (*UniqueNameParams) SetDefaults

func (o *UniqueNameParams) SetDefaults()

SetDefaults hydrates default values in the unique name params (not the query body).

All values with no default are reset to their zero value.

func (*UniqueNameParams) SetHTTPClient

func (o *UniqueNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unique name params

func (*UniqueNameParams) SetTimeout

func (o *UniqueNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unique name params

func (*UniqueNameParams) WithContext

func (o *UniqueNameParams) WithContext(ctx context.Context) *UniqueNameParams

WithContext adds the context to the unique name params

func (*UniqueNameParams) WithDefaults

func (o *UniqueNameParams) WithDefaults() *UniqueNameParams

WithDefaults hydrates default values in the unique name params (not the query body).

All values with no default are reset to their zero value.

func (*UniqueNameParams) WithHTTPClient

func (o *UniqueNameParams) WithHTTPClient(client *http.Client) *UniqueNameParams

WithHTTPClient adds the HTTPClient to the unique name params

func (*UniqueNameParams) WithTimeout

func (o *UniqueNameParams) WithTimeout(timeout time.Duration) *UniqueNameParams

WithTimeout adds the timeout to the unique name params

func (*UniqueNameParams) WriteToRequest

func (o *UniqueNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UniqueNameReader

type UniqueNameReader struct {
	// contains filtered or unexported fields
}

UniqueNameReader is a Reader for the UniqueName structure.

func (*UniqueNameReader) ReadResponse

func (o *UniqueNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UniqueNameUnauthorized

type UniqueNameUnauthorized struct {
	Payload *models.Error
}
UniqueNameUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUniqueNameUnauthorized

func NewUniqueNameUnauthorized() *UniqueNameUnauthorized

NewUniqueNameUnauthorized creates a UniqueNameUnauthorized with default headers values

func (*UniqueNameUnauthorized) Error

func (o *UniqueNameUnauthorized) Error() string

func (*UniqueNameUnauthorized) GetPayload

func (o *UniqueNameUnauthorized) GetPayload() *models.Error

func (*UniqueNameUnauthorized) IsClientError

func (o *UniqueNameUnauthorized) IsClientError() bool

IsClientError returns true when this unique name unauthorized response has a 4xx status code

func (*UniqueNameUnauthorized) IsCode

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

IsCode returns true when this unique name unauthorized response a status code equal to that given

func (*UniqueNameUnauthorized) IsRedirect

func (o *UniqueNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this unique name unauthorized response has a 3xx status code

func (*UniqueNameUnauthorized) IsServerError

func (o *UniqueNameUnauthorized) IsServerError() bool

IsServerError returns true when this unique name unauthorized response has a 5xx status code

func (*UniqueNameUnauthorized) IsSuccess

func (o *UniqueNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this unique name unauthorized response has a 2xx status code

func (*UniqueNameUnauthorized) String

func (o *UniqueNameUnauthorized) String() string

Jump to

Keyboard shortcuts

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