Documentation
¶
Index ¶
- Constants
- type Category
- type Error
- type Identifier
- func (m *Identifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Identifier) MarshalBinary() ([]byte, error)
- func (m *Identifier) UnmarshalBinary(b []byte) error
- func (m *Identifier) UnmarshalJSON(data []byte) error
- func (m *Identifier) Validate(formats strfmt.Registry) error
- type Info
- type InfoConfiguration
- func (m *InfoConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InfoConfiguration) MarshalBinary() ([]byte, error)
- func (m *InfoConfiguration) UnmarshalBinary(b []byte) error
- func (m *InfoConfiguration) UnmarshalJSON(data []byte) error
- func (m *InfoConfiguration) Validate(formats strfmt.Registry) error
- type Language
- type Localization
- func (m *Localization) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Localization) MarshalBinary() ([]byte, error)
- func (m *Localization) UnmarshalBinary(b []byte) error
- func (m *Localization) UnmarshalJSON(data []byte) error
- func (m *Localization) Validate(formats strfmt.Registry) error
- type S3StorageConfiguration
- func (m *S3StorageConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *S3StorageConfiguration) MarshalBinary() ([]byte, error)
- func (m *S3StorageConfiguration) UnmarshalBinary(b []byte) error
- func (m *S3StorageConfiguration) UnmarshalJSON(data []byte) error
- func (m *S3StorageConfiguration) Validate(formats strfmt.Registry) error
- type StorageConfiguration
- func (m *StorageConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StorageConfiguration) MarshalBinary() ([]byte, error)
- func (m *StorageConfiguration) UnmarshalBinary(b []byte) error
- func (m *StorageConfiguration) UnmarshalJSON(data []byte) error
- func (m *StorageConfiguration) Validate(formats strfmt.Registry) error
- type Translation
- func (m *Translation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Translation) MarshalBinary() ([]byte, error)
- func (m *Translation) UnmarshalBinary(b []byte) error
- func (m *Translation) UnmarshalJSON(data []byte) error
- func (m *Translation) Validate(formats strfmt.Registry) error
- type TranslationConfiguration
- func (m *TranslationConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TranslationConfiguration) MarshalBinary() ([]byte, error)
- func (m *TranslationConfiguration) UnmarshalBinary(b []byte) error
- func (m *TranslationConfiguration) UnmarshalJSON(data []byte) error
- func (m *TranslationConfiguration) Validate(formats strfmt.Registry) error
- type TranslationFile
- func (m *TranslationFile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TranslationFile) MarshalBinary() ([]byte, error)
- func (m *TranslationFile) UnmarshalBinary(b []byte) error
- func (m *TranslationFile) UnmarshalJSON(data []byte) error
- func (m *TranslationFile) Validate(formats strfmt.Registry) error
- type User
- type Version
Constants ¶
const ( // TranslationFileStorageTypeLocal captures enum value "local" TranslationFileStorageTypeLocal string = "local" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct {
// id
// Required: true
ID *int64 `json:"id"`
// name
// Required: true
// Max Length: 255
// Min Length: 1
Name *string `json:"name"`
}
Category category
swagger:model Category
func (*Category) ContextValidate ¶
ContextValidate validates this category based on context it is used
func (*Category) MarshalBinary ¶
MarshalBinary interface implementation
func (*Category) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Category) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Error ¶
type Error struct {
// HTTP status
// 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
func (*Error) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Identifier ¶
type Identifier struct {
// category
Category *Category `json:"category,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
// Required: true
ID *int64 `json:"id"`
// name
// Required: true
// Max Length: 255
// Min Length: 1
Name *string `json:"name"`
// platforms
// Required: true
Platforms []string `json:"platforms"`
// text plural
TextPlural string `json:"text_plural,omitempty"`
// text singular
TextSingular string `json:"text_singular,omitempty"`
}
Identifier identifier
swagger:model Identifier
func (*Identifier) ContextValidate ¶
ContextValidate validate this identifier based on the context it is used
func (*Identifier) MarshalBinary ¶
func (m *Identifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Identifier) UnmarshalBinary ¶
func (m *Identifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*Identifier) UnmarshalJSON ¶
func (m *Identifier) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Info ¶
type Info struct {
// configuration
// Required: true
Configuration *InfoConfiguration `json:"configuration"`
// user
// Required: true
User *User `json:"user"`
}
Info info
swagger:model Info
func (*Info) ContextValidate ¶
ContextValidate validate this info based on the context it is used
func (*Info) MarshalBinary ¶
MarshalBinary interface implementation
func (*Info) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Info) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type InfoConfiguration ¶
type InfoConfiguration struct {
// has auto translation
// Required: true
HasAutoTranslation *bool `json:"has_auto_translation"`
}
InfoConfiguration info configuration
swagger:model InfoConfiguration
func (*InfoConfiguration) ContextValidate ¶
ContextValidate validates this info configuration based on context it is used
func (*InfoConfiguration) MarshalBinary ¶
func (m *InfoConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InfoConfiguration) UnmarshalBinary ¶
func (m *InfoConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*InfoConfiguration) UnmarshalJSON ¶
func (m *InfoConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Language ¶
type Language struct {
// code
// Required: true
// Min Length: 2
Code *string `json:"code"`
// name
// Required: true
Name *string `json:"name"`
}
Language language
swagger:model Language
func (*Language) ContextValidate ¶
ContextValidate validates this language based on context it is used
func (*Language) MarshalBinary ¶
MarshalBinary interface implementation
func (*Language) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Language) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Localization ¶
type Localization struct {
// created at
// Required: true
CreatedAt *int64 `json:"created_at"`
// id
// Required: true
ID *int64 `json:"id"`
// lang name
// Required: true
LangName *string `json:"lang_name"`
// locale
// Required: true
Locale *string `json:"locale"`
}
Localization localization
swagger:model Localization
func (*Localization) ContextValidate ¶
ContextValidate validates this localization based on context it is used
func (*Localization) MarshalBinary ¶
func (m *Localization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Localization) UnmarshalBinary ¶
func (m *Localization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*Localization) UnmarshalJSON ¶
func (m *Localization) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type S3StorageConfiguration ¶
type S3StorageConfiguration struct {
// access key id
// Required: true
AccessKeyID *string `json:"access_key_id"`
// disable s s l
// Required: true
DisableSSL *string `json:"disableSSL"`
// endpoint
// Required: true
Endpoint *string `json:"endpoint"`
// force path style
// Required: true
ForcePathStyle *string `json:"force_path_style"`
// region
// Required: true
Region *string `json:"region"`
// secret access key
// Required: true
SecretAccessKey *string `json:"secret_access_key"`
}
S3StorageConfiguration s3 storage configuration
swagger:model S3StorageConfiguration
func (*S3StorageConfiguration) ContextValidate ¶
func (m *S3StorageConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this s3 storage configuration based on context it is used
func (*S3StorageConfiguration) MarshalBinary ¶
func (m *S3StorageConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*S3StorageConfiguration) UnmarshalBinary ¶
func (m *S3StorageConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*S3StorageConfiguration) UnmarshalJSON ¶
func (m *S3StorageConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type StorageConfiguration ¶
type StorageConfiguration struct {
// s3 storage conf
S3StorageConf *S3StorageConfiguration `json:"s3_storage_conf,omitempty"`
// use
// Required: true
Use *int32 `json:"use"`
}
StorageConfiguration storage configuration
swagger:model StorageConfiguration
func (*StorageConfiguration) ContextValidate ¶
ContextValidate validate this storage configuration based on the context it is used
func (*StorageConfiguration) MarshalBinary ¶
func (m *StorageConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StorageConfiguration) UnmarshalBinary ¶
func (m *StorageConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StorageConfiguration) UnmarshalJSON ¶
func (m *StorageConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Translation ¶
type Translation struct {
// created at
// Required: true
CreatedAt *int64 `json:"created_at"`
// id
// Required: true
ID *int64 `json:"id"`
// identifier
// Required: true
Identifier *Identifier `json:"identifier"`
// localization
// Required: true
Localization *Localization `json:"localization"`
// plural
// Required: true
Plural *string `json:"plural"`
// singular
// Required: true
Singular *string `json:"singular"`
// status
Status string `json:"status,omitempty"`
}
Translation translation
swagger:model Translation
func (*Translation) ContextValidate ¶
ContextValidate validate this translation based on the context it is used
func (*Translation) MarshalBinary ¶
func (m *Translation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Translation) UnmarshalBinary ¶
func (m *Translation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*Translation) UnmarshalJSON ¶
func (m *Translation) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TranslationConfiguration ¶
type TranslationConfiguration struct {
// auto
// Required: true
Auto *bool `json:"auto"`
// main language
// Required: true
MainLanguage *string `json:"main_language"`
// use
// Required: true
Use *int32 `json:"use"`
}
TranslationConfiguration translation configuration
swagger:model TranslationConfiguration
func (*TranslationConfiguration) ContextValidate ¶
func (m *TranslationConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this translation configuration based on context it is used
func (*TranslationConfiguration) MarshalBinary ¶
func (m *TranslationConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TranslationConfiguration) UnmarshalBinary ¶
func (m *TranslationConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TranslationConfiguration) UnmarshalJSON ¶
func (m *TranslationConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TranslationFile ¶
type TranslationFile struct {
// created at
// Required: true
CreatedAt *int64 `json:"created_at"`
// id
// Required: true
ID *int64 `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// path
// Required: true
Path *string `json:"path"`
// platform
// Required: true
Platform *string `json:"platform"`
// status
Status string `json:"status,omitempty"`
// storage type
// Required: true
// Enum: [local]
StorageType *string `json:"storage_type"`
// updated at
// Required: true
UpdatedAt *int64 `json:"updated_at"`
}
TranslationFile translation file
swagger:model TranslationFile
func (*TranslationFile) ContextValidate ¶
ContextValidate validates this translation file based on context it is used
func (*TranslationFile) MarshalBinary ¶
func (m *TranslationFile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TranslationFile) UnmarshalBinary ¶
func (m *TranslationFile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TranslationFile) UnmarshalJSON ¶
func (m *TranslationFile) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type User ¶
type User struct {
// created at
// Required: true
CreatedAt *int64 `json:"created_at"`
// email
// Required: true
Email *string `json:"email"`
// first name
FirstName string `json:"first_name,omitempty"`
// id
// Required: true
ID *int64 `json:"id"`
// role
// Required: true
Role *string `json:"role"`
// second name
SecondName string `json:"second_name,omitempty"`
// status
// Required: true
Status *string `json:"status"`
// uuid id
// Required: true
UUIDID *string `json:"uuid_id"`
}
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
func (*User) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type Version ¶
type Version struct {
// lang name
LangName string `json:"lang_name,omitempty"`
// locale
// Required: true
Locale *string `json:"locale"`
// localization id
LocalizationID int64 `json:"localization_id,omitempty"`
// path
Path string `json:"path,omitempty"`
// platform
Platform int64 `json:"platform,omitempty"`
// updated at
// Required: true
UpdatedAt *int64 `json:"updated_at"`
}
Version version
swagger:model Version
func (*Version) ContextValidate ¶
ContextValidate validates this version based on context it is used
func (*Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Version) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON