models

package
v0.0.0-...-e46559e Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppList

type AppList struct {

	// app count
	AppCount int64 `json:"AppCount,omitempty"`

	// apps
	Apps []*ApplicationTemplate `json:"Apps"`
}

AppList app list

swagger:model app_list

func (*AppList) ContextValidate

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

ContextValidate validate this app list based on the context it is used

func (*AppList) MarshalBinary

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

MarshalBinary interface implementation

func (*AppList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AppList) Validate

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

Validate validates this app list

type Application

type Application struct {

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

	// enhanced
	Enhanced bool `json:"Enhanced,omitempty"`

	// icon
	Icon string `json:"Icon,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

	// license
	License string `json:"License,omitempty"`

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

	// template appid
	TemplateAppid string `json:"TemplateAppid,omitempty"`

	// text color
	TextColor string `json:"TextColor,omitempty"`

	// tile background
	TileBackground string `json:"TileBackground,omitempty"`

	// website
	Website string `json:"Website,omitempty"`
}

Application application

swagger:model application

func (*Application) ContextValidate

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

ContextValidate validates this application based on context it is used

func (*Application) MarshalBinary

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

MarshalBinary interface implementation

func (*Application) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Application) Validate

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

Validate validates this application

type ApplicationTab

type ApplicationTab struct {

	// application
	Application *Application `json:"Application,omitempty"`

	// application Id
	ApplicationID int64 `json:"ApplicationId,omitempty"`

	// display order
	DisplayOrder int64 `json:"DisplayOrder,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

	// tab Id
	TabID int64 `json:"TabId,omitempty"`
}

ApplicationTab application tab

swagger:model application_tab

func (*ApplicationTab) ContextValidate

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

ContextValidate validate this application tab based on the context it is used

func (*ApplicationTab) MarshalBinary

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

MarshalBinary interface implementation

func (*ApplicationTab) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ApplicationTab) Validate

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

Validate validates this application tab

type ApplicationTemplate

type ApplicationTemplate struct {

	// appid
	Appid string `json:"Appid,omitempty"`

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

	// enhanced
	Enhanced bool `json:"Enhanced,omitempty"`

	// icon
	Icon string `json:"Icon,omitempty"`

	// license
	License string `json:"License,omitempty"`

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

	// s h a
	SHA string `json:"SHA,omitempty"`

	// website
	Website string `json:"Website,omitempty"`

	// tile background
	TileBackground string `json:"tile_background,omitempty"`
}

ApplicationTemplate application template

swagger:model application_template

func (*ApplicationTemplate) ContextValidate

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

ContextValidate validates this application template based on context it is used

func (*ApplicationTemplate) MarshalBinary

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

MarshalBinary interface implementation

func (*ApplicationTemplate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ApplicationTemplate) Validate

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

Validate validates this application template

type Error

type Error struct {

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

	// fields
	Fields string `json:"fields,omitempty"`

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

Error error

swagger:model error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Group

type Group struct {

	// d n
	DN string `json:"DN,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

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

Group group

swagger:model group

func (*Group) ContextValidate

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

ContextValidate validates this group based on context it is used

func (*Group) MarshalBinary

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

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Group) Validate

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

Validate validates this group

type GroupApplications

type GroupApplications struct {

	// application
	Application *Application `json:"Application,omitempty"`

	// application Id
	ApplicationID int64 `json:"ApplicationId,omitempty"`

	// group Id
	GroupID int64 `json:"GroupId,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`
}

GroupApplications group applications

swagger:model group_applications

func (*GroupApplications) ContextValidate

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

ContextValidate validate this group applications based on the context it is used

func (*GroupApplications) MarshalBinary

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

MarshalBinary interface implementation

func (*GroupApplications) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GroupApplications) Validate

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

Validate validates this group applications

type Principal

type Principal string

Principal principal

swagger:model principal

func (Principal) ContextValidate

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

ContextValidate validates this principal based on context it is used

func (Principal) Validate

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

Validate validates this principal

type Tab

type Tab struct {

	// display order
	DisplayOrder int64 `json:"DisplayOrder,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

	// label
	Label string `json:"Label,omitempty"`
}

Tab tab

swagger:model tab

func (*Tab) ContextValidate

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

ContextValidate validates this tab based on context it is used

func (*Tab) MarshalBinary

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

MarshalBinary interface implementation

func (*Tab) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tab) Validate

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

Validate validates this tab

type User

type User struct {

	// d n
	DN string `json:"DN,omitempty"`

	// display name
	DisplayName string `json:"DisplayName,omitempty"`

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

	// Id
	ID int64 `json:"Id,omitempty"`

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

	// Uid number
	UIDNumber int64 `json:"UidNumber,omitempty"`

	// username
	Username string `json:"Username,omitempty"`
}

User user

swagger:model user

func (*User) ContextValidate

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

ContextValidate validates this user based on context it is used

func (*User) MarshalBinary

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*User) Validate

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

Validate validates this user

type UserApplications

type UserApplications struct {

	// application
	Application *Application `json:"Application,omitempty"`

	// application Id
	ApplicationID int64 `json:"ApplicationId,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

	// user Id
	UserID int64 `json:"UserId,omitempty"`
}

UserApplications user applications

swagger:model user_applications

func (*UserApplications) ContextValidate

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

ContextValidate validate this user applications based on the context it is used

func (*UserApplications) MarshalBinary

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

MarshalBinary interface implementation

func (*UserApplications) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserApplications) Validate

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

Validate validates this user applications

type UserGroup

type UserGroup struct {

	// group d n
	GroupDN string `json:"GroupDN,omitempty"`

	// group Id
	GroupID int64 `json:"GroupId,omitempty"`

	// group name
	GroupName string `json:"GroupName,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

	// user d n
	UserDN string `json:"UserDN,omitempty"`

	// user Id
	UserID int64 `json:"UserId,omitempty"`

	// user name
	UserName string `json:"UserName,omitempty"`
}

UserGroup user group

swagger:model user_group

func (*UserGroup) ContextValidate

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

ContextValidate validates this user group based on context it is used

func (*UserGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*UserGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserGroup) Validate

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

Validate validates this user group

type UserLogin

type UserLogin struct {

	// password
	// Format: password
	Password strfmt.Password `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

UserLogin user login

swagger:model user_login

func (*UserLogin) ContextValidate

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

ContextValidate validates this user login based on context it is used

func (*UserLogin) MarshalBinary

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

MarshalBinary interface implementation

func (*UserLogin) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserLogin) Validate

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

Validate validates this user login

type UserSession

type UserSession struct {

	// expires
	// Format: date-time
	Expires strfmt.DateTime `json:"Expires,omitempty"`

	// Id
	ID int64 `json:"Id,omitempty"`

	// issued
	// Format: date-time
	Issued strfmt.DateTime `json:"Issued,omitempty"`

	// token
	Token string `json:"Token,omitempty"`

	// user Id
	UserID int64 `json:"UserId,omitempty"`
}

UserSession user session

swagger:model user_session

func (*UserSession) ContextValidate

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

ContextValidate validates this user session based on context it is used

func (*UserSession) MarshalBinary

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

MarshalBinary interface implementation

func (*UserSession) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserSession) Validate

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

Validate validates this user session

type UsersApplicationItem

type UsersApplicationItem struct {

	// application
	Application *Application `json:"Application,omitempty"`

	// display order
	DisplayOrder int64 `json:"DisplayOrder,omitempty"`

	// tab Id
	TabID int64 `json:"TabId,omitempty"`
}

UsersApplicationItem users application item

swagger:model users_application_item

func (*UsersApplicationItem) ContextValidate

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

ContextValidate validate this users application item based on the context it is used

func (*UsersApplicationItem) MarshalBinary

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

MarshalBinary interface implementation

func (*UsersApplicationItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UsersApplicationItem) Validate

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

Validate validates this users application item

type UsersApplications

type UsersApplications []*UsersApplicationItem

UsersApplications users applications

swagger:model users_applications

func (UsersApplications) ContextValidate

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

ContextValidate validate this users applications based on the context it is used

func (UsersApplications) Validate

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

Validate validates this users applications

Jump to

Keyboard shortcuts

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