Documentation
¶
Index ¶
- func EnumValueSliceToJSON(e []EnumValue) json.RawMessage
- func EnumValueToJSON(e EnumValue) json.RawMessage
- type EnumValue
- func (e EnumValue) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e EnumValue) EntityIdentifier() string
- func (e EnumValue) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e EnumValue) IsDependant() bool
- func (e EnumValue) OrderedFieldIdentifiers() []string
- func (e EnumValue) String() string
- func (e EnumValue) ToJSON() json.RawMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnumValueSliceToJSON ¶
func EnumValueSliceToJSON(e []EnumValue) json.RawMessage
func EnumValueToJSON ¶
func EnumValueToJSON(e EnumValue) json.RawMessage
Types ¶
type EnumValue ¶
type EnumValue struct {
Identifier string `json:"identifier"`
Display string `json:"display"`
NumericValue int64 `json:"numeric_value"`
}
func EnumValueFromJSON ¶
func EnumValueFromJSON(data json.RawMessage) EnumValue
func EnumValueSliceFromJSON ¶
func EnumValueSliceFromJSON(data json.RawMessage) []EnumValue
func NewEnumValueWithRandomValues ¶
func NewEnumValueWithRandomValues() EnumValue
func (EnumValue) ArrayFieldIdentifierToType ¶
func (EnumValue) EntityIdentifier ¶
func (EnumValue) FieldIdentfierToTypeMap ¶
func (EnumValue) IsDependant ¶
func (EnumValue) OrderedFieldIdentifiers ¶ added in v1.0.35
func (EnumValue) ToJSON ¶
func (e EnumValue) ToJSON() json.RawMessage
Click to show internal directories.
Click to hide internal directories.