Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorMessage ¶
type ErrorMessage struct {
// details
Details string `json:"Details,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// msg
Msg string `json:"Msg,omitempty"`
}
ErrorMessage error message
swagger:model ErrorMessage
func (*ErrorMessage) ContextValidate ¶
ContextValidate validates this error message based on context it is used
func (*ErrorMessage) MarshalBinary ¶
func (m *ErrorMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorMessage) UnmarshalBinary ¶
func (m *ErrorMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Group ¶
type Group struct {
// ID
ID string `json:"ID,omitempty"`
// members
Members []string `json:"Members"`
// name
Name string `json:"Name,omitempty"`
// type
Type string `json:"Type,omitempty"`
// Extra
Extra map[string]interface{}
}
Group group
swagger:model Group
func (*Group) ContextValidate ¶
ContextValidate validates this group based on context it is used
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type User ¶
type User struct {
// company
Company string `json:"Company,omitempty"`
// department
Department string `json:"Department,omitempty"`
// email
Email string `json:"Email,omitempty"`
// first name
FirstName string `json:"FirstName,omitempty"`
// ID
ID string `json:"ID,omitempty"`
// job title
JobTitle string `json:"JobTitle,omitempty"`
// last name
LastName string `json:"LastName,omitempty"`
// mobile phone
MobilePhone string `json:"MobilePhone,omitempty"`
// must change password
MustChangePassword bool `json:"MustChangePassword,omitempty"`
// office phone
OfficePhone string `json:"OfficePhone,omitempty"`
// password
Password string `json:"-"`
// status
Status string `json:"Status,omitempty"`
// user name
UserName string `json:"UserName,omitempty"`
// user name
DisplayName string `json:"DisplayName,omitempty"`
Extra map[string]interface{}
}
User user
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.