Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailableSlot ¶
type AvailableSlot struct {
// ends at
// Format: date-time
EndsAt strfmt.DateTime `json:"ends-at,omitempty"`
// starts at
// Format: date-time
StartsAt strfmt.DateTime `json:"starts-at,omitempty"`
}
AvailableSlot available slot
swagger:model AvailableSlot
func (*AvailableSlot) MarshalBinary ¶
func (m *AvailableSlot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AvailableSlot) UnmarshalBinary ¶
func (m *AvailableSlot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AvailableSlots ¶
type AvailableSlots []*AvailableSlot
AvailableSlots available slots
swagger:model AvailableSlots
type Error ¶
type Error struct {
// Attributes of an error. Specific to the error code
Attributes []string `json:"attributes"`
// An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Code string `json:"code,omitempty"`
// A list of additional details about the error.
Details []*Error `json:"details"`
// A dev message describing the error. Not intented for UI
Devmessage string `json:"devmessage,omitempty"`
}
Error error
swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TrainerAppointment ¶
type TrainerAppointment struct {
// ends at
// Format: date-time
EndsAt strfmt.DateTime `json:"ends-at,omitempty"`
// id
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// starts at
// Format: date-time
StartsAt strfmt.DateTime `json:"starts-at,omitempty"`
// user id
// Format: uuid
UserID strfmt.UUID `json:"user-id,omitempty"`
}
TrainerAppointment trainer appointment
swagger:model TrainerAppointment
func (*TrainerAppointment) MarshalBinary ¶
func (m *TrainerAppointment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrainerAppointment) UnmarshalBinary ¶
func (m *TrainerAppointment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrainerAppointments ¶
type TrainerAppointments []*TrainerAppointment
TrainerAppointments trainer appointments
swagger:model TrainerAppointments
type UserAppointment ¶
type UserAppointment struct {
// ends at
// Format: date-time
EndsAt strfmt.DateTime `json:"ends-at,omitempty"`
// An appointment dentifier. Ignored in put request
// Format: uuid
ID strfmt.UUID `json:"id,omitempty"`
// starts at
// Format: date-time
StartsAt strfmt.DateTime `json:"starts-at,omitempty"`
// trainer id
// Format: uuid
TrainerID strfmt.UUID `json:"trainer-id,omitempty"`
}
UserAppointment user appointment
swagger:model UserAppointment
func (*UserAppointment) MarshalBinary ¶
func (m *UserAppointment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAppointment) UnmarshalBinary ¶
func (m *UserAppointment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation