models

package
v0.0.0-...-711662e Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type ProtobufNullValue

type ProtobufNullValue string

ProtobufNullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union.

The JSON representation for `NullValue` is JSON `null`.

- NULL_VALUE: Null value.

swagger:model protobufNullValue

const (

	// ProtobufNullValueNULLVALUE captures enum value "NULL_VALUE"
	ProtobufNullValueNULLVALUE ProtobufNullValue = "NULL_VALUE"
)

func NewProtobufNullValue

func NewProtobufNullValue(value ProtobufNullValue) *ProtobufNullValue

func (ProtobufNullValue) ContextValidate

func (m ProtobufNullValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf null value based on context it is used

func (ProtobufNullValue) Pointer

func (m ProtobufNullValue) Pointer() *ProtobufNullValue

Pointer returns a pointer to a freshly-allocated ProtobufNullValue.

func (ProtobufNullValue) Validate

func (m ProtobufNullValue) Validate(formats strfmt.Registry) error

Validate validates this protobuf null value

type RPCStatus

type RPCStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

RPCStatus rpc status

swagger:model rpcStatus

func (*RPCStatus) ContextValidate

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

type SchedulerActivateProviderParamsBody

type SchedulerActivateProviderParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// Available appointments for the provider
	Appointments map[string]SchedulingAppointment `json:"appointments,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// gender
	Gender string `json:"gender,omitempty"`

	// given name
	GivenName string `json:"given_name,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// prefix
	Prefix string `json:"prefix,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// suffix
	Suffix string `json:"suffix,omitempty"`

	// surname
	Surname string `json:"surname,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerActivateProviderParamsBody scheduler activate provider params body Example: {}

swagger:model schedulerActivateProviderParamsBody

func (*SchedulerActivateProviderParamsBody) ContextValidate

func (m *SchedulerActivateProviderParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler activate provider params body based on the context it is used

func (*SchedulerActivateProviderParamsBody) MarshalBinary

func (m *SchedulerActivateProviderParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerActivateProviderParamsBody) UnmarshalBinary

func (m *SchedulerActivateProviderParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerActivateProviderParamsBody) Validate

Validate validates this scheduler activate provider params body

type SchedulerActivateScheduleParamsBody

type SchedulerActivateScheduleParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// active from
	ActiveFrom string `json:"active_from,omitempty"`

	// active to
	ActiveTo string `json:"active_to,omitempty"`

	// blocks
	Blocks []*SchedulingScheduleBlock `json:"blocks"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// include blocks
	IncludeBlocks bool `json:"include_blocks,omitempty"`

	// max per
	MaxPer int32 `json:"max_per,omitempty"`

	// max per type
	MaxPerType string `json:"max_per_type,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// tz
	Tz string `json:"tz,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerActivateScheduleParamsBody scheduler activate schedule params body

swagger:model schedulerActivateScheduleParamsBody

func (*SchedulerActivateScheduleParamsBody) ContextValidate

func (m *SchedulerActivateScheduleParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler activate schedule params body based on the context it is used

func (*SchedulerActivateScheduleParamsBody) MarshalBinary

func (m *SchedulerActivateScheduleParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerActivateScheduleParamsBody) UnmarshalBinary

func (m *SchedulerActivateScheduleParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerActivateScheduleParamsBody) Validate

Validate validates this scheduler activate schedule params body

type SchedulerAppointmentResponse

type SchedulerAppointmentResponse struct {

	// appointment
	Appointment *SchedulingAppointment `json:"appointment,omitempty"`

	// appointments
	Appointments []*SchedulingAppointment `json:"appointments"`

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// patient
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerAppointmentResponse scheduler appointment response

swagger:model schedulerAppointmentResponse

func (*SchedulerAppointmentResponse) ContextValidate

func (m *SchedulerAppointmentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler appointment response based on the context it is used

func (*SchedulerAppointmentResponse) MarshalBinary

func (m *SchedulerAppointmentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerAppointmentResponse) UnmarshalBinary

func (m *SchedulerAppointmentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerAppointmentResponse) Validate

func (m *SchedulerAppointmentResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler appointment response

type SchedulerAvailabilityResponse

type SchedulerAvailabilityResponse struct {

	// available
	Available []*SchedulingAppointmentSlot `json:"available"`

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerAvailabilityResponse scheduler availability response

swagger:model schedulerAvailabilityResponse

func (*SchedulerAvailabilityResponse) ContextValidate

func (m *SchedulerAvailabilityResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler availability response based on the context it is used

func (*SchedulerAvailabilityResponse) MarshalBinary

func (m *SchedulerAvailabilityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerAvailabilityResponse) UnmarshalBinary

func (m *SchedulerAvailabilityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerAvailabilityResponse) Validate

func (m *SchedulerAvailabilityResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler availability response

type SchedulerAvailabilitySearchRequest

type SchedulerAvailabilitySearchRequest struct {

	// The duration of the appointment in minutes
	// Required: true
	Duration *int32 `json:"duration"`

	// The ID of a specific providers to exclude those providers from search
	// results
	Exclude []string `json:"exclude"`

	// exclude by ref
	ExcludeByRef bool `json:"exclude_by_ref,omitempty"`

	// Appointment Format (ex: video, telephone, etc.)
	Format string `json:"format,omitempty"`

	// Return only in-person providers (default: false)
	InPerson bool `json:"in_person,omitempty"`

	// The IDs of specific providers to retrieve appointments for just those
	// providers
	Include []string `json:"include"`

	// include by ref
	IncludeByRef bool `json:"include_by_ref,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// Limit the number of results to return. (default: 10)
	Limit int32 `json:"limit,omitempty"`

	// Location filter for proximity search for in_person appointments
	Location *SchedulingLocation `json:"location,omitempty"`

	// Offset the results count if pagination is necessary based on the limit and
	// total fields in the response
	Offset int32 `json:"offset,omitempty"`

	// The start of the requested date/time range in RFC3339 format
	// Required: true
	RangeFrom *string `json:"range_from"`

	// The end of the requested date/time range in RFC3339 format
	// Required: true
	RangeTo *string `json:"range_to"`

	// The service UUID requested by the patient
	// Required: true
	ServiceID *string `json:"service_id"`

	// State the provider is licensed in for the requested service
	State string `json:"state,omitempty"`

	// timezone code
	TimezoneCode int32 `json:"timezone_code,omitempty"`

	// timezone name
	TimezoneName int32 `json:"timezone_name,omitempty"`

	// timezone offset
	TimezoneOffset int32 `json:"timezone_offset,omitempty"`

	// ZIP code the patient resides in
	// Required: true
	Zip *string `json:"zip"`
}

SchedulerAvailabilitySearchRequest Providers Appointment Search

Providers appointment search request for matching patients with the availability of relevant providers. Example: {"duration":15,"range_from":"2022-10-12T07:20:00Z","range_to":"2022-10-14T17:30:00Z","services":["eef8dc3f-e0c9-4ee8-ac96-81c63df9c98b","48247455-f5d8-43cf-97ea-c6c1bca4b071"],"zip":"92101"}

swagger:model schedulerAvailabilitySearchRequest

func (*SchedulerAvailabilitySearchRequest) ContextValidate

func (m *SchedulerAvailabilitySearchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler availability search request based on the context it is used

func (*SchedulerAvailabilitySearchRequest) MarshalBinary

func (m *SchedulerAvailabilitySearchRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerAvailabilitySearchRequest) UnmarshalBinary

func (m *SchedulerAvailabilitySearchRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerAvailabilitySearchRequest) Validate

Validate validates this scheduler availability search request

type SchedulerCountryResponse

type SchedulerCountryResponse struct {

	// countries
	Countries []*SchedulingCountry `json:"countries"`

	// country
	Country *SchedulingCountry `json:"country,omitempty"`

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerCountryResponse scheduler country response

swagger:model schedulerCountryResponse

func (*SchedulerCountryResponse) ContextValidate

func (m *SchedulerCountryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler country response based on the context it is used

func (*SchedulerCountryResponse) MarshalBinary

func (m *SchedulerCountryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerCountryResponse) UnmarshalBinary

func (m *SchedulerCountryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerCountryResponse) Validate

func (m *SchedulerCountryResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler country response

type SchedulerCreateScheduleBlockParamsBody

type SchedulerCreateScheduleBlockParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// day of week
	DayOfWeek int32 `json:"day_of_week,omitempty"`

	// end at
	EndAt string `json:"end_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// minimum padding
	MinimumPadding int32 `json:"minimum_padding,omitempty"`

	// parent id
	ParentID string `json:"parent_id,omitempty"`

	// provider id
	ProviderID string `json:"provider_id,omitempty"`

	// repeat
	Repeat bool `json:"repeat,omitempty"`

	// repeat limit
	RepeatLimit int32 `json:"repeat_limit,omitempty"`

	// repeat step
	RepeatStep string `json:"repeat_step,omitempty"`

	// repeat until
	RepeatUntil string `json:"repeat_until,omitempty"`

	// repeat week days
	RepeatWeekDays []int32 `json:"repeat_week_days"`

	// schedule
	Schedule *SchedulingSchedule `json:"schedule,omitempty"`

	// services
	Services []*SchedulingProviderService `json:"services"`

	// start at
	StartAt string `json:"start_at,omitempty"`

	// tz
	Tz string `json:"tz,omitempty"`

	// unavailable
	Unavailable bool `json:"unavailable,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerCreateScheduleBlockParamsBody scheduler create schedule block params body

swagger:model schedulerCreateScheduleBlockParamsBody

func (*SchedulerCreateScheduleBlockParamsBody) ContextValidate

ContextValidate validate this scheduler create schedule block params body based on the context it is used

func (*SchedulerCreateScheduleBlockParamsBody) MarshalBinary

func (m *SchedulerCreateScheduleBlockParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerCreateScheduleBlockParamsBody) UnmarshalBinary

func (m *SchedulerCreateScheduleBlockParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerCreateScheduleBlockParamsBody) Validate

Validate validates this scheduler create schedule block params body

type SchedulerDeactivateProviderParamsBody

type SchedulerDeactivateProviderParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// Available appointments for the provider
	Appointments map[string]SchedulingAppointment `json:"appointments,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// gender
	Gender string `json:"gender,omitempty"`

	// given name
	GivenName string `json:"given_name,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// prefix
	Prefix string `json:"prefix,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// suffix
	Suffix string `json:"suffix,omitempty"`

	// surname
	Surname string `json:"surname,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerDeactivateProviderParamsBody scheduler deactivate provider params body Example: {}

swagger:model schedulerDeactivateProviderParamsBody

func (*SchedulerDeactivateProviderParamsBody) ContextValidate

func (m *SchedulerDeactivateProviderParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler deactivate provider params body based on the context it is used

func (*SchedulerDeactivateProviderParamsBody) MarshalBinary

func (m *SchedulerDeactivateProviderParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerDeactivateProviderParamsBody) UnmarshalBinary

func (m *SchedulerDeactivateProviderParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerDeactivateProviderParamsBody) Validate

Validate validates this scheduler deactivate provider params body

type SchedulerDeactivateScheduleParamsBody

type SchedulerDeactivateScheduleParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// active from
	ActiveFrom string `json:"active_from,omitempty"`

	// active to
	ActiveTo string `json:"active_to,omitempty"`

	// blocks
	Blocks []*SchedulingScheduleBlock `json:"blocks"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// include blocks
	IncludeBlocks bool `json:"include_blocks,omitempty"`

	// max per
	MaxPer int32 `json:"max_per,omitempty"`

	// max per type
	MaxPerType string `json:"max_per_type,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// tz
	Tz string `json:"tz,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerDeactivateScheduleParamsBody scheduler deactivate schedule params body

swagger:model schedulerDeactivateScheduleParamsBody

func (*SchedulerDeactivateScheduleParamsBody) ContextValidate

func (m *SchedulerDeactivateScheduleParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler deactivate schedule params body based on the context it is used

func (*SchedulerDeactivateScheduleParamsBody) MarshalBinary

func (m *SchedulerDeactivateScheduleParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerDeactivateScheduleParamsBody) UnmarshalBinary

func (m *SchedulerDeactivateScheduleParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerDeactivateScheduleParamsBody) Validate

Validate validates this scheduler deactivate schedule params body

type SchedulerInfoResponse

type SchedulerInfoResponse struct {

	// build
	Build string `json:"build,omitempty"`

	// built at
	BuiltAt string `json:"built_at,omitempty"`

	// git hash
	GitHash string `json:"git_hash,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

SchedulerInfoResponse scheduler info response

swagger:model schedulerInfoResponse

func (*SchedulerInfoResponse) ContextValidate

func (m *SchedulerInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduler info response based on context it is used

func (*SchedulerInfoResponse) MarshalBinary

func (m *SchedulerInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerInfoResponse) UnmarshalBinary

func (m *SchedulerInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerInfoResponse) Validate

func (m *SchedulerInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler info response

type SchedulerPatientResponse

type SchedulerPatientResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// patient
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// patients
	Patients []*SchedulingPatient `json:"patients"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerPatientResponse scheduler patient response

swagger:model schedulerPatientResponse

func (*SchedulerPatientResponse) ContextValidate

func (m *SchedulerPatientResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler patient response based on the context it is used

func (*SchedulerPatientResponse) MarshalBinary

func (m *SchedulerPatientResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerPatientResponse) UnmarshalBinary

func (m *SchedulerPatientResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerPatientResponse) Validate

func (m *SchedulerPatientResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler patient response

type SchedulerProviderResponse

type SchedulerProviderResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// providers
	Providers []*SchedulingProvider `json:"providers"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerProviderResponse scheduler provider response

swagger:model schedulerProviderResponse

func (*SchedulerProviderResponse) ContextValidate

func (m *SchedulerProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler provider response based on the context it is used

func (*SchedulerProviderResponse) MarshalBinary

func (m *SchedulerProviderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerProviderResponse) UnmarshalBinary

func (m *SchedulerProviderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerProviderResponse) Validate

func (m *SchedulerProviderResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler provider response

type SchedulerProviderRoleResponse

type SchedulerProviderRoleResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// provider id
	ProviderID string `json:"provider_id,omitempty"`

	// role
	Role *SchedulingRole `json:"role,omitempty"`

	// roles
	Roles []*SchedulingRole `json:"roles"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerProviderRoleResponse scheduler provider role response

swagger:model schedulerProviderRoleResponse

func (*SchedulerProviderRoleResponse) ContextValidate

func (m *SchedulerProviderRoleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler provider role response based on the context it is used

func (*SchedulerProviderRoleResponse) MarshalBinary

func (m *SchedulerProviderRoleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerProviderRoleResponse) UnmarshalBinary

func (m *SchedulerProviderRoleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerProviderRoleResponse) Validate

func (m *SchedulerProviderRoleResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler provider role response

type SchedulerProviderSearchRequest

type SchedulerProviderSearchRequest struct {

	// The duration of the appointment in minutes
	// Required: true
	Duration *int32 `json:"duration"`

	// The ID of a specific providers to exclude those providers from search
	// results
	Exclude []string `json:"exclude"`

	// Return only in-person providers (default: false)
	InPerson bool `json:"in_person,omitempty"`

	// The IDs of specific providers in which to search for availability
	Include []string `json:"include"`

	// Limit the number of results to return. (default: 10)
	Limit int32 `json:"limit,omitempty"`

	// Location filter for proximity search for in_person appointments
	Location *SchedulingLocation `json:"location,omitempty"`

	// Offset the results count if pagination is necessary based on the limit and
	// total fields in the response
	Offset int32 `json:"offset,omitempty"`

	// The start of the requested date/time range in RFC3339 format
	// Required: true
	RangeFrom *string `json:"range_from"`

	// The end of the requested date/time range in RFC3339 format
	// Required: true
	RangeTo *string `json:"range_to"`

	// The service UUID requested by the patient
	// Required: true
	ServiceID *string `json:"service_id"`

	// State the provider is licensed in for the requested service
	State string `json:"state,omitempty"`

	// ZIP code the patient resides in
	// Required: true
	Zip *string `json:"zip"`
}

SchedulerProviderSearchRequest Providers Appointment Search

Providers appointment search request for matching patients with the availability of relevant providers. Example: {"duration":15,"range_from":"2021-10-12T07:20:00Z","range_to":"2021-10-14T17:30:00Z","service_id":"eef8dc3f-e0c9-4ee8-ac96-81c63df9c98b","zip":"92101"}

swagger:model schedulerProviderSearchRequest

func (*SchedulerProviderSearchRequest) ContextValidate

func (m *SchedulerProviderSearchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler provider search request based on the context it is used

func (*SchedulerProviderSearchRequest) MarshalBinary

func (m *SchedulerProviderSearchRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerProviderSearchRequest) UnmarshalBinary

func (m *SchedulerProviderSearchRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerProviderSearchRequest) Validate

func (m *SchedulerProviderSearchRequest) Validate(formats strfmt.Registry) error

Validate validates this scheduler provider search request

type SchedulerProviderServiceResponse

type SchedulerProviderServiceResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// provider id
	ProviderID string `json:"provider_id,omitempty"`

	// service
	Service *SchedulingProviderService `json:"service,omitempty"`

	// services
	Services []*SchedulingProviderService `json:"services"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerProviderServiceResponse scheduler provider service response

swagger:model schedulerProviderServiceResponse

func (*SchedulerProviderServiceResponse) ContextValidate

func (m *SchedulerProviderServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler provider service response based on the context it is used

func (*SchedulerProviderServiceResponse) MarshalBinary

func (m *SchedulerProviderServiceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerProviderServiceResponse) UnmarshalBinary

func (m *SchedulerProviderServiceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerProviderServiceResponse) Validate

Validate validates this scheduler provider service response

type SchedulerRoleResponse

type SchedulerRoleResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// role
	Role *SchedulingRole `json:"role,omitempty"`

	// roles
	Roles []*SchedulingRole `json:"roles"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerRoleResponse scheduler role response

swagger:model schedulerRoleResponse

func (*SchedulerRoleResponse) ContextValidate

func (m *SchedulerRoleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler role response based on the context it is used

func (*SchedulerRoleResponse) MarshalBinary

func (m *SchedulerRoleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerRoleResponse) UnmarshalBinary

func (m *SchedulerRoleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerRoleResponse) Validate

func (m *SchedulerRoleResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler role response

type SchedulerScheduleBlockResponse

type SchedulerScheduleBlockResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// schedule block
	ScheduleBlock *SchedulingScheduleBlock `json:"schedule_block,omitempty"`

	// schedule blocks
	ScheduleBlocks []*SchedulingScheduleBlock `json:"schedule_blocks"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerScheduleBlockResponse scheduler schedule block response

swagger:model schedulerScheduleBlockResponse

func (*SchedulerScheduleBlockResponse) ContextValidate

func (m *SchedulerScheduleBlockResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler schedule block response based on the context it is used

func (*SchedulerScheduleBlockResponse) MarshalBinary

func (m *SchedulerScheduleBlockResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerScheduleBlockResponse) UnmarshalBinary

func (m *SchedulerScheduleBlockResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerScheduleBlockResponse) Validate

func (m *SchedulerScheduleBlockResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler schedule block response

type SchedulerScheduleResponse

type SchedulerScheduleResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// range from
	RangeFrom string `json:"range_from,omitempty"`

	// range to
	RangeTo string `json:"range_to,omitempty"`

	// schedule
	Schedule *SchedulingSchedule `json:"schedule,omitempty"`

	// schedules
	Schedules []*SchedulingSchedule `json:"schedules"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerScheduleResponse scheduler schedule response

swagger:model schedulerScheduleResponse

func (*SchedulerScheduleResponse) ContextValidate

func (m *SchedulerScheduleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler schedule response based on the context it is used

func (*SchedulerScheduleResponse) MarshalBinary

func (m *SchedulerScheduleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerScheduleResponse) UnmarshalBinary

func (m *SchedulerScheduleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerScheduleResponse) Validate

func (m *SchedulerScheduleResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler schedule response

type SchedulerServiceResponse

type SchedulerServiceResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// service
	Service *SchedulingService `json:"service,omitempty"`

	// services
	Services []*SchedulingService `json:"services"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerServiceResponse scheduler service response

swagger:model schedulerServiceResponse

func (*SchedulerServiceResponse) ContextValidate

func (m *SchedulerServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler service response based on the context it is used

func (*SchedulerServiceResponse) MarshalBinary

func (m *SchedulerServiceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerServiceResponse) UnmarshalBinary

func (m *SchedulerServiceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerServiceResponse) Validate

func (m *SchedulerServiceResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler service response

type SchedulerSessionKeyRequest

type SchedulerSessionKeyRequest struct {

	// appointment id
	AppointmentID string `json:"appointment_id,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// metadata
	Metadata map[string]interface{} `json:"metadata,omitempty"`

	// patient
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// patient id
	PatientID string `json:"patient_id,omitempty"`

	// private key
	PrivateKey string `json:"private_key,omitempty"`

	// provider id
	ProviderID string `json:"provider_id,omitempty"`

	// range from
	RangeFrom string `json:"range_from,omitempty"`

	// range to
	RangeTo string `json:"range_to,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`
}

SchedulerSessionKeyRequest scheduler session key request

swagger:model schedulerSessionKeyRequest

func (*SchedulerSessionKeyRequest) ContextValidate

func (m *SchedulerSessionKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler session key request based on the context it is used

func (*SchedulerSessionKeyRequest) MarshalBinary

func (m *SchedulerSessionKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSessionKeyRequest) UnmarshalBinary

func (m *SchedulerSessionKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSessionKeyRequest) Validate

func (m *SchedulerSessionKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this scheduler session key request

type SchedulerSessionKeyResponse

type SchedulerSessionKeyResponse struct {

	// appointment
	Appointment *SchedulingAppointment `json:"appointment,omitempty"`

	// expires at
	ExpiresAt string `json:"expires_at,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// metadata
	Metadata map[string]interface{} `json:"metadata,omitempty"`

	// patient
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// service
	Service *SchedulingService `json:"service,omitempty"`

	// settings
	Settings map[string]interface{} `json:"settings,omitempty"`

	// short link
	ShortLink string `json:"short_link,omitempty"`
}

SchedulerSessionKeyResponse scheduler session key response

swagger:model schedulerSessionKeyResponse

func (*SchedulerSessionKeyResponse) ContextValidate

func (m *SchedulerSessionKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler session key response based on the context it is used

func (*SchedulerSessionKeyResponse) MarshalBinary

func (m *SchedulerSessionKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSessionKeyResponse) UnmarshalBinary

func (m *SchedulerSessionKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSessionKeyResponse) Validate

func (m *SchedulerSessionKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler session key response

type SchedulerSessionRedirect

type SchedulerSessionRedirect struct {

	// Location to send the user upon failed session (optional)
	ErrorURL string `json:"error_url,omitempty"`

	// Location to send the user upon successful completion (optional)
	URL string `json:"url,omitempty"`

	// POST webhook that is called on session completion (optional) [Support State(s): Alpha, Private-Beta]
	WebhookPostURL string `json:"webhook_post_url,omitempty"`
}

SchedulerSessionRedirect scheduler session redirect

swagger:model schedulerSessionRedirect

func (*SchedulerSessionRedirect) ContextValidate

func (m *SchedulerSessionRedirect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduler session redirect based on context it is used

func (*SchedulerSessionRedirect) MarshalBinary

func (m *SchedulerSessionRedirect) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSessionRedirect) UnmarshalBinary

func (m *SchedulerSessionRedirect) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSessionRedirect) Validate

func (m *SchedulerSessionRedirect) Validate(formats strfmt.Registry) error

Validate validates this scheduler session redirect

type SchedulerSessionRequest

type SchedulerSessionRequest struct {

	// Pre-defined Appointment (only appointment.id or appointment.ref_id) this is only for rescheduling
	Appointment *SchedulingAppointment `json:"appointment,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// Optional Metadata to apply to the session
	Metadata map[string]interface{} `json:"metadata,omitempty"`

	// Pre-defined Patient (commonly only patient.id or patient.ref_id)
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// Pre-defined Provider (commonly only provider.id or provider.ref_id)
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// Redirect settings (see SessionRedirect for more info)
	Redirect *SchedulerSessionRedirect `json:"redirect,omitempty"`

	// Schedule appointment with current slot
	Schedule bool `json:"schedule,omitempty"`

	// Search Parameters (see SessionSearch for more details)
	Search *SchedulerSessionSearch `json:"search,omitempty"`

	// Pre-defined Service (only service.id or service.ref_id)
	Service *SchedulingService `json:"service,omitempty"`

	// Pre-defined Appointment (only appointment.id or appointment.ref_id) this is only for rescheduling
	Slot *SchedulingAppointmentSlot `json:"slot,omitempty"`
}

SchedulerSessionRequest scheduler session request Example: {"patient":{"id":"e59d0367-2595-4edc-83c6-08edd4fc525a"},"search":{"duration":30,"state":"CA"}}

swagger:model schedulerSessionRequest

func (*SchedulerSessionRequest) ContextValidate

func (m *SchedulerSessionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler session request based on the context it is used

func (*SchedulerSessionRequest) MarshalBinary

func (m *SchedulerSessionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSessionRequest) UnmarshalBinary

func (m *SchedulerSessionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSessionRequest) Validate

func (m *SchedulerSessionRequest) Validate(formats strfmt.Registry) error

Validate validates this scheduler session request

type SchedulerSessionResponse

type SchedulerSessionResponse struct {

	// Current Appointment Info
	Appointment *SchedulingAppointment `json:"appointment,omitempty"`

	// Expiration time of the session.  (Once expired creating a new session is required)
	ExpiresAt string `json:"expires_at,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// Additional Metadata Provided for session
	Metadata map[string]interface{} `json:"metadata,omitempty"`

	// Current Patient Info (typically only ID and Reference IDs)
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// Current Provider Info
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// Redirect Search Parameters
	Redirect *SchedulerSessionRedirect `json:"redirect,omitempty"`

	// Current Search Parameters
	Search *SchedulerSessionSearch `json:"search,omitempty"`

	// Current Service Info
	Service *SchedulingService `json:"service,omitempty"`

	// Session Settings (Used for Shilling UIs)
	Settings map[string]interface{} `json:"settings,omitempty"`

	// Shortened URL for simplicity and commonality in presenting to end-users
	ShortLink string `json:"short_link,omitempty"`

	// Current Appointment Slot Info
	Slot *SchedulingAppointmentSlot `json:"slot,omitempty"`
}

SchedulerSessionResponse scheduler session response

swagger:model schedulerSessionResponse

func (*SchedulerSessionResponse) ContextValidate

func (m *SchedulerSessionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler session response based on the context it is used

func (*SchedulerSessionResponse) MarshalBinary

func (m *SchedulerSessionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSessionResponse) UnmarshalBinary

func (m *SchedulerSessionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSessionResponse) Validate

func (m *SchedulerSessionResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler session response

type SchedulerSessionSearch

type SchedulerSessionSearch struct {

	// Duration in minutes (15,30,45,60) this may vary based on your configuration
	Duration int32 `json:"duration,omitempty"`

	// Appointment format: virutal, in_person (default: virtual)
	Format string `json:"format,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Maximum range to time UTC (i.e. Do not schedule later than 2 weeks from 'now')
	MaxRangeTo string `json:"max_range_to,omitempty"`

	// Minimum range from time UTC (i.e. Do not schedule before 24 hours from 'now')
	MinRangeFrom string `json:"min_range_from,omitempty"`

	// RFC3339 format (UTC)
	RangeFrom string `json:"range_from,omitempty"`

	// RFC3339 format (UTC)
	RangeTo string `json:"range_to,omitempty"`

	// Service ID to search
	ServiceID string `json:"service_id,omitempty"`

	// Two letter state abbreviation
	State string `json:"state,omitempty"`

	// Five digit US postal code
	Zipcode string `json:"zipcode,omitempty"`

	// IANA Timezone Name (ex: America/Los_Angeles, America/New_York, etc.) reference: https://www.iana.org/time-zones
	Zone string `json:"zone,omitempty"`
}

SchedulerSessionSearch scheduler session search

swagger:model schedulerSessionSearch

func (*SchedulerSessionSearch) ContextValidate

func (m *SchedulerSessionSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduler session search based on context it is used

func (*SchedulerSessionSearch) MarshalBinary

func (m *SchedulerSessionSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSessionSearch) UnmarshalBinary

func (m *SchedulerSessionSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSessionSearch) Validate

func (m *SchedulerSessionSearch) Validate(formats strfmt.Registry) error

Validate validates this scheduler session search

type SchedulerSetDefaultScheduleParamsBody

type SchedulerSetDefaultScheduleParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// active from
	ActiveFrom string `json:"active_from,omitempty"`

	// active to
	ActiveTo string `json:"active_to,omitempty"`

	// blocks
	Blocks []*SchedulingScheduleBlock `json:"blocks"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// include blocks
	IncludeBlocks bool `json:"include_blocks,omitempty"`

	// max per
	MaxPer int32 `json:"max_per,omitempty"`

	// max per type
	MaxPerType string `json:"max_per_type,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// tz
	Tz string `json:"tz,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerSetDefaultScheduleParamsBody scheduler set default schedule params body

swagger:model schedulerSetDefaultScheduleParamsBody

func (*SchedulerSetDefaultScheduleParamsBody) ContextValidate

func (m *SchedulerSetDefaultScheduleParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler set default schedule params body based on the context it is used

func (*SchedulerSetDefaultScheduleParamsBody) MarshalBinary

func (m *SchedulerSetDefaultScheduleParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerSetDefaultScheduleParamsBody) UnmarshalBinary

func (m *SchedulerSetDefaultScheduleParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerSetDefaultScheduleParamsBody) Validate

Validate validates this scheduler set default schedule params body

type SchedulerStateResponse

type SchedulerStateResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// state
	State *SchedulingState `json:"state,omitempty"`

	// states
	States []*SchedulingState `json:"states"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerStateResponse scheduler state response

swagger:model schedulerStateResponse

func (*SchedulerStateResponse) ContextValidate

func (m *SchedulerStateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler state response based on the context it is used

func (*SchedulerStateResponse) MarshalBinary

func (m *SchedulerStateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerStateResponse) UnmarshalBinary

func (m *SchedulerStateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerStateResponse) Validate

func (m *SchedulerStateResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler state response

type SchedulerStatsRequest

type SchedulerStatsRequest struct {

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// organization ids
	OrganizationIds []string `json:"organization_ids"`
}

SchedulerStatsRequest scheduler stats request

swagger:model schedulerStatsRequest

func (*SchedulerStatsRequest) ContextValidate

func (m *SchedulerStatsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduler stats request based on context it is used

func (*SchedulerStatsRequest) MarshalBinary

func (m *SchedulerStatsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerStatsRequest) UnmarshalBinary

func (m *SchedulerStatsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerStatsRequest) Validate

func (m *SchedulerStatsRequest) Validate(formats strfmt.Registry) error

Validate validates this scheduler stats request

type SchedulerStatsResponse

type SchedulerStatsResponse struct {

	// organizations stats
	OrganizationsStats map[string]SchedulingStats `json:"organizations_stats,omitempty"`

	// stats
	Stats *SchedulingStats `json:"stats,omitempty"`
}

SchedulerStatsResponse scheduler stats response

swagger:model schedulerStatsResponse

func (*SchedulerStatsResponse) ContextValidate

func (m *SchedulerStatsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler stats response based on the context it is used

func (*SchedulerStatsResponse) MarshalBinary

func (m *SchedulerStatsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerStatsResponse) UnmarshalBinary

func (m *SchedulerStatsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerStatsResponse) Validate

func (m *SchedulerStatsResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler stats response

type SchedulerTimezoneResponse

type SchedulerTimezoneResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// timezones
	Timezones []*SchedulingTimezone `json:"timezones"`

	// total
	Total int32 `json:"total,omitempty"`
}

SchedulerTimezoneResponse scheduler timezone response

swagger:model schedulerTimezoneResponse

func (*SchedulerTimezoneResponse) ContextValidate

func (m *SchedulerTimezoneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler timezone response based on the context it is used

func (*SchedulerTimezoneResponse) MarshalBinary

func (m *SchedulerTimezoneResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerTimezoneResponse) UnmarshalBinary

func (m *SchedulerTimezoneResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerTimezoneResponse) Validate

func (m *SchedulerTimezoneResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler timezone response

type SchedulerUpdatePatientParamsBody

type SchedulerUpdatePatientParamsBody struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// data
	Data interface{} `json:"data,omitempty"`

	// given name
	GivenName string `json:"given_name,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// prefix
	Prefix string `json:"prefix,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// suffix
	Suffix string `json:"suffix,omitempty"`

	// surname
	Surname string `json:"surname,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulerUpdatePatientParamsBody scheduler update patient params body Example: {}

swagger:model schedulerUpdatePatientParamsBody

func (*SchedulerUpdatePatientParamsBody) ContextValidate

func (m *SchedulerUpdatePatientParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduler update patient params body based on context it is used

func (*SchedulerUpdatePatientParamsBody) MarshalBinary

func (m *SchedulerUpdatePatientParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerUpdatePatientParamsBody) UnmarshalBinary

func (m *SchedulerUpdatePatientParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerUpdatePatientParamsBody) Validate

Validate validates this scheduler update patient params body

type SchedulerZipcodeResponse

type SchedulerZipcodeResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`

	// zipcode
	Zipcode *SchedulingZipcode `json:"zipcode,omitempty"`

	// zipcodes
	Zipcodes []*SchedulingZipcode `json:"zipcodes"`
}

SchedulerZipcodeResponse scheduler zipcode response

swagger:model schedulerZipcodeResponse

func (*SchedulerZipcodeResponse) ContextValidate

func (m *SchedulerZipcodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler zipcode response based on the context it is used

func (*SchedulerZipcodeResponse) MarshalBinary

func (m *SchedulerZipcodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerZipcodeResponse) UnmarshalBinary

func (m *SchedulerZipcodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerZipcodeResponse) Validate

func (m *SchedulerZipcodeResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler zipcode response

type SchedulerZoneResponse

type SchedulerZoneResponse struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`

	// zone
	Zone *SchedulingZone `json:"zone,omitempty"`

	// zones
	Zones []*SchedulingZone `json:"zones"`
}

SchedulerZoneResponse scheduler zone response

swagger:model schedulerZoneResponse

func (*SchedulerZoneResponse) ContextValidate

func (m *SchedulerZoneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduler zone response based on the context it is used

func (*SchedulerZoneResponse) MarshalBinary

func (m *SchedulerZoneResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulerZoneResponse) UnmarshalBinary

func (m *SchedulerZoneResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulerZoneResponse) Validate

func (m *SchedulerZoneResponse) Validate(formats strfmt.Registry) error

Validate validates this scheduler zone response

type SchedulingAppointment

type SchedulingAppointment struct {

	// active
	Active bool `json:"active,omitempty"`

	// country
	Country string `json:"country,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// The duration of the appointment in minutes
	Duration int32 `json:"duration,omitempty"`

	// The end time of the appointment (RFC3339)
	EndAt string `json:"end_at,omitempty"`

	// UUID of the appointment
	ID string `json:"id,omitempty"`

	// If the appointment is in-person and not online
	InPerson bool `json:"in_person,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// padding
	Padding bool `json:"padding,omitempty"`

	// Patient the appointment is with
	Patient *SchedulingPatient `json:"patient,omitempty"`

	// pending
	Pending bool `json:"pending,omitempty"`

	// Provider the appointment is with
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// schedule block id
	ScheduleBlockID string `json:"schedule_block_id,omitempty"`

	// schedule id
	ScheduleID string `json:"schedule_id,omitempty"`

	// service
	Service *SchedulingService `json:"service,omitempty"`

	// The service(s) that is/are scheduled with the appointment
	Services []*SchedulingService `json:"services"`

	// The start time of the appointment (RFC3339)
	StartAt string `json:"start_at,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// unavailable
	Unavailable bool `json:"unavailable,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingAppointment scheduling appointment Example: {}

swagger:model schedulingAppointment

func (*SchedulingAppointment) ContextValidate

func (m *SchedulingAppointment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling appointment based on the context it is used

func (*SchedulingAppointment) MarshalBinary

func (m *SchedulingAppointment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingAppointment) UnmarshalBinary

func (m *SchedulingAppointment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingAppointment) Validate

func (m *SchedulingAppointment) Validate(formats strfmt.Registry) error

Validate validates this scheduling appointment

type SchedulingAppointmentSlot

type SchedulingAppointmentSlot struct {

	// duration
	Duration int32 `json:"duration,omitempty"`

	// end at
	EndAt string `json:"end_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// reservation expires at
	ReservationExpiresAt string `json:"reservation_expires_at,omitempty"`

	// service
	Service *SchedulingService `json:"service,omitempty"`

	// start at
	StartAt string `json:"start_at,omitempty"`
}

SchedulingAppointmentSlot scheduling appointment slot

swagger:model schedulingAppointmentSlot

func (*SchedulingAppointmentSlot) ContextValidate

func (m *SchedulingAppointmentSlot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling appointment slot based on the context it is used

func (*SchedulingAppointmentSlot) MarshalBinary

func (m *SchedulingAppointmentSlot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingAppointmentSlot) UnmarshalBinary

func (m *SchedulingAppointmentSlot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingAppointmentSlot) Validate

func (m *SchedulingAppointmentSlot) Validate(formats strfmt.Registry) error

Validate validates this scheduling appointment slot

type SchedulingCountry

type SchedulingCountry struct {

	// code
	Code string `json:"code,omitempty"`

	// id
	ID int32 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`
}

SchedulingCountry scheduling country

swagger:model schedulingCountry

func (*SchedulingCountry) ContextValidate

func (m *SchedulingCountry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling country based on context it is used

func (*SchedulingCountry) MarshalBinary

func (m *SchedulingCountry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingCountry) UnmarshalBinary

func (m *SchedulingCountry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingCountry) Validate

func (m *SchedulingCountry) Validate(formats strfmt.Registry) error

Validate validates this scheduling country

type SchedulingLocation

type SchedulingLocation struct {

	// Specific latitude point to use
	Latitude float32 `json:"latitude,omitempty"`

	// Specific longitude point to use
	Longitude float32 `json:"longitude,omitempty"`

	// Address query (ex: 123 Main St., San Diego, CA, 92101, San Diego, CA, etc.)
	Query string `json:"query,omitempty"`

	// Zip code
	Zip string `json:"zip,omitempty"`
}

SchedulingLocation scheduling location

swagger:model schedulingLocation

func (*SchedulingLocation) ContextValidate

func (m *SchedulingLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling location based on context it is used

func (*SchedulingLocation) MarshalBinary

func (m *SchedulingLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingLocation) UnmarshalBinary

func (m *SchedulingLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingLocation) Validate

func (m *SchedulingLocation) Validate(formats strfmt.Registry) error

Validate validates this scheduling location

type SchedulingOrgConfig

type SchedulingOrgConfig struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// single service duration
	SingleServiceDuration bool `json:"single_service_duration,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingOrgConfig scheduling org config

swagger:model schedulingOrgConfig

func (*SchedulingOrgConfig) ContextValidate

func (m *SchedulingOrgConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling org config based on context it is used

func (*SchedulingOrgConfig) MarshalBinary

func (m *SchedulingOrgConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingOrgConfig) UnmarshalBinary

func (m *SchedulingOrgConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingOrgConfig) Validate

func (m *SchedulingOrgConfig) Validate(formats strfmt.Registry) error

Validate validates this scheduling org config

type SchedulingPatient

type SchedulingPatient struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// data
	Data interface{} `json:"data,omitempty"`

	// given name
	GivenName string `json:"given_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// prefix
	Prefix string `json:"prefix,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// suffix
	Suffix string `json:"suffix,omitempty"`

	// surname
	Surname string `json:"surname,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingPatient scheduling patient Example: {}

swagger:model schedulingPatient

func (*SchedulingPatient) ContextValidate

func (m *SchedulingPatient) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling patient based on context it is used

func (*SchedulingPatient) MarshalBinary

func (m *SchedulingPatient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingPatient) UnmarshalBinary

func (m *SchedulingPatient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingPatient) Validate

func (m *SchedulingPatient) Validate(formats strfmt.Registry) error

Validate validates this scheduling patient

type SchedulingProvider

type SchedulingProvider struct {

	// active
	Active bool `json:"active,omitempty"`

	// Available appointments for the provider
	Appointments map[string]SchedulingAppointment `json:"appointments,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// gender
	Gender string `json:"gender,omitempty"`

	// given name
	GivenName string `json:"given_name,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// prefix
	Prefix string `json:"prefix,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// suffix
	Suffix string `json:"suffix,omitempty"`

	// surname
	Surname string `json:"surname,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingProvider scheduling provider Example: {}

swagger:model schedulingProvider

func (*SchedulingProvider) ContextValidate

func (m *SchedulingProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling provider based on the context it is used

func (*SchedulingProvider) MarshalBinary

func (m *SchedulingProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingProvider) UnmarshalBinary

func (m *SchedulingProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingProvider) Validate

func (m *SchedulingProvider) Validate(formats strfmt.Registry) error

Validate validates this scheduling provider

type SchedulingProviderRole

type SchedulingProviderRole struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// id
	ID int32 `json:"id,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// provider id
	ProviderID string `json:"provider_id,omitempty"`

	// role
	Role *SchedulingRole `json:"role,omitempty"`

	// role id
	RoleID string `json:"role_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingProviderRole scheduling provider role

swagger:model schedulingProviderRole

func (*SchedulingProviderRole) ContextValidate

func (m *SchedulingProviderRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling provider role based on the context it is used

func (*SchedulingProviderRole) MarshalBinary

func (m *SchedulingProviderRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingProviderRole) UnmarshalBinary

func (m *SchedulingProviderRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingProviderRole) Validate

func (m *SchedulingProviderRole) Validate(formats strfmt.Registry) error

Validate validates this scheduling provider role

type SchedulingProviderService

type SchedulingProviderService struct {

	// active
	Active bool `json:"active,omitempty"`

	// country
	Country string `json:"country,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// durations
	Durations []int32 `json:"durations"`

	// id
	ID string `json:"id,omitempty"`

	// in person
	InPerson bool `json:"in_person,omitempty"`

	// languages
	Languages []string `json:"languages"`

	// license data
	LicenseData interface{} `json:"license_data,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// service
	Service *SchedulingService `json:"service,omitempty"`

	// states
	States []string `json:"states"`

	// types
	Types []string `json:"types"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingProviderService scheduling provider service

swagger:model schedulingProviderService

func (*SchedulingProviderService) ContextValidate

func (m *SchedulingProviderService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling provider service based on the context it is used

func (*SchedulingProviderService) MarshalBinary

func (m *SchedulingProviderService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingProviderService) UnmarshalBinary

func (m *SchedulingProviderService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingProviderService) Validate

func (m *SchedulingProviderService) Validate(formats strfmt.Registry) error

Validate validates this scheduling provider service

type SchedulingRole

type SchedulingRole struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingRole scheduling role

swagger:model schedulingRole

func (*SchedulingRole) ContextValidate

func (m *SchedulingRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling role based on context it is used

func (*SchedulingRole) MarshalBinary

func (m *SchedulingRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingRole) UnmarshalBinary

func (m *SchedulingRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingRole) Validate

func (m *SchedulingRole) Validate(formats strfmt.Registry) error

Validate validates this scheduling role

type SchedulingSchedule

type SchedulingSchedule struct {

	// active
	Active bool `json:"active,omitempty"`

	// active from
	ActiveFrom string `json:"active_from,omitempty"`

	// active to
	ActiveTo string `json:"active_to,omitempty"`

	// blocks
	Blocks []*SchedulingScheduleBlock `json:"blocks"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// include blocks
	IncludeBlocks bool `json:"include_blocks,omitempty"`

	// max per
	MaxPer int32 `json:"max_per,omitempty"`

	// max per type
	MaxPerType string `json:"max_per_type,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provider
	Provider *SchedulingProvider `json:"provider,omitempty"`

	// timezone
	Timezone *SchedulingTimezone `json:"timezone,omitempty"`

	// tz
	Tz string `json:"tz,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingSchedule scheduling schedule

swagger:model schedulingSchedule

func (*SchedulingSchedule) ContextValidate

func (m *SchedulingSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling schedule based on the context it is used

func (*SchedulingSchedule) MarshalBinary

func (m *SchedulingSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingSchedule) UnmarshalBinary

func (m *SchedulingSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingSchedule) Validate

func (m *SchedulingSchedule) Validate(formats strfmt.Registry) error

Validate validates this scheduling schedule

type SchedulingScheduleBlock

type SchedulingScheduleBlock struct {

	// active
	Active bool `json:"active,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// day of week
	DayOfWeek int32 `json:"day_of_week,omitempty"`

	// end at
	EndAt string `json:"end_at,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// minimum padding
	MinimumPadding int32 `json:"minimum_padding,omitempty"`

	// parent id
	ParentID string `json:"parent_id,omitempty"`

	// provider id
	ProviderID string `json:"provider_id,omitempty"`

	// repeat
	Repeat bool `json:"repeat,omitempty"`

	// repeat limit
	RepeatLimit int32 `json:"repeat_limit,omitempty"`

	// repeat step
	RepeatStep string `json:"repeat_step,omitempty"`

	// repeat until
	RepeatUntil string `json:"repeat_until,omitempty"`

	// repeat week days
	RepeatWeekDays []int32 `json:"repeat_week_days"`

	// schedule
	Schedule *SchedulingSchedule `json:"schedule,omitempty"`

	// services
	Services []*SchedulingProviderService `json:"services"`

	// start at
	StartAt string `json:"start_at,omitempty"`

	// types
	Types []string `json:"types"`

	// tz
	Tz string `json:"tz,omitempty"`

	// unavailable
	Unavailable bool `json:"unavailable,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingScheduleBlock scheduling schedule block

swagger:model schedulingScheduleBlock

func (*SchedulingScheduleBlock) ContextValidate

func (m *SchedulingScheduleBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling schedule block based on the context it is used

func (*SchedulingScheduleBlock) MarshalBinary

func (m *SchedulingScheduleBlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingScheduleBlock) UnmarshalBinary

func (m *SchedulingScheduleBlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingScheduleBlock) Validate

func (m *SchedulingScheduleBlock) Validate(formats strfmt.Registry) error

Validate validates this scheduling schedule block

type SchedulingService

type SchedulingService struct {

	// active
	Active bool `json:"active,omitempty"`

	// config
	Config *SchedulingServiceConfig `json:"config,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

	// created by
	CreatedBy string `json:"created_by,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// org id
	OrgID string `json:"org_id,omitempty"`

	// ref id
	RefID string `json:"ref_id,omitempty"`

	// updated at
	UpdatedAt string `json:"updated_at,omitempty"`

	// updated by
	UpdatedBy string `json:"updated_by,omitempty"`
}

SchedulingService scheduling service

swagger:model schedulingService

func (*SchedulingService) ContextValidate

func (m *SchedulingService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling service based on the context it is used

func (*SchedulingService) MarshalBinary

func (m *SchedulingService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingService) UnmarshalBinary

func (m *SchedulingService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingService) Validate

func (m *SchedulingService) Validate(formats strfmt.Registry) error

Validate validates this scheduling service

type SchedulingServiceConfig

type SchedulingServiceConfig struct {

	// durations
	Durations []int32 `json:"durations"`

	// fixed duration
	FixedDuration int32 `json:"fixed_duration,omitempty"`
}

SchedulingServiceConfig scheduling service config

swagger:model schedulingServiceConfig

func (*SchedulingServiceConfig) ContextValidate

func (m *SchedulingServiceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling service config based on context it is used

func (*SchedulingServiceConfig) MarshalBinary

func (m *SchedulingServiceConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingServiceConfig) UnmarshalBinary

func (m *SchedulingServiceConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingServiceConfig) Validate

func (m *SchedulingServiceConfig) Validate(formats strfmt.Registry) error

Validate validates this scheduling service config

type SchedulingState

type SchedulingState struct {

	// capital
	Capital string `json:"capital,omitempty"`

	// capital zip
	CapitalZip string `json:"capital_zip,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// nickname
	Nickname string `json:"nickname,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

SchedulingState scheduling state

swagger:model schedulingState

func (*SchedulingState) ContextValidate

func (m *SchedulingState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling state based on context it is used

func (*SchedulingState) MarshalBinary

func (m *SchedulingState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingState) UnmarshalBinary

func (m *SchedulingState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingState) Validate

func (m *SchedulingState) Validate(formats strfmt.Registry) error

Validate validates this scheduling state

type SchedulingStats

type SchedulingStats struct {

	// total active providers
	TotalActiveProviders int32 `json:"total_active_providers,omitempty"`

	// total appts future
	TotalApptsFuture int32 `json:"total_appts_future,omitempty"`

	// total appts last 30 days
	TotalApptsLast30Days int32 `json:"total_appts_last_30_days,omitempty"`

	// total appts last 60 days
	TotalApptsLast60Days int32 `json:"total_appts_last_60_days,omitempty"`

	// total appts last 90 days
	TotalApptsLast90Days int32 `json:"total_appts_last_90_days,omitempty"`

	// total appts last day
	TotalApptsLastDay int32 `json:"total_appts_last_day,omitempty"`

	// total appts last week
	TotalApptsLastWeek int32 `json:"total_appts_last_week,omitempty"`

	// total appts past
	TotalApptsPast int32 `json:"total_appts_past,omitempty"`

	// total inactive providers
	TotalInactiveProviders int32 `json:"total_inactive_providers,omitempty"`

	// total patients
	TotalPatients int32 `json:"total_patients,omitempty"`

	// total providers
	TotalProviders int32 `json:"total_providers,omitempty"`

	// total schedules
	TotalSchedules int32 `json:"total_schedules,omitempty"`

	// total services
	TotalServices int32 `json:"total_services,omitempty"`
}

SchedulingStats scheduling stats

swagger:model schedulingStats

func (*SchedulingStats) ContextValidate

func (m *SchedulingStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling stats based on context it is used

func (*SchedulingStats) MarshalBinary

func (m *SchedulingStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingStats) UnmarshalBinary

func (m *SchedulingStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingStats) Validate

func (m *SchedulingStats) Validate(formats strfmt.Registry) error

Validate validates this scheduling stats

type SchedulingTimezone

type SchedulingTimezone struct {

	// abbreviation
	Abbreviation string `json:"abbreviation,omitempty"`

	// dst
	Dst bool `json:"dst,omitempty"`

	// gmt offset
	GmtOffset int32 `json:"gmt_offset,omitempty"`

	// id
	ID int32 `json:"id,omitempty"`

	// time start
	TimeStart string `json:"time_start,omitempty"`

	// zone
	Zone *SchedulingZone `json:"zone,omitempty"`

	// zone id
	ZoneID int32 `json:"zone_id,omitempty"`
}

SchedulingTimezone scheduling timezone

swagger:model schedulingTimezone

func (*SchedulingTimezone) ContextValidate

func (m *SchedulingTimezone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scheduling timezone based on the context it is used

func (*SchedulingTimezone) MarshalBinary

func (m *SchedulingTimezone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingTimezone) UnmarshalBinary

func (m *SchedulingTimezone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingTimezone) Validate

func (m *SchedulingTimezone) Validate(formats strfmt.Registry) error

Validate validates this scheduling timezone

type SchedulingZipcode

type SchedulingZipcode struct {

	// city
	City string `json:"city,omitempty"`

	// country
	Country string `json:"country,omitempty"`

	// dst
	Dst bool `json:"dst,omitempty"`

	// latitude
	Latitude float32 `json:"latitude,omitempty"`

	// longitude
	Longitude float32 `json:"longitude,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// timezone
	Timezone int32 `json:"timezone,omitempty"`

	// zip
	Zip string `json:"zip,omitempty"`
}

SchedulingZipcode scheduling zipcode

swagger:model schedulingZipcode

func (*SchedulingZipcode) ContextValidate

func (m *SchedulingZipcode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling zipcode based on context it is used

func (*SchedulingZipcode) MarshalBinary

func (m *SchedulingZipcode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingZipcode) UnmarshalBinary

func (m *SchedulingZipcode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingZipcode) Validate

func (m *SchedulingZipcode) Validate(formats strfmt.Registry) error

Validate validates this scheduling zipcode

type SchedulingZone

type SchedulingZone struct {

	// country code
	CountryCode string `json:"country_code,omitempty"`

	// id
	ID int32 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

SchedulingZone scheduling zone

swagger:model schedulingZone

func (*SchedulingZone) ContextValidate

func (m *SchedulingZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scheduling zone based on context it is used

func (*SchedulingZone) MarshalBinary

func (m *SchedulingZone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SchedulingZone) UnmarshalBinary

func (m *SchedulingZone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SchedulingZone) Validate

func (m *SchedulingZone) Validate(formats strfmt.Registry) error

Validate validates this scheduling zone

Source Files

Jump to

Keyboard shortcuts

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