Documentation ¶
Index ¶
Constants ¶
const ( // TeamUserPermUser captures enum value "user" TeamUserPermUser string = "user" // TeamUserPermAdmin captures enum value "admin" TeamUserPermAdmin string = "admin" // TeamUserPermOwner captures enum value "owner" TeamUserPermOwner string = "owner" )
const ( // TeamUserParamsPermUser captures enum value "user" TeamUserParamsPermUser string = "user" // TeamUserParamsPermAdmin captures enum value "admin" TeamUserParamsPermAdmin string = "admin" // TeamUserParamsPermOwner captures enum value "owner" TeamUserParamsPermOwner string = "owner" )
const ( // UserTeamParamsPermUser captures enum value "user" UserTeamParamsPermUser string = "user" // UserTeamParamsPermAdmin captures enum value "admin" UserTeamParamsPermAdmin string = "admin" // UserTeamParamsPermOwner captures enum value "owner" UserTeamParamsPermOwner string = "owner" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthLogin ¶
type AuthLogin struct { // password // Required: true // Format: password Password *strfmt.Password `json:"password"` // username // Required: true Username *string `json:"username"` }
AuthLogin auth login swagger:model auth_login
func (*AuthLogin) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuthLogin) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuthToken ¶
type AuthToken struct { // expires at // Read Only: true // Format: date-time ExpiresAt *strfmt.DateTime `json:"expires_at,omitempty"` // token // Required: true // Read Only: true Token string `json:"token"` }
AuthToken auth token swagger:model auth_token
func (*AuthToken) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuthToken) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuthVerify ¶
type AuthVerify struct { // created at // Read Only: true // Format: date-time CreatedAt *strfmt.DateTime `json:"created_at,omitempty"` // username // Required: true // Read Only: true Username string `json:"username"` }
AuthVerify auth verify swagger:model auth_verify
func (*AuthVerify) MarshalBinary ¶
func (m *AuthVerify) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthVerify) UnmarshalBinary ¶
func (m *AuthVerify) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeneralError ¶
type GeneralError struct { // message // Required: true Message *string `json:"message"` // status // Required: true Status *int64 `json:"status"` }
GeneralError General error for regular HTTP status codes swagger:model general_error
func (*GeneralError) MarshalBinary ¶
func (m *GeneralError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeneralError) UnmarshalBinary ¶
func (m *GeneralError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Profile ¶
type Profile struct { // active // Read Only: true Active *bool `json:"active,omitempty"` // admin // Read Only: true Admin *bool `json:"admin,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // email Email *string `json:"email,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // password // Format: password Password *strfmt.Password `json:"password,omitempty"` // slug Slug *string `json:"slug,omitempty"` // teams // Read Only: true Teams []*TeamUser `json:"teams,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // username Username *string `json:"username,omitempty"` }
Profile profile swagger:model profile
func (*Profile) MarshalBinary ¶
MarshalBinary interface implementation
func (*Profile) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Team ¶
type Team struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // name Name *string `json:"name,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // users // Read Only: true Users []*TeamUser `json:"users,omitempty"` }
Team team swagger:model team
func (*Team) MarshalBinary ¶
MarshalBinary interface implementation
func (*Team) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamUser ¶
type TeamUser struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Read Only: true Team *Team `json:"team,omitempty"` // team id // Required: true // Format: uuid TeamID *strfmt.UUID `json:"team_id"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // user // Read Only: true User *User `json:"user,omitempty"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` }
TeamUser team user swagger:model team_user
func (*TeamUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamUserParams ¶
type TeamUserParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // user // Required: true User *string `json:"user"` }
TeamUserParams team user params swagger:model team_user_params
func (*TeamUserParams) MarshalBinary ¶
func (m *TeamUserParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamUserParams) UnmarshalBinary ¶
func (m *TeamUserParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // active Active *bool `json:"active,omitempty"` // admin Admin *bool `json:"admin,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // email Email *string `json:"email,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // password // Format: password Password *strfmt.Password `json:"password,omitempty"` // slug Slug *string `json:"slug,omitempty"` // teams // Read Only: true Teams []*TeamUser `json:"teams,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // username Username *string `json:"username,omitempty"` }
User user swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserTeamParams ¶
type UserTeamParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Required: true Team *string `json:"team"` }
UserTeamParams user team params swagger:model user_team_params
func (*UserTeamParams) MarshalBinary ¶
func (m *UserTeamParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserTeamParams) UnmarshalBinary ¶
func (m *UserTeamParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationError ¶
type ValidationError struct { // errors Errors []*ValidationErrorErrorsItems0 `json:"errors"` // message // Required: true Message *string `json:"message"` // status // Required: true Status *int64 `json:"status"` }
ValidationError Validation error which shows failed fields swagger:model validation_error
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
type ValidationErrorErrorsItems0 ¶
type ValidationErrorErrorsItems0 struct { // field Field string `json:"field,omitempty"` // message Message string `json:"message,omitempty"` }
ValidationErrorErrorsItems0 validation error errors items0 swagger:model ValidationErrorErrorsItems0
func (*ValidationErrorErrorsItems0) MarshalBinary ¶
func (m *ValidationErrorErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationErrorErrorsItems0) UnmarshalBinary ¶
func (m *ValidationErrorErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation