Documentation ¶
Index ¶
- type CancelBookingOK
- type CancelBookingParams
- func (o *CancelBookingParams) SetBody(body *models.CancelBookingRequest)
- func (o *CancelBookingParams) SetBookingID(bookingID 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) WithBody(body *models.CancelBookingRequest) *CancelBookingParams
- func (o *CancelBookingParams) WithBookingID(bookingID 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) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelBookingReader
- type Client
- func (a *Client) CancelBooking(params *CancelBookingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelBookingOK, error)
- func (a *Client) CreateBooking(params *CreateBookingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBookingOK, error)
- func (a *Client) ListTeamMemberBookingProfiles(params *ListTeamMemberBookingProfilesParams, ...) (*ListTeamMemberBookingProfilesOK, error)
- func (a *Client) RetrieveBooking(params *RetrieveBookingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RetrieveBookingOK, error)
- func (a *Client) RetrieveBusinessBookingProfile(params *RetrieveBusinessBookingProfileParams, ...) (*RetrieveBusinessBookingProfileOK, error)
- func (a *Client) RetrieveTeamMemberBookingProfile(params *RetrieveTeamMemberBookingProfileParams, ...) (*RetrieveTeamMemberBookingProfileOK, error)
- func (a *Client) SearchAvailability(params *SearchAvailabilityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchAvailabilityOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateBooking(params *UpdateBookingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBookingOK, error)
- type ClientOption
- type ClientService
- type CreateBookingOK
- type CreateBookingParams
- func (o *CreateBookingParams) SetBody(body *models.CreateBookingRequest)
- func (o *CreateBookingParams) SetContext(ctx context.Context)
- func (o *CreateBookingParams) SetDefaults()
- func (o *CreateBookingParams) SetHTTPClient(client *http.Client)
- func (o *CreateBookingParams) SetTimeout(timeout time.Duration)
- func (o *CreateBookingParams) WithBody(body *models.CreateBookingRequest) *CreateBookingParams
- func (o *CreateBookingParams) WithContext(ctx context.Context) *CreateBookingParams
- func (o *CreateBookingParams) WithDefaults() *CreateBookingParams
- func (o *CreateBookingParams) WithHTTPClient(client *http.Client) *CreateBookingParams
- func (o *CreateBookingParams) WithTimeout(timeout time.Duration) *CreateBookingParams
- func (o *CreateBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBookingReader
- type ListTeamMemberBookingProfilesOK
- type ListTeamMemberBookingProfilesParams
- func NewListTeamMemberBookingProfilesParams() *ListTeamMemberBookingProfilesParams
- func NewListTeamMemberBookingProfilesParamsWithContext(ctx context.Context) *ListTeamMemberBookingProfilesParams
- func NewListTeamMemberBookingProfilesParamsWithHTTPClient(client *http.Client) *ListTeamMemberBookingProfilesParams
- func NewListTeamMemberBookingProfilesParamsWithTimeout(timeout time.Duration) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) SetBookableOnly(bookableOnly *bool)
- func (o *ListTeamMemberBookingProfilesParams) SetContext(ctx context.Context)
- func (o *ListTeamMemberBookingProfilesParams) SetCursor(cursor *string)
- func (o *ListTeamMemberBookingProfilesParams) SetDefaults()
- func (o *ListTeamMemberBookingProfilesParams) SetHTTPClient(client *http.Client)
- func (o *ListTeamMemberBookingProfilesParams) SetLimit(limit *int64)
- func (o *ListTeamMemberBookingProfilesParams) SetLocationID(locationID *string)
- func (o *ListTeamMemberBookingProfilesParams) SetTimeout(timeout time.Duration)
- func (o *ListTeamMemberBookingProfilesParams) WithBookableOnly(bookableOnly *bool) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithContext(ctx context.Context) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithCursor(cursor *string) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithDefaults() *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithHTTPClient(client *http.Client) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithLimit(limit *int64) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithLocationID(locationID *string) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WithTimeout(timeout time.Duration) *ListTeamMemberBookingProfilesParams
- func (o *ListTeamMemberBookingProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTeamMemberBookingProfilesReader
- type RetrieveBookingOK
- type RetrieveBookingParams
- func NewRetrieveBookingParams() *RetrieveBookingParams
- func NewRetrieveBookingParamsWithContext(ctx context.Context) *RetrieveBookingParams
- func NewRetrieveBookingParamsWithHTTPClient(client *http.Client) *RetrieveBookingParams
- func NewRetrieveBookingParamsWithTimeout(timeout time.Duration) *RetrieveBookingParams
- func (o *RetrieveBookingParams) SetBookingID(bookingID string)
- func (o *RetrieveBookingParams) SetContext(ctx context.Context)
- func (o *RetrieveBookingParams) SetDefaults()
- func (o *RetrieveBookingParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveBookingParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveBookingParams) WithBookingID(bookingID string) *RetrieveBookingParams
- func (o *RetrieveBookingParams) WithContext(ctx context.Context) *RetrieveBookingParams
- func (o *RetrieveBookingParams) WithDefaults() *RetrieveBookingParams
- func (o *RetrieveBookingParams) WithHTTPClient(client *http.Client) *RetrieveBookingParams
- func (o *RetrieveBookingParams) WithTimeout(timeout time.Duration) *RetrieveBookingParams
- func (o *RetrieveBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveBookingReader
- type RetrieveBusinessBookingProfileOK
- type RetrieveBusinessBookingProfileParams
- func NewRetrieveBusinessBookingProfileParams() *RetrieveBusinessBookingProfileParams
- func NewRetrieveBusinessBookingProfileParamsWithContext(ctx context.Context) *RetrieveBusinessBookingProfileParams
- func NewRetrieveBusinessBookingProfileParamsWithHTTPClient(client *http.Client) *RetrieveBusinessBookingProfileParams
- func NewRetrieveBusinessBookingProfileParamsWithTimeout(timeout time.Duration) *RetrieveBusinessBookingProfileParams
- func (o *RetrieveBusinessBookingProfileParams) SetContext(ctx context.Context)
- func (o *RetrieveBusinessBookingProfileParams) SetDefaults()
- func (o *RetrieveBusinessBookingProfileParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveBusinessBookingProfileParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveBusinessBookingProfileParams) WithContext(ctx context.Context) *RetrieveBusinessBookingProfileParams
- func (o *RetrieveBusinessBookingProfileParams) WithDefaults() *RetrieveBusinessBookingProfileParams
- func (o *RetrieveBusinessBookingProfileParams) WithHTTPClient(client *http.Client) *RetrieveBusinessBookingProfileParams
- func (o *RetrieveBusinessBookingProfileParams) WithTimeout(timeout time.Duration) *RetrieveBusinessBookingProfileParams
- func (o *RetrieveBusinessBookingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveBusinessBookingProfileReader
- type RetrieveTeamMemberBookingProfileOK
- type RetrieveTeamMemberBookingProfileParams
- func NewRetrieveTeamMemberBookingProfileParams() *RetrieveTeamMemberBookingProfileParams
- func NewRetrieveTeamMemberBookingProfileParamsWithContext(ctx context.Context) *RetrieveTeamMemberBookingProfileParams
- func NewRetrieveTeamMemberBookingProfileParamsWithHTTPClient(client *http.Client) *RetrieveTeamMemberBookingProfileParams
- func NewRetrieveTeamMemberBookingProfileParamsWithTimeout(timeout time.Duration) *RetrieveTeamMemberBookingProfileParams
- func (o *RetrieveTeamMemberBookingProfileParams) SetContext(ctx context.Context)
- func (o *RetrieveTeamMemberBookingProfileParams) SetDefaults()
- func (o *RetrieveTeamMemberBookingProfileParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveTeamMemberBookingProfileParams) SetTeamMemberID(teamMemberID string)
- func (o *RetrieveTeamMemberBookingProfileParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveTeamMemberBookingProfileParams) WithContext(ctx context.Context) *RetrieveTeamMemberBookingProfileParams
- func (o *RetrieveTeamMemberBookingProfileParams) WithDefaults() *RetrieveTeamMemberBookingProfileParams
- func (o *RetrieveTeamMemberBookingProfileParams) WithHTTPClient(client *http.Client) *RetrieveTeamMemberBookingProfileParams
- func (o *RetrieveTeamMemberBookingProfileParams) WithTeamMemberID(teamMemberID string) *RetrieveTeamMemberBookingProfileParams
- func (o *RetrieveTeamMemberBookingProfileParams) WithTimeout(timeout time.Duration) *RetrieveTeamMemberBookingProfileParams
- func (o *RetrieveTeamMemberBookingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveTeamMemberBookingProfileReader
- type SearchAvailabilityOK
- type SearchAvailabilityParams
- func NewSearchAvailabilityParams() *SearchAvailabilityParams
- func NewSearchAvailabilityParamsWithContext(ctx context.Context) *SearchAvailabilityParams
- func NewSearchAvailabilityParamsWithHTTPClient(client *http.Client) *SearchAvailabilityParams
- func NewSearchAvailabilityParamsWithTimeout(timeout time.Duration) *SearchAvailabilityParams
- func (o *SearchAvailabilityParams) SetBody(body *models.SearchAvailabilityRequest)
- func (o *SearchAvailabilityParams) SetContext(ctx context.Context)
- func (o *SearchAvailabilityParams) SetDefaults()
- func (o *SearchAvailabilityParams) SetHTTPClient(client *http.Client)
- func (o *SearchAvailabilityParams) SetTimeout(timeout time.Duration)
- func (o *SearchAvailabilityParams) WithBody(body *models.SearchAvailabilityRequest) *SearchAvailabilityParams
- func (o *SearchAvailabilityParams) WithContext(ctx context.Context) *SearchAvailabilityParams
- func (o *SearchAvailabilityParams) WithDefaults() *SearchAvailabilityParams
- func (o *SearchAvailabilityParams) WithHTTPClient(client *http.Client) *SearchAvailabilityParams
- func (o *SearchAvailabilityParams) WithTimeout(timeout time.Duration) *SearchAvailabilityParams
- func (o *SearchAvailabilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchAvailabilityReader
- type UpdateBookingOK
- type UpdateBookingParams
- func (o *UpdateBookingParams) SetBody(body *models.UpdateBookingRequest)
- func (o *UpdateBookingParams) SetBookingID(bookingID string)
- func (o *UpdateBookingParams) SetContext(ctx context.Context)
- func (o *UpdateBookingParams) SetDefaults()
- func (o *UpdateBookingParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBookingParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBookingParams) WithBody(body *models.UpdateBookingRequest) *UpdateBookingParams
- func (o *UpdateBookingParams) WithBookingID(bookingID string) *UpdateBookingParams
- func (o *UpdateBookingParams) WithContext(ctx context.Context) *UpdateBookingParams
- func (o *UpdateBookingParams) WithDefaults() *UpdateBookingParams
- func (o *UpdateBookingParams) WithHTTPClient(client *http.Client) *UpdateBookingParams
- func (o *UpdateBookingParams) WithTimeout(timeout time.Duration) *UpdateBookingParams
- func (o *UpdateBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBookingReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelBookingOK ¶
type CancelBookingOK struct {
Payload *models.CancelBookingResponse
}
CancelBookingOK describes a response with status code 200, with default header values.
Success
func NewCancelBookingOK ¶
func NewCancelBookingOK() *CancelBookingOK
NewCancelBookingOK creates a CancelBookingOK with default headers values
func (*CancelBookingOK) Error ¶
func (o *CancelBookingOK) Error() string
func (*CancelBookingOK) GetPayload ¶
func (o *CancelBookingOK) GetPayload() *models.CancelBookingResponse
type CancelBookingParams ¶
type CancelBookingParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.CancelBookingRequest /* BookingID. The ID of the `Booking` object representing the to-be-cancelled booking. */ BookingID 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) SetBody ¶
func (o *CancelBookingParams) SetBody(body *models.CancelBookingRequest)
SetBody adds the body to the cancel booking params
func (*CancelBookingParams) SetBookingID ¶
func (o *CancelBookingParams) SetBookingID(bookingID string)
SetBookingID adds the bookingId 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) WithBody ¶
func (o *CancelBookingParams) WithBody(body *models.CancelBookingRequest) *CancelBookingParams
WithBody adds the body to the cancel booking params
func (*CancelBookingParams) WithBookingID ¶
func (o *CancelBookingParams) WithBookingID(bookingID string) *CancelBookingParams
WithBookingID adds the bookingID 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) 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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for bookings API
func (*Client) CancelBooking ¶
func (a *Client) CancelBooking(params *CancelBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelBookingOK, error)
CancelBooking cancels booking
Cancels an existing booking.
func (*Client) CreateBooking ¶
func (a *Client) CreateBooking(params *CreateBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBookingOK, error)
CreateBooking creates booking
Creates a booking.
func (*Client) ListTeamMemberBookingProfiles ¶
func (a *Client) ListTeamMemberBookingProfiles(params *ListTeamMemberBookingProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamMemberBookingProfilesOK, error)
ListTeamMemberBookingProfiles lists team member booking profiles
Lists booking profiles for team members.
func (*Client) RetrieveBooking ¶
func (a *Client) RetrieveBooking(params *RetrieveBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveBookingOK, error)
RetrieveBooking retrieves booking
Retrieves a booking.
func (*Client) RetrieveBusinessBookingProfile ¶
func (a *Client) RetrieveBusinessBookingProfile(params *RetrieveBusinessBookingProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveBusinessBookingProfileOK, error)
RetrieveBusinessBookingProfile retrieves business booking profile
Retrieves a seller's booking profile.
func (*Client) RetrieveTeamMemberBookingProfile ¶
func (a *Client) RetrieveTeamMemberBookingProfile(params *RetrieveTeamMemberBookingProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveTeamMemberBookingProfileOK, error)
RetrieveTeamMemberBookingProfile retrieves team member booking profile
Retrieves a team member's booking profile.
func (*Client) SearchAvailability ¶
func (a *Client) SearchAvailability(params *SearchAvailabilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchAvailabilityOK, error)
SearchAvailability searches availability
Searches for availabilities for booking.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateBooking ¶
func (a *Client) UpdateBooking(params *UpdateBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBookingOK, error)
UpdateBooking updates booking
Updates a booking.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CancelBooking(params *CancelBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelBookingOK, error) CreateBooking(params *CreateBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBookingOK, error) ListTeamMemberBookingProfiles(params *ListTeamMemberBookingProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTeamMemberBookingProfilesOK, error) RetrieveBooking(params *RetrieveBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveBookingOK, error) RetrieveBusinessBookingProfile(params *RetrieveBusinessBookingProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveBusinessBookingProfileOK, error) RetrieveTeamMemberBookingProfile(params *RetrieveTeamMemberBookingProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveTeamMemberBookingProfileOK, error) SearchAvailability(params *SearchAvailabilityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchAvailabilityOK, error) UpdateBooking(params *UpdateBookingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBookingOK, 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 bookings API client.
type CreateBookingOK ¶
type CreateBookingOK struct {
Payload *models.CreateBookingResponse
}
CreateBookingOK describes a response with status code 200, with default header values.
Success
func NewCreateBookingOK ¶
func NewCreateBookingOK() *CreateBookingOK
NewCreateBookingOK creates a CreateBookingOK with default headers values
func (*CreateBookingOK) Error ¶
func (o *CreateBookingOK) Error() string
func (*CreateBookingOK) GetPayload ¶
func (o *CreateBookingOK) GetPayload() *models.CreateBookingResponse
type CreateBookingParams ¶
type CreateBookingParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.CreateBookingRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBookingParams contains all the parameters to send to the API endpoint
for the create booking operation. Typically these are written to a http.Request.
func NewCreateBookingParams ¶
func NewCreateBookingParams() *CreateBookingParams
NewCreateBookingParams creates a new CreateBookingParams 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 NewCreateBookingParamsWithContext ¶
func NewCreateBookingParamsWithContext(ctx context.Context) *CreateBookingParams
NewCreateBookingParamsWithContext creates a new CreateBookingParams object with the ability to set a context for a request.
func NewCreateBookingParamsWithHTTPClient ¶
func NewCreateBookingParamsWithHTTPClient(client *http.Client) *CreateBookingParams
NewCreateBookingParamsWithHTTPClient creates a new CreateBookingParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBookingParamsWithTimeout ¶
func NewCreateBookingParamsWithTimeout(timeout time.Duration) *CreateBookingParams
NewCreateBookingParamsWithTimeout creates a new CreateBookingParams object with the ability to set a timeout on a request.
func (*CreateBookingParams) SetBody ¶
func (o *CreateBookingParams) SetBody(body *models.CreateBookingRequest)
SetBody adds the body to the create booking params
func (*CreateBookingParams) SetContext ¶
func (o *CreateBookingParams) SetContext(ctx context.Context)
SetContext adds the context to the create booking params
func (*CreateBookingParams) SetDefaults ¶
func (o *CreateBookingParams) SetDefaults()
SetDefaults hydrates default values in the create booking params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBookingParams) SetHTTPClient ¶
func (o *CreateBookingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create booking params
func (*CreateBookingParams) SetTimeout ¶
func (o *CreateBookingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create booking params
func (*CreateBookingParams) WithBody ¶
func (o *CreateBookingParams) WithBody(body *models.CreateBookingRequest) *CreateBookingParams
WithBody adds the body to the create booking params
func (*CreateBookingParams) WithContext ¶
func (o *CreateBookingParams) WithContext(ctx context.Context) *CreateBookingParams
WithContext adds the context to the create booking params
func (*CreateBookingParams) WithDefaults ¶
func (o *CreateBookingParams) WithDefaults() *CreateBookingParams
WithDefaults hydrates default values in the create booking params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBookingParams) WithHTTPClient ¶
func (o *CreateBookingParams) WithHTTPClient(client *http.Client) *CreateBookingParams
WithHTTPClient adds the HTTPClient to the create booking params
func (*CreateBookingParams) WithTimeout ¶
func (o *CreateBookingParams) WithTimeout(timeout time.Duration) *CreateBookingParams
WithTimeout adds the timeout to the create booking params
func (*CreateBookingParams) WriteToRequest ¶
func (o *CreateBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBookingReader ¶
type CreateBookingReader struct {
// contains filtered or unexported fields
}
CreateBookingReader is a Reader for the CreateBooking structure.
func (*CreateBookingReader) ReadResponse ¶
func (o *CreateBookingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTeamMemberBookingProfilesOK ¶
type ListTeamMemberBookingProfilesOK struct {
Payload *models.ListTeamMemberBookingProfilesResponse
}
ListTeamMemberBookingProfilesOK describes a response with status code 200, with default header values.
Success
func NewListTeamMemberBookingProfilesOK ¶
func NewListTeamMemberBookingProfilesOK() *ListTeamMemberBookingProfilesOK
NewListTeamMemberBookingProfilesOK creates a ListTeamMemberBookingProfilesOK with default headers values
func (*ListTeamMemberBookingProfilesOK) Error ¶
func (o *ListTeamMemberBookingProfilesOK) Error() string
func (*ListTeamMemberBookingProfilesOK) GetPayload ¶
func (o *ListTeamMemberBookingProfilesOK) GetPayload() *models.ListTeamMemberBookingProfilesResponse
type ListTeamMemberBookingProfilesParams ¶
type ListTeamMemberBookingProfilesParams struct { /* BookableOnly. Indicates whether to include only bookable team members in the returned result (`true`) or not (`false`). */ BookableOnly *bool /* Cursor. The cursor for paginating through the results. */ Cursor *string /* Limit. The maximum number of results to return. */ Limit *int64 /* LocationID. Indicates whether to include only team members enabled at the given location in the returned result. */ LocationID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTeamMemberBookingProfilesParams contains all the parameters to send to the API endpoint
for the list team member booking profiles operation. Typically these are written to a http.Request.
func NewListTeamMemberBookingProfilesParams ¶
func NewListTeamMemberBookingProfilesParams() *ListTeamMemberBookingProfilesParams
NewListTeamMemberBookingProfilesParams creates a new ListTeamMemberBookingProfilesParams 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 NewListTeamMemberBookingProfilesParamsWithContext ¶
func NewListTeamMemberBookingProfilesParamsWithContext(ctx context.Context) *ListTeamMemberBookingProfilesParams
NewListTeamMemberBookingProfilesParamsWithContext creates a new ListTeamMemberBookingProfilesParams object with the ability to set a context for a request.
func NewListTeamMemberBookingProfilesParamsWithHTTPClient ¶
func NewListTeamMemberBookingProfilesParamsWithHTTPClient(client *http.Client) *ListTeamMemberBookingProfilesParams
NewListTeamMemberBookingProfilesParamsWithHTTPClient creates a new ListTeamMemberBookingProfilesParams object with the ability to set a custom HTTPClient for a request.
func NewListTeamMemberBookingProfilesParamsWithTimeout ¶
func NewListTeamMemberBookingProfilesParamsWithTimeout(timeout time.Duration) *ListTeamMemberBookingProfilesParams
NewListTeamMemberBookingProfilesParamsWithTimeout creates a new ListTeamMemberBookingProfilesParams object with the ability to set a timeout on a request.
func (*ListTeamMemberBookingProfilesParams) SetBookableOnly ¶
func (o *ListTeamMemberBookingProfilesParams) SetBookableOnly(bookableOnly *bool)
SetBookableOnly adds the bookableOnly to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) SetContext ¶
func (o *ListTeamMemberBookingProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) SetCursor ¶
func (o *ListTeamMemberBookingProfilesParams) SetCursor(cursor *string)
SetCursor adds the cursor to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) SetDefaults ¶
func (o *ListTeamMemberBookingProfilesParams) SetDefaults()
SetDefaults hydrates default values in the list team member booking profiles params (not the query body).
All values with no default are reset to their zero value.
func (*ListTeamMemberBookingProfilesParams) SetHTTPClient ¶
func (o *ListTeamMemberBookingProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) SetLimit ¶
func (o *ListTeamMemberBookingProfilesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) SetLocationID ¶
func (o *ListTeamMemberBookingProfilesParams) SetLocationID(locationID *string)
SetLocationID adds the locationId to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) SetTimeout ¶
func (o *ListTeamMemberBookingProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithBookableOnly ¶
func (o *ListTeamMemberBookingProfilesParams) WithBookableOnly(bookableOnly *bool) *ListTeamMemberBookingProfilesParams
WithBookableOnly adds the bookableOnly to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithContext ¶
func (o *ListTeamMemberBookingProfilesParams) WithContext(ctx context.Context) *ListTeamMemberBookingProfilesParams
WithContext adds the context to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithCursor ¶
func (o *ListTeamMemberBookingProfilesParams) WithCursor(cursor *string) *ListTeamMemberBookingProfilesParams
WithCursor adds the cursor to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithDefaults ¶
func (o *ListTeamMemberBookingProfilesParams) WithDefaults() *ListTeamMemberBookingProfilesParams
WithDefaults hydrates default values in the list team member booking profiles params (not the query body).
All values with no default are reset to their zero value.
func (*ListTeamMemberBookingProfilesParams) WithHTTPClient ¶
func (o *ListTeamMemberBookingProfilesParams) WithHTTPClient(client *http.Client) *ListTeamMemberBookingProfilesParams
WithHTTPClient adds the HTTPClient to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithLimit ¶
func (o *ListTeamMemberBookingProfilesParams) WithLimit(limit *int64) *ListTeamMemberBookingProfilesParams
WithLimit adds the limit to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithLocationID ¶
func (o *ListTeamMemberBookingProfilesParams) WithLocationID(locationID *string) *ListTeamMemberBookingProfilesParams
WithLocationID adds the locationID to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WithTimeout ¶
func (o *ListTeamMemberBookingProfilesParams) WithTimeout(timeout time.Duration) *ListTeamMemberBookingProfilesParams
WithTimeout adds the timeout to the list team member booking profiles params
func (*ListTeamMemberBookingProfilesParams) WriteToRequest ¶
func (o *ListTeamMemberBookingProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTeamMemberBookingProfilesReader ¶
type ListTeamMemberBookingProfilesReader struct {
// contains filtered or unexported fields
}
ListTeamMemberBookingProfilesReader is a Reader for the ListTeamMemberBookingProfiles structure.
func (*ListTeamMemberBookingProfilesReader) ReadResponse ¶
func (o *ListTeamMemberBookingProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveBookingOK ¶
type RetrieveBookingOK struct {
Payload *models.RetrieveBookingResponse
}
RetrieveBookingOK describes a response with status code 200, with default header values.
Success
func NewRetrieveBookingOK ¶
func NewRetrieveBookingOK() *RetrieveBookingOK
NewRetrieveBookingOK creates a RetrieveBookingOK with default headers values
func (*RetrieveBookingOK) Error ¶
func (o *RetrieveBookingOK) Error() string
func (*RetrieveBookingOK) GetPayload ¶
func (o *RetrieveBookingOK) GetPayload() *models.RetrieveBookingResponse
type RetrieveBookingParams ¶
type RetrieveBookingParams struct { /* BookingID. The ID of the `Booking` object representing the to-be-retrieved booking. */ BookingID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveBookingParams contains all the parameters to send to the API endpoint
for the retrieve booking operation. Typically these are written to a http.Request.
func NewRetrieveBookingParams ¶
func NewRetrieveBookingParams() *RetrieveBookingParams
NewRetrieveBookingParams creates a new RetrieveBookingParams 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 NewRetrieveBookingParamsWithContext ¶
func NewRetrieveBookingParamsWithContext(ctx context.Context) *RetrieveBookingParams
NewRetrieveBookingParamsWithContext creates a new RetrieveBookingParams object with the ability to set a context for a request.
func NewRetrieveBookingParamsWithHTTPClient ¶
func NewRetrieveBookingParamsWithHTTPClient(client *http.Client) *RetrieveBookingParams
NewRetrieveBookingParamsWithHTTPClient creates a new RetrieveBookingParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveBookingParamsWithTimeout ¶
func NewRetrieveBookingParamsWithTimeout(timeout time.Duration) *RetrieveBookingParams
NewRetrieveBookingParamsWithTimeout creates a new RetrieveBookingParams object with the ability to set a timeout on a request.
func (*RetrieveBookingParams) SetBookingID ¶
func (o *RetrieveBookingParams) SetBookingID(bookingID string)
SetBookingID adds the bookingId to the retrieve booking params
func (*RetrieveBookingParams) SetContext ¶
func (o *RetrieveBookingParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve booking params
func (*RetrieveBookingParams) SetDefaults ¶
func (o *RetrieveBookingParams) SetDefaults()
SetDefaults hydrates default values in the retrieve booking params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveBookingParams) SetHTTPClient ¶
func (o *RetrieveBookingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve booking params
func (*RetrieveBookingParams) SetTimeout ¶
func (o *RetrieveBookingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve booking params
func (*RetrieveBookingParams) WithBookingID ¶
func (o *RetrieveBookingParams) WithBookingID(bookingID string) *RetrieveBookingParams
WithBookingID adds the bookingID to the retrieve booking params
func (*RetrieveBookingParams) WithContext ¶
func (o *RetrieveBookingParams) WithContext(ctx context.Context) *RetrieveBookingParams
WithContext adds the context to the retrieve booking params
func (*RetrieveBookingParams) WithDefaults ¶
func (o *RetrieveBookingParams) WithDefaults() *RetrieveBookingParams
WithDefaults hydrates default values in the retrieve booking params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveBookingParams) WithHTTPClient ¶
func (o *RetrieveBookingParams) WithHTTPClient(client *http.Client) *RetrieveBookingParams
WithHTTPClient adds the HTTPClient to the retrieve booking params
func (*RetrieveBookingParams) WithTimeout ¶
func (o *RetrieveBookingParams) WithTimeout(timeout time.Duration) *RetrieveBookingParams
WithTimeout adds the timeout to the retrieve booking params
func (*RetrieveBookingParams) WriteToRequest ¶
func (o *RetrieveBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveBookingReader ¶
type RetrieveBookingReader struct {
// contains filtered or unexported fields
}
RetrieveBookingReader is a Reader for the RetrieveBooking structure.
func (*RetrieveBookingReader) ReadResponse ¶
func (o *RetrieveBookingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveBusinessBookingProfileOK ¶
type RetrieveBusinessBookingProfileOK struct {
Payload *models.RetrieveBusinessBookingProfileResponse
}
RetrieveBusinessBookingProfileOK describes a response with status code 200, with default header values.
Success
func NewRetrieveBusinessBookingProfileOK ¶
func NewRetrieveBusinessBookingProfileOK() *RetrieveBusinessBookingProfileOK
NewRetrieveBusinessBookingProfileOK creates a RetrieveBusinessBookingProfileOK with default headers values
func (*RetrieveBusinessBookingProfileOK) Error ¶
func (o *RetrieveBusinessBookingProfileOK) Error() string
func (*RetrieveBusinessBookingProfileOK) GetPayload ¶
func (o *RetrieveBusinessBookingProfileOK) GetPayload() *models.RetrieveBusinessBookingProfileResponse
type RetrieveBusinessBookingProfileParams ¶
type RetrieveBusinessBookingProfileParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveBusinessBookingProfileParams contains all the parameters to send to the API endpoint
for the retrieve business booking profile operation. Typically these are written to a http.Request.
func NewRetrieveBusinessBookingProfileParams ¶
func NewRetrieveBusinessBookingProfileParams() *RetrieveBusinessBookingProfileParams
NewRetrieveBusinessBookingProfileParams creates a new RetrieveBusinessBookingProfileParams 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 NewRetrieveBusinessBookingProfileParamsWithContext ¶
func NewRetrieveBusinessBookingProfileParamsWithContext(ctx context.Context) *RetrieveBusinessBookingProfileParams
NewRetrieveBusinessBookingProfileParamsWithContext creates a new RetrieveBusinessBookingProfileParams object with the ability to set a context for a request.
func NewRetrieveBusinessBookingProfileParamsWithHTTPClient ¶
func NewRetrieveBusinessBookingProfileParamsWithHTTPClient(client *http.Client) *RetrieveBusinessBookingProfileParams
NewRetrieveBusinessBookingProfileParamsWithHTTPClient creates a new RetrieveBusinessBookingProfileParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveBusinessBookingProfileParamsWithTimeout ¶
func NewRetrieveBusinessBookingProfileParamsWithTimeout(timeout time.Duration) *RetrieveBusinessBookingProfileParams
NewRetrieveBusinessBookingProfileParamsWithTimeout creates a new RetrieveBusinessBookingProfileParams object with the ability to set a timeout on a request.
func (*RetrieveBusinessBookingProfileParams) SetContext ¶
func (o *RetrieveBusinessBookingProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve business booking profile params
func (*RetrieveBusinessBookingProfileParams) SetDefaults ¶
func (o *RetrieveBusinessBookingProfileParams) SetDefaults()
SetDefaults hydrates default values in the retrieve business booking profile params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveBusinessBookingProfileParams) SetHTTPClient ¶
func (o *RetrieveBusinessBookingProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve business booking profile params
func (*RetrieveBusinessBookingProfileParams) SetTimeout ¶
func (o *RetrieveBusinessBookingProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve business booking profile params
func (*RetrieveBusinessBookingProfileParams) WithContext ¶
func (o *RetrieveBusinessBookingProfileParams) WithContext(ctx context.Context) *RetrieveBusinessBookingProfileParams
WithContext adds the context to the retrieve business booking profile params
func (*RetrieveBusinessBookingProfileParams) WithDefaults ¶
func (o *RetrieveBusinessBookingProfileParams) WithDefaults() *RetrieveBusinessBookingProfileParams
WithDefaults hydrates default values in the retrieve business booking profile params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveBusinessBookingProfileParams) WithHTTPClient ¶
func (o *RetrieveBusinessBookingProfileParams) WithHTTPClient(client *http.Client) *RetrieveBusinessBookingProfileParams
WithHTTPClient adds the HTTPClient to the retrieve business booking profile params
func (*RetrieveBusinessBookingProfileParams) WithTimeout ¶
func (o *RetrieveBusinessBookingProfileParams) WithTimeout(timeout time.Duration) *RetrieveBusinessBookingProfileParams
WithTimeout adds the timeout to the retrieve business booking profile params
func (*RetrieveBusinessBookingProfileParams) WriteToRequest ¶
func (o *RetrieveBusinessBookingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveBusinessBookingProfileReader ¶
type RetrieveBusinessBookingProfileReader struct {
// contains filtered or unexported fields
}
RetrieveBusinessBookingProfileReader is a Reader for the RetrieveBusinessBookingProfile structure.
func (*RetrieveBusinessBookingProfileReader) ReadResponse ¶
func (o *RetrieveBusinessBookingProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveTeamMemberBookingProfileOK ¶
type RetrieveTeamMemberBookingProfileOK struct {
Payload *models.RetrieveTeamMemberBookingProfileResponse
}
RetrieveTeamMemberBookingProfileOK describes a response with status code 200, with default header values.
Success
func NewRetrieveTeamMemberBookingProfileOK ¶
func NewRetrieveTeamMemberBookingProfileOK() *RetrieveTeamMemberBookingProfileOK
NewRetrieveTeamMemberBookingProfileOK creates a RetrieveTeamMemberBookingProfileOK with default headers values
func (*RetrieveTeamMemberBookingProfileOK) Error ¶
func (o *RetrieveTeamMemberBookingProfileOK) Error() string
func (*RetrieveTeamMemberBookingProfileOK) GetPayload ¶
func (o *RetrieveTeamMemberBookingProfileOK) GetPayload() *models.RetrieveTeamMemberBookingProfileResponse
type RetrieveTeamMemberBookingProfileParams ¶
type RetrieveTeamMemberBookingProfileParams struct { /* TeamMemberID. The ID of the team member to retrieve. */ TeamMemberID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveTeamMemberBookingProfileParams contains all the parameters to send to the API endpoint
for the retrieve team member booking profile operation. Typically these are written to a http.Request.
func NewRetrieveTeamMemberBookingProfileParams ¶
func NewRetrieveTeamMemberBookingProfileParams() *RetrieveTeamMemberBookingProfileParams
NewRetrieveTeamMemberBookingProfileParams creates a new RetrieveTeamMemberBookingProfileParams 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 NewRetrieveTeamMemberBookingProfileParamsWithContext ¶
func NewRetrieveTeamMemberBookingProfileParamsWithContext(ctx context.Context) *RetrieveTeamMemberBookingProfileParams
NewRetrieveTeamMemberBookingProfileParamsWithContext creates a new RetrieveTeamMemberBookingProfileParams object with the ability to set a context for a request.
func NewRetrieveTeamMemberBookingProfileParamsWithHTTPClient ¶
func NewRetrieveTeamMemberBookingProfileParamsWithHTTPClient(client *http.Client) *RetrieveTeamMemberBookingProfileParams
NewRetrieveTeamMemberBookingProfileParamsWithHTTPClient creates a new RetrieveTeamMemberBookingProfileParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveTeamMemberBookingProfileParamsWithTimeout ¶
func NewRetrieveTeamMemberBookingProfileParamsWithTimeout(timeout time.Duration) *RetrieveTeamMemberBookingProfileParams
NewRetrieveTeamMemberBookingProfileParamsWithTimeout creates a new RetrieveTeamMemberBookingProfileParams object with the ability to set a timeout on a request.
func (*RetrieveTeamMemberBookingProfileParams) SetContext ¶
func (o *RetrieveTeamMemberBookingProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) SetDefaults ¶
func (o *RetrieveTeamMemberBookingProfileParams) SetDefaults()
SetDefaults hydrates default values in the retrieve team member booking profile params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveTeamMemberBookingProfileParams) SetHTTPClient ¶
func (o *RetrieveTeamMemberBookingProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) SetTeamMemberID ¶
func (o *RetrieveTeamMemberBookingProfileParams) SetTeamMemberID(teamMemberID string)
SetTeamMemberID adds the teamMemberId to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) SetTimeout ¶
func (o *RetrieveTeamMemberBookingProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) WithContext ¶
func (o *RetrieveTeamMemberBookingProfileParams) WithContext(ctx context.Context) *RetrieveTeamMemberBookingProfileParams
WithContext adds the context to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) WithDefaults ¶
func (o *RetrieveTeamMemberBookingProfileParams) WithDefaults() *RetrieveTeamMemberBookingProfileParams
WithDefaults hydrates default values in the retrieve team member booking profile params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveTeamMemberBookingProfileParams) WithHTTPClient ¶
func (o *RetrieveTeamMemberBookingProfileParams) WithHTTPClient(client *http.Client) *RetrieveTeamMemberBookingProfileParams
WithHTTPClient adds the HTTPClient to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) WithTeamMemberID ¶
func (o *RetrieveTeamMemberBookingProfileParams) WithTeamMemberID(teamMemberID string) *RetrieveTeamMemberBookingProfileParams
WithTeamMemberID adds the teamMemberID to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) WithTimeout ¶
func (o *RetrieveTeamMemberBookingProfileParams) WithTimeout(timeout time.Duration) *RetrieveTeamMemberBookingProfileParams
WithTimeout adds the timeout to the retrieve team member booking profile params
func (*RetrieveTeamMemberBookingProfileParams) WriteToRequest ¶
func (o *RetrieveTeamMemberBookingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveTeamMemberBookingProfileReader ¶
type RetrieveTeamMemberBookingProfileReader struct {
// contains filtered or unexported fields
}
RetrieveTeamMemberBookingProfileReader is a Reader for the RetrieveTeamMemberBookingProfile structure.
func (*RetrieveTeamMemberBookingProfileReader) ReadResponse ¶
func (o *RetrieveTeamMemberBookingProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchAvailabilityOK ¶
type SearchAvailabilityOK struct {
Payload *models.SearchAvailabilityResponse
}
SearchAvailabilityOK describes a response with status code 200, with default header values.
Success
func NewSearchAvailabilityOK ¶
func NewSearchAvailabilityOK() *SearchAvailabilityOK
NewSearchAvailabilityOK creates a SearchAvailabilityOK with default headers values
func (*SearchAvailabilityOK) Error ¶
func (o *SearchAvailabilityOK) Error() string
func (*SearchAvailabilityOK) GetPayload ¶
func (o *SearchAvailabilityOK) GetPayload() *models.SearchAvailabilityResponse
type SearchAvailabilityParams ¶
type SearchAvailabilityParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.SearchAvailabilityRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchAvailabilityParams contains all the parameters to send to the API endpoint
for the search availability operation. Typically these are written to a http.Request.
func NewSearchAvailabilityParams ¶
func NewSearchAvailabilityParams() *SearchAvailabilityParams
NewSearchAvailabilityParams creates a new SearchAvailabilityParams 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 NewSearchAvailabilityParamsWithContext ¶
func NewSearchAvailabilityParamsWithContext(ctx context.Context) *SearchAvailabilityParams
NewSearchAvailabilityParamsWithContext creates a new SearchAvailabilityParams object with the ability to set a context for a request.
func NewSearchAvailabilityParamsWithHTTPClient ¶
func NewSearchAvailabilityParamsWithHTTPClient(client *http.Client) *SearchAvailabilityParams
NewSearchAvailabilityParamsWithHTTPClient creates a new SearchAvailabilityParams object with the ability to set a custom HTTPClient for a request.
func NewSearchAvailabilityParamsWithTimeout ¶
func NewSearchAvailabilityParamsWithTimeout(timeout time.Duration) *SearchAvailabilityParams
NewSearchAvailabilityParamsWithTimeout creates a new SearchAvailabilityParams object with the ability to set a timeout on a request.
func (*SearchAvailabilityParams) SetBody ¶
func (o *SearchAvailabilityParams) SetBody(body *models.SearchAvailabilityRequest)
SetBody adds the body to the search availability params
func (*SearchAvailabilityParams) SetContext ¶
func (o *SearchAvailabilityParams) SetContext(ctx context.Context)
SetContext adds the context to the search availability params
func (*SearchAvailabilityParams) SetDefaults ¶
func (o *SearchAvailabilityParams) SetDefaults()
SetDefaults hydrates default values in the search availability params (not the query body).
All values with no default are reset to their zero value.
func (*SearchAvailabilityParams) SetHTTPClient ¶
func (o *SearchAvailabilityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search availability params
func (*SearchAvailabilityParams) SetTimeout ¶
func (o *SearchAvailabilityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search availability params
func (*SearchAvailabilityParams) WithBody ¶
func (o *SearchAvailabilityParams) WithBody(body *models.SearchAvailabilityRequest) *SearchAvailabilityParams
WithBody adds the body to the search availability params
func (*SearchAvailabilityParams) WithContext ¶
func (o *SearchAvailabilityParams) WithContext(ctx context.Context) *SearchAvailabilityParams
WithContext adds the context to the search availability params
func (*SearchAvailabilityParams) WithDefaults ¶
func (o *SearchAvailabilityParams) WithDefaults() *SearchAvailabilityParams
WithDefaults hydrates default values in the search availability params (not the query body).
All values with no default are reset to their zero value.
func (*SearchAvailabilityParams) WithHTTPClient ¶
func (o *SearchAvailabilityParams) WithHTTPClient(client *http.Client) *SearchAvailabilityParams
WithHTTPClient adds the HTTPClient to the search availability params
func (*SearchAvailabilityParams) WithTimeout ¶
func (o *SearchAvailabilityParams) WithTimeout(timeout time.Duration) *SearchAvailabilityParams
WithTimeout adds the timeout to the search availability params
func (*SearchAvailabilityParams) WriteToRequest ¶
func (o *SearchAvailabilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchAvailabilityReader ¶
type SearchAvailabilityReader struct {
// contains filtered or unexported fields
}
SearchAvailabilityReader is a Reader for the SearchAvailability structure.
func (*SearchAvailabilityReader) ReadResponse ¶
func (o *SearchAvailabilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBookingOK ¶
type UpdateBookingOK struct {
Payload *models.UpdateBookingResponse
}
UpdateBookingOK describes a response with status code 200, with default header values.
Success
func NewUpdateBookingOK ¶
func NewUpdateBookingOK() *UpdateBookingOK
NewUpdateBookingOK creates a UpdateBookingOK with default headers values
func (*UpdateBookingOK) Error ¶
func (o *UpdateBookingOK) Error() string
func (*UpdateBookingOK) GetPayload ¶
func (o *UpdateBookingOK) GetPayload() *models.UpdateBookingResponse
type UpdateBookingParams ¶
type UpdateBookingParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.UpdateBookingRequest /* BookingID. The ID of the `Booking` object representing the to-be-updated booking. */ BookingID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBookingParams contains all the parameters to send to the API endpoint
for the update booking operation. Typically these are written to a http.Request.
func NewUpdateBookingParams ¶
func NewUpdateBookingParams() *UpdateBookingParams
NewUpdateBookingParams creates a new UpdateBookingParams 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 NewUpdateBookingParamsWithContext ¶
func NewUpdateBookingParamsWithContext(ctx context.Context) *UpdateBookingParams
NewUpdateBookingParamsWithContext creates a new UpdateBookingParams object with the ability to set a context for a request.
func NewUpdateBookingParamsWithHTTPClient ¶
func NewUpdateBookingParamsWithHTTPClient(client *http.Client) *UpdateBookingParams
NewUpdateBookingParamsWithHTTPClient creates a new UpdateBookingParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBookingParamsWithTimeout ¶
func NewUpdateBookingParamsWithTimeout(timeout time.Duration) *UpdateBookingParams
NewUpdateBookingParamsWithTimeout creates a new UpdateBookingParams object with the ability to set a timeout on a request.
func (*UpdateBookingParams) SetBody ¶
func (o *UpdateBookingParams) SetBody(body *models.UpdateBookingRequest)
SetBody adds the body to the update booking params
func (*UpdateBookingParams) SetBookingID ¶
func (o *UpdateBookingParams) SetBookingID(bookingID string)
SetBookingID adds the bookingId to the update booking params
func (*UpdateBookingParams) SetContext ¶
func (o *UpdateBookingParams) SetContext(ctx context.Context)
SetContext adds the context to the update booking params
func (*UpdateBookingParams) SetDefaults ¶
func (o *UpdateBookingParams) SetDefaults()
SetDefaults hydrates default values in the update booking params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBookingParams) SetHTTPClient ¶
func (o *UpdateBookingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update booking params
func (*UpdateBookingParams) SetTimeout ¶
func (o *UpdateBookingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update booking params
func (*UpdateBookingParams) WithBody ¶
func (o *UpdateBookingParams) WithBody(body *models.UpdateBookingRequest) *UpdateBookingParams
WithBody adds the body to the update booking params
func (*UpdateBookingParams) WithBookingID ¶
func (o *UpdateBookingParams) WithBookingID(bookingID string) *UpdateBookingParams
WithBookingID adds the bookingID to the update booking params
func (*UpdateBookingParams) WithContext ¶
func (o *UpdateBookingParams) WithContext(ctx context.Context) *UpdateBookingParams
WithContext adds the context to the update booking params
func (*UpdateBookingParams) WithDefaults ¶
func (o *UpdateBookingParams) WithDefaults() *UpdateBookingParams
WithDefaults hydrates default values in the update booking params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBookingParams) WithHTTPClient ¶
func (o *UpdateBookingParams) WithHTTPClient(client *http.Client) *UpdateBookingParams
WithHTTPClient adds the HTTPClient to the update booking params
func (*UpdateBookingParams) WithTimeout ¶
func (o *UpdateBookingParams) WithTimeout(timeout time.Duration) *UpdateBookingParams
WithTimeout adds the timeout to the update booking params
func (*UpdateBookingParams) WriteToRequest ¶
func (o *UpdateBookingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBookingReader ¶
type UpdateBookingReader struct {
// contains filtered or unexported fields
}
UpdateBookingReader is a Reader for the UpdateBooking structure.
func (*UpdateBookingReader) ReadResponse ¶
func (o *UpdateBookingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- bookings_client.go
- cancel_booking_parameters.go
- cancel_booking_responses.go
- create_booking_parameters.go
- create_booking_responses.go
- list_team_member_booking_profiles_parameters.go
- list_team_member_booking_profiles_responses.go
- retrieve_booking_parameters.go
- retrieve_booking_responses.go
- retrieve_business_booking_profile_parameters.go
- retrieve_business_booking_profile_responses.go
- retrieve_team_member_booking_profile_parameters.go
- retrieve_team_member_booking_profile_responses.go
- search_availability_parameters.go
- search_availability_responses.go
- update_booking_parameters.go
- update_booking_responses.go