Documentation
¶
Index ¶
- type Category
- type CategoryMultiChoice
- type CategorySingleChoice
- type CategorySingleChoiceGroup
- func (m *CategorySingleChoiceGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CategorySingleChoiceGroup) MarshalBinary() ([]byte, error)
- func (m *CategorySingleChoiceGroup) UnmarshalBinary(b []byte) error
- func (m *CategorySingleChoiceGroup) Validate(formats strfmt.Registry) error
- type Entry
- type Error
- type OidcInfo
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct {
// id
// Read Only: true
ID int32 `json:"id,omitempty"`
// title
// Required: true
Title *string `json:"title"`
// user id
// Read Only: true
UserID int32 `json:"user_id,omitempty"`
}
Category category
swagger:model category
func (*Category) ContextValidate ¶
ContextValidate validate this category based on the context it is used
func (*Category) MarshalBinary ¶
MarshalBinary interface implementation
func (*Category) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CategoryMultiChoice ¶
type CategoryMultiChoice struct {
// category id
// Read Only: true
CategoryID int32 `json:"category_id,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
// Read Only: true
ID int32 `json:"id,omitempty"`
// title
// Required: true
Title *string `json:"title"`
}
CategoryMultiChoice category multi choice
swagger:model category_multi_choice
func (*CategoryMultiChoice) ContextValidate ¶
ContextValidate validate this category multi choice based on the context it is used
func (*CategoryMultiChoice) MarshalBinary ¶
func (m *CategoryMultiChoice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategoryMultiChoice) UnmarshalBinary ¶
func (m *CategoryMultiChoice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CategorySingleChoice ¶
type CategorySingleChoice struct {
// description
Description string `json:"description,omitempty"`
// group id
// Read Only: true
GroupID int32 `json:"group_id,omitempty"`
// id
// Read Only: true
ID int32 `json:"id,omitempty"`
// title
// Required: true
Title *string `json:"title"`
}
CategorySingleChoice category single choice
swagger:model category_single_choice
func (*CategorySingleChoice) ContextValidate ¶
ContextValidate validate this category single choice based on the context it is used
func (*CategorySingleChoice) MarshalBinary ¶
func (m *CategorySingleChoice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategorySingleChoice) UnmarshalBinary ¶
func (m *CategorySingleChoice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CategorySingleChoiceGroup ¶
type CategorySingleChoiceGroup struct {
// category id
// Read Only: true
CategoryID int32 `json:"category_id,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
// Read Only: true
ID int32 `json:"id,omitempty"`
// title
// Required: true
Title *string `json:"title"`
}
CategorySingleChoiceGroup category single choice group
swagger:model category_single_choice_group
func (*CategorySingleChoiceGroup) ContextValidate ¶
func (m *CategorySingleChoiceGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this category single choice group based on the context it is used
func (*CategorySingleChoiceGroup) MarshalBinary ¶
func (m *CategorySingleChoiceGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategorySingleChoiceGroup) UnmarshalBinary ¶
func (m *CategorySingleChoiceGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Entry ¶
type Entry struct {
// diastole
Diastole float32 `json:"diastole,omitempty"`
// end time
// Format: date-time
EndTime strfmt.DateTime `json:"end_time,omitempty"`
// have blood pressure
// Required: true
HaveBloodPressure *bool `json:"have_blood_pressure"`
// id
// Read Only: true
ID int32 `json:"id,omitempty"`
// multi choices
// Required: true
MultiChoices []int64 `json:"multi_choices"`
// pulse
Pulse float32 `json:"pulse,omitempty"`
// remarks
Remarks string `json:"remarks,omitempty"`
// single choices
// Required: true
SingleChoices []int64 `json:"single_choices"`
// start time
// Required: true
// Format: date-time
StartTime *strfmt.DateTime `json:"start_time"`
// systole
Systole float32 `json:"systole,omitempty"`
// user id
// Read Only: true
UserID int32 `json:"user_id,omitempty"`
}
Entry entry
swagger:model entry
func (*Entry) ContextValidate ¶
ContextValidate validate this entry based on the context it is used
func (*Entry) MarshalBinary ¶
MarshalBinary interface implementation
func (*Entry) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
Code int32 `json:"code,omitempty"`
// message
// Required: true
Message *string `json:"message"`
}
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OidcInfo ¶
type OidcInfo struct {
// client id
ClientID string `json:"client_id,omitempty"`
// client secret
ClientSecret string `json:"client_secret,omitempty"`
// discovery url
// Required: true
DiscoveryURL *string `json:"discovery_url"`
}
OidcInfo oidc info
swagger:model oidc_info
func (*OidcInfo) ContextValidate ¶
ContextValidate validates this oidc info based on context it is used
func (*OidcInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*OidcInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type User ¶
type User struct {
// first name
// Read Only: true
FirstName string `json:"first_name,omitempty"`
// id
// Read Only: true
ID int32 `json:"id,omitempty"`
// name
// Read Only: true
Name string `json:"name,omitempty"`
}
User user
swagger:model user
func (*User) ContextValidate ¶
ContextValidate validate this user based on the context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation