Documentation ¶
Index ¶
- type AddGroupForUserInternalServerError
- func (o *AddGroupForUserInternalServerError) Error() string
- func (o *AddGroupForUserInternalServerError) GetPayload() *models.Error
- func (o *AddGroupForUserInternalServerError) IsClientError() bool
- func (o *AddGroupForUserInternalServerError) IsCode(code int) bool
- func (o *AddGroupForUserInternalServerError) IsRedirect() bool
- func (o *AddGroupForUserInternalServerError) IsServerError() bool
- func (o *AddGroupForUserInternalServerError) IsSuccess() bool
- func (o *AddGroupForUserInternalServerError) String() string
- type AddGroupForUserNoContent
- func (o *AddGroupForUserNoContent) Error() string
- func (o *AddGroupForUserNoContent) IsClientError() bool
- func (o *AddGroupForUserNoContent) IsCode(code int) bool
- func (o *AddGroupForUserNoContent) IsRedirect() bool
- func (o *AddGroupForUserNoContent) IsServerError() bool
- func (o *AddGroupForUserNoContent) IsSuccess() bool
- func (o *AddGroupForUserNoContent) String() string
- type AddGroupForUserNotFound
- func (o *AddGroupForUserNotFound) Error() string
- func (o *AddGroupForUserNotFound) GetPayload() *models.Error
- func (o *AddGroupForUserNotFound) IsClientError() bool
- func (o *AddGroupForUserNotFound) IsCode(code int) bool
- func (o *AddGroupForUserNotFound) IsRedirect() bool
- func (o *AddGroupForUserNotFound) IsServerError() bool
- func (o *AddGroupForUserNotFound) IsSuccess() bool
- func (o *AddGroupForUserNotFound) String() string
- type AddGroupForUserParams
- func NewAddGroupForUserParams() *AddGroupForUserParams
- func NewAddGroupForUserParamsWithContext(ctx context.Context) *AddGroupForUserParams
- func NewAddGroupForUserParamsWithHTTPClient(client *http.Client) *AddGroupForUserParams
- func NewAddGroupForUserParamsWithTimeout(timeout time.Duration) *AddGroupForUserParams
- func (o *AddGroupForUserParams) SetContext(ctx context.Context)
- func (o *AddGroupForUserParams) SetDefaults()
- func (o *AddGroupForUserParams) SetGroupName(groupName string)
- func (o *AddGroupForUserParams) SetHTTPClient(client *http.Client)
- func (o *AddGroupForUserParams) SetTimeout(timeout time.Duration)
- func (o *AddGroupForUserParams) SetUserName(userName string)
- func (o *AddGroupForUserParams) WithContext(ctx context.Context) *AddGroupForUserParams
- func (o *AddGroupForUserParams) WithDefaults() *AddGroupForUserParams
- func (o *AddGroupForUserParams) WithGroupName(groupName string) *AddGroupForUserParams
- func (o *AddGroupForUserParams) WithHTTPClient(client *http.Client) *AddGroupForUserParams
- func (o *AddGroupForUserParams) WithTimeout(timeout time.Duration) *AddGroupForUserParams
- func (o *AddGroupForUserParams) WithUserName(userName string) *AddGroupForUserParams
- func (o *AddGroupForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddGroupForUserReader
- type AddGroupForUserUnauthorized
- func (o *AddGroupForUserUnauthorized) Error() string
- func (o *AddGroupForUserUnauthorized) GetPayload() *models.Error
- func (o *AddGroupForUserUnauthorized) IsClientError() bool
- func (o *AddGroupForUserUnauthorized) IsCode(code int) bool
- func (o *AddGroupForUserUnauthorized) IsRedirect() bool
- func (o *AddGroupForUserUnauthorized) IsServerError() bool
- func (o *AddGroupForUserUnauthorized) IsSuccess() bool
- func (o *AddGroupForUserUnauthorized) String() string
- type AddPolicyForUserInternalServerError
- func (o *AddPolicyForUserInternalServerError) Error() string
- func (o *AddPolicyForUserInternalServerError) GetPayload() *models.Error
- func (o *AddPolicyForUserInternalServerError) IsClientError() bool
- func (o *AddPolicyForUserInternalServerError) IsCode(code int) bool
- func (o *AddPolicyForUserInternalServerError) IsRedirect() bool
- func (o *AddPolicyForUserInternalServerError) IsServerError() bool
- func (o *AddPolicyForUserInternalServerError) IsSuccess() bool
- func (o *AddPolicyForUserInternalServerError) String() string
- type AddPolicyForUserNoContent
- func (o *AddPolicyForUserNoContent) Error() string
- func (o *AddPolicyForUserNoContent) IsClientError() bool
- func (o *AddPolicyForUserNoContent) IsCode(code int) bool
- func (o *AddPolicyForUserNoContent) IsRedirect() bool
- func (o *AddPolicyForUserNoContent) IsServerError() bool
- func (o *AddPolicyForUserNoContent) IsSuccess() bool
- func (o *AddPolicyForUserNoContent) String() string
- type AddPolicyForUserNotFound
- func (o *AddPolicyForUserNotFound) Error() string
- func (o *AddPolicyForUserNotFound) GetPayload() *models.Error
- func (o *AddPolicyForUserNotFound) IsClientError() bool
- func (o *AddPolicyForUserNotFound) IsCode(code int) bool
- func (o *AddPolicyForUserNotFound) IsRedirect() bool
- func (o *AddPolicyForUserNotFound) IsServerError() bool
- func (o *AddPolicyForUserNotFound) IsSuccess() bool
- func (o *AddPolicyForUserNotFound) String() string
- type AddPolicyForUserParams
- func NewAddPolicyForUserParams() *AddPolicyForUserParams
- func NewAddPolicyForUserParamsWithContext(ctx context.Context) *AddPolicyForUserParams
- func NewAddPolicyForUserParamsWithHTTPClient(client *http.Client) *AddPolicyForUserParams
- func NewAddPolicyForUserParamsWithTimeout(timeout time.Duration) *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) SetContext(ctx context.Context)
- func (o *AddPolicyForUserParams) SetDefaults()
- func (o *AddPolicyForUserParams) SetHTTPClient(client *http.Client)
- func (o *AddPolicyForUserParams) SetPolicyName(policyName string)
- func (o *AddPolicyForUserParams) SetTimeout(timeout time.Duration)
- func (o *AddPolicyForUserParams) SetUserName(userName string)
- func (o *AddPolicyForUserParams) WithContext(ctx context.Context) *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) WithDefaults() *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) WithHTTPClient(client *http.Client) *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) WithPolicyName(policyName string) *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) WithTimeout(timeout time.Duration) *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) WithUserName(userName string) *AddPolicyForUserParams
- func (o *AddPolicyForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPolicyForUserReader
- type AddPolicyForUserUnauthorized
- func (o *AddPolicyForUserUnauthorized) Error() string
- func (o *AddPolicyForUserUnauthorized) GetPayload() *models.Error
- func (o *AddPolicyForUserUnauthorized) IsClientError() bool
- func (o *AddPolicyForUserUnauthorized) IsCode(code int) bool
- func (o *AddPolicyForUserUnauthorized) IsRedirect() bool
- func (o *AddPolicyForUserUnauthorized) IsServerError() bool
- func (o *AddPolicyForUserUnauthorized) IsSuccess() bool
- func (o *AddPolicyForUserUnauthorized) String() string
- type CancelBookingInternalServerError
- func (o *CancelBookingInternalServerError) Error() string
- func (o *CancelBookingInternalServerError) GetPayload() *models.Error
- func (o *CancelBookingInternalServerError) IsClientError() bool
- func (o *CancelBookingInternalServerError) IsCode(code int) bool
- func (o *CancelBookingInternalServerError) IsRedirect() bool
- func (o *CancelBookingInternalServerError) IsServerError() bool
- func (o *CancelBookingInternalServerError) IsSuccess() bool
- func (o *CancelBookingInternalServerError) String() string
- type CancelBookingNotFound
- func (o *CancelBookingNotFound) Error() string
- func (o *CancelBookingNotFound) GetPayload() *models.Error
- func (o *CancelBookingNotFound) IsClientError() bool
- func (o *CancelBookingNotFound) IsCode(code int) bool
- func (o *CancelBookingNotFound) IsRedirect() bool
- func (o *CancelBookingNotFound) IsServerError() bool
- func (o *CancelBookingNotFound) IsSuccess() bool
- func (o *CancelBookingNotFound) String() string
- type CancelBookingParams
- func (o *CancelBookingParams) SetBookingName(bookingName string)
- func (o *CancelBookingParams) SetContext(ctx context.Context)
- func (o *CancelBookingParams) SetDefaults()
- func (o *CancelBookingParams) SetHTTPClient(client *http.Client)
- func (o *CancelBookingParams) SetTimeout(timeout time.Duration)
- func (o *CancelBookingParams) SetUserName(userName string)
- func (o *CancelBookingParams) WithBookingName(bookingName string) *CancelBookingParams
- func (o *CancelBookingParams) WithContext(ctx context.Context) *CancelBookingParams
- func (o *CancelBookingParams) WithDefaults() *CancelBookingParams
- func (o *CancelBookingParams) WithHTTPClient(client *http.Client) *CancelBookingParams
- func (o *CancelBookingParams) WithTimeout(timeout time.Duration) *CancelBookingParams
- func (o *CancelBookingParams) WithUserName(userName string) *CancelBookingParams
- func (o *CancelBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelBookingReader
- type CancelBookingUnauthorized
- func (o *CancelBookingUnauthorized) Error() string
- func (o *CancelBookingUnauthorized) GetPayload() *models.Error
- func (o *CancelBookingUnauthorized) IsClientError() bool
- func (o *CancelBookingUnauthorized) IsCode(code int) bool
- func (o *CancelBookingUnauthorized) IsRedirect() bool
- func (o *CancelBookingUnauthorized) IsServerError() bool
- func (o *CancelBookingUnauthorized) IsSuccess() bool
- func (o *CancelBookingUnauthorized) String() string
- type Client
- func (a *Client) AddGroupForUser(params *AddGroupForUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddGroupForUserNoContent, error)
- func (a *Client) CancelBooking(params *CancelBookingParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetAccessToken(params *GetAccessTokenParams, opts ...ClientOption) (*GetAccessTokenOK, error)
- func (a *Client) GetActivity(params *GetActivityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetActivityOK, error)
- func (a *Client) GetAvailability(params *GetAvailabilityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAvailabilityOK, error)
- func (a *Client) GetBookingsForUser(params *GetBookingsForUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBookingsForUserOK, error)
- func (a *Client) GetDescription(params *GetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDescriptionOK, error)
- func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGroupOK, error)
- func (a *Client) GetGroupsForUser(params *GetGroupsForUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGroupsForUserOK, error)
- func (a *Client) GetOldBookingsForUser(params *GetOldBookingsForUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOldBookingsForUserOK, error)
- func (a *Client) GetPolicy(params *GetPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPolicyOK, error)
- func (a *Client) GetPolicyStatusForUser(params *GetPolicyStatusForUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPolicyStatusForUserOK, error)
- func (a *Client) GetStoreStatusUser(params *GetStoreStatusUserParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetStoreStatusUserOK, error)
- func (a *Client) MakeBooking(params *MakeBookingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MakeBookingNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UniqueName(params *UniqueNameParams, opts ...ClientOption) (*UniqueNameOK, error)
- type ClientOption
- type ClientService
- type GetAccessTokenInternalServerError
- func (o *GetAccessTokenInternalServerError) Error() string
- func (o *GetAccessTokenInternalServerError) GetPayload() *models.Error
- func (o *GetAccessTokenInternalServerError) IsClientError() bool
- func (o *GetAccessTokenInternalServerError) IsCode(code int) bool
- func (o *GetAccessTokenInternalServerError) IsRedirect() bool
- func (o *GetAccessTokenInternalServerError) IsServerError() bool
- func (o *GetAccessTokenInternalServerError) IsSuccess() bool
- func (o *GetAccessTokenInternalServerError) String() string
- type GetAccessTokenNotFound
- func (o *GetAccessTokenNotFound) Error() string
- func (o *GetAccessTokenNotFound) GetPayload() *models.Error
- func (o *GetAccessTokenNotFound) IsClientError() bool
- func (o *GetAccessTokenNotFound) IsCode(code int) bool
- func (o *GetAccessTokenNotFound) IsRedirect() bool
- func (o *GetAccessTokenNotFound) IsServerError() bool
- func (o *GetAccessTokenNotFound) IsSuccess() bool
- func (o *GetAccessTokenNotFound) String() string
- type GetAccessTokenOK
- func (o *GetAccessTokenOK) Error() string
- func (o *GetAccessTokenOK) GetPayload() *models.AccessToken
- func (o *GetAccessTokenOK) IsClientError() bool
- func (o *GetAccessTokenOK) IsCode(code int) bool
- func (o *GetAccessTokenOK) IsRedirect() bool
- func (o *GetAccessTokenOK) IsServerError() bool
- func (o *GetAccessTokenOK) IsSuccess() bool
- func (o *GetAccessTokenOK) String() string
- type GetAccessTokenParams
- func NewGetAccessTokenParams() *GetAccessTokenParams
- func NewGetAccessTokenParamsWithContext(ctx context.Context) *GetAccessTokenParams
- func NewGetAccessTokenParamsWithHTTPClient(client *http.Client) *GetAccessTokenParams
- func NewGetAccessTokenParamsWithTimeout(timeout time.Duration) *GetAccessTokenParams
- func (o *GetAccessTokenParams) SetContext(ctx context.Context)
- func (o *GetAccessTokenParams) SetDefaults()
- func (o *GetAccessTokenParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessTokenParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessTokenParams) SetUserName(userName string)
- func (o *GetAccessTokenParams) WithContext(ctx context.Context) *GetAccessTokenParams
- func (o *GetAccessTokenParams) WithDefaults() *GetAccessTokenParams
- func (o *GetAccessTokenParams) WithHTTPClient(client *http.Client) *GetAccessTokenParams
- func (o *GetAccessTokenParams) WithTimeout(timeout time.Duration) *GetAccessTokenParams
- func (o *GetAccessTokenParams) WithUserName(userName string) *GetAccessTokenParams
- func (o *GetAccessTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessTokenReader
- type GetAccessTokenUnauthorized
- func (o *GetAccessTokenUnauthorized) Error() string
- func (o *GetAccessTokenUnauthorized) GetPayload() *models.Error
- func (o *GetAccessTokenUnauthorized) IsClientError() bool
- func (o *GetAccessTokenUnauthorized) IsCode(code int) bool
- func (o *GetAccessTokenUnauthorized) IsRedirect() bool
- func (o *GetAccessTokenUnauthorized) IsServerError() bool
- func (o *GetAccessTokenUnauthorized) IsSuccess() bool
- func (o *GetAccessTokenUnauthorized) String() string
- type GetActivityInternalServerError
- func (o *GetActivityInternalServerError) Error() string
- func (o *GetActivityInternalServerError) GetPayload() *models.Error
- func (o *GetActivityInternalServerError) IsClientError() bool
- func (o *GetActivityInternalServerError) IsCode(code int) bool
- func (o *GetActivityInternalServerError) IsRedirect() bool
- func (o *GetActivityInternalServerError) IsServerError() bool
- func (o *GetActivityInternalServerError) IsSuccess() bool
- func (o *GetActivityInternalServerError) String() string
- type GetActivityNotFound
- func (o *GetActivityNotFound) Error() string
- func (o *GetActivityNotFound) GetPayload() *models.Error
- func (o *GetActivityNotFound) IsClientError() bool
- func (o *GetActivityNotFound) IsCode(code int) bool
- func (o *GetActivityNotFound) IsRedirect() bool
- func (o *GetActivityNotFound) IsServerError() bool
- func (o *GetActivityNotFound) IsSuccess() bool
- func (o *GetActivityNotFound) String() string
- type GetActivityOK
- func (o *GetActivityOK) Error() string
- func (o *GetActivityOK) GetPayload() *models.Activity
- func (o *GetActivityOK) IsClientError() bool
- func (o *GetActivityOK) IsCode(code int) bool
- func (o *GetActivityOK) IsRedirect() bool
- func (o *GetActivityOK) IsServerError() bool
- func (o *GetActivityOK) IsSuccess() bool
- func (o *GetActivityOK) String() string
- type GetActivityParams
- func (o *GetActivityParams) SetBookingName(bookingName string)
- func (o *GetActivityParams) SetContext(ctx context.Context)
- func (o *GetActivityParams) SetDefaults()
- func (o *GetActivityParams) SetHTTPClient(client *http.Client)
- func (o *GetActivityParams) SetTimeout(timeout time.Duration)
- func (o *GetActivityParams) SetUserName(userName string)
- func (o *GetActivityParams) WithBookingName(bookingName string) *GetActivityParams
- func (o *GetActivityParams) WithContext(ctx context.Context) *GetActivityParams
- func (o *GetActivityParams) WithDefaults() *GetActivityParams
- func (o *GetActivityParams) WithHTTPClient(client *http.Client) *GetActivityParams
- func (o *GetActivityParams) WithTimeout(timeout time.Duration) *GetActivityParams
- func (o *GetActivityParams) WithUserName(userName string) *GetActivityParams
- func (o *GetActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActivityReader
- type GetActivityUnauthorized
- func (o *GetActivityUnauthorized) Error() string
- func (o *GetActivityUnauthorized) GetPayload() *models.Error
- func (o *GetActivityUnauthorized) IsClientError() bool
- func (o *GetActivityUnauthorized) IsCode(code int) bool
- func (o *GetActivityUnauthorized) IsRedirect() bool
- func (o *GetActivityUnauthorized) IsServerError() bool
- func (o *GetActivityUnauthorized) IsSuccess() bool
- func (o *GetActivityUnauthorized) String() string
- type GetAvailabilityInternalServerError
- func (o *GetAvailabilityInternalServerError) Error() string
- func (o *GetAvailabilityInternalServerError) GetPayload() *models.Error
- func (o *GetAvailabilityInternalServerError) IsClientError() bool
- func (o *GetAvailabilityInternalServerError) IsCode(code int) bool
- func (o *GetAvailabilityInternalServerError) IsRedirect() bool
- func (o *GetAvailabilityInternalServerError) IsServerError() bool
- func (o *GetAvailabilityInternalServerError) IsSuccess() bool
- func (o *GetAvailabilityInternalServerError) String() string
- type GetAvailabilityNotFound
- func (o *GetAvailabilityNotFound) Error() string
- func (o *GetAvailabilityNotFound) GetPayload() *models.Error
- func (o *GetAvailabilityNotFound) IsClientError() bool
- func (o *GetAvailabilityNotFound) IsCode(code int) bool
- func (o *GetAvailabilityNotFound) IsRedirect() bool
- func (o *GetAvailabilityNotFound) IsServerError() bool
- func (o *GetAvailabilityNotFound) IsSuccess() bool
- func (o *GetAvailabilityNotFound) String() string
- type GetAvailabilityOK
- func (o *GetAvailabilityOK) Error() string
- func (o *GetAvailabilityOK) GetPayload() models.Intervals
- func (o *GetAvailabilityOK) IsClientError() bool
- func (o *GetAvailabilityOK) IsCode(code int) bool
- func (o *GetAvailabilityOK) IsRedirect() bool
- func (o *GetAvailabilityOK) IsServerError() bool
- func (o *GetAvailabilityOK) IsSuccess() bool
- func (o *GetAvailabilityOK) String() string
- type GetAvailabilityParams
- func NewGetAvailabilityParams() *GetAvailabilityParams
- func NewGetAvailabilityParamsWithContext(ctx context.Context) *GetAvailabilityParams
- func NewGetAvailabilityParamsWithHTTPClient(client *http.Client) *GetAvailabilityParams
- func NewGetAvailabilityParamsWithTimeout(timeout time.Duration) *GetAvailabilityParams
- func (o *GetAvailabilityParams) SetContext(ctx context.Context)
- func (o *GetAvailabilityParams) SetDefaults()
- func (o *GetAvailabilityParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailabilityParams) SetLimit(limit *int64)
- func (o *GetAvailabilityParams) SetOffset(offset *int64)
- func (o *GetAvailabilityParams) SetSlotName(slotName string)
- func (o *GetAvailabilityParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailabilityParams) WithContext(ctx context.Context) *GetAvailabilityParams
- func (o *GetAvailabilityParams) WithDefaults() *GetAvailabilityParams
- func (o *GetAvailabilityParams) WithHTTPClient(client *http.Client) *GetAvailabilityParams
- func (o *GetAvailabilityParams) WithLimit(limit *int64) *GetAvailabilityParams
- func (o *GetAvailabilityParams) WithOffset(offset *int64) *GetAvailabilityParams
- func (o *GetAvailabilityParams) WithSlotName(slotName string) *GetAvailabilityParams
- func (o *GetAvailabilityParams) WithTimeout(timeout time.Duration) *GetAvailabilityParams
- func (o *GetAvailabilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailabilityReader
- type GetAvailabilityUnauthorized
- func (o *GetAvailabilityUnauthorized) Error() string
- func (o *GetAvailabilityUnauthorized) GetPayload() *models.Error
- func (o *GetAvailabilityUnauthorized) IsClientError() bool
- func (o *GetAvailabilityUnauthorized) IsCode(code int) bool
- func (o *GetAvailabilityUnauthorized) IsRedirect() bool
- func (o *GetAvailabilityUnauthorized) IsServerError() bool
- func (o *GetAvailabilityUnauthorized) IsSuccess() bool
- func (o *GetAvailabilityUnauthorized) String() string
- type GetBookingsForUserInternalServerError
- func (o *GetBookingsForUserInternalServerError) Error() string
- func (o *GetBookingsForUserInternalServerError) GetPayload() *models.Error
- func (o *GetBookingsForUserInternalServerError) IsClientError() bool
- func (o *GetBookingsForUserInternalServerError) IsCode(code int) bool
- func (o *GetBookingsForUserInternalServerError) IsRedirect() bool
- func (o *GetBookingsForUserInternalServerError) IsServerError() bool
- func (o *GetBookingsForUserInternalServerError) IsSuccess() bool
- func (o *GetBookingsForUserInternalServerError) String() string
- type GetBookingsForUserNotFound
- func (o *GetBookingsForUserNotFound) Error() string
- func (o *GetBookingsForUserNotFound) GetPayload() *models.Error
- func (o *GetBookingsForUserNotFound) IsClientError() bool
- func (o *GetBookingsForUserNotFound) IsCode(code int) bool
- func (o *GetBookingsForUserNotFound) IsRedirect() bool
- func (o *GetBookingsForUserNotFound) IsServerError() bool
- func (o *GetBookingsForUserNotFound) IsSuccess() bool
- func (o *GetBookingsForUserNotFound) String() string
- type GetBookingsForUserOK
- func (o *GetBookingsForUserOK) Error() string
- func (o *GetBookingsForUserOK) GetPayload() models.Bookings
- func (o *GetBookingsForUserOK) IsClientError() bool
- func (o *GetBookingsForUserOK) IsCode(code int) bool
- func (o *GetBookingsForUserOK) IsRedirect() bool
- func (o *GetBookingsForUserOK) IsServerError() bool
- func (o *GetBookingsForUserOK) IsSuccess() bool
- func (o *GetBookingsForUserOK) String() string
- type GetBookingsForUserParams
- func NewGetBookingsForUserParams() *GetBookingsForUserParams
- func NewGetBookingsForUserParamsWithContext(ctx context.Context) *GetBookingsForUserParams
- func NewGetBookingsForUserParamsWithHTTPClient(client *http.Client) *GetBookingsForUserParams
- func NewGetBookingsForUserParamsWithTimeout(timeout time.Duration) *GetBookingsForUserParams
- func (o *GetBookingsForUserParams) SetContext(ctx context.Context)
- func (o *GetBookingsForUserParams) SetDefaults()
- func (o *GetBookingsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetBookingsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetBookingsForUserParams) SetUserName(userName string)
- func (o *GetBookingsForUserParams) WithContext(ctx context.Context) *GetBookingsForUserParams
- func (o *GetBookingsForUserParams) WithDefaults() *GetBookingsForUserParams
- func (o *GetBookingsForUserParams) WithHTTPClient(client *http.Client) *GetBookingsForUserParams
- func (o *GetBookingsForUserParams) WithTimeout(timeout time.Duration) *GetBookingsForUserParams
- func (o *GetBookingsForUserParams) WithUserName(userName string) *GetBookingsForUserParams
- func (o *GetBookingsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBookingsForUserReader
- type GetBookingsForUserUnauthorized
- func (o *GetBookingsForUserUnauthorized) Error() string
- func (o *GetBookingsForUserUnauthorized) GetPayload() *models.Error
- func (o *GetBookingsForUserUnauthorized) IsClientError() bool
- func (o *GetBookingsForUserUnauthorized) IsCode(code int) bool
- func (o *GetBookingsForUserUnauthorized) IsRedirect() bool
- func (o *GetBookingsForUserUnauthorized) IsServerError() bool
- func (o *GetBookingsForUserUnauthorized) IsSuccess() bool
- func (o *GetBookingsForUserUnauthorized) String() string
- type GetDescriptionInternalServerError
- func (o *GetDescriptionInternalServerError) Error() string
- func (o *GetDescriptionInternalServerError) GetPayload() *models.Error
- func (o *GetDescriptionInternalServerError) IsClientError() bool
- func (o *GetDescriptionInternalServerError) IsCode(code int) bool
- func (o *GetDescriptionInternalServerError) IsRedirect() bool
- func (o *GetDescriptionInternalServerError) IsServerError() bool
- func (o *GetDescriptionInternalServerError) IsSuccess() bool
- func (o *GetDescriptionInternalServerError) String() string
- type GetDescriptionNotFound
- func (o *GetDescriptionNotFound) Error() string
- func (o *GetDescriptionNotFound) GetPayload() *models.Error
- func (o *GetDescriptionNotFound) IsClientError() bool
- func (o *GetDescriptionNotFound) IsCode(code int) bool
- func (o *GetDescriptionNotFound) IsRedirect() bool
- func (o *GetDescriptionNotFound) IsServerError() bool
- func (o *GetDescriptionNotFound) IsSuccess() bool
- func (o *GetDescriptionNotFound) String() string
- type GetDescriptionOK
- func (o *GetDescriptionOK) Error() string
- func (o *GetDescriptionOK) GetPayload() *models.Description
- func (o *GetDescriptionOK) IsClientError() bool
- func (o *GetDescriptionOK) IsCode(code int) bool
- func (o *GetDescriptionOK) IsRedirect() bool
- func (o *GetDescriptionOK) IsServerError() bool
- func (o *GetDescriptionOK) IsSuccess() bool
- func (o *GetDescriptionOK) String() string
- type GetDescriptionParams
- func NewGetDescriptionParams() *GetDescriptionParams
- func NewGetDescriptionParamsWithContext(ctx context.Context) *GetDescriptionParams
- func NewGetDescriptionParamsWithHTTPClient(client *http.Client) *GetDescriptionParams
- func NewGetDescriptionParamsWithTimeout(timeout time.Duration) *GetDescriptionParams
- func (o *GetDescriptionParams) SetContext(ctx context.Context)
- func (o *GetDescriptionParams) SetDefaults()
- func (o *GetDescriptionParams) SetDescriptionName(descriptionName string)
- func (o *GetDescriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetDescriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetDescriptionParams) WithContext(ctx context.Context) *GetDescriptionParams
- func (o *GetDescriptionParams) WithDefaults() *GetDescriptionParams
- func (o *GetDescriptionParams) WithDescriptionName(descriptionName string) *GetDescriptionParams
- func (o *GetDescriptionParams) WithHTTPClient(client *http.Client) *GetDescriptionParams
- func (o *GetDescriptionParams) WithTimeout(timeout time.Duration) *GetDescriptionParams
- func (o *GetDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDescriptionReader
- type GetDescriptionUnauthorized
- func (o *GetDescriptionUnauthorized) Error() string
- func (o *GetDescriptionUnauthorized) GetPayload() *models.Error
- func (o *GetDescriptionUnauthorized) IsClientError() bool
- func (o *GetDescriptionUnauthorized) IsCode(code int) bool
- func (o *GetDescriptionUnauthorized) IsRedirect() bool
- func (o *GetDescriptionUnauthorized) IsServerError() bool
- func (o *GetDescriptionUnauthorized) IsSuccess() bool
- func (o *GetDescriptionUnauthorized) String() string
- type GetGroupInternalServerError
- func (o *GetGroupInternalServerError) Error() string
- func (o *GetGroupInternalServerError) GetPayload() *models.Error
- func (o *GetGroupInternalServerError) IsClientError() bool
- func (o *GetGroupInternalServerError) IsCode(code int) bool
- func (o *GetGroupInternalServerError) IsRedirect() bool
- func (o *GetGroupInternalServerError) IsServerError() bool
- func (o *GetGroupInternalServerError) IsSuccess() bool
- func (o *GetGroupInternalServerError) String() string
- type GetGroupNotFound
- func (o *GetGroupNotFound) Error() string
- func (o *GetGroupNotFound) GetPayload() *models.Error
- func (o *GetGroupNotFound) IsClientError() bool
- func (o *GetGroupNotFound) IsCode(code int) bool
- func (o *GetGroupNotFound) IsRedirect() bool
- func (o *GetGroupNotFound) IsServerError() bool
- func (o *GetGroupNotFound) IsSuccess() bool
- func (o *GetGroupNotFound) String() string
- type GetGroupOK
- func (o *GetGroupOK) Error() string
- func (o *GetGroupOK) GetPayload() *models.GroupDescribedWithPolicies
- func (o *GetGroupOK) IsClientError() bool
- func (o *GetGroupOK) IsCode(code int) bool
- func (o *GetGroupOK) IsRedirect() bool
- func (o *GetGroupOK) IsServerError() bool
- func (o *GetGroupOK) IsSuccess() bool
- func (o *GetGroupOK) String() string
- type GetGroupParams
- func (o *GetGroupParams) SetContext(ctx context.Context)
- func (o *GetGroupParams) SetDefaults()
- func (o *GetGroupParams) SetGroupName(groupName string)
- func (o *GetGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupParams) WithContext(ctx context.Context) *GetGroupParams
- func (o *GetGroupParams) WithDefaults() *GetGroupParams
- func (o *GetGroupParams) WithGroupName(groupName string) *GetGroupParams
- func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams
- func (o *GetGroupParams) WithTimeout(timeout time.Duration) *GetGroupParams
- func (o *GetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupReader
- type GetGroupUnauthorized
- func (o *GetGroupUnauthorized) Error() string
- func (o *GetGroupUnauthorized) GetPayload() *models.Error
- func (o *GetGroupUnauthorized) IsClientError() bool
- func (o *GetGroupUnauthorized) IsCode(code int) bool
- func (o *GetGroupUnauthorized) IsRedirect() bool
- func (o *GetGroupUnauthorized) IsServerError() bool
- func (o *GetGroupUnauthorized) IsSuccess() bool
- func (o *GetGroupUnauthorized) String() string
- type GetGroupsForUserInternalServerError
- func (o *GetGroupsForUserInternalServerError) Error() string
- func (o *GetGroupsForUserInternalServerError) GetPayload() *models.Error
- func (o *GetGroupsForUserInternalServerError) IsClientError() bool
- func (o *GetGroupsForUserInternalServerError) IsCode(code int) bool
- func (o *GetGroupsForUserInternalServerError) IsRedirect() bool
- func (o *GetGroupsForUserInternalServerError) IsServerError() bool
- func (o *GetGroupsForUserInternalServerError) IsSuccess() bool
- func (o *GetGroupsForUserInternalServerError) String() string
- type GetGroupsForUserNotFound
- func (o *GetGroupsForUserNotFound) Error() string
- func (o *GetGroupsForUserNotFound) GetPayload() *models.Error
- func (o *GetGroupsForUserNotFound) IsClientError() bool
- func (o *GetGroupsForUserNotFound) IsCode(code int) bool
- func (o *GetGroupsForUserNotFound) IsRedirect() bool
- func (o *GetGroupsForUserNotFound) IsServerError() bool
- func (o *GetGroupsForUserNotFound) IsSuccess() bool
- func (o *GetGroupsForUserNotFound) String() string
- type GetGroupsForUserOK
- func (o *GetGroupsForUserOK) Error() string
- func (o *GetGroupsForUserOK) GetPayload() models.GroupsDescribed
- func (o *GetGroupsForUserOK) IsClientError() bool
- func (o *GetGroupsForUserOK) IsCode(code int) bool
- func (o *GetGroupsForUserOK) IsRedirect() bool
- func (o *GetGroupsForUserOK) IsServerError() bool
- func (o *GetGroupsForUserOK) IsSuccess() bool
- func (o *GetGroupsForUserOK) String() string
- type GetGroupsForUserParams
- func NewGetGroupsForUserParams() *GetGroupsForUserParams
- func NewGetGroupsForUserParamsWithContext(ctx context.Context) *GetGroupsForUserParams
- func NewGetGroupsForUserParamsWithHTTPClient(client *http.Client) *GetGroupsForUserParams
- func NewGetGroupsForUserParamsWithTimeout(timeout time.Duration) *GetGroupsForUserParams
- func (o *GetGroupsForUserParams) SetContext(ctx context.Context)
- func (o *GetGroupsForUserParams) SetDefaults()
- func (o *GetGroupsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupsForUserParams) SetUserName(userName string)
- func (o *GetGroupsForUserParams) WithContext(ctx context.Context) *GetGroupsForUserParams
- func (o *GetGroupsForUserParams) WithDefaults() *GetGroupsForUserParams
- func (o *GetGroupsForUserParams) WithHTTPClient(client *http.Client) *GetGroupsForUserParams
- func (o *GetGroupsForUserParams) WithTimeout(timeout time.Duration) *GetGroupsForUserParams
- func (o *GetGroupsForUserParams) WithUserName(userName string) *GetGroupsForUserParams
- func (o *GetGroupsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupsForUserReader
- type GetGroupsForUserUnauthorized
- func (o *GetGroupsForUserUnauthorized) Error() string
- func (o *GetGroupsForUserUnauthorized) GetPayload() *models.Error
- func (o *GetGroupsForUserUnauthorized) IsClientError() bool
- func (o *GetGroupsForUserUnauthorized) IsCode(code int) bool
- func (o *GetGroupsForUserUnauthorized) IsRedirect() bool
- func (o *GetGroupsForUserUnauthorized) IsServerError() bool
- func (o *GetGroupsForUserUnauthorized) IsSuccess() bool
- func (o *GetGroupsForUserUnauthorized) String() string
- type GetOldBookingsForUserInternalServerError
- func (o *GetOldBookingsForUserInternalServerError) Error() string
- func (o *GetOldBookingsForUserInternalServerError) GetPayload() *models.Error
- func (o *GetOldBookingsForUserInternalServerError) IsClientError() bool
- func (o *GetOldBookingsForUserInternalServerError) IsCode(code int) bool
- func (o *GetOldBookingsForUserInternalServerError) IsRedirect() bool
- func (o *GetOldBookingsForUserInternalServerError) IsServerError() bool
- func (o *GetOldBookingsForUserInternalServerError) IsSuccess() bool
- func (o *GetOldBookingsForUserInternalServerError) String() string
- type GetOldBookingsForUserNotFound
- func (o *GetOldBookingsForUserNotFound) Error() string
- func (o *GetOldBookingsForUserNotFound) GetPayload() *models.Error
- func (o *GetOldBookingsForUserNotFound) IsClientError() bool
- func (o *GetOldBookingsForUserNotFound) IsCode(code int) bool
- func (o *GetOldBookingsForUserNotFound) IsRedirect() bool
- func (o *GetOldBookingsForUserNotFound) IsServerError() bool
- func (o *GetOldBookingsForUserNotFound) IsSuccess() bool
- func (o *GetOldBookingsForUserNotFound) String() string
- type GetOldBookingsForUserOK
- func (o *GetOldBookingsForUserOK) Error() string
- func (o *GetOldBookingsForUserOK) GetPayload() models.Bookings
- func (o *GetOldBookingsForUserOK) IsClientError() bool
- func (o *GetOldBookingsForUserOK) IsCode(code int) bool
- func (o *GetOldBookingsForUserOK) IsRedirect() bool
- func (o *GetOldBookingsForUserOK) IsServerError() bool
- func (o *GetOldBookingsForUserOK) IsSuccess() bool
- func (o *GetOldBookingsForUserOK) String() string
- type GetOldBookingsForUserParams
- func NewGetOldBookingsForUserParams() *GetOldBookingsForUserParams
- func NewGetOldBookingsForUserParamsWithContext(ctx context.Context) *GetOldBookingsForUserParams
- func NewGetOldBookingsForUserParamsWithHTTPClient(client *http.Client) *GetOldBookingsForUserParams
- func NewGetOldBookingsForUserParamsWithTimeout(timeout time.Duration) *GetOldBookingsForUserParams
- func (o *GetOldBookingsForUserParams) SetContext(ctx context.Context)
- func (o *GetOldBookingsForUserParams) SetDefaults()
- func (o *GetOldBookingsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetOldBookingsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetOldBookingsForUserParams) SetUserName(userName string)
- func (o *GetOldBookingsForUserParams) WithContext(ctx context.Context) *GetOldBookingsForUserParams
- func (o *GetOldBookingsForUserParams) WithDefaults() *GetOldBookingsForUserParams
- func (o *GetOldBookingsForUserParams) WithHTTPClient(client *http.Client) *GetOldBookingsForUserParams
- func (o *GetOldBookingsForUserParams) WithTimeout(timeout time.Duration) *GetOldBookingsForUserParams
- func (o *GetOldBookingsForUserParams) WithUserName(userName string) *GetOldBookingsForUserParams
- func (o *GetOldBookingsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOldBookingsForUserReader
- type GetOldBookingsForUserUnauthorized
- func (o *GetOldBookingsForUserUnauthorized) Error() string
- func (o *GetOldBookingsForUserUnauthorized) GetPayload() *models.Error
- func (o *GetOldBookingsForUserUnauthorized) IsClientError() bool
- func (o *GetOldBookingsForUserUnauthorized) IsCode(code int) bool
- func (o *GetOldBookingsForUserUnauthorized) IsRedirect() bool
- func (o *GetOldBookingsForUserUnauthorized) IsServerError() bool
- func (o *GetOldBookingsForUserUnauthorized) IsSuccess() bool
- func (o *GetOldBookingsForUserUnauthorized) String() string
- type GetPoliciesForUserInternalServerError
- func (o *GetPoliciesForUserInternalServerError) Error() string
- func (o *GetPoliciesForUserInternalServerError) GetPayload() *models.Error
- func (o *GetPoliciesForUserInternalServerError) IsClientError() bool
- func (o *GetPoliciesForUserInternalServerError) IsCode(code int) bool
- func (o *GetPoliciesForUserInternalServerError) IsRedirect() bool
- func (o *GetPoliciesForUserInternalServerError) IsServerError() bool
- func (o *GetPoliciesForUserInternalServerError) IsSuccess() bool
- func (o *GetPoliciesForUserInternalServerError) String() string
- type GetPoliciesForUserNotFound
- func (o *GetPoliciesForUserNotFound) Error() string
- func (o *GetPoliciesForUserNotFound) GetPayload() *models.Error
- func (o *GetPoliciesForUserNotFound) IsClientError() bool
- func (o *GetPoliciesForUserNotFound) IsCode(code int) bool
- func (o *GetPoliciesForUserNotFound) IsRedirect() bool
- func (o *GetPoliciesForUserNotFound) IsServerError() bool
- func (o *GetPoliciesForUserNotFound) IsSuccess() bool
- func (o *GetPoliciesForUserNotFound) String() string
- type GetPoliciesForUserOK
- func (o *GetPoliciesForUserOK) Error() string
- func (o *GetPoliciesForUserOK) GetPayload() models.PoliciesDescribed
- func (o *GetPoliciesForUserOK) IsClientError() bool
- func (o *GetPoliciesForUserOK) IsCode(code int) bool
- func (o *GetPoliciesForUserOK) IsRedirect() bool
- func (o *GetPoliciesForUserOK) IsServerError() bool
- func (o *GetPoliciesForUserOK) IsSuccess() bool
- func (o *GetPoliciesForUserOK) String() string
- type GetPoliciesForUserParams
- func NewGetPoliciesForUserParams() *GetPoliciesForUserParams
- func NewGetPoliciesForUserParamsWithContext(ctx context.Context) *GetPoliciesForUserParams
- func NewGetPoliciesForUserParamsWithHTTPClient(client *http.Client) *GetPoliciesForUserParams
- func NewGetPoliciesForUserParamsWithTimeout(timeout time.Duration) *GetPoliciesForUserParams
- func (o *GetPoliciesForUserParams) SetContext(ctx context.Context)
- func (o *GetPoliciesForUserParams) SetDefaults()
- func (o *GetPoliciesForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetPoliciesForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetPoliciesForUserParams) SetUserName(userName string)
- func (o *GetPoliciesForUserParams) WithContext(ctx context.Context) *GetPoliciesForUserParams
- func (o *GetPoliciesForUserParams) WithDefaults() *GetPoliciesForUserParams
- func (o *GetPoliciesForUserParams) WithHTTPClient(client *http.Client) *GetPoliciesForUserParams
- func (o *GetPoliciesForUserParams) WithTimeout(timeout time.Duration) *GetPoliciesForUserParams
- func (o *GetPoliciesForUserParams) WithUserName(userName string) *GetPoliciesForUserParams
- func (o *GetPoliciesForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPoliciesForUserReader
- type GetPoliciesForUserUnauthorized
- func (o *GetPoliciesForUserUnauthorized) Error() string
- func (o *GetPoliciesForUserUnauthorized) GetPayload() *models.Error
- func (o *GetPoliciesForUserUnauthorized) IsClientError() bool
- func (o *GetPoliciesForUserUnauthorized) IsCode(code int) bool
- func (o *GetPoliciesForUserUnauthorized) IsRedirect() bool
- func (o *GetPoliciesForUserUnauthorized) IsServerError() bool
- func (o *GetPoliciesForUserUnauthorized) IsSuccess() bool
- func (o *GetPoliciesForUserUnauthorized) String() string
- type GetPolicyInternalServerError
- func (o *GetPolicyInternalServerError) Error() string
- func (o *GetPolicyInternalServerError) GetPayload() *models.Error
- func (o *GetPolicyInternalServerError) IsClientError() bool
- func (o *GetPolicyInternalServerError) IsCode(code int) bool
- func (o *GetPolicyInternalServerError) IsRedirect() bool
- func (o *GetPolicyInternalServerError) IsServerError() bool
- func (o *GetPolicyInternalServerError) IsSuccess() bool
- func (o *GetPolicyInternalServerError) String() string
- type GetPolicyNotFound
- func (o *GetPolicyNotFound) Error() string
- func (o *GetPolicyNotFound) GetPayload() *models.Error
- func (o *GetPolicyNotFound) IsClientError() bool
- func (o *GetPolicyNotFound) IsCode(code int) bool
- func (o *GetPolicyNotFound) IsRedirect() bool
- func (o *GetPolicyNotFound) IsServerError() bool
- func (o *GetPolicyNotFound) IsSuccess() bool
- func (o *GetPolicyNotFound) String() string
- type GetPolicyOK
- func (o *GetPolicyOK) Error() string
- func (o *GetPolicyOK) GetPayload() *models.PolicyDescribed
- func (o *GetPolicyOK) IsClientError() bool
- func (o *GetPolicyOK) IsCode(code int) bool
- func (o *GetPolicyOK) IsRedirect() bool
- func (o *GetPolicyOK) IsServerError() bool
- func (o *GetPolicyOK) IsSuccess() bool
- func (o *GetPolicyOK) String() string
- type GetPolicyParams
- func (o *GetPolicyParams) SetContext(ctx context.Context)
- func (o *GetPolicyParams) SetDefaults()
- func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyParams) SetPolicyName(policyName string)
- func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
- func (o *GetPolicyParams) WithDefaults() *GetPolicyParams
- func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams
- func (o *GetPolicyParams) WithPolicyName(policyName string) *GetPolicyParams
- func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams
- func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyReader
- type GetPolicyStatusForUserInternalServerError
- func (o *GetPolicyStatusForUserInternalServerError) Error() string
- func (o *GetPolicyStatusForUserInternalServerError) GetPayload() *models.Error
- func (o *GetPolicyStatusForUserInternalServerError) IsClientError() bool
- func (o *GetPolicyStatusForUserInternalServerError) IsCode(code int) bool
- func (o *GetPolicyStatusForUserInternalServerError) IsRedirect() bool
- func (o *GetPolicyStatusForUserInternalServerError) IsServerError() bool
- func (o *GetPolicyStatusForUserInternalServerError) IsSuccess() bool
- func (o *GetPolicyStatusForUserInternalServerError) String() string
- type GetPolicyStatusForUserNotFound
- func (o *GetPolicyStatusForUserNotFound) Error() string
- func (o *GetPolicyStatusForUserNotFound) GetPayload() *models.Error
- func (o *GetPolicyStatusForUserNotFound) IsClientError() bool
- func (o *GetPolicyStatusForUserNotFound) IsCode(code int) bool
- func (o *GetPolicyStatusForUserNotFound) IsRedirect() bool
- func (o *GetPolicyStatusForUserNotFound) IsServerError() bool
- func (o *GetPolicyStatusForUserNotFound) IsSuccess() bool
- func (o *GetPolicyStatusForUserNotFound) String() string
- type GetPolicyStatusForUserOK
- func (o *GetPolicyStatusForUserOK) Error() string
- func (o *GetPolicyStatusForUserOK) GetPayload() *models.PolicyStatus
- func (o *GetPolicyStatusForUserOK) IsClientError() bool
- func (o *GetPolicyStatusForUserOK) IsCode(code int) bool
- func (o *GetPolicyStatusForUserOK) IsRedirect() bool
- func (o *GetPolicyStatusForUserOK) IsServerError() bool
- func (o *GetPolicyStatusForUserOK) IsSuccess() bool
- func (o *GetPolicyStatusForUserOK) String() string
- type GetPolicyStatusForUserParams
- func NewGetPolicyStatusForUserParams() *GetPolicyStatusForUserParams
- func NewGetPolicyStatusForUserParamsWithContext(ctx context.Context) *GetPolicyStatusForUserParams
- func NewGetPolicyStatusForUserParamsWithHTTPClient(client *http.Client) *GetPolicyStatusForUserParams
- func NewGetPolicyStatusForUserParamsWithTimeout(timeout time.Duration) *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) SetContext(ctx context.Context)
- func (o *GetPolicyStatusForUserParams) SetDefaults()
- func (o *GetPolicyStatusForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyStatusForUserParams) SetPolicyName(policyName string)
- func (o *GetPolicyStatusForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyStatusForUserParams) SetUserName(userName string)
- func (o *GetPolicyStatusForUserParams) WithContext(ctx context.Context) *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) WithDefaults() *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) WithHTTPClient(client *http.Client) *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) WithPolicyName(policyName string) *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) WithTimeout(timeout time.Duration) *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) WithUserName(userName string) *GetPolicyStatusForUserParams
- func (o *GetPolicyStatusForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyStatusForUserReader
- type GetPolicyStatusForUserUnauthorized
- func (o *GetPolicyStatusForUserUnauthorized) Error() string
- func (o *GetPolicyStatusForUserUnauthorized) GetPayload() *models.Error
- func (o *GetPolicyStatusForUserUnauthorized) IsClientError() bool
- func (o *GetPolicyStatusForUserUnauthorized) IsCode(code int) bool
- func (o *GetPolicyStatusForUserUnauthorized) IsRedirect() bool
- func (o *GetPolicyStatusForUserUnauthorized) IsServerError() bool
- func (o *GetPolicyStatusForUserUnauthorized) IsSuccess() bool
- func (o *GetPolicyStatusForUserUnauthorized) String() string
- type GetPolicyUnauthorized
- func (o *GetPolicyUnauthorized) Error() string
- func (o *GetPolicyUnauthorized) GetPayload() *models.Error
- func (o *GetPolicyUnauthorized) IsClientError() bool
- func (o *GetPolicyUnauthorized) IsCode(code int) bool
- func (o *GetPolicyUnauthorized) IsRedirect() bool
- func (o *GetPolicyUnauthorized) IsServerError() bool
- func (o *GetPolicyUnauthorized) IsSuccess() bool
- func (o *GetPolicyUnauthorized) String() string
- type GetStoreStatusUserInternalServerError
- func (o *GetStoreStatusUserInternalServerError) Error() string
- func (o *GetStoreStatusUserInternalServerError) GetPayload() *models.Error
- func (o *GetStoreStatusUserInternalServerError) IsClientError() bool
- func (o *GetStoreStatusUserInternalServerError) IsCode(code int) bool
- func (o *GetStoreStatusUserInternalServerError) IsRedirect() bool
- func (o *GetStoreStatusUserInternalServerError) IsServerError() bool
- func (o *GetStoreStatusUserInternalServerError) IsSuccess() bool
- func (o *GetStoreStatusUserInternalServerError) String() string
- type GetStoreStatusUserNotFound
- func (o *GetStoreStatusUserNotFound) Error() string
- func (o *GetStoreStatusUserNotFound) GetPayload() *models.Error
- func (o *GetStoreStatusUserNotFound) IsClientError() bool
- func (o *GetStoreStatusUserNotFound) IsCode(code int) bool
- func (o *GetStoreStatusUserNotFound) IsRedirect() bool
- func (o *GetStoreStatusUserNotFound) IsServerError() bool
- func (o *GetStoreStatusUserNotFound) IsSuccess() bool
- func (o *GetStoreStatusUserNotFound) String() string
- type GetStoreStatusUserOK
- func (o *GetStoreStatusUserOK) Error() string
- func (o *GetStoreStatusUserOK) GetPayload() *models.StoreStatusUser
- func (o *GetStoreStatusUserOK) IsClientError() bool
- func (o *GetStoreStatusUserOK) IsCode(code int) bool
- func (o *GetStoreStatusUserOK) IsRedirect() bool
- func (o *GetStoreStatusUserOK) IsServerError() bool
- func (o *GetStoreStatusUserOK) IsSuccess() bool
- func (o *GetStoreStatusUserOK) String() string
- type GetStoreStatusUserParams
- func NewGetStoreStatusUserParams() *GetStoreStatusUserParams
- func NewGetStoreStatusUserParamsWithContext(ctx context.Context) *GetStoreStatusUserParams
- func NewGetStoreStatusUserParamsWithHTTPClient(client *http.Client) *GetStoreStatusUserParams
- func NewGetStoreStatusUserParamsWithTimeout(timeout time.Duration) *GetStoreStatusUserParams
- func (o *GetStoreStatusUserParams) SetContext(ctx context.Context)
- func (o *GetStoreStatusUserParams) SetDefaults()
- func (o *GetStoreStatusUserParams) SetHTTPClient(client *http.Client)
- func (o *GetStoreStatusUserParams) SetTimeout(timeout time.Duration)
- func (o *GetStoreStatusUserParams) WithContext(ctx context.Context) *GetStoreStatusUserParams
- func (o *GetStoreStatusUserParams) WithDefaults() *GetStoreStatusUserParams
- func (o *GetStoreStatusUserParams) WithHTTPClient(client *http.Client) *GetStoreStatusUserParams
- func (o *GetStoreStatusUserParams) WithTimeout(timeout time.Duration) *GetStoreStatusUserParams
- func (o *GetStoreStatusUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStoreStatusUserReader
- type GetStoreStatusUserUnauthorized
- func (o *GetStoreStatusUserUnauthorized) Error() string
- func (o *GetStoreStatusUserUnauthorized) GetPayload() *models.Error
- func (o *GetStoreStatusUserUnauthorized) IsClientError() bool
- func (o *GetStoreStatusUserUnauthorized) IsCode(code int) bool
- func (o *GetStoreStatusUserUnauthorized) IsRedirect() bool
- func (o *GetStoreStatusUserUnauthorized) IsServerError() bool
- func (o *GetStoreStatusUserUnauthorized) IsSuccess() bool
- func (o *GetStoreStatusUserUnauthorized) String() string
- type MakeBookingConflict
- func (o *MakeBookingConflict) Error() string
- func (o *MakeBookingConflict) GetPayload() interface{}
- func (o *MakeBookingConflict) IsClientError() bool
- func (o *MakeBookingConflict) IsCode(code int) bool
- func (o *MakeBookingConflict) IsRedirect() bool
- func (o *MakeBookingConflict) IsServerError() bool
- func (o *MakeBookingConflict) IsSuccess() bool
- func (o *MakeBookingConflict) String() string
- type MakeBookingInternalServerError
- func (o *MakeBookingInternalServerError) Error() string
- func (o *MakeBookingInternalServerError) GetPayload() *models.Error
- func (o *MakeBookingInternalServerError) IsClientError() bool
- func (o *MakeBookingInternalServerError) IsCode(code int) bool
- func (o *MakeBookingInternalServerError) IsRedirect() bool
- func (o *MakeBookingInternalServerError) IsServerError() bool
- func (o *MakeBookingInternalServerError) IsSuccess() bool
- func (o *MakeBookingInternalServerError) String() string
- type MakeBookingNoContent
- func (o *MakeBookingNoContent) Error() string
- func (o *MakeBookingNoContent) IsClientError() bool
- func (o *MakeBookingNoContent) IsCode(code int) bool
- func (o *MakeBookingNoContent) IsRedirect() bool
- func (o *MakeBookingNoContent) IsServerError() bool
- func (o *MakeBookingNoContent) IsSuccess() bool
- func (o *MakeBookingNoContent) String() string
- type MakeBookingNotFound
- func (o *MakeBookingNotFound) Error() string
- func (o *MakeBookingNotFound) GetPayload() *models.Error
- func (o *MakeBookingNotFound) IsClientError() bool
- func (o *MakeBookingNotFound) IsCode(code int) bool
- func (o *MakeBookingNotFound) IsRedirect() bool
- func (o *MakeBookingNotFound) IsServerError() bool
- func (o *MakeBookingNotFound) IsSuccess() bool
- func (o *MakeBookingNotFound) String() string
- type MakeBookingParams
- func (o *MakeBookingParams) SetContext(ctx context.Context)
- func (o *MakeBookingParams) SetDefaults()
- func (o *MakeBookingParams) SetFrom(from strfmt.DateTime)
- func (o *MakeBookingParams) SetHTTPClient(client *http.Client)
- func (o *MakeBookingParams) SetSlotName(slotName string)
- func (o *MakeBookingParams) SetTimeout(timeout time.Duration)
- func (o *MakeBookingParams) SetTo(to strfmt.DateTime)
- func (o *MakeBookingParams) SetUserName(userName string)
- func (o *MakeBookingParams) WithContext(ctx context.Context) *MakeBookingParams
- func (o *MakeBookingParams) WithDefaults() *MakeBookingParams
- func (o *MakeBookingParams) WithFrom(from strfmt.DateTime) *MakeBookingParams
- func (o *MakeBookingParams) WithHTTPClient(client *http.Client) *MakeBookingParams
- func (o *MakeBookingParams) WithSlotName(slotName string) *MakeBookingParams
- func (o *MakeBookingParams) WithTimeout(timeout time.Duration) *MakeBookingParams
- func (o *MakeBookingParams) WithTo(to strfmt.DateTime) *MakeBookingParams
- func (o *MakeBookingParams) WithUserName(userName string) *MakeBookingParams
- func (o *MakeBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MakeBookingReader
- type MakeBookingUnauthorized
- func (o *MakeBookingUnauthorized) Error() string
- func (o *MakeBookingUnauthorized) GetPayload() *models.Error
- func (o *MakeBookingUnauthorized) IsClientError() bool
- func (o *MakeBookingUnauthorized) IsCode(code int) bool
- func (o *MakeBookingUnauthorized) IsRedirect() bool
- func (o *MakeBookingUnauthorized) IsServerError() bool
- func (o *MakeBookingUnauthorized) IsSuccess() bool
- func (o *MakeBookingUnauthorized) String() string
- type UniqueNameInternalServerError
- func (o *UniqueNameInternalServerError) Error() string
- func (o *UniqueNameInternalServerError) GetPayload() *models.Error
- func (o *UniqueNameInternalServerError) IsClientError() bool
- func (o *UniqueNameInternalServerError) IsCode(code int) bool
- func (o *UniqueNameInternalServerError) IsRedirect() bool
- func (o *UniqueNameInternalServerError) IsServerError() bool
- func (o *UniqueNameInternalServerError) IsSuccess() bool
- func (o *UniqueNameInternalServerError) String() string
- type UniqueNameOK
- func (o *UniqueNameOK) Error() string
- func (o *UniqueNameOK) GetPayload() *models.UserName
- func (o *UniqueNameOK) IsClientError() bool
- func (o *UniqueNameOK) IsCode(code int) bool
- func (o *UniqueNameOK) IsRedirect() bool
- func (o *UniqueNameOK) IsServerError() bool
- func (o *UniqueNameOK) IsSuccess() bool
- func (o *UniqueNameOK) String() string
- type UniqueNameParams
- func (o *UniqueNameParams) SetContext(ctx context.Context)
- func (o *UniqueNameParams) SetDefaults()
- func (o *UniqueNameParams) SetHTTPClient(client *http.Client)
- func (o *UniqueNameParams) SetTimeout(timeout time.Duration)
- func (o *UniqueNameParams) WithContext(ctx context.Context) *UniqueNameParams
- func (o *UniqueNameParams) WithDefaults() *UniqueNameParams
- func (o *UniqueNameParams) WithHTTPClient(client *http.Client) *UniqueNameParams
- func (o *UniqueNameParams) WithTimeout(timeout time.Duration) *UniqueNameParams
- func (o *UniqueNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UniqueNameReader
- type UniqueNameUnauthorized
- func (o *UniqueNameUnauthorized) Error() string
- func (o *UniqueNameUnauthorized) GetPayload() *models.Error
- func (o *UniqueNameUnauthorized) IsClientError() bool
- func (o *UniqueNameUnauthorized) IsCode(code int) bool
- func (o *UniqueNameUnauthorized) IsRedirect() bool
- func (o *UniqueNameUnauthorized) IsServerError() bool
- func (o *UniqueNameUnauthorized) IsSuccess() bool
- func (o *UniqueNameUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGroupForUserInternalServerError ¶ added in v0.3.0
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 (o *AddGroupForUserInternalServerError) Error() string
func (*AddGroupForUserInternalServerError) GetPayload ¶ added in v0.3.0
func (o *AddGroupForUserInternalServerError) GetPayload() *models.Error
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
func (o *AddGroupForUserInternalServerError) IsCode(code int) bool
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
func (o *AddGroupForUserInternalServerError) IsSuccess() bool
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
func (o *AddGroupForUserInternalServerError) String() string
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
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
func (o *AddGroupForUserParams) WithContext(ctx context.Context) *AddGroupForUserParams
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 {
}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 (o *AddGroupForUserUnauthorized) Error() string
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 ¶
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 (o *AddPolicyForUserInternalServerError) Error() string
func (*AddPolicyForUserInternalServerError) GetPayload ¶
func (o *AddPolicyForUserInternalServerError) GetPayload() *models.Error
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 ¶
func (o *AddPolicyForUserInternalServerError) IsCode(code int) bool
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 ¶
func (o *AddPolicyForUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this add policy for user internal server error response has a 2xx status code
func (*AddPolicyForUserInternalServerError) String ¶
func (o *AddPolicyForUserInternalServerError) String() 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 ¶
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 ¶
func (o *AddPolicyForUserParams) WithContext(ctx context.Context) *AddPolicyForUserParams
WithContext adds the context to the add policy for user params
func (*AddPolicyForUserParams) WithDefaults ¶
func (o *AddPolicyForUserParams) WithDefaults() *AddPolicyForUserParams
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 ¶
func (o *AddPolicyForUserParams) WithTimeout(timeout time.Duration) *AddPolicyForUserParams
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 ¶
func (o *AddPolicyForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AddPolicyForUserUnauthorized) Error() string
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 ¶
func (o *AddPolicyForUserUnauthorized) String() string
type CancelBookingInternalServerError ¶
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 (o *CancelBookingInternalServerError) Error() string
func (*CancelBookingInternalServerError) GetPayload ¶
func (o *CancelBookingInternalServerError) GetPayload() *models.Error
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 ¶
func (o *CancelBookingInternalServerError) String() string
type CancelBookingNotFound ¶
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 ¶
func (o *CancelBookingParams) WithContext(ctx context.Context) *CancelBookingParams
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 {
}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 ¶
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 (o *GetAccessTokenInternalServerError) Error() string
func (*GetAccessTokenInternalServerError) GetPayload ¶
func (o *GetAccessTokenInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetAccessTokenInternalServerError) String() string
type GetAccessTokenNotFound ¶
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 ¶
func (o *GetAccessTokenParams) WithContext(ctx context.Context) *GetAccessTokenParams
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 {
}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 (o *GetAccessTokenUnauthorized) Error() string
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 ¶
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 (o *GetActivityInternalServerError) Error() string
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 ¶
func (o *GetActivityInternalServerError) String() string
type GetActivityNotFound ¶
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 ¶
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 {
}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 ¶
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 (o *GetAvailabilityInternalServerError) Error() string
func (*GetAvailabilityInternalServerError) GetPayload ¶
func (o *GetAvailabilityInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetAvailabilityInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetAvailabilityInternalServerError) IsSuccess() bool
IsSuccess returns true when this get availability internal server error response has a 2xx status code
func (*GetAvailabilityInternalServerError) String ¶
func (o *GetAvailabilityInternalServerError) String() string
type GetAvailabilityNotFound ¶
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 ¶
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 ¶
func (o *GetAvailabilityParams) WithContext(ctx context.Context) *GetAvailabilityParams
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 {
}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 (o *GetAvailabilityUnauthorized) Error() string
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 ¶
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 (o *GetBookingsForUserInternalServerError) Error() string
func (*GetBookingsForUserInternalServerError) GetPayload ¶
func (o *GetBookingsForUserInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetBookingsForUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get bookings for user internal server error response a status code equal to that given
func (*GetBookingsForUserInternalServerError) IsRedirect ¶
func (o *GetBookingsForUserInternalServerError) IsRedirect() bool
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 ¶
func (o *GetBookingsForUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get bookings for user internal server error response has a 2xx status code
func (*GetBookingsForUserInternalServerError) String ¶
func (o *GetBookingsForUserInternalServerError) String() string
type GetBookingsForUserNotFound ¶
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 (o *GetBookingsForUserNotFound) Error() string
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 ¶
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 ¶
func (o *GetBookingsForUserParams) WithContext(ctx context.Context) *GetBookingsForUserParams
WithContext adds the context to the get bookings for user params
func (*GetBookingsForUserParams) WithDefaults ¶
func (o *GetBookingsForUserParams) WithDefaults() *GetBookingsForUserParams
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 ¶
func (o *GetBookingsForUserParams) WithTimeout(timeout time.Duration) *GetBookingsForUserParams
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 ¶
func (o *GetBookingsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetBookingsForUserUnauthorized) Error() string
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 ¶
func (o *GetBookingsForUserUnauthorized) String() string
type GetDescriptionInternalServerError ¶
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 (o *GetDescriptionInternalServerError) Error() string
func (*GetDescriptionInternalServerError) GetPayload ¶
func (o *GetDescriptionInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetDescriptionInternalServerError) String() string
type GetDescriptionNotFound ¶
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 ¶
func (o *GetDescriptionParams) WithContext(ctx context.Context) *GetDescriptionParams
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 {
}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 (o *GetDescriptionUnauthorized) Error() string
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
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 (o *GetGroupInternalServerError) Error() string
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
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 {
}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
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 (o *GetGroupsForUserInternalServerError) Error() string
func (*GetGroupsForUserInternalServerError) GetPayload ¶ added in v0.3.0
func (o *GetGroupsForUserInternalServerError) GetPayload() *models.Error
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
func (o *GetGroupsForUserInternalServerError) IsCode(code int) bool
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
func (o *GetGroupsForUserInternalServerError) IsSuccess() bool
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
func (o *GetGroupsForUserInternalServerError) String() string
type GetGroupsForUserNotFound ¶ added in v0.3.0
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
func (o *GetGroupsForUserParams) WithContext(ctx context.Context) *GetGroupsForUserParams
WithContext adds the context to the get groups for user params
func (*GetGroupsForUserParams) WithDefaults ¶ added in v0.3.0
func (o *GetGroupsForUserParams) WithDefaults() *GetGroupsForUserParams
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
func (o *GetGroupsForUserParams) WithTimeout(timeout time.Duration) *GetGroupsForUserParams
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
func (o *GetGroupsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetGroupsForUserUnauthorized) Error() string
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
func (o *GetGroupsForUserUnauthorized) String() string
type GetOldBookingsForUserInternalServerError ¶
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 (o *GetOldBookingsForUserInternalServerError) Error() string
func (*GetOldBookingsForUserInternalServerError) GetPayload ¶
func (o *GetOldBookingsForUserInternalServerError) GetPayload() *models.Error
func (*GetOldBookingsForUserInternalServerError) IsClientError ¶
func (o *GetOldBookingsForUserInternalServerError) IsClientError() bool
IsClientError returns true when this get old bookings for user internal server error response has a 4xx status code
func (*GetOldBookingsForUserInternalServerError) IsCode ¶
func (o *GetOldBookingsForUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get old bookings for user internal server error response a status code equal to that given
func (*GetOldBookingsForUserInternalServerError) IsRedirect ¶
func (o *GetOldBookingsForUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this get old bookings for user internal server error response has a 3xx status code
func (*GetOldBookingsForUserInternalServerError) IsServerError ¶
func (o *GetOldBookingsForUserInternalServerError) IsServerError() bool
IsServerError returns true when this get old bookings for user internal server error response has a 5xx status code
func (*GetOldBookingsForUserInternalServerError) IsSuccess ¶
func (o *GetOldBookingsForUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get old bookings for user internal server error response has a 2xx status code
func (*GetOldBookingsForUserInternalServerError) String ¶
func (o *GetOldBookingsForUserInternalServerError) String() string
type GetOldBookingsForUserNotFound ¶
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 (o *GetOldBookingsForUserNotFound) Error() string
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 ¶
func (o *GetOldBookingsForUserNotFound) String() string
type GetOldBookingsForUserOK ¶
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 ¶
func (o *GetOldBookingsForUserParams) WithContext(ctx context.Context) *GetOldBookingsForUserParams
WithContext adds the context to the get old bookings for user params
func (*GetOldBookingsForUserParams) WithDefaults ¶
func (o *GetOldBookingsForUserParams) WithDefaults() *GetOldBookingsForUserParams
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 ¶
func (o *GetOldBookingsForUserParams) WithHTTPClient(client *http.Client) *GetOldBookingsForUserParams
WithHTTPClient adds the HTTPClient to the get old bookings for user params
func (*GetOldBookingsForUserParams) WithTimeout ¶
func (o *GetOldBookingsForUserParams) WithTimeout(timeout time.Duration) *GetOldBookingsForUserParams
WithTimeout adds the timeout to the get old bookings for user params
func (*GetOldBookingsForUserParams) WithUserName ¶
func (o *GetOldBookingsForUserParams) WithUserName(userName string) *GetOldBookingsForUserParams
WithUserName adds the userName to the get old bookings for user params
func (*GetOldBookingsForUserParams) WriteToRequest ¶
func (o *GetOldBookingsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetOldBookingsForUserUnauthorized) Error() string
func (*GetOldBookingsForUserUnauthorized) GetPayload ¶
func (o *GetOldBookingsForUserUnauthorized) GetPayload() *models.Error
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 ¶
func (o *GetOldBookingsForUserUnauthorized) String() string
type GetPoliciesForUserInternalServerError ¶
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 (o *GetPoliciesForUserInternalServerError) Error() string
func (*GetPoliciesForUserInternalServerError) GetPayload ¶
func (o *GetPoliciesForUserInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetPoliciesForUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get policies for user internal server error response a status code equal to that given
func (*GetPoliciesForUserInternalServerError) IsRedirect ¶
func (o *GetPoliciesForUserInternalServerError) IsRedirect() bool
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 ¶
func (o *GetPoliciesForUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get policies for user internal server error response has a 2xx status code
func (*GetPoliciesForUserInternalServerError) String ¶
func (o *GetPoliciesForUserInternalServerError) String() string
type GetPoliciesForUserNotFound ¶
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 (o *GetPoliciesForUserNotFound) Error() string
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 (o *GetPoliciesForUserOK) GetPayload() models.PoliciesDescribed
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 ¶
func (o *GetPoliciesForUserParams) WithContext(ctx context.Context) *GetPoliciesForUserParams
WithContext adds the context to the get policies for user params
func (*GetPoliciesForUserParams) WithDefaults ¶
func (o *GetPoliciesForUserParams) WithDefaults() *GetPoliciesForUserParams
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 ¶
func (o *GetPoliciesForUserParams) WithTimeout(timeout time.Duration) *GetPoliciesForUserParams
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 ¶
func (o *GetPoliciesForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetPoliciesForUserUnauthorized) Error() string
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 ¶
func (o *GetPoliciesForUserUnauthorized) String() string
type GetPolicyInternalServerError ¶
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 (o *GetPolicyInternalServerError) Error() string
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 ¶
func (o *GetPolicyInternalServerError) String() string
type GetPolicyNotFound ¶
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 ¶
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 (o *GetPolicyStatusForUserInternalServerError) Error() string
func (*GetPolicyStatusForUserInternalServerError) GetPayload ¶
func (o *GetPolicyStatusForUserInternalServerError) GetPayload() *models.Error
func (*GetPolicyStatusForUserInternalServerError) IsClientError ¶
func (o *GetPolicyStatusForUserInternalServerError) IsClientError() bool
IsClientError returns true when this get policy status for user internal server error response has a 4xx status code
func (*GetPolicyStatusForUserInternalServerError) IsCode ¶
func (o *GetPolicyStatusForUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get policy status for user internal server error response a status code equal to that given
func (*GetPolicyStatusForUserInternalServerError) IsRedirect ¶
func (o *GetPolicyStatusForUserInternalServerError) IsRedirect() bool
IsRedirect returns true when this get policy status for user internal server error response has a 3xx status code
func (*GetPolicyStatusForUserInternalServerError) IsServerError ¶
func (o *GetPolicyStatusForUserInternalServerError) IsServerError() bool
IsServerError returns true when this get policy status for user internal server error response has a 5xx status code
func (*GetPolicyStatusForUserInternalServerError) IsSuccess ¶
func (o *GetPolicyStatusForUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get policy status for user internal server error response has a 2xx status code
func (*GetPolicyStatusForUserInternalServerError) String ¶
func (o *GetPolicyStatusForUserInternalServerError) String() string
type GetPolicyStatusForUserNotFound ¶
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 (o *GetPolicyStatusForUserNotFound) Error() string
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 ¶
func (o *GetPolicyStatusForUserNotFound) String() 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 ¶
func (o *GetPolicyStatusForUserParams) WithContext(ctx context.Context) *GetPolicyStatusForUserParams
WithContext adds the context to the get policy status for user params
func (*GetPolicyStatusForUserParams) WithDefaults ¶
func (o *GetPolicyStatusForUserParams) WithDefaults() *GetPolicyStatusForUserParams
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 ¶
func (o *GetPolicyStatusForUserParams) WithHTTPClient(client *http.Client) *GetPolicyStatusForUserParams
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 ¶
func (o *GetPolicyStatusForUserParams) WithTimeout(timeout time.Duration) *GetPolicyStatusForUserParams
WithTimeout adds the timeout to the get policy status for user params
func (*GetPolicyStatusForUserParams) WithUserName ¶
func (o *GetPolicyStatusForUserParams) WithUserName(userName string) *GetPolicyStatusForUserParams
WithUserName adds the userName to the get policy status for user params
func (*GetPolicyStatusForUserParams) WriteToRequest ¶
func (o *GetPolicyStatusForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetPolicyStatusForUserUnauthorized) Error() string
func (*GetPolicyStatusForUserUnauthorized) GetPayload ¶
func (o *GetPolicyStatusForUserUnauthorized) GetPayload() *models.Error
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 ¶
func (o *GetPolicyStatusForUserUnauthorized) IsCode(code int) bool
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 ¶
func (o *GetPolicyStatusForUserUnauthorized) IsSuccess() bool
IsSuccess returns true when this get policy status for user unauthorized response has a 2xx status code
func (*GetPolicyStatusForUserUnauthorized) String ¶
func (o *GetPolicyStatusForUserUnauthorized) String() string
type GetPolicyUnauthorized ¶
type GetPolicyUnauthorized struct {
}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 ¶
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 (o *GetStoreStatusUserInternalServerError) Error() string
func (*GetStoreStatusUserInternalServerError) GetPayload ¶
func (o *GetStoreStatusUserInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetStoreStatusUserInternalServerError) IsCode(code int) bool
IsCode returns true when this get store status user internal server error response a status code equal to that given
func (*GetStoreStatusUserInternalServerError) IsRedirect ¶
func (o *GetStoreStatusUserInternalServerError) IsRedirect() bool
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 ¶
func (o *GetStoreStatusUserInternalServerError) IsSuccess() bool
IsSuccess returns true when this get store status user internal server error response has a 2xx status code
func (*GetStoreStatusUserInternalServerError) String ¶
func (o *GetStoreStatusUserInternalServerError) String() string
type GetStoreStatusUserNotFound ¶
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 (o *GetStoreStatusUserNotFound) Error() string
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 ¶
func (o *GetStoreStatusUserParams) WithContext(ctx context.Context) *GetStoreStatusUserParams
WithContext adds the context to the get store status user params
func (*GetStoreStatusUserParams) WithDefaults ¶
func (o *GetStoreStatusUserParams) WithDefaults() *GetStoreStatusUserParams
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 ¶
func (o *GetStoreStatusUserParams) WithTimeout(timeout time.Duration) *GetStoreStatusUserParams
WithTimeout adds the timeout to the get store status user params
func (*GetStoreStatusUserParams) WriteToRequest ¶
func (o *GetStoreStatusUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetStoreStatusUserUnauthorized) Error() string
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 ¶
func (o *GetStoreStatusUserUnauthorized) String() 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 ¶
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 (o *MakeBookingInternalServerError) Error() string
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 ¶
func (o *MakeBookingInternalServerError) String() 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 ¶
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 ¶
func (o *MakeBookingParams) WithFrom(from strfmt.DateTime) *MakeBookingParams
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 ¶
func (o *MakeBookingParams) WithTo(to strfmt.DateTime) *MakeBookingParams
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 {
}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 ¶
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 (o *UniqueNameInternalServerError) Error() string
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 ¶
func (o *UniqueNameInternalServerError) String() string
type UniqueNameOK ¶
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 {
}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
Source Files ¶
- add_group_for_user_parameters.go
- add_group_for_user_responses.go
- add_policy_for_user_parameters.go
- add_policy_for_user_responses.go
- cancel_booking_parameters.go
- cancel_booking_responses.go
- get_access_token_parameters.go
- get_access_token_responses.go
- get_activity_parameters.go
- get_activity_responses.go
- get_availability_parameters.go
- get_availability_responses.go
- get_bookings_for_user_parameters.go
- get_bookings_for_user_responses.go
- get_description_parameters.go
- get_description_responses.go
- get_group_parameters.go
- get_group_responses.go
- get_groups_for_user_parameters.go
- get_groups_for_user_responses.go
- get_old_bookings_for_user_parameters.go
- get_old_bookings_for_user_responses.go
- get_policies_for_user_parameters.go
- get_policies_for_user_responses.go
- get_policy_parameters.go
- get_policy_responses.go
- get_policy_status_for_user_parameters.go
- get_policy_status_for_user_responses.go
- get_store_status_user_parameters.go
- get_store_status_user_responses.go
- make_booking_parameters.go
- make_booking_responses.go
- unique_name_parameters.go
- unique_name_responses.go
- users_client.go