user_project_version

package
v1.0.43 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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
const (
	STATUS_INVALID Status = iota
	STATUS_ACTIVE
	STATUS_DISABLED
)

func JSONToStatusSlice

func JSONToStatusSlice(in json.RawMessage) []Status

func StatusFromPointerString

func StatusFromPointerString(in *string) Status

func StatusFromString

func StatusFromString(in string) Status

func (Status) String

func (e Status) String() string

func (Status) StringPtr

func (e Status) StringPtr() *string

func (Status) ToInt64

func (e Status) ToInt64() int64

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

Jump to

Keyboard shortcuts

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