Documentation
¶
Index ¶
- func ObjectStoreSliceToJSON(e []ObjectStore) json.RawMessage
- func ObjectStoreToJSON(e ObjectStore) json.RawMessage
- func StatusSliceToJSON(in []Status) json.RawMessage
- func TypeSliceToJSON(in []Type) json.RawMessage
- type ObjectStore
- func (e ObjectStore) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e ObjectStore) EntityIdentifier() string
- func (e ObjectStore) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e ObjectStore) IsDependant() bool
- func (e ObjectStore) OrderedFieldIdentifiers() []string
- func (e ObjectStore) String() string
- func (e ObjectStore) ToJSON() json.RawMessage
- type Status
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObjectStoreSliceToJSON ¶
func ObjectStoreSliceToJSON(e []ObjectStore) json.RawMessage
func ObjectStoreToJSON ¶
func ObjectStoreToJSON(e ObjectStore) json.RawMessage
func StatusSliceToJSON ¶
func StatusSliceToJSON(in []Status) json.RawMessage
func TypeSliceToJSON ¶
func TypeSliceToJSON(in []Type) json.RawMessage
Types ¶
type ObjectStore ¶
type ObjectStore struct {
UUID uuid.UUID `json:"uuid"`
Identifier string `json:"identifier"`
Type Type `json:"type"`
TypeConfig object_store_type_config.ObjectStoreTypeConfig `json:"type_config"`
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 NewObjectStoreSliceWithRandomValues ¶
func NewObjectStoreSliceWithRandomValues(n int) []ObjectStore
func NewObjectStoreWithRandomValues ¶
func NewObjectStoreWithRandomValues() ObjectStore
func ObjectStoreFromJSON ¶
func ObjectStoreFromJSON(data json.RawMessage) ObjectStore
func ObjectStoreSliceFromJSON ¶
func ObjectStoreSliceFromJSON(data json.RawMessage) []ObjectStore
func (ObjectStore) ArrayFieldIdentifierToType ¶
func (e ObjectStore) ArrayFieldIdentifierToType() map[string]types.FieldType
func (ObjectStore) EntityIdentifier ¶
func (e ObjectStore) EntityIdentifier() string
func (ObjectStore) FieldIdentfierToTypeMap ¶
func (e ObjectStore) FieldIdentfierToTypeMap() map[string]types.FieldType
func (ObjectStore) IsDependant ¶
func (e ObjectStore) IsDependant() bool
func (ObjectStore) OrderedFieldIdentifiers ¶ added in v1.0.35
func (e ObjectStore) OrderedFieldIdentifiers() []string
func (ObjectStore) String ¶
func (e ObjectStore) String() string
func (ObjectStore) ToJSON ¶
func (e ObjectStore) ToJSON() json.RawMessage
type Status ¶
type Status int64
func JSONToStatusSlice ¶
func JSONToStatusSlice(in json.RawMessage) []Status
func StatusFromPointerString ¶
func StatusFromString ¶
type Type ¶
type Type int64
func JSONToTypeSlice ¶
func JSONToTypeSlice(in json.RawMessage) []Type
func TypeFromPointerString ¶
func TypeFromString ¶
Click to show internal directories.
Click to hide internal directories.