Documentation
¶
Index ¶
- func StatusSliceToJSON(in []Status) json.RawMessage
- func UserProjectVersionSliceToJSON(e []UserProjectVersion) json.RawMessage
- func UserProjectVersionToJSON(e UserProjectVersion) json.RawMessage
- type Status
- type UserProjectVersion
- func (e UserProjectVersion) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e UserProjectVersion) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType
- func (e UserProjectVersion) EntityIdentifier() string
- func (e UserProjectVersion) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e UserProjectVersion) IsDependant() bool
- func (e UserProjectVersion) OrderedFieldIdentifiers() []string
- func (e UserProjectVersion) PrimaryKeyIdentifier() string
- func (e UserProjectVersion) PrimaryKeyValue() string
- func (e UserProjectVersion) String() string
- func (e UserProjectVersion) ToJSON() json.RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusSliceToJSON ¶
func StatusSliceToJSON(in []Status) json.RawMessage
func UserProjectVersionSliceToJSON ¶
func UserProjectVersionSliceToJSON(e []UserProjectVersion) json.RawMessage
func UserProjectVersionToJSON ¶
func UserProjectVersionToJSON(e UserProjectVersion) json.RawMessage
Types ¶
type Status ¶
type Status int64
func JSONToStatusSlice ¶
func JSONToStatusSlice(in json.RawMessage) []Status
func StatusFromPointerString ¶
func StatusFromString ¶
type UserProjectVersion ¶
type UserProjectVersion struct {
UUID uuid.UUID `json:"uuid"`
Version int64 `json:"version"`
ProjectVersionUUID uuid.UUID `json:"project_version_uuid"`
UserUUID uuid.UUID `json:"user_uuid"`
Data *string `json:"data"`
Status Status `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
CreatedByUUID uuid.UUID `json:"created_by_uuid"`
UpdatedByUUID uuid.UUID `json:"updated_by_uuid"`
}
func NewUserProjectVersionSliceWithRandomValues ¶
func NewUserProjectVersionSliceWithRandomValues(n int) []UserProjectVersion
func NewUserProjectVersionWithRandomValues ¶
func NewUserProjectVersionWithRandomValues() UserProjectVersion
func UserProjectVersionFromJSON ¶
func UserProjectVersionFromJSON(data json.RawMessage) UserProjectVersion
func UserProjectVersionSliceFromJSON ¶
func UserProjectVersionSliceFromJSON(data json.RawMessage) []UserProjectVersion
func (UserProjectVersion) ArrayFieldIdentifierToType ¶
func (e UserProjectVersion) ArrayFieldIdentifierToType() map[string]types.FieldType
func (UserProjectVersion) DependantFieldIdentifierToTypeMap ¶
func (e UserProjectVersion) DependantFieldIdentifierToTypeMap() map[string]map[string]types.FieldType
func (UserProjectVersion) EntityIdentifier ¶
func (e UserProjectVersion) EntityIdentifier() string
func (UserProjectVersion) FieldIdentfierToTypeMap ¶
func (e UserProjectVersion) FieldIdentfierToTypeMap() map[string]types.FieldType
func (UserProjectVersion) IsDependant ¶
func (e UserProjectVersion) IsDependant() bool
func (UserProjectVersion) OrderedFieldIdentifiers ¶ added in v1.0.35
func (e UserProjectVersion) OrderedFieldIdentifiers() []string
func (UserProjectVersion) PrimaryKeyIdentifier ¶
func (e UserProjectVersion) PrimaryKeyIdentifier() string
func (UserProjectVersion) PrimaryKeyValue ¶
func (e UserProjectVersion) PrimaryKeyValue() string
func (UserProjectVersion) String ¶
func (e UserProjectVersion) String() string
func (UserProjectVersion) ToJSON ¶
func (e UserProjectVersion) ToJSON() json.RawMessage
Click to show internal directories.
Click to hide internal directories.