Documentation
¶
Index ¶
- type DBMissing
- type Database
- func (m *Database) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Database) MarshalBinary() ([]byte, error)
- func (m Database) MarshalJSON() ([]byte, error)
- func (m *Database) UnmarshalBinary(b []byte) error
- func (m *Database) UnmarshalJSON(data []byte) error
- func (m *Database) Validate(formats strfmt.Registry) error
- type DatabaseRoot
- type DatabaseRootFilesItems0
- func (m *DatabaseRootFilesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatabaseRootFilesItems0) MarshalBinary() ([]byte, error)
- func (m *DatabaseRootFilesItems0) UnmarshalBinary(b []byte) error
- func (m *DatabaseRootFilesItems0) Validate(formats strfmt.Registry) error
- type DatabaseSize
- type Databases
- type Enabled
- type Error
- type Generic
- type NotExists
- type Password
- type Permission
- type Permissions
- type Rolename
- type Roles
- type Superuser
- type User
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBMissing ¶
type DBMissing struct { // code // Example: 0D0DU2 // Required: true Code *string `json:"code"` // message // Example: Database does not exist // Required: true Message *string `json:"message"` }
DBMissing d b missing
swagger:model DBMissing
func (*DBMissing) ContextValidate ¶
ContextValidate validates this d b missing based on context it is used
func (*DBMissing) MarshalBinary ¶
MarshalBinary interface implementation
func (*DBMissing) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Database ¶
type Database struct { // root // Required: true Root *DatabaseRoot `json:"root"` // database // Format: binary Database map[string]io.ReadCloser `json:"-"` }
Database database
swagger:model Database
func (*Database) ContextValidate ¶
ContextValidate validate this database based on the context it is used
func (*Database) MarshalBinary ¶
MarshalBinary interface implementation
func (Database) MarshalJSON ¶
MarshalJSON marshals this object with additional properties into a JSON object
func (*Database) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Database) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with additional properties from JSON
type DatabaseRoot ¶
type DatabaseRoot struct { // dbname // Example: myDb // Required: true Dbname *string `json:"dbname"` // files // Required: true Files []*DatabaseRootFilesItems0 `json:"files"` // options // Required: true Options interface{} `json:"options"` }
DatabaseRoot database root Example: {\"dbname\": \"myDb\", \"options\": {}, \"files\": [ {\"filename\": \"file1.ttl\"} ] }
swagger:model DatabaseRoot
func (*DatabaseRoot) ContextValidate ¶
ContextValidate validate this database root based on the context it is used
func (*DatabaseRoot) MarshalBinary ¶
func (m *DatabaseRoot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseRoot) UnmarshalBinary ¶
func (m *DatabaseRoot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseRootFilesItems0 ¶
type DatabaseRootFilesItems0 struct { // context // Example: urn:my:graph Context string `json:"context,omitempty"` // filename // Example: fileX.ttl // Required: true Filename *string `json:"filename"` }
DatabaseRootFilesItems0 database root files items0
swagger:model DatabaseRootFilesItems0
func (*DatabaseRootFilesItems0) ContextValidate ¶
func (m *DatabaseRootFilesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this database root files items0 based on context it is used
func (*DatabaseRootFilesItems0) MarshalBinary ¶
func (m *DatabaseRootFilesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseRootFilesItems0) UnmarshalBinary ¶
func (m *DatabaseRootFilesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatabaseSize ¶
type DatabaseSize struct { // size // Required: true Size *string `json:"size"` }
DatabaseSize database size
swagger:model DatabaseSize
func (*DatabaseSize) ContextValidate ¶
ContextValidate validates this database size based on context it is used
func (*DatabaseSize) MarshalBinary ¶
func (m *DatabaseSize) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DatabaseSize) UnmarshalBinary ¶
func (m *DatabaseSize) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Databases ¶
type Databases struct { // databases // Required: true Databases []string `json:"databases"` }
Databases databases
swagger:model Databases
func (*Databases) ContextValidate ¶
ContextValidate validates this databases based on context it is used
func (*Databases) MarshalBinary ¶
MarshalBinary interface implementation
func (*Databases) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Enabled ¶
type Enabled struct { // enabled // Required: true Enabled bool `json:"enabled"` }
Enabled enabled
swagger:model Enabled
func (*Enabled) ContextValidate ¶
ContextValidate validates this enabled based on context it is used
func (*Enabled) MarshalBinary ¶
MarshalBinary interface implementation
func (*Enabled) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code // Required: true Code *int32 `json:"code"` // 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 Generic ¶
type Generic struct { // message // Example: Successfully executed request // Required: true Message *string `json:"message"` }
Generic generic
swagger:model Generic
func (*Generic) ContextValidate ¶
ContextValidate validates this generic based on context it is used
func (*Generic) MarshalBinary ¶
MarshalBinary interface implementation
func (*Generic) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NotExists ¶
type NotExists struct { // code // Required: true Code *string `json:"code"` // message // Required: true Message *string `json:"message"` }
NotExists not exists
swagger:model NotExists
func (*NotExists) ContextValidate ¶
ContextValidate validates this not exists based on context it is used
func (*NotExists) MarshalBinary ¶
MarshalBinary interface implementation
func (*NotExists) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Password ¶
type Password struct { // password // Required: true Password *string `json:"password"` }
Password password
swagger:model Password
func (*Password) ContextValidate ¶
ContextValidate validates this password based on context it is used
func (*Password) MarshalBinary ¶
MarshalBinary interface implementation
func (*Password) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Permission ¶
type Permission struct { // action // Required: true Action *string `json:"action"` // resource // Required: true Resource []string `json:"resource"` // resource type // Required: true ResourceType *string `json:"resource_type"` }
Permission permission
swagger:model Permission
func (*Permission) ContextValidate ¶
ContextValidate validates this permission based on context it is used
func (*Permission) MarshalBinary ¶
func (m *Permission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Permission) UnmarshalBinary ¶
func (m *Permission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Permissions ¶
type Permissions struct { // permissions // Required: true Permissions []*Permission `json:"permissions"` }
Permissions permissions
swagger:model Permissions
func (*Permissions) ContextValidate ¶
ContextValidate validate this permissions based on the context it is used
func (*Permissions) MarshalBinary ¶
func (m *Permissions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Permissions) UnmarshalBinary ¶
func (m *Permissions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Rolename ¶
type Rolename struct { // rolename // Required: true Rolename *string `json:"rolename"` }
Rolename rolename
swagger:model Rolename
func (*Rolename) ContextValidate ¶
ContextValidate validates this rolename based on context it is used
func (*Rolename) MarshalBinary ¶
MarshalBinary interface implementation
func (*Rolename) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Roles ¶
type Roles struct { // roles // Required: true Roles []string `json:"roles"` }
Roles roles
swagger:model Roles
func (*Roles) ContextValidate ¶
ContextValidate validates this roles based on context it is used
func (*Roles) MarshalBinary ¶
MarshalBinary interface implementation
func (*Roles) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Superuser ¶
type Superuser struct { // superuser // Required: true Superuser bool `json:"superuser"` }
Superuser superuser
swagger:model Superuser
func (*Superuser) ContextValidate ¶
ContextValidate validates this superuser based on context it is used
func (*Superuser) MarshalBinary ¶
MarshalBinary interface implementation
func (*Superuser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type User ¶
type User struct { // password // Required: true Password []string `json:"password"` // superuser // Required: true Superuser bool `json:"superuser"` // username // Required: true Username *string `json:"username"` }
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
type Users ¶
type Users struct { // users // Required: true Users []string `json:"users"` }
Users users
swagger:model Users
func (*Users) ContextValidate ¶
ContextValidate validates this users based on context it is used
func (*Users) MarshalBinary ¶
MarshalBinary interface implementation
func (*Users) UnmarshalBinary ¶
UnmarshalBinary interface implementation