Documentation ¶
Index ¶
- Variables
- func RangesInvalidErr() error
- type Variant
- func (it Variant) AllNameValues() []string
- func (it Variant) AsBasicByteEnumContractsBinder() enuminf.BasicByteEnumContractsBinder
- func (it Variant) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder
- func (it Variant) AsIsSuccessValidator() coreinterface.IsSuccessValidator
- func (it *Variant) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it Variant) AsJsonMarshaller() corejson.JsonMarshaller
- func (it Variant) AsJsoner() corejson.Jsoner
- func (it Variant) AsYesNoAcceptRejecter() coreinterface.YesNoAcceptRejecter
- func (it Variant) EnumType() enuminf.EnumTyper
- func (it Variant) Format(format string) (compiled string)
- func (it Variant) IntegerEnumRanges() []int
- func (it Variant) IsAccept() bool
- func (it Variant) IsAccess() bool
- func (it Variant) IsAnyErrorLogically() bool
- func (it Variant) IsAnyNamesOf(names ...string) bool
- func (it Variant) IsAnyOf(anyOfItems ...Variant) bool
- func (it Variant) IsAnyValuesEqual(anyByteValues ...byte) bool
- func (it Variant) IsAsk() bool
- func (it Variant) IsByteValueEqual(value byte) bool
- func (it Variant) IsCreateAccess() bool
- func (it Variant) IsCreateLogically() bool
- func (it Variant) IsEditAccess() bool
- func (it Variant) IsEditLogically() bool
- func (it Variant) IsError() bool
- func (it Variant) IsFailed() bool
- func (it Variant) IsForbidden() bool
- func (it Variant) IsIndeterminate() bool
- func (it Variant) IsInvalid() bool
- func (it Variant) IsNameEqual(name string) bool
- func (it Variant) IsNameOf(anyNames ...string) bool
- func (it Variant) IsNo() bool
- func (it Variant) IsPermissionIssue() bool
- func (it Variant) IsReadAccess() bool
- func (it Variant) IsReadLogically() bool
- func (it Variant) IsReadOrUpdateLogically() bool
- func (it Variant) IsReject() bool
- func (it Variant) IsRestricted() bool
- func (it Variant) IsSkip() bool
- func (it Variant) IsSuccess() bool
- func (it Variant) IsUnAuthorized() bool
- func (it Variant) IsUnAuthorizedLogically() bool
- func (it Variant) IsUninitialized() bool
- func (it Variant) IsValid() bool
- func (it Variant) IsValueEqual(value byte) bool
- func (it Variant) IsWarning() bool
- func (it Variant) IsWriteAccess() bool
- func (it Variant) IsWriteLogically() bool
- func (it Variant) IsYes() bool
- func (it Variant) Json() corejson.Result
- func (it *Variant) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it Variant) JsonPtr() *corejson.Result
- func (it Variant) MarshalJSON() ([]byte, error)
- func (it Variant) MaxByte() byte
- func (it Variant) MaxInt() int
- func (it Variant) MaxMaxAny() (min, max interface{})
- func (it Variant) MaxValueString() string
- func (it Variant) MinByte() byte
- func (it Variant) MinInt() int
- func (it Variant) MinValueString() string
- func (it Variant) Name() string
- func (it Variant) NameValue() string
- func (it Variant) OnlySupportedErr(names ...string) error
- func (it Variant) OnlySupportedMsgErr(message string, names ...string) error
- func (it Variant) RangeNamesCsv() string
- func (it Variant) RangesByte() []byte
- func (it Variant) RangesDynamicMap() map[string]interface{}
- func (it Variant) String() string
- func (it Variant) ToNumberString() string
- func (it Variant) ToPtr() *Variant
- func (it *Variant) ToSimple() Variant
- func (it Variant) TypeName() string
- func (it *Variant) UnmarshalJSON(data []byte) error
- func (it Variant) UnmarshallEnumToValue(jsonUnmarshallingValue []byte) (byte, error)
- func (it Variant) Value() byte
- func (it Variant) ValueByte() byte
- func (it Variant) ValueInt() int
- func (it Variant) ValueInt16() int16
- func (it Variant) ValueInt32() int32
- func (it Variant) ValueInt8() int8
- func (it Variant) ValueString() string
- func (it Variant) ValueUInt16() uint16
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ranges = [...]string{ Invalid: "Invalid", AllAccess: "AllAccess", Error: "Error", Warning: "Warning", Restricted: "Restricted", UnAuthorized: "UnAuthorized", PermissionIssue: "PermissionIssue", Forbidden: "Forbidden", ReadAccess: "ReadAccess", WriteAccess: "WriteAccess", CreateAccess: "CreateAccess", EditAccess: "EditAccess", AccessGranted: "AccessGranted", AccessRejected: "AccessRejected", } BasicEnumImpl = enumimpl.New.BasicByte.UsingTypeSlice( coredynamic.TypeName(Invalid), Ranges[:]) )
Functions ¶
func RangesInvalidErr ¶
func RangesInvalidErr() error
Types ¶
type Variant ¶
type Variant byte
Variant
authorization response type
Types:
- Invalid
- AllAccess
- Error
- Warning
- Restricted
- UnAuthorized
- PermissionIssue
- Forbidden
- ReadAccess
- WriteAccess
- CreateAccess
- EditAccess
func (Variant) AllNameValues ¶
func (Variant) AsBasicByteEnumContractsBinder ¶
func (it Variant) AsBasicByteEnumContractsBinder() enuminf.BasicByteEnumContractsBinder
func (Variant) AsBasicEnumContractsBinder ¶
func (it Variant) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder
func (Variant) AsIsSuccessValidator ¶
func (it Variant) AsIsSuccessValidator() coreinterface.IsSuccessValidator
func (*Variant) AsJsonContractsBinder ¶
func (it *Variant) AsJsonContractsBinder() corejson.JsonContractsBinder
func (Variant) AsJsonMarshaller ¶
func (it Variant) AsJsonMarshaller() corejson.JsonMarshaller
func (Variant) AsYesNoAcceptRejecter ¶
func (it Variant) AsYesNoAcceptRejecter() coreinterface.YesNoAcceptRejecter
func (Variant) IntegerEnumRanges ¶
func (Variant) IsAnyErrorLogically ¶
func (Variant) IsAnyNamesOf ¶
func (Variant) IsAnyValuesEqual ¶
func (Variant) IsByteValueEqual ¶
func (Variant) IsCreateAccess ¶
func (Variant) IsCreateLogically ¶
func (Variant) IsEditAccess ¶
func (Variant) IsEditLogically ¶
func (Variant) IsForbidden ¶
func (Variant) IsIndeterminate ¶
func (Variant) IsNameEqual ¶
func (Variant) IsPermissionIssue ¶
func (Variant) IsReadAccess ¶
func (Variant) IsReadLogically ¶
func (Variant) IsReadOrUpdateLogically ¶
func (Variant) IsRestricted ¶
func (Variant) IsUnAuthorized ¶
func (Variant) IsUnAuthorizedLogically ¶
func (Variant) IsUninitialized ¶
func (Variant) IsValueEqual ¶
func (Variant) IsWriteAccess ¶
func (Variant) IsWriteLogically ¶
func (*Variant) JsonParseSelfInject ¶
func (Variant) MarshalJSON ¶
func (Variant) MaxValueString ¶
func (Variant) MinValueString ¶
func (Variant) OnlySupportedErr ¶
func (Variant) OnlySupportedMsgErr ¶
func (Variant) RangeNamesCsv ¶
func (Variant) RangesByte ¶
func (Variant) RangesDynamicMap ¶
func (Variant) ToNumberString ¶
func (*Variant) UnmarshalJSON ¶
func (Variant) UnmarshallEnumToValue ¶
func (Variant) ValueInt16 ¶
func (Variant) ValueInt32 ¶
func (Variant) ValueString ¶
func (Variant) ValueUInt16 ¶
Click to show internal directories.
Click to hide internal directories.