Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequest ¶
type BadRequest struct {
// error type
ErrorType string `json:"error_type,omitempty"`
// message
Message string `json:"message,omitempty"`
}
BadRequest bad request swagger:model BadRequest
func (*BadRequest) MarshalBinary ¶
func (m *BadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BadRequest) UnmarshalBinary ¶
func (m *BadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InternalServerError ¶
type InternalServerError struct {
// error type
ErrorType string `json:"error_type,omitempty"`
// message
Message string `json:"message,omitempty"`
}
InternalServerError internal server error swagger:model InternalServerError
func (*InternalServerError) MarshalBinary ¶
func (m *InternalServerError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InternalServerError) UnmarshalBinary ¶
func (m *InternalServerError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotFoundError ¶
type NotFoundError struct {
// error type
ErrorType string `json:"error_type,omitempty"`
// message
Message string `json:"message,omitempty"`
}
NotFoundError not found error swagger:model NotFoundError
func (*NotFoundError) MarshalBinary ¶
func (m *NotFoundError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotFoundError) UnmarshalBinary ¶
func (m *NotFoundError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct {
// is service
IsService bool `json:"is_service,omitempty"`
// permissions
Permissions string `json:"permissions,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
Principal principal swagger:model Principal
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QueryResult ¶
type QueryResult struct {
// records
// Required: true
Records []*RecordOutput `json:"records"`
}
QueryResult query result swagger:model QueryResult
func (*QueryResult) MarshalBinary ¶
func (m *QueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryResult) UnmarshalBinary ¶
func (m *QueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecordInput ¶
type RecordInput struct {
// id
ID string `json:"id,omitempty"`
// path
// Required: true
Path *string `json:"path"`
// properties
// Required: true
Properties map[string]interface{} `json:"properties"`
}
RecordInput record input swagger:model RecordInput
func (*RecordInput) MarshalBinary ¶
func (m *RecordInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecordInput) UnmarshalBinary ¶
func (m *RecordInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RecordOutput ¶
type RecordOutput struct {
// created at
// Required: true
CreatedAt *string `json:"created_at"`
// created by
// Required: true
CreatedBy *string `json:"created_by"`
// id
// Required: true
ID *string `json:"id"`
// parent
// Required: true
Parent *string `json:"parent"`
// path
// Required: true
Path *string `json:"path"`
// properties
// Required: true
Properties map[string]interface{} `json:"properties"`
// updated at
// Required: true
UpdatedAt *string `json:"updated_at"`
// updated by
// Required: true
UpdatedBy *string `json:"updated_by"`
}
RecordOutput record output swagger:model RecordOutput
func (*RecordOutput) MarshalBinary ¶
func (m *RecordOutput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecordOutput) UnmarshalBinary ¶
func (m *RecordOutput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationError ¶
type ValidationError struct {
// error type
ErrorType string `json:"error_type,omitempty"`
// message
Message string `json:"message,omitempty"`
}
ValidationError validation error swagger:model ValidationError
func (*ValidationError) MarshalBinary ¶
func (m *ValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationError) UnmarshalBinary ¶
func (m *ValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation