Documentation ¶
Index ¶
- func DateFormatSortingHat(val *yaml.Node) (raml.DateFormat, error)
- func ExampleSortingHat(kind rmeta.DataTypeKind) (raml.Example, error)
- func IntegerFormatSortingHat(val *yaml.Node) (raml.IntegerFormat, error)
- func NewAnnotation() raml.Annotation
- func NewFacet() raml.Facet
- func NumberFormatSortingHat(val *yaml.Node) (raml.NumberFormat, error)
- func PropertySortingHat(val *yaml.Node) (raml.Property, error)
- func TypeSortingHat(val *yaml.Node) (out raml.DataType, err error)
- func UnmarshalAnnotationMapRAML(aMap raml.AnnotationMap, y *yaml.Node) error
- func UnmarshalAnyExampleMapRAML(aMap raml.AnyExampleMap, y *yaml.Node) error
- func UnmarshalArrayExampleMapRAML(aMap raml.ArrayExampleMap, y *yaml.Node) error
- func UnmarshalBoolExampleMapRAML(aMap raml.BoolExampleMap, y *yaml.Node) error
- func UnmarshalCustomExampleMapRAML(aMap raml.CustomExampleMap, y *yaml.Node) error
- func UnmarshalDataTypeMapRAML(dMap raml.DataTypeMap, y *yaml.Node) error
- func UnmarshalDateOnlyExampleMapRAML(aMap raml.DateOnlyExampleMap, y *yaml.Node) error
- func UnmarshalDatetimeExampleMapRAML(aMap raml.DatetimeExampleMap, y *yaml.Node) error
- func UnmarshalDatetimeOnlyExampleMapRAML(aMap raml.DatetimeOnlyExampleMap, y *yaml.Node) error
- func UnmarshalFacetMapRAML(dMap raml.FacetMap, y *yaml.Node) error
- func UnmarshalFileExampleMapRAML(aMap raml.FileExampleMap, y *yaml.Node) error
- func UnmarshalIntegerExampleMapRAML(aMap raml.IntegerExampleMap, y *yaml.Node) error
- func UnmarshalNumberExampleMapRAML(aMap raml.NumberExampleMap, y *yaml.Node) error
- func UnmarshalObjectExampleMapRAML(aMap raml.ObjectExampleMap, y *yaml.Node) error
- func UnmarshalPropertyMapRAML(dMap raml.PropertyMap, y *yaml.Node) error
- func UnmarshalStringExampleMapRAML(aMap raml.StringExampleMap, y *yaml.Node) error
- func UnmarshalStringMapRAML(sMap raml.StringMap, y *yaml.Node) error
- func UnmarshalTimeOnlyExampleMapRAML(aMap raml.TimeOnlyExampleMap, y *yaml.Node) error
- func UnmarshalUnionExampleMapRAML(aMap raml.UnionExampleMap, y *yaml.Node) error
- func UnmarshalUntypedMapRAML(uMap raml.UntypedMap, y *yaml.Node) error
- type APISpec
- func (a *APISpec) AnnotationTypes() raml.UntypedMap
- func (a *APISpec) Annotations() raml.AnnotationMap
- func (a *APISpec) BaseURI() option.String
- func (a *APISpec) BaseURIParameters() raml.UntypedMap
- func (a *APISpec) Description() option.String
- func (a *APISpec) Documentation() []raml.Documentation
- func (a *APISpec) ExtraFacets() raml.AnyMap
- func (a APISpec) MarshalYAML() (interface{}, error)
- func (a *APISpec) MediaTypes() []string
- func (a *APISpec) Protocols() []string
- func (a *APISpec) ResourceTypes() raml.UntypedMap
- func (a *APISpec) Resources() raml.UntypedMap
- func (a *APISpec) Schemas() raml.DataTypeMap
- func (a *APISpec) SecuredBy() []string
- func (a *APISpec) SecuritySchemes() raml.UntypedMap
- func (a *APISpec) SetAnnotationTypes(t raml.UntypedMap) raml.APISpec
- func (a *APISpec) SetAnnotations(t raml.AnnotationMap) raml.APISpec
- func (a *APISpec) SetBaseURI(s string) raml.APISpec
- func (a *APISpec) SetDescription(s string) raml.APISpec
- func (a *APISpec) SetDocumentation(d []raml.Documentation) raml.APISpec
- func (a *APISpec) SetMediaTypes(s []string) raml.APISpec
- func (a *APISpec) SetProtocols(s []string) raml.APISpec
- func (a *APISpec) SetResourceTypes(t raml.UntypedMap) raml.APISpec
- func (a *APISpec) SetSchemas(t raml.DataTypeMap) raml.APISpec
- func (a *APISpec) SetSecuredBy(s []string) raml.APISpec
- func (a *APISpec) SetSecuritySchemes(t raml.UntypedMap) raml.APISpec
- func (a *APISpec) SetTitle(t string) raml.APISpec
- func (a *APISpec) SetTraits(t raml.UntypedMap) raml.APISpec
- func (a *APISpec) SetTypes(t raml.DataTypeMap) raml.APISpec
- func (a *APISpec) SetUses(s raml.StringMap) raml.APISpec
- func (a *APISpec) SetVersion(s string) raml.APISpec
- func (a *APISpec) Title() string
- func (a *APISpec) Traits() raml.UntypedMap
- func (a *APISpec) Types() raml.DataTypeMap
- func (a *APISpec) UnmarshalYAML(raw *yaml.Node) error
- func (a *APISpec) UnsetAnnotationTypes() raml.APISpec
- func (a *APISpec) UnsetAnnotations() raml.APISpec
- func (a *APISpec) UnsetBaseURI() raml.APISpec
- func (a *APISpec) UnsetDescription() raml.APISpec
- func (a *APISpec) UnsetDocumentation() raml.APISpec
- func (a *APISpec) UnsetMediaTypes() raml.APISpec
- func (a *APISpec) UnsetProtocols() raml.APISpec
- func (a *APISpec) UnsetResourceTypes() raml.APISpec
- func (a *APISpec) UnsetSchemas() raml.APISpec
- func (a *APISpec) UnsetSecuredBy() raml.APISpec
- func (a *APISpec) UnsetSecuritySchemes() raml.APISpec
- func (a *APISpec) UnsetTraits() raml.APISpec
- func (a *APISpec) UnsetTypes() raml.APISpec
- func (a *APISpec) UnsetUses() raml.APISpec
- func (a *APISpec) UnsetVersion() raml.APISpec
- func (a *APISpec) Uses() raml.StringMap
- func (a *APISpec) Version() option.String
- func (a *APISpec) WriteRAML(w io.Writer) error
- type AnyExample
- func (e *AnyExample) Annotations() raml.AnnotationMap
- func (e *AnyExample) Description() option.String
- func (e *AnyExample) DisplayName() option.String
- func (e *AnyExample) ExtraFacets() raml.AnyMap
- func (e *AnyExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *AnyExample) SetAnnotations(ann raml.AnnotationMap) raml.AnyExample
- func (e *AnyExample) SetDescription(desc string) raml.AnyExample
- func (e *AnyExample) SetDisplayName(name string) raml.AnyExample
- func (e *AnyExample) SetStrict(b bool) raml.AnyExample
- func (e *AnyExample) SetValue(val interface{}) raml.AnyExample
- func (e *AnyExample) Strict() bool
- func (e AnyExample) ToYAML() (*yaml.Node, error)
- func (e *AnyExample) UnmarshalRAML(value *yaml.Node) error
- func (e *AnyExample) UnsetAnnotations() raml.AnyExample
- func (e *AnyExample) UnsetDescription() raml.AnyExample
- func (e *AnyExample) UnsetDisplayName() raml.AnyExample
- func (e *AnyExample) UnsetValue() raml.AnyExample
- func (e *AnyExample) Value() option.Untyped
- type AnyType
- func (h AnyType) Annotations() raml.AnnotationMap
- func (o *AnyType) Default() option.Untyped
- func (o *AnyType) Enum() []interface{}
- func (o *AnyType) Example() raml.AnyExample
- func (o *AnyType) Examples() raml.AnyExampleMap
- func (h AnyType) ExtraFacets() raml.AnyMap
- func (o *AnyType) SetAnnotations(annotations raml.AnnotationMap) raml.AnyType
- func (o *AnyType) SetDefault(i interface{}) raml.AnyType
- func (o *AnyType) SetDescription(s string) raml.AnyType
- func (o *AnyType) SetDisplayName(s string) raml.AnyType
- func (o *AnyType) SetEnum(i []interface{}) raml.AnyType
- func (o *AnyType) SetExample(ex raml.AnyExample) raml.AnyType
- func (o *AnyType) SetExamples(examples raml.AnyExampleMap) raml.AnyType
- func (o *AnyType) SetExtraFacets(facets raml.AnyMap) raml.AnyType
- func (o *AnyType) SetFacetDefinitions(facets raml.FacetMap) raml.AnyType
- func (o *AnyType) SetRequired(b bool) raml.AnyType
- func (o *AnyType) SetType(s string) raml.AnyType
- func (o *AnyType) SetXML(x raml.XML) raml.AnyType
- func (o *AnyType) UnsetAnnotations() raml.AnyType
- func (o *AnyType) UnsetDefault() raml.AnyType
- func (o *AnyType) UnsetDescription() raml.AnyType
- func (o *AnyType) UnsetDisplayName() raml.AnyType
- func (o *AnyType) UnsetEnum() raml.AnyType
- func (o *AnyType) UnsetExample() raml.AnyType
- func (o *AnyType) UnsetExamples() raml.AnyType
- func (o *AnyType) UnsetExtraFacets() raml.AnyType
- func (o *AnyType) UnsetFacetDefinitions() raml.AnyType
- func (o *AnyType) UnsetXML() raml.AnyType
- type ArrayExample
- func (e *ArrayExample) Annotations() raml.AnnotationMap
- func (e *ArrayExample) Description() option.String
- func (e *ArrayExample) DisplayName() option.String
- func (e *ArrayExample) ExtraFacets() raml.AnyMap
- func (e *ArrayExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *ArrayExample) SetAnnotations(ann raml.AnnotationMap) raml.ArrayExample
- func (e *ArrayExample) SetDescription(desc string) raml.ArrayExample
- func (e *ArrayExample) SetDisplayName(name string) raml.ArrayExample
- func (e *ArrayExample) SetStrict(b bool) raml.ArrayExample
- func (e *ArrayExample) SetValue(val []interface{}) raml.ArrayExample
- func (e *ArrayExample) Strict() bool
- func (e ArrayExample) ToYAML() (*yaml.Node, error)
- func (e *ArrayExample) UnmarshalRAML(value *yaml.Node) error
- func (e *ArrayExample) UnsetAnnotations() raml.ArrayExample
- func (e *ArrayExample) UnsetDescription() raml.ArrayExample
- func (e *ArrayExample) UnsetDisplayName() raml.ArrayExample
- func (e *ArrayExample) UnsetValue() raml.ArrayExample
- func (e *ArrayExample) Value() []interface{}
- type ArrayType
- func (h ArrayType) Annotations() raml.AnnotationMap
- func (o *ArrayType) Default() []interface{}
- func (o *ArrayType) Enum() []interface{}
- func (o *ArrayType) Example() raml.ArrayExample
- func (o *ArrayType) Examples() raml.ArrayExampleMap
- func (h ArrayType) ExtraFacets() raml.AnyMap
- func (o *ArrayType) Items() raml.DataType
- func (o *ArrayType) MaxItems() uint
- func (o *ArrayType) MinItems() uint
- func (o *ArrayType) SetAnnotations(annotations raml.AnnotationMap) raml.ArrayType
- func (o *ArrayType) SetDefault(i []interface{}) raml.ArrayType
- func (o *ArrayType) SetDescription(s string) raml.ArrayType
- func (o *ArrayType) SetDisplayName(s string) raml.ArrayType
- func (o *ArrayType) SetEnum(i []interface{}) raml.ArrayType
- func (o *ArrayType) SetExample(ex raml.ArrayExample) raml.ArrayType
- func (o *ArrayType) SetExamples(examples raml.ArrayExampleMap) raml.ArrayType
- func (o *ArrayType) SetExtraFacets(facets raml.AnyMap) raml.ArrayType
- func (o *ArrayType) SetFacetDefinitions(facets raml.FacetMap) raml.ArrayType
- func (o *ArrayType) SetItems(val raml.DataType) raml.ArrayType
- func (o *ArrayType) SetMaxItems(u uint) raml.ArrayType
- func (o *ArrayType) SetMinItems(min uint) raml.ArrayType
- func (o *ArrayType) SetRequired(b bool) raml.ArrayType
- func (o *ArrayType) SetType(s string) raml.ArrayType
- func (o *ArrayType) SetUniqueItems(val bool) raml.ArrayType
- func (o *ArrayType) SetXML(x raml.XML) raml.ArrayType
- func (o *ArrayType) UniqueItems() bool
- func (o *ArrayType) UnsetAnnotations() raml.ArrayType
- func (o *ArrayType) UnsetDefault() raml.ArrayType
- func (o *ArrayType) UnsetDescription() raml.ArrayType
- func (o *ArrayType) UnsetDisplayName() raml.ArrayType
- func (o *ArrayType) UnsetEnum() raml.ArrayType
- func (o *ArrayType) UnsetExample() raml.ArrayType
- func (o *ArrayType) UnsetExamples() raml.ArrayType
- func (o *ArrayType) UnsetExtraFacets() raml.ArrayType
- func (o *ArrayType) UnsetFacetDefinitions() raml.ArrayType
- func (o *ArrayType) UnsetItems() raml.ArrayType
- func (o *ArrayType) UnsetXML() raml.ArrayType
- type BoolExample
- func (e *BoolExample) Annotations() raml.AnnotationMap
- func (e *BoolExample) Description() option.String
- func (e *BoolExample) DisplayName() option.String
- func (e *BoolExample) ExtraFacets() raml.AnyMap
- func (e *BoolExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *BoolExample) SetAnnotations(ann raml.AnnotationMap) raml.BoolExample
- func (e *BoolExample) SetDescription(desc string) raml.BoolExample
- func (e *BoolExample) SetDisplayName(name string) raml.BoolExample
- func (e *BoolExample) SetStrict(b bool) raml.BoolExample
- func (e *BoolExample) SetValue(val bool) raml.BoolExample
- func (e *BoolExample) Strict() bool
- func (e BoolExample) ToYAML() (*yaml.Node, error)
- func (e *BoolExample) UnmarshalRAML(value *yaml.Node) error
- func (e *BoolExample) UnsetAnnotations() raml.BoolExample
- func (e *BoolExample) UnsetDescription() raml.BoolExample
- func (e *BoolExample) UnsetDisplayName() raml.BoolExample
- func (e *BoolExample) UnsetValue() raml.BoolExample
- func (e *BoolExample) Value() option.Bool
- type BoolType
- func (h BoolType) Annotations() raml.AnnotationMap
- func (o *BoolType) Default() option.Bool
- func (o *BoolType) Enum() []bool
- func (o *BoolType) Example() raml.BoolExample
- func (o *BoolType) Examples() raml.BoolExampleMap
- func (h BoolType) ExtraFacets() raml.AnyMap
- func (o *BoolType) SetAnnotations(annotations raml.AnnotationMap) raml.BoolType
- func (o *BoolType) SetDefault(i bool) raml.BoolType
- func (o *BoolType) SetDescription(s string) raml.BoolType
- func (o *BoolType) SetDisplayName(s string) raml.BoolType
- func (o *BoolType) SetEnum(i []bool) raml.BoolType
- func (o *BoolType) SetExample(ex raml.BoolExample) raml.BoolType
- func (o *BoolType) SetExamples(examples raml.BoolExampleMap) raml.BoolType
- func (o *BoolType) SetExtraFacets(facets raml.AnyMap) raml.BoolType
- func (o *BoolType) SetFacetDefinitions(facets raml.FacetMap) raml.BoolType
- func (o *BoolType) SetRequired(b bool) raml.BoolType
- func (o *BoolType) SetType(s string) raml.BoolType
- func (o *BoolType) SetXML(x raml.XML) raml.BoolType
- func (o *BoolType) UnsetAnnotations() raml.BoolType
- func (o *BoolType) UnsetDefault() raml.BoolType
- func (o *BoolType) UnsetDescription() raml.BoolType
- func (o *BoolType) UnsetDisplayName() raml.BoolType
- func (o *BoolType) UnsetEnum() raml.BoolType
- func (o *BoolType) UnsetExample() raml.BoolType
- func (o *BoolType) UnsetExamples() raml.BoolType
- func (o *BoolType) UnsetExtraFacets() raml.BoolType
- func (o *BoolType) UnsetFacetDefinitions() raml.BoolType
- func (o *BoolType) UnsetXML() raml.BoolType
- type CustomExample
- func (e *CustomExample) Annotations() raml.AnnotationMap
- func (e *CustomExample) Description() option.String
- func (e *CustomExample) DisplayName() option.String
- func (e *CustomExample) ExtraFacets() raml.AnyMap
- func (e *CustomExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *CustomExample) SetAnnotations(ann raml.AnnotationMap) raml.CustomExample
- func (e *CustomExample) SetDescription(desc string) raml.CustomExample
- func (e *CustomExample) SetDisplayName(name string) raml.CustomExample
- func (e *CustomExample) SetStrict(b bool) raml.CustomExample
- func (e *CustomExample) SetValue(val interface{}) raml.CustomExample
- func (e *CustomExample) Strict() bool
- func (e CustomExample) ToYAML() (*yaml.Node, error)
- func (e *CustomExample) UnmarshalRAML(value *yaml.Node) error
- func (e *CustomExample) UnsetAnnotations() raml.CustomExample
- func (e *CustomExample) UnsetDescription() raml.CustomExample
- func (e *CustomExample) UnsetDisplayName() raml.CustomExample
- func (e *CustomExample) UnsetValue() raml.CustomExample
- func (e *CustomExample) Value() option.Untyped
- type CustomType
- func (h CustomType) Annotations() raml.AnnotationMap
- func (o *CustomType) Default() option.Untyped
- func (o *CustomType) Enum() []interface{}
- func (o *CustomType) Example() raml.CustomExample
- func (o *CustomType) Examples() raml.CustomExampleMap
- func (h CustomType) ExtraFacets() raml.AnyMap
- func (o *CustomType) SetAnnotations(annotations raml.AnnotationMap) raml.CustomType
- func (o *CustomType) SetDefault(i interface{}) raml.CustomType
- func (o *CustomType) SetDescription(s string) raml.CustomType
- func (o *CustomType) SetDisplayName(s string) raml.CustomType
- func (o *CustomType) SetEnum(i []interface{}) raml.CustomType
- func (o *CustomType) SetExample(ex raml.CustomExample) raml.CustomType
- func (o *CustomType) SetExamples(examples raml.CustomExampleMap) raml.CustomType
- func (o *CustomType) SetExtraFacets(facets raml.AnyMap) raml.CustomType
- func (o *CustomType) SetFacetDefinitions(facets raml.FacetMap) raml.CustomType
- func (o *CustomType) SetRequired(b bool) raml.CustomType
- func (o *CustomType) SetType(s string) raml.CustomType
- func (o *CustomType) SetXML(x raml.XML) raml.CustomType
- func (o *CustomType) UnsetAnnotations() raml.CustomType
- func (o *CustomType) UnsetDefault() raml.CustomType
- func (o *CustomType) UnsetDescription() raml.CustomType
- func (o *CustomType) UnsetDisplayName() raml.CustomType
- func (o *CustomType) UnsetEnum() raml.CustomType
- func (o *CustomType) UnsetExample() raml.CustomType
- func (o *CustomType) UnsetExamples() raml.CustomType
- func (o *CustomType) UnsetExtraFacets() raml.CustomType
- func (o *CustomType) UnsetFacetDefinitions() raml.CustomType
- func (o *CustomType) UnsetXML() raml.CustomType
- type DataType
- func (h *DataType) ExtraFacets() raml.AnyMap
- func (d *DataType) Kind() rmeta.DataTypeKind
- func (d *DataType) MarshalRAML(out raml.AnyMap) (bool, error)
- func (d DataType) MarshalYAML() (interface{}, error)
- func (d *DataType) OverrideType(t string)
- func (d *DataType) Schema() string
- func (d *DataType) ToRAML() (string, error)
- func (d DataType) ToYAML() (*yaml.Node, error)
- func (d *DataType) Type() string
- func (d *DataType) UnmarshalRAML(val *yaml.Node) error
- type DateFormat
- type DateOnlyExample
- func (e *DateOnlyExample) Annotations() raml.AnnotationMap
- func (e *DateOnlyExample) Description() option.String
- func (e *DateOnlyExample) DisplayName() option.String
- func (e *DateOnlyExample) ExtraFacets() raml.AnyMap
- func (e *DateOnlyExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *DateOnlyExample) SetAnnotations(ann raml.AnnotationMap) raml.DateOnlyExample
- func (e *DateOnlyExample) SetDescription(desc string) raml.DateOnlyExample
- func (e *DateOnlyExample) SetDisplayName(name string) raml.DateOnlyExample
- func (e *DateOnlyExample) SetStrict(b bool) raml.DateOnlyExample
- func (e *DateOnlyExample) SetValue(val string) raml.DateOnlyExample
- func (e *DateOnlyExample) Strict() bool
- func (e DateOnlyExample) ToYAML() (*yaml.Node, error)
- func (e *DateOnlyExample) UnmarshalRAML(value *yaml.Node) error
- func (e *DateOnlyExample) UnsetAnnotations() raml.DateOnlyExample
- func (e *DateOnlyExample) UnsetDescription() raml.DateOnlyExample
- func (e *DateOnlyExample) UnsetDisplayName() raml.DateOnlyExample
- func (e *DateOnlyExample) UnsetValue() raml.DateOnlyExample
- func (e *DateOnlyExample) Value() option.String
- type DateOnlyType
- func (h DateOnlyType) Annotations() raml.AnnotationMap
- func (o *DateOnlyType) Default() option.String
- func (o *DateOnlyType) Enum() []string
- func (o *DateOnlyType) Example() raml.DateOnlyExample
- func (o *DateOnlyType) Examples() raml.DateOnlyExampleMap
- func (h DateOnlyType) ExtraFacets() raml.AnyMap
- func (o *DateOnlyType) SetAnnotations(annotations raml.AnnotationMap) raml.DateOnlyType
- func (o *DateOnlyType) SetDefault(i string) raml.DateOnlyType
- func (o *DateOnlyType) SetDescription(s string) raml.DateOnlyType
- func (o *DateOnlyType) SetDisplayName(s string) raml.DateOnlyType
- func (o *DateOnlyType) SetEnum(i []string) raml.DateOnlyType
- func (o *DateOnlyType) SetExample(ex raml.DateOnlyExample) raml.DateOnlyType
- func (o *DateOnlyType) SetExamples(examples raml.DateOnlyExampleMap) raml.DateOnlyType
- func (o *DateOnlyType) SetExtraFacets(facets raml.AnyMap) raml.DateOnlyType
- func (o *DateOnlyType) SetFacetDefinitions(facets raml.FacetMap) raml.DateOnlyType
- func (o *DateOnlyType) SetRequired(b bool) raml.DateOnlyType
- func (o *DateOnlyType) SetType(s string) raml.DateOnlyType
- func (o *DateOnlyType) SetXML(x raml.XML) raml.DateOnlyType
- func (o *DateOnlyType) UnsetAnnotations() raml.DateOnlyType
- func (o *DateOnlyType) UnsetDefault() raml.DateOnlyType
- func (o *DateOnlyType) UnsetDescription() raml.DateOnlyType
- func (o *DateOnlyType) UnsetDisplayName() raml.DateOnlyType
- func (o *DateOnlyType) UnsetEnum() raml.DateOnlyType
- func (o *DateOnlyType) UnsetExample() raml.DateOnlyType
- func (o *DateOnlyType) UnsetExamples() raml.DateOnlyType
- func (o *DateOnlyType) UnsetExtraFacets() raml.DateOnlyType
- func (o *DateOnlyType) UnsetFacetDefinitions() raml.DateOnlyType
- func (o *DateOnlyType) UnsetXML() raml.DateOnlyType
- type DatetimeExample
- func (e *DatetimeExample) Annotations() raml.AnnotationMap
- func (e *DatetimeExample) Description() option.String
- func (e *DatetimeExample) DisplayName() option.String
- func (e *DatetimeExample) ExtraFacets() raml.AnyMap
- func (e *DatetimeExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *DatetimeExample) SetAnnotations(ann raml.AnnotationMap) raml.DatetimeExample
- func (e *DatetimeExample) SetDescription(desc string) raml.DatetimeExample
- func (e *DatetimeExample) SetDisplayName(name string) raml.DatetimeExample
- func (e *DatetimeExample) SetStrict(b bool) raml.DatetimeExample
- func (e *DatetimeExample) SetValue(val string) raml.DatetimeExample
- func (e *DatetimeExample) Strict() bool
- func (e DatetimeExample) ToYAML() (*yaml.Node, error)
- func (e *DatetimeExample) UnmarshalRAML(value *yaml.Node) error
- func (e *DatetimeExample) UnsetAnnotations() raml.DatetimeExample
- func (e *DatetimeExample) UnsetDescription() raml.DatetimeExample
- func (e *DatetimeExample) UnsetDisplayName() raml.DatetimeExample
- func (e *DatetimeExample) UnsetValue() raml.DatetimeExample
- func (e *DatetimeExample) Value() option.String
- type DatetimeOnlyExample
- func (e *DatetimeOnlyExample) Annotations() raml.AnnotationMap
- func (e *DatetimeOnlyExample) Description() option.String
- func (e *DatetimeOnlyExample) DisplayName() option.String
- func (e *DatetimeOnlyExample) ExtraFacets() raml.AnyMap
- func (e *DatetimeOnlyExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *DatetimeOnlyExample) SetAnnotations(ann raml.AnnotationMap) raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) SetDescription(desc string) raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) SetDisplayName(name string) raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) SetStrict(b bool) raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) SetValue(val string) raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) Strict() bool
- func (e DatetimeOnlyExample) ToYAML() (*yaml.Node, error)
- func (e *DatetimeOnlyExample) UnmarshalRAML(value *yaml.Node) error
- func (e *DatetimeOnlyExample) UnsetAnnotations() raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) UnsetDescription() raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) UnsetDisplayName() raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) UnsetValue() raml.DatetimeOnlyExample
- func (e *DatetimeOnlyExample) Value() option.String
- type DatetimeOnlyType
- func (h DatetimeOnlyType) Annotations() raml.AnnotationMap
- func (o *DatetimeOnlyType) Default() option.String
- func (o *DatetimeOnlyType) Enum() []string
- func (o *DatetimeOnlyType) Example() raml.DatetimeOnlyExample
- func (o *DatetimeOnlyType) Examples() raml.DatetimeOnlyExampleMap
- func (h DatetimeOnlyType) ExtraFacets() raml.AnyMap
- func (o *DatetimeOnlyType) SetAnnotations(annotations raml.AnnotationMap) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetDefault(i string) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetDescription(s string) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetDisplayName(s string) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetEnum(i []string) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetExample(ex raml.DatetimeOnlyExample) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetExamples(examples raml.DatetimeOnlyExampleMap) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetExtraFacets(facets raml.AnyMap) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetFacetDefinitions(facets raml.FacetMap) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetRequired(b bool) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetType(s string) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) SetXML(x raml.XML) raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetAnnotations() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetDefault() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetDescription() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetDisplayName() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetEnum() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetExample() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetExamples() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetExtraFacets() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetFacetDefinitions() raml.DatetimeOnlyType
- func (o *DatetimeOnlyType) UnsetXML() raml.DatetimeOnlyType
- type DatetimeType
- func (h DatetimeType) Annotations() raml.AnnotationMap
- func (o *DatetimeType) Default() option.String
- func (o *DatetimeType) Enum() []string
- func (o *DatetimeType) Example() raml.DatetimeExample
- func (o *DatetimeType) Examples() raml.DatetimeExampleMap
- func (h DatetimeType) ExtraFacets() raml.AnyMap
- func (o *DatetimeType) Format() raml.DateFormat
- func (o *DatetimeType) SetAnnotations(annotations raml.AnnotationMap) raml.DatetimeType
- func (o *DatetimeType) SetDefault(i string) raml.DatetimeType
- func (o *DatetimeType) SetDescription(s string) raml.DatetimeType
- func (o *DatetimeType) SetDisplayName(s string) raml.DatetimeType
- func (o *DatetimeType) SetEnum(i []string) raml.DatetimeType
- func (o *DatetimeType) SetExample(ex raml.DatetimeExample) raml.DatetimeType
- func (o *DatetimeType) SetExamples(examples raml.DatetimeExampleMap) raml.DatetimeType
- func (o *DatetimeType) SetExtraFacets(facets raml.AnyMap) raml.DatetimeType
- func (o *DatetimeType) SetFacetDefinitions(facets raml.FacetMap) raml.DatetimeType
- func (o *DatetimeType) SetFormat(f raml.DateFormat) raml.DatetimeType
- func (o *DatetimeType) SetRequired(b bool) raml.DatetimeType
- func (o *DatetimeType) SetType(s string) raml.DatetimeType
- func (o *DatetimeType) SetXML(x raml.XML) raml.DatetimeType
- func (o *DatetimeType) UnsetAnnotations() raml.DatetimeType
- func (o *DatetimeType) UnsetDefault() raml.DatetimeType
- func (o *DatetimeType) UnsetDescription() raml.DatetimeType
- func (o *DatetimeType) UnsetDisplayName() raml.DatetimeType
- func (o *DatetimeType) UnsetEnum() raml.DatetimeType
- func (o *DatetimeType) UnsetExample() raml.DatetimeType
- func (o *DatetimeType) UnsetExamples() raml.DatetimeType
- func (o *DatetimeType) UnsetExtraFacets() raml.DatetimeType
- func (o *DatetimeType) UnsetFacetDefinitions() raml.DatetimeType
- func (o *DatetimeType) UnsetFormat() raml.DatetimeType
- func (o *DatetimeType) UnsetXML() raml.DatetimeType
- type Documentation
- func (d *Documentation) Content() string
- func (d *Documentation) ExtraFacets() raml.AnyMap
- func (d *Documentation) MarshalRAML(out raml.AnyMap) (simple bool, err error)
- func (d *Documentation) SetContent(content string) raml.Documentation
- func (d *Documentation) SetTitle(title string) raml.Documentation
- func (d *Documentation) Title() string
- func (d *Documentation) UnmarshalRAML(val *yaml.Node) error
- type ExtendedDataType
- func (h *ExtendedDataType) Annotations() raml.AnnotationMap
- func (e *ExtendedDataType) Description() option.String
- func (e *ExtendedDataType) DisplayName() option.String
- func (h ExtendedDataType) ExtraFacets() raml.AnyMap
- func (e *ExtendedDataType) FacetDefinitions() raml.FacetMap
- func (e *ExtendedDataType) Required() bool
- func (e *ExtendedDataType) XML() raml.XML
- type FileExample
- func (e *FileExample) Annotations() raml.AnnotationMap
- func (e *FileExample) Description() option.String
- func (e *FileExample) DisplayName() option.String
- func (e *FileExample) ExtraFacets() raml.AnyMap
- func (e *FileExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *FileExample) SetAnnotations(ann raml.AnnotationMap) raml.FileExample
- func (e *FileExample) SetDescription(desc string) raml.FileExample
- func (e *FileExample) SetDisplayName(name string) raml.FileExample
- func (e *FileExample) SetStrict(b bool) raml.FileExample
- func (e *FileExample) SetValue(val interface{}) raml.FileExample
- func (e *FileExample) Strict() bool
- func (e FileExample) ToYAML() (*yaml.Node, error)
- func (e *FileExample) UnmarshalRAML(value *yaml.Node) error
- func (e *FileExample) UnsetAnnotations() raml.FileExample
- func (e *FileExample) UnsetDescription() raml.FileExample
- func (e *FileExample) UnsetDisplayName() raml.FileExample
- func (e *FileExample) UnsetValue() raml.FileExample
- func (e *FileExample) Value() option.Untyped
- type FileType
- func (h FileType) Annotations() raml.AnnotationMap
- func (o *FileType) Default() option.Untyped
- func (o *FileType) Enum() []interface{}
- func (o *FileType) Example() raml.FileExample
- func (o *FileType) Examples() raml.FileExampleMap
- func (h FileType) ExtraFacets() raml.AnyMap
- func (o *FileType) FileTypes() []string
- func (o *FileType) MaxLength() uint
- func (o *FileType) MinLength() uint
- func (o *FileType) SetAnnotations(annotations raml.AnnotationMap) raml.FileType
- func (o *FileType) SetDefault(i interface{}) raml.FileType
- func (o *FileType) SetDescription(s string) raml.FileType
- func (o *FileType) SetDisplayName(s string) raml.FileType
- func (o *FileType) SetEnum(i []interface{}) raml.FileType
- func (o *FileType) SetExample(ex raml.FileExample) raml.FileType
- func (o *FileType) SetExamples(examples raml.FileExampleMap) raml.FileType
- func (o *FileType) SetExtraFacets(facets raml.AnyMap) raml.FileType
- func (o *FileType) SetFacetDefinitions(facets raml.FacetMap) raml.FileType
- func (o *FileType) SetFileTypes(val []string) raml.FileType
- func (o *FileType) SetMaxLength(u uint) raml.FileType
- func (o *FileType) SetMinLength(min uint) raml.FileType
- func (o *FileType) SetRequired(b bool) raml.FileType
- func (o *FileType) SetType(s string) raml.FileType
- func (o *FileType) SetXML(x raml.XML) raml.FileType
- func (o *FileType) UnsetAnnotations() raml.FileType
- func (o *FileType) UnsetDefault() raml.FileType
- func (o *FileType) UnsetDescription() raml.FileType
- func (o *FileType) UnsetDisplayName() raml.FileType
- func (o *FileType) UnsetEnum() raml.FileType
- func (o *FileType) UnsetExample() raml.FileType
- func (o *FileType) UnsetExamples() raml.FileType
- func (o *FileType) UnsetExtraFacets() raml.FileType
- func (o *FileType) UnsetFacetDefinitions() raml.FileType
- func (o *FileType) UnsetFileTypes() raml.FileType
- func (o *FileType) UnsetXML() raml.FileType
- type IncludeType
- type IntegerExample
- func (e *IntegerExample) Annotations() raml.AnnotationMap
- func (e *IntegerExample) Description() option.String
- func (e *IntegerExample) DisplayName() option.String
- func (e *IntegerExample) ExtraFacets() raml.AnyMap
- func (e *IntegerExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *IntegerExample) SetAnnotations(ann raml.AnnotationMap) raml.IntegerExample
- func (e *IntegerExample) SetDescription(desc string) raml.IntegerExample
- func (e *IntegerExample) SetDisplayName(name string) raml.IntegerExample
- func (e *IntegerExample) SetStrict(b bool) raml.IntegerExample
- func (e *IntegerExample) SetValue(val int64) raml.IntegerExample
- func (e *IntegerExample) Strict() bool
- func (e IntegerExample) ToYAML() (*yaml.Node, error)
- func (e *IntegerExample) UnmarshalRAML(value *yaml.Node) error
- func (e *IntegerExample) UnsetAnnotations() raml.IntegerExample
- func (e *IntegerExample) UnsetDescription() raml.IntegerExample
- func (e *IntegerExample) UnsetDisplayName() raml.IntegerExample
- func (e *IntegerExample) UnsetValue() raml.IntegerExample
- func (e *IntegerExample) Value() option.Int64
- type IntegerFormat
- type IntegerType
- func (h IntegerType) Annotations() raml.AnnotationMap
- func (o *IntegerType) Default() option.Int64
- func (o *IntegerType) Enum() []int64
- func (o *IntegerType) Example() raml.IntegerExample
- func (o *IntegerType) Examples() raml.IntegerExampleMap
- func (h IntegerType) ExtraFacets() raml.AnyMap
- func (o *IntegerType) Format() raml.IntegerFormat
- func (o *IntegerType) Maximum() option.Int64
- func (o *IntegerType) Minimum() option.Int64
- func (o *IntegerType) MultipleOf() option.Float64
- func (o *IntegerType) SetAnnotations(annotations raml.AnnotationMap) raml.IntegerType
- func (o *IntegerType) SetDefault(i int64) raml.IntegerType
- func (o *IntegerType) SetDescription(s string) raml.IntegerType
- func (o *IntegerType) SetDisplayName(s string) raml.IntegerType
- func (o *IntegerType) SetEnum(i []int64) raml.IntegerType
- func (o *IntegerType) SetExample(ex raml.IntegerExample) raml.IntegerType
- func (o *IntegerType) SetExamples(examples raml.IntegerExampleMap) raml.IntegerType
- func (o *IntegerType) SetExtraFacets(facets raml.AnyMap) raml.IntegerType
- func (o *IntegerType) SetFacetDefinitions(facets raml.FacetMap) raml.IntegerType
- func (o *IntegerType) SetFormat(f raml.IntegerFormat) raml.IntegerType
- func (o *IntegerType) SetMaximum(pat int64) raml.IntegerType
- func (o *IntegerType) SetMinimum(pat int64) raml.IntegerType
- func (o *IntegerType) SetMultipleOf(pat float64) raml.IntegerType
- func (o *IntegerType) SetRequired(b bool) raml.IntegerType
- func (o *IntegerType) SetType(s string) raml.IntegerType
- func (o *IntegerType) SetXML(x raml.XML) raml.IntegerType
- func (o *IntegerType) UnsetAnnotations() raml.IntegerType
- func (o *IntegerType) UnsetDefault() raml.IntegerType
- func (o *IntegerType) UnsetDescription() raml.IntegerType
- func (o *IntegerType) UnsetDisplayName() raml.IntegerType
- func (o *IntegerType) UnsetEnum() raml.IntegerType
- func (o *IntegerType) UnsetExample() raml.IntegerType
- func (o *IntegerType) UnsetExamples() raml.IntegerType
- func (o *IntegerType) UnsetExtraFacets() raml.IntegerType
- func (o *IntegerType) UnsetFacetDefinitions() raml.IntegerType
- func (o *IntegerType) UnsetFormat() raml.IntegerType
- func (o *IntegerType) UnsetMaximum() raml.IntegerType
- func (o *IntegerType) UnsetMinimum() raml.IntegerType
- func (o *IntegerType) UnsetMultipleOf() raml.IntegerType
- func (o *IntegerType) UnsetXML() raml.IntegerType
- type Library
- func (l *Library) AnnotationTypes() raml.UntypedMap
- func (l *Library) Annotations() raml.AnnotationMap
- func (l *Library) ExtraFacets() raml.AnyMap
- func (l Library) MarshalYAML() (interface{}, error)
- func (l *Library) ResourceTypes() raml.UntypedMap
- func (l *Library) Schemas() raml.DataTypeMap
- func (l *Library) SecuritySchemes() raml.UntypedMap
- func (l *Library) SetAnnotations(a raml.AnnotationMap) raml.Library
- func (l *Library) SetResourceTypes(resTypes raml.UntypedMap) raml.Library
- func (l *Library) SetSchemas(types raml.DataTypeMap) raml.Library
- func (l *Library) SetTraits(traits raml.UntypedMap) raml.Library
- func (l *Library) SetTypes(types raml.DataTypeMap) raml.Library
- func (l *Library) SetUsage(usage string) raml.Library
- func (l *Library) SetUses(uses raml.StringMap) raml.Library
- func (l *Library) Traits() raml.UntypedMap
- func (l *Library) Types() raml.DataTypeMap
- func (l *Library) UnmarshalYAML(root *yaml.Node) error
- func (l *Library) UnsetAnnotations() raml.Library
- func (l *Library) UnsetResourceTypes() raml.Library
- func (l *Library) UnsetSchemas() raml.Library
- func (l *Library) UnsetTraits() raml.Library
- func (l *Library) UnsetTypes() raml.Library
- func (l *Library) UnsetUsage() raml.Library
- func (l *Library) UnsetUses() raml.Library
- func (l *Library) Usage() option.String
- func (l *Library) Uses() raml.StringMap
- func (l *Library) WriteRAML(w io.Writer) error
- type NilType
- type NumberExample
- func (e *NumberExample) Annotations() raml.AnnotationMap
- func (e *NumberExample) Description() option.String
- func (e *NumberExample) DisplayName() option.String
- func (e *NumberExample) ExtraFacets() raml.AnyMap
- func (e *NumberExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *NumberExample) SetAnnotations(ann raml.AnnotationMap) raml.NumberExample
- func (e *NumberExample) SetDescription(desc string) raml.NumberExample
- func (e *NumberExample) SetDisplayName(name string) raml.NumberExample
- func (e *NumberExample) SetStrict(b bool) raml.NumberExample
- func (e *NumberExample) SetValue(val float64) raml.NumberExample
- func (e *NumberExample) Strict() bool
- func (e NumberExample) ToYAML() (*yaml.Node, error)
- func (e *NumberExample) UnmarshalRAML(value *yaml.Node) error
- func (e *NumberExample) UnsetAnnotations() raml.NumberExample
- func (e *NumberExample) UnsetDescription() raml.NumberExample
- func (e *NumberExample) UnsetDisplayName() raml.NumberExample
- func (e *NumberExample) UnsetValue() raml.NumberExample
- func (e *NumberExample) Value() option.Float64
- type NumberFormat
- type NumberType
- func (h NumberType) Annotations() raml.AnnotationMap
- func (o *NumberType) Default() option.Float64
- func (o *NumberType) Enum() []float64
- func (o *NumberType) Example() raml.NumberExample
- func (o *NumberType) Examples() raml.NumberExampleMap
- func (h NumberType) ExtraFacets() raml.AnyMap
- func (o *NumberType) Format() raml.NumberFormat
- func (o *NumberType) Maximum() option.Float64
- func (o *NumberType) Minimum() option.Float64
- func (o *NumberType) MultipleOf() option.Float64
- func (o *NumberType) SetAnnotations(annotations raml.AnnotationMap) raml.NumberType
- func (o *NumberType) SetDefault(i float64) raml.NumberType
- func (o *NumberType) SetDescription(s string) raml.NumberType
- func (o *NumberType) SetDisplayName(s string) raml.NumberType
- func (o *NumberType) SetEnum(i []float64) raml.NumberType
- func (o *NumberType) SetExample(ex raml.NumberExample) raml.NumberType
- func (o *NumberType) SetExamples(examples raml.NumberExampleMap) raml.NumberType
- func (o *NumberType) SetExtraFacets(facets raml.AnyMap) raml.NumberType
- func (o *NumberType) SetFacetDefinitions(facets raml.FacetMap) raml.NumberType
- func (o *NumberType) SetFormat(f raml.NumberFormat) raml.NumberType
- func (o *NumberType) SetMaximum(pat float64) raml.NumberType
- func (o *NumberType) SetMinimum(pat float64) raml.NumberType
- func (o *NumberType) SetMultipleOf(pat float64) raml.NumberType
- func (o *NumberType) SetRequired(b bool) raml.NumberType
- func (o *NumberType) SetType(s string) raml.NumberType
- func (o *NumberType) SetXML(x raml.XML) raml.NumberType
- func (o *NumberType) UnsetAnnotations() raml.NumberType
- func (o *NumberType) UnsetDefault() raml.NumberType
- func (o *NumberType) UnsetDescription() raml.NumberType
- func (o *NumberType) UnsetDisplayName() raml.NumberType
- func (o *NumberType) UnsetEnum() raml.NumberType
- func (o *NumberType) UnsetExample() raml.NumberType
- func (o *NumberType) UnsetExamples() raml.NumberType
- func (o *NumberType) UnsetExtraFacets() raml.NumberType
- func (o *NumberType) UnsetFacetDefinitions() raml.NumberType
- func (o *NumberType) UnsetFormat() raml.NumberType
- func (o *NumberType) UnsetMaximum() raml.NumberType
- func (o *NumberType) UnsetMinimum() raml.NumberType
- func (o *NumberType) UnsetMultipleOf() raml.NumberType
- func (o *NumberType) UnsetXML() raml.NumberType
- type ObjectExample
- func (e *ObjectExample) Annotations() raml.AnnotationMap
- func (e *ObjectExample) Description() option.String
- func (e *ObjectExample) DisplayName() option.String
- func (e *ObjectExample) ExtraFacets() raml.AnyMap
- func (e *ObjectExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *ObjectExample) SetAnnotations(ann raml.AnnotationMap) raml.ObjectExample
- func (e *ObjectExample) SetDescription(desc string) raml.ObjectExample
- func (e *ObjectExample) SetDisplayName(name string) raml.ObjectExample
- func (e *ObjectExample) SetStrict(b bool) raml.ObjectExample
- func (e *ObjectExample) SetValue(val interface{}) raml.ObjectExample
- func (e *ObjectExample) Strict() bool
- func (e ObjectExample) ToYAML() (*yaml.Node, error)
- func (e *ObjectExample) UnmarshalRAML(value *yaml.Node) error
- func (e *ObjectExample) UnsetAnnotations() raml.ObjectExample
- func (e *ObjectExample) UnsetDescription() raml.ObjectExample
- func (e *ObjectExample) UnsetDisplayName() raml.ObjectExample
- func (e *ObjectExample) UnsetValue() raml.ObjectExample
- func (e *ObjectExample) Value() option.Untyped
- type ObjectType
- func (o *ObjectType) AdditionalProperties() bool
- func (h ObjectType) Annotations() raml.AnnotationMap
- func (o *ObjectType) Default() option.Untyped
- func (o *ObjectType) Discriminator() option.String
- func (o *ObjectType) DiscriminatorValue() option.Untyped
- func (o *ObjectType) Enum() []interface{}
- func (o *ObjectType) Example() raml.ObjectExample
- func (o *ObjectType) Examples() raml.ObjectExampleMap
- func (h ObjectType) ExtraFacets() raml.AnyMap
- func (o *ObjectType) MaxProperties() option.Uint
- func (o *ObjectType) MinProperties() option.Uint
- func (o *ObjectType) Properties() raml.PropertyMap
- func (o *ObjectType) SetAdditionalProperties(val bool) raml.ObjectType
- func (o *ObjectType) SetAnnotations(annotations raml.AnnotationMap) raml.ObjectType
- func (o *ObjectType) SetDefault(i interface{}) raml.ObjectType
- func (o *ObjectType) SetDescription(s string) raml.ObjectType
- func (o *ObjectType) SetDiscriminator(facet string) raml.ObjectType
- func (o *ObjectType) SetDiscriminatorValue(val interface{}) raml.ObjectType
- func (o *ObjectType) SetDisplayName(s string) raml.ObjectType
- func (o *ObjectType) SetEnum(i []interface{}) raml.ObjectType
- func (o *ObjectType) SetExample(ex raml.ObjectExample) raml.ObjectType
- func (o *ObjectType) SetExamples(examples raml.ObjectExampleMap) raml.ObjectType
- func (o *ObjectType) SetExtraFacets(facets raml.AnyMap) raml.ObjectType
- func (o *ObjectType) SetFacetDefinitions(facets raml.FacetMap) raml.ObjectType
- func (o *ObjectType) SetMaxProperties(u uint) raml.ObjectType
- func (o *ObjectType) SetMinProperties(min uint) raml.ObjectType
- func (o *ObjectType) SetProperties(props raml.PropertyMap) raml.ObjectType
- func (o *ObjectType) SetRequired(b bool) raml.ObjectType
- func (o *ObjectType) SetType(s string) raml.ObjectType
- func (o *ObjectType) SetXML(x raml.XML) raml.ObjectType
- func (o *ObjectType) UnsetAnnotations() raml.ObjectType
- func (o *ObjectType) UnsetDefault() raml.ObjectType
- func (o *ObjectType) UnsetDescription() raml.ObjectType
- func (o *ObjectType) UnsetDiscriminator() raml.ObjectType
- func (o *ObjectType) UnsetDiscriminatorValue() raml.ObjectType
- func (o *ObjectType) UnsetDisplayName() raml.ObjectType
- func (o *ObjectType) UnsetEnum() raml.ObjectType
- func (o *ObjectType) UnsetExample() raml.ObjectType
- func (o *ObjectType) UnsetExamples() raml.ObjectType
- func (o *ObjectType) UnsetExtraFacets() raml.ObjectType
- func (o *ObjectType) UnsetFacetDefinitions() raml.ObjectType
- func (o *ObjectType) UnsetMaxProperties() raml.ObjectType
- func (o *ObjectType) UnsetMinProperties() raml.ObjectType
- func (o *ObjectType) UnsetProperties() raml.ObjectType
- func (o *ObjectType) UnsetXML() raml.ObjectType
- type StringExample
- func (e *StringExample) Annotations() raml.AnnotationMap
- func (e *StringExample) Description() option.String
- func (e *StringExample) DisplayName() option.String
- func (e *StringExample) ExtraFacets() raml.AnyMap
- func (e *StringExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *StringExample) SetAnnotations(ann raml.AnnotationMap) raml.StringExample
- func (e *StringExample) SetDescription(desc string) raml.StringExample
- func (e *StringExample) SetDisplayName(name string) raml.StringExample
- func (e *StringExample) SetStrict(b bool) raml.StringExample
- func (e *StringExample) SetValue(val string) raml.StringExample
- func (e *StringExample) Strict() bool
- func (e StringExample) ToYAML() (*yaml.Node, error)
- func (e *StringExample) UnmarshalRAML(value *yaml.Node) error
- func (e *StringExample) UnsetAnnotations() raml.StringExample
- func (e *StringExample) UnsetDescription() raml.StringExample
- func (e *StringExample) UnsetDisplayName() raml.StringExample
- func (e *StringExample) UnsetValue() raml.StringExample
- func (e *StringExample) Value() option.String
- type StringType
- func (h StringType) Annotations() raml.AnnotationMap
- func (o *StringType) Default() option.String
- func (o *StringType) Enum() []string
- func (o *StringType) Example() raml.StringExample
- func (o *StringType) Examples() raml.StringExampleMap
- func (h StringType) ExtraFacets() raml.AnyMap
- func (o *StringType) MaxLength() option.Uint
- func (o *StringType) MinLength() uint
- func (o *StringType) Pattern() option.String
- func (o *StringType) SetAnnotations(annotations raml.AnnotationMap) raml.StringType
- func (o *StringType) SetDefault(i string) raml.StringType
- func (o *StringType) SetDescription(s string) raml.StringType
- func (o *StringType) SetDisplayName(s string) raml.StringType
- func (o *StringType) SetEnum(i []string) raml.StringType
- func (o *StringType) SetExample(ex raml.StringExample) raml.StringType
- func (o *StringType) SetExamples(examples raml.StringExampleMap) raml.StringType
- func (o *StringType) SetExtraFacets(facets raml.AnyMap) raml.StringType
- func (o *StringType) SetFacetDefinitions(facets raml.FacetMap) raml.StringType
- func (o *StringType) SetMaxLength(u uint) raml.StringType
- func (o *StringType) SetMinLength(min uint) raml.StringType
- func (o *StringType) SetPattern(pat string) raml.StringType
- func (o *StringType) SetRequired(b bool) raml.StringType
- func (o *StringType) SetType(s string) raml.StringType
- func (o *StringType) SetXML(x raml.XML) raml.StringType
- func (o *StringType) UnsetAnnotations() raml.StringType
- func (o *StringType) UnsetDefault() raml.StringType
- func (o *StringType) UnsetDescription() raml.StringType
- func (o *StringType) UnsetDisplayName() raml.StringType
- func (o *StringType) UnsetEnum() raml.StringType
- func (o *StringType) UnsetExample() raml.StringType
- func (o *StringType) UnsetExamples() raml.StringType
- func (o *StringType) UnsetExtraFacets() raml.StringType
- func (o *StringType) UnsetFacetDefinitions() raml.StringType
- func (o *StringType) UnsetMaxLength() raml.StringType
- func (o *StringType) UnsetPattern() raml.StringType
- func (o *StringType) UnsetXML() raml.StringType
- type TimeOnlyExample
- func (e *TimeOnlyExample) Annotations() raml.AnnotationMap
- func (e *TimeOnlyExample) Description() option.String
- func (e *TimeOnlyExample) DisplayName() option.String
- func (e *TimeOnlyExample) ExtraFacets() raml.AnyMap
- func (e *TimeOnlyExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *TimeOnlyExample) SetAnnotations(ann raml.AnnotationMap) raml.TimeOnlyExample
- func (e *TimeOnlyExample) SetDescription(desc string) raml.TimeOnlyExample
- func (e *TimeOnlyExample) SetDisplayName(name string) raml.TimeOnlyExample
- func (e *TimeOnlyExample) SetStrict(b bool) raml.TimeOnlyExample
- func (e *TimeOnlyExample) SetValue(val string) raml.TimeOnlyExample
- func (e *TimeOnlyExample) Strict() bool
- func (e TimeOnlyExample) ToYAML() (*yaml.Node, error)
- func (e *TimeOnlyExample) UnmarshalRAML(value *yaml.Node) error
- func (e *TimeOnlyExample) UnsetAnnotations() raml.TimeOnlyExample
- func (e *TimeOnlyExample) UnsetDescription() raml.TimeOnlyExample
- func (e *TimeOnlyExample) UnsetDisplayName() raml.TimeOnlyExample
- func (e *TimeOnlyExample) UnsetValue() raml.TimeOnlyExample
- func (e *TimeOnlyExample) Value() option.String
- type TimeOnlyType
- func (h TimeOnlyType) Annotations() raml.AnnotationMap
- func (o *TimeOnlyType) Default() option.String
- func (o *TimeOnlyType) Enum() []string
- func (o *TimeOnlyType) Example() raml.TimeOnlyExample
- func (o *TimeOnlyType) Examples() raml.TimeOnlyExampleMap
- func (h TimeOnlyType) ExtraFacets() raml.AnyMap
- func (o *TimeOnlyType) SetAnnotations(annotations raml.AnnotationMap) raml.TimeOnlyType
- func (o *TimeOnlyType) SetDefault(i string) raml.TimeOnlyType
- func (o *TimeOnlyType) SetDescription(s string) raml.TimeOnlyType
- func (o *TimeOnlyType) SetDisplayName(s string) raml.TimeOnlyType
- func (o *TimeOnlyType) SetEnum(i []string) raml.TimeOnlyType
- func (o *TimeOnlyType) SetExample(ex raml.TimeOnlyExample) raml.TimeOnlyType
- func (o *TimeOnlyType) SetExamples(examples raml.TimeOnlyExampleMap) raml.TimeOnlyType
- func (o *TimeOnlyType) SetExtraFacets(facets raml.AnyMap) raml.TimeOnlyType
- func (o *TimeOnlyType) SetFacetDefinitions(facets raml.FacetMap) raml.TimeOnlyType
- func (o *TimeOnlyType) SetRequired(b bool) raml.TimeOnlyType
- func (o *TimeOnlyType) SetType(s string) raml.TimeOnlyType
- func (o *TimeOnlyType) SetXML(x raml.XML) raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetAnnotations() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetDefault() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetDescription() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetDisplayName() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetEnum() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetExample() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetExamples() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetExtraFacets() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetFacetDefinitions() raml.TimeOnlyType
- func (o *TimeOnlyType) UnsetXML() raml.TimeOnlyType
- type UnionExample
- func (e *UnionExample) Annotations() raml.AnnotationMap
- func (e *UnionExample) Description() option.String
- func (e *UnionExample) DisplayName() option.String
- func (e *UnionExample) ExtraFacets() raml.AnyMap
- func (e *UnionExample) MarshalRAML(out raml.AnyMap) (bool, error)
- func (e *UnionExample) SetAnnotations(ann raml.AnnotationMap) raml.UnionExample
- func (e *UnionExample) SetDescription(desc string) raml.UnionExample
- func (e *UnionExample) SetDisplayName(name string) raml.UnionExample
- func (e *UnionExample) SetStrict(b bool) raml.UnionExample
- func (e *UnionExample) SetValue(val interface{}) raml.UnionExample
- func (e *UnionExample) Strict() bool
- func (e UnionExample) ToYAML() (*yaml.Node, error)
- func (e *UnionExample) UnmarshalRAML(value *yaml.Node) error
- func (e *UnionExample) UnsetAnnotations() raml.UnionExample
- func (e *UnionExample) UnsetDescription() raml.UnionExample
- func (e *UnionExample) UnsetDisplayName() raml.UnionExample
- func (e *UnionExample) UnsetValue() raml.UnionExample
- func (e *UnionExample) Value() option.Untyped
- type UnionType
- func (h UnionType) Annotations() raml.AnnotationMap
- func (o *UnionType) Default() option.Untyped
- func (o *UnionType) Enum() []interface{}
- func (o *UnionType) Example() raml.UnionExample
- func (o *UnionType) Examples() raml.UnionExampleMap
- func (h UnionType) ExtraFacets() raml.AnyMap
- func (o *UnionType) SetAnnotations(annotations raml.AnnotationMap) raml.UnionType
- func (o *UnionType) SetDefault(i interface{}) raml.UnionType
- func (o *UnionType) SetDescription(s string) raml.UnionType
- func (o *UnionType) SetDisplayName(s string) raml.UnionType
- func (o *UnionType) SetEnum(i []interface{}) raml.UnionType
- func (o *UnionType) SetExample(ex raml.UnionExample) raml.UnionType
- func (o *UnionType) SetExamples(examples raml.UnionExampleMap) raml.UnionType
- func (o *UnionType) SetExtraFacets(facets raml.AnyMap) raml.UnionType
- func (o *UnionType) SetFacetDefinitions(facets raml.FacetMap) raml.UnionType
- func (o *UnionType) SetRequired(b bool) raml.UnionType
- func (o *UnionType) SetType(s string) raml.UnionType
- func (o *UnionType) SetXML(x raml.XML) raml.UnionType
- func (o *UnionType) UnsetAnnotations() raml.UnionType
- func (o *UnionType) UnsetDefault() raml.UnionType
- func (o *UnionType) UnsetDescription() raml.UnionType
- func (o *UnionType) UnsetDisplayName() raml.UnionType
- func (o *UnionType) UnsetEnum() raml.UnionType
- func (o *UnionType) UnsetExample() raml.UnionType
- func (o *UnionType) UnsetExamples() raml.UnionType
- func (o *UnionType) UnsetExtraFacets() raml.UnionType
- func (o *UnionType) UnsetFacetDefinitions() raml.UnionType
- func (o *UnionType) UnsetXML() raml.UnionType
- type XML
- func (x *XML) IsAttribute() option.Bool
- func (x *XML) IsWrapped() option.Bool
- func (x XML) MarshalRAML(out raml.AnyMap) (bool, error)
- func (x *XML) Name() option.String
- func (x *XML) Namespace() option.String
- func (x *XML) Prefix() option.String
- func (x *XML) SetIsAttribute(b bool) raml.XML
- func (x *XML) SetIsWrapped(b bool) raml.XML
- func (x *XML) SetName(s string) raml.XML
- func (x *XML) SetNamespace(s string) raml.XML
- func (x *XML) SetPrefix(s string) raml.XML
- func (x *XML) UnmarshalRAML(v *yaml.Node) error
- func (x *XML) UnsetIsAttribute() raml.XML
- func (x *XML) UnsetIsWrapped() raml.XML
- func (x *XML) UnsetName() raml.XML
- func (x *XML) UnsetNamespace() raml.XML
- func (x *XML) UnsetPrefix() raml.XML
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DateFormatSortingHat ¶
func DateFormatSortingHat(val *yaml.Node) (raml.DateFormat, error)
DateFormatSortingHat parses the input into the appropriate implementation of the raml.DateFormat interface.
func ExampleSortingHat ¶
func ExampleSortingHat(kind rmeta.DataTypeKind) (raml.Example, error)
ExampleSortingHat returns a blank instance of the correct `raml.Example` sub-type implementation for the given datatype kind.
func IntegerFormatSortingHat ¶
func IntegerFormatSortingHat(val *yaml.Node) (raml.IntegerFormat, error)
IntegerFormatSortingHat parses the input into the appropriate implementation of the raml.NumberFormat interface.
func NewAnnotation ¶
func NewAnnotation() raml.Annotation
func NumberFormatSortingHat ¶
func NumberFormatSortingHat(val *yaml.Node) (raml.NumberFormat, error)
NumberFormatSortingHat parses the input into the appropriate implementation of the raml.NumberFormat interface.
func PropertySortingHat ¶
func TypeSortingHat ¶
TypeSortingHat takes the given YAML node and attempts to parse it into a RAML data type object.
If the YAML node cannot be parsed into a RAML element, returns an error.
func UnmarshalAnnotationMapRAML ¶
func UnmarshalAnnotationMapRAML(aMap raml.AnnotationMap, y *yaml.Node) error
UnmarshalAnnotationMapRAML unmarshals the given YAML node into the given AnnotationMap.
func UnmarshalAnyExampleMapRAML ¶
func UnmarshalAnyExampleMapRAML(aMap raml.AnyExampleMap, y *yaml.Node) error
func UnmarshalArrayExampleMapRAML ¶
func UnmarshalArrayExampleMapRAML(aMap raml.ArrayExampleMap, y *yaml.Node) error
func UnmarshalBoolExampleMapRAML ¶
func UnmarshalBoolExampleMapRAML(aMap raml.BoolExampleMap, y *yaml.Node) error
func UnmarshalCustomExampleMapRAML ¶
func UnmarshalCustomExampleMapRAML(aMap raml.CustomExampleMap, y *yaml.Node) error
func UnmarshalDataTypeMapRAML ¶
func UnmarshalDataTypeMapRAML(dMap raml.DataTypeMap, y *yaml.Node) error
func UnmarshalDateOnlyExampleMapRAML ¶
func UnmarshalDateOnlyExampleMapRAML(aMap raml.DateOnlyExampleMap, y *yaml.Node) error
func UnmarshalDatetimeExampleMapRAML ¶
func UnmarshalDatetimeExampleMapRAML(aMap raml.DatetimeExampleMap, y *yaml.Node) error
func UnmarshalDatetimeOnlyExampleMapRAML ¶
func UnmarshalDatetimeOnlyExampleMapRAML(aMap raml.DatetimeOnlyExampleMap, y *yaml.Node) error
func UnmarshalFacetMapRAML ¶
func UnmarshalFileExampleMapRAML ¶
func UnmarshalFileExampleMapRAML(aMap raml.FileExampleMap, y *yaml.Node) error
func UnmarshalIntegerExampleMapRAML ¶
func UnmarshalIntegerExampleMapRAML(aMap raml.IntegerExampleMap, y *yaml.Node) error
func UnmarshalNumberExampleMapRAML ¶
func UnmarshalNumberExampleMapRAML(aMap raml.NumberExampleMap, y *yaml.Node) error
func UnmarshalObjectExampleMapRAML ¶
func UnmarshalObjectExampleMapRAML(aMap raml.ObjectExampleMap, y *yaml.Node) error
func UnmarshalPropertyMapRAML ¶
func UnmarshalPropertyMapRAML(dMap raml.PropertyMap, y *yaml.Node) error
func UnmarshalStringExampleMapRAML ¶
func UnmarshalStringExampleMapRAML(aMap raml.StringExampleMap, y *yaml.Node) error
func UnmarshalStringMapRAML ¶
func UnmarshalTimeOnlyExampleMapRAML ¶
func UnmarshalTimeOnlyExampleMapRAML(aMap raml.TimeOnlyExampleMap, y *yaml.Node) error
func UnmarshalUnionExampleMapRAML ¶
func UnmarshalUnionExampleMapRAML(aMap raml.UnionExampleMap, y *yaml.Node) error
func UnmarshalUntypedMapRAML ¶
func UnmarshalUntypedMapRAML(uMap raml.UntypedMap, y *yaml.Node) error
UnmarshalUntypedMapRAML umarshals the given YAML node into an UntypedMap.
Types ¶
type APISpec ¶
type APISpec struct {
// contains filtered or unexported fields
}
func NewApiSpec ¶
func NewApiSpec() *APISpec
func (*APISpec) AnnotationTypes ¶
func (a *APISpec) AnnotationTypes() raml.UntypedMap
func (*APISpec) Annotations ¶
func (a *APISpec) Annotations() raml.AnnotationMap
func (*APISpec) BaseURIParameters ¶
func (a *APISpec) BaseURIParameters() raml.UntypedMap
func (*APISpec) Description ¶
func (*APISpec) Documentation ¶
func (a *APISpec) Documentation() []raml.Documentation
func (*APISpec) ExtraFacets ¶
func (APISpec) MarshalYAML ¶
func (*APISpec) MediaTypes ¶
func (*APISpec) ResourceTypes ¶
func (a *APISpec) ResourceTypes() raml.UntypedMap
func (*APISpec) Resources ¶
func (a *APISpec) Resources() raml.UntypedMap
func (*APISpec) Schemas ¶
func (a *APISpec) Schemas() raml.DataTypeMap
func (*APISpec) SecuritySchemes ¶
func (a *APISpec) SecuritySchemes() raml.UntypedMap
func (*APISpec) SetAnnotationTypes ¶
func (a *APISpec) SetAnnotationTypes(t raml.UntypedMap) raml.APISpec
func (*APISpec) SetAnnotations ¶
func (a *APISpec) SetAnnotations(t raml.AnnotationMap) raml.APISpec
func (*APISpec) SetDocumentation ¶
func (a *APISpec) SetDocumentation(d []raml.Documentation) raml.APISpec
func (*APISpec) SetResourceTypes ¶
func (a *APISpec) SetResourceTypes(t raml.UntypedMap) raml.APISpec
func (*APISpec) SetSchemas ¶
func (a *APISpec) SetSchemas(t raml.DataTypeMap) raml.APISpec
func (*APISpec) SetSecuritySchemes ¶
func (a *APISpec) SetSecuritySchemes(t raml.UntypedMap) raml.APISpec
func (*APISpec) Traits ¶
func (a *APISpec) Traits() raml.UntypedMap
func (*APISpec) Types ¶
func (a *APISpec) Types() raml.DataTypeMap
func (*APISpec) UnmarshalYAML ¶
func (*APISpec) UnsetAnnotationTypes ¶
func (*APISpec) UnsetAnnotations ¶
func (*APISpec) UnsetBaseURI ¶
func (*APISpec) UnsetDescription ¶
func (*APISpec) UnsetDocumentation ¶
func (*APISpec) UnsetMediaTypes ¶
func (*APISpec) UnsetProtocols ¶
func (*APISpec) UnsetResourceTypes ¶
func (*APISpec) UnsetSchemas ¶
func (*APISpec) UnsetSecuredBy ¶
func (*APISpec) UnsetSecuritySchemes ¶
func (*APISpec) UnsetTraits ¶
func (*APISpec) UnsetTypes ¶
func (*APISpec) UnsetVersion ¶
type AnyExample ¶
type AnyExample struct {
// contains filtered or unexported fields
}
AnyExample is a generated internal implementation of the raml.AnyExample interface.
func NewAnyExample ¶
func NewAnyExample() *AnyExample
NewAnyExample returns a new internal implementation of the raml.AnyExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*AnyExample) Annotations ¶
func (e *AnyExample) Annotations() raml.AnnotationMap
func (*AnyExample) Description ¶
func (e *AnyExample) Description() option.String
func (*AnyExample) DisplayName ¶
func (e *AnyExample) DisplayName() option.String
func (*AnyExample) ExtraFacets ¶
func (e *AnyExample) ExtraFacets() raml.AnyMap
func (*AnyExample) MarshalRAML ¶
func (e *AnyExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*AnyExample) SetAnnotations ¶
func (e *AnyExample) SetAnnotations(ann raml.AnnotationMap) raml.AnyExample
func (*AnyExample) SetDescription ¶
func (e *AnyExample) SetDescription(desc string) raml.AnyExample
func (*AnyExample) SetDisplayName ¶
func (e *AnyExample) SetDisplayName(name string) raml.AnyExample
func (*AnyExample) SetStrict ¶
func (e *AnyExample) SetStrict(b bool) raml.AnyExample
func (*AnyExample) SetValue ¶
func (e *AnyExample) SetValue(val interface{}) raml.AnyExample
func (*AnyExample) Strict ¶
func (e *AnyExample) Strict() bool
func (AnyExample) ToYAML ¶
func (e AnyExample) ToYAML() (*yaml.Node, error)
func (*AnyExample) UnmarshalRAML ¶
func (e *AnyExample) UnmarshalRAML(value *yaml.Node) error
func (*AnyExample) UnsetAnnotations ¶
func (e *AnyExample) UnsetAnnotations() raml.AnyExample
func (*AnyExample) UnsetDescription ¶
func (e *AnyExample) UnsetDescription() raml.AnyExample
func (*AnyExample) UnsetDisplayName ¶
func (e *AnyExample) UnsetDisplayName() raml.AnyExample
func (*AnyExample) UnsetValue ¶
func (e *AnyExample) UnsetValue() raml.AnyExample
func (*AnyExample) Value ¶
func (e *AnyExample) Value() option.Untyped
type AnyType ¶
type AnyType struct { *ExtendedDataType // contains filtered or unexported fields }
AnyType is a default generated implementation of the raml.AnyType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewAnyType ¶
func NewAnyType() *AnyType
NewAnyType returns a new internal implementation of the raml.AnyType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (AnyType) Annotations ¶
func (h AnyType) Annotations() raml.AnnotationMap
func (*AnyType) Example ¶
func (o *AnyType) Example() raml.AnyExample
func (*AnyType) Examples ¶
func (o *AnyType) Examples() raml.AnyExampleMap
func (AnyType) ExtraFacets ¶
func (*AnyType) SetAnnotations ¶
func (o *AnyType) SetAnnotations(annotations raml.AnnotationMap) raml.AnyType
func (*AnyType) SetDefault ¶
func (*AnyType) SetExample ¶
func (o *AnyType) SetExample(ex raml.AnyExample) raml.AnyType
func (*AnyType) SetExamples ¶
func (o *AnyType) SetExamples(examples raml.AnyExampleMap) raml.AnyType
func (*AnyType) SetFacetDefinitions ¶
func (*AnyType) UnsetAnnotations ¶
func (*AnyType) UnsetDefault ¶
func (*AnyType) UnsetDescription ¶
func (*AnyType) UnsetDisplayName ¶
func (*AnyType) UnsetExample ¶
func (*AnyType) UnsetExamples ¶
func (*AnyType) UnsetExtraFacets ¶
func (*AnyType) UnsetFacetDefinitions ¶
type ArrayExample ¶
type ArrayExample struct {
// contains filtered or unexported fields
}
ArrayExample is a generated internal implementation of the raml.ArrayExample interface.
func NewArrayExample ¶
func NewArrayExample() *ArrayExample
NewArrayExample returns a new internal implementation of the raml.ArrayExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*ArrayExample) Annotations ¶
func (e *ArrayExample) Annotations() raml.AnnotationMap
func (*ArrayExample) Description ¶
func (e *ArrayExample) Description() option.String
func (*ArrayExample) DisplayName ¶
func (e *ArrayExample) DisplayName() option.String
func (*ArrayExample) ExtraFacets ¶
func (e *ArrayExample) ExtraFacets() raml.AnyMap
func (*ArrayExample) MarshalRAML ¶
func (e *ArrayExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*ArrayExample) SetAnnotations ¶
func (e *ArrayExample) SetAnnotations(ann raml.AnnotationMap) raml.ArrayExample
func (*ArrayExample) SetDescription ¶
func (e *ArrayExample) SetDescription(desc string) raml.ArrayExample
func (*ArrayExample) SetDisplayName ¶
func (e *ArrayExample) SetDisplayName(name string) raml.ArrayExample
func (*ArrayExample) SetStrict ¶
func (e *ArrayExample) SetStrict(b bool) raml.ArrayExample
func (*ArrayExample) SetValue ¶
func (e *ArrayExample) SetValue(val []interface{}) raml.ArrayExample
func (*ArrayExample) Strict ¶
func (e *ArrayExample) Strict() bool
func (ArrayExample) ToYAML ¶
func (e ArrayExample) ToYAML() (*yaml.Node, error)
func (*ArrayExample) UnmarshalRAML ¶
func (e *ArrayExample) UnmarshalRAML(value *yaml.Node) error
func (*ArrayExample) UnsetAnnotations ¶
func (e *ArrayExample) UnsetAnnotations() raml.ArrayExample
func (*ArrayExample) UnsetDescription ¶
func (e *ArrayExample) UnsetDescription() raml.ArrayExample
func (*ArrayExample) UnsetDisplayName ¶
func (e *ArrayExample) UnsetDisplayName() raml.ArrayExample
func (*ArrayExample) UnsetValue ¶
func (e *ArrayExample) UnsetValue() raml.ArrayExample
func (*ArrayExample) Value ¶
func (e *ArrayExample) Value() []interface{}
type ArrayType ¶
type ArrayType struct { *ExtendedDataType // contains filtered or unexported fields }
ArrayType is a default generated implementation of the raml.ArrayType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewArrayType ¶
func NewArrayType() *ArrayType
NewArrayType returns a new internal implementation of the raml.ArrayType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (ArrayType) Annotations ¶
func (h ArrayType) Annotations() raml.AnnotationMap
func (*ArrayType) Example ¶
func (o *ArrayType) Example() raml.ArrayExample
func (*ArrayType) Examples ¶
func (o *ArrayType) Examples() raml.ArrayExampleMap
func (ArrayType) ExtraFacets ¶
func (*ArrayType) SetAnnotations ¶
func (o *ArrayType) SetAnnotations(annotations raml.AnnotationMap) raml.ArrayType
func (*ArrayType) SetDefault ¶
func (*ArrayType) SetExample ¶
func (o *ArrayType) SetExample(ex raml.ArrayExample) raml.ArrayType
func (*ArrayType) SetExamples ¶
func (o *ArrayType) SetExamples(examples raml.ArrayExampleMap) raml.ArrayType
func (*ArrayType) SetExtraFacets ¶
func (*ArrayType) SetFacetDefinitions ¶
func (*ArrayType) UniqueItems ¶
func (*ArrayType) UnsetAnnotations ¶
func (*ArrayType) UnsetDefault ¶
func (*ArrayType) UnsetDescription ¶
func (*ArrayType) UnsetDisplayName ¶
func (*ArrayType) UnsetExample ¶
func (*ArrayType) UnsetExamples ¶
func (*ArrayType) UnsetExtraFacets ¶
func (*ArrayType) UnsetFacetDefinitions ¶
func (*ArrayType) UnsetItems ¶
type BoolExample ¶
type BoolExample struct {
// contains filtered or unexported fields
}
BoolExample is a generated internal implementation of the raml.BoolExample interface.
func NewBoolExample ¶
func NewBoolExample() *BoolExample
NewBoolExample returns a new internal implementation of the raml.BoolExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*BoolExample) Annotations ¶
func (e *BoolExample) Annotations() raml.AnnotationMap
func (*BoolExample) Description ¶
func (e *BoolExample) Description() option.String
func (*BoolExample) DisplayName ¶
func (e *BoolExample) DisplayName() option.String
func (*BoolExample) ExtraFacets ¶
func (e *BoolExample) ExtraFacets() raml.AnyMap
func (*BoolExample) MarshalRAML ¶
func (e *BoolExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*BoolExample) SetAnnotations ¶
func (e *BoolExample) SetAnnotations(ann raml.AnnotationMap) raml.BoolExample
func (*BoolExample) SetDescription ¶
func (e *BoolExample) SetDescription(desc string) raml.BoolExample
func (*BoolExample) SetDisplayName ¶
func (e *BoolExample) SetDisplayName(name string) raml.BoolExample
func (*BoolExample) SetStrict ¶
func (e *BoolExample) SetStrict(b bool) raml.BoolExample
func (*BoolExample) SetValue ¶
func (e *BoolExample) SetValue(val bool) raml.BoolExample
func (*BoolExample) Strict ¶
func (e *BoolExample) Strict() bool
func (BoolExample) ToYAML ¶
func (e BoolExample) ToYAML() (*yaml.Node, error)
func (*BoolExample) UnmarshalRAML ¶
func (e *BoolExample) UnmarshalRAML(value *yaml.Node) error
func (*BoolExample) UnsetAnnotations ¶
func (e *BoolExample) UnsetAnnotations() raml.BoolExample
func (*BoolExample) UnsetDescription ¶
func (e *BoolExample) UnsetDescription() raml.BoolExample
func (*BoolExample) UnsetDisplayName ¶
func (e *BoolExample) UnsetDisplayName() raml.BoolExample
func (*BoolExample) UnsetValue ¶
func (e *BoolExample) UnsetValue() raml.BoolExample
func (*BoolExample) Value ¶
func (e *BoolExample) Value() option.Bool
type BoolType ¶
type BoolType struct { *ExtendedDataType // contains filtered or unexported fields }
BoolType is a default generated implementation of the raml.BoolType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewBoolType ¶
func NewBoolType() *BoolType
NewBoolType returns a new internal implementation of the raml.BoolType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (BoolType) Annotations ¶
func (h BoolType) Annotations() raml.AnnotationMap
func (*BoolType) Example ¶
func (o *BoolType) Example() raml.BoolExample
func (*BoolType) Examples ¶
func (o *BoolType) Examples() raml.BoolExampleMap
func (BoolType) ExtraFacets ¶
func (*BoolType) SetAnnotations ¶
func (o *BoolType) SetAnnotations(annotations raml.AnnotationMap) raml.BoolType
func (*BoolType) SetExample ¶
func (o *BoolType) SetExample(ex raml.BoolExample) raml.BoolType
func (*BoolType) SetExamples ¶
func (o *BoolType) SetExamples(examples raml.BoolExampleMap) raml.BoolType
func (*BoolType) SetExtraFacets ¶
func (*BoolType) SetFacetDefinitions ¶
func (*BoolType) UnsetAnnotations ¶
func (*BoolType) UnsetDefault ¶
func (*BoolType) UnsetDescription ¶
func (*BoolType) UnsetDisplayName ¶
func (*BoolType) UnsetExample ¶
func (*BoolType) UnsetExamples ¶
func (*BoolType) UnsetExtraFacets ¶
func (*BoolType) UnsetFacetDefinitions ¶
type CustomExample ¶
type CustomExample struct {
// contains filtered or unexported fields
}
CustomExample is a generated internal implementation of the raml.CustomExample interface.
func NewCustomExample ¶
func NewCustomExample() *CustomExample
NewCustomExample returns a new internal implementation of the raml.CustomExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*CustomExample) Annotations ¶
func (e *CustomExample) Annotations() raml.AnnotationMap
func (*CustomExample) Description ¶
func (e *CustomExample) Description() option.String
func (*CustomExample) DisplayName ¶
func (e *CustomExample) DisplayName() option.String
func (*CustomExample) ExtraFacets ¶
func (e *CustomExample) ExtraFacets() raml.AnyMap
func (*CustomExample) MarshalRAML ¶
func (e *CustomExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*CustomExample) SetAnnotations ¶
func (e *CustomExample) SetAnnotations(ann raml.AnnotationMap) raml.CustomExample
func (*CustomExample) SetDescription ¶
func (e *CustomExample) SetDescription(desc string) raml.CustomExample
func (*CustomExample) SetDisplayName ¶
func (e *CustomExample) SetDisplayName(name string) raml.CustomExample
func (*CustomExample) SetStrict ¶
func (e *CustomExample) SetStrict(b bool) raml.CustomExample
func (*CustomExample) SetValue ¶
func (e *CustomExample) SetValue(val interface{}) raml.CustomExample
func (*CustomExample) Strict ¶
func (e *CustomExample) Strict() bool
func (CustomExample) ToYAML ¶
func (e CustomExample) ToYAML() (*yaml.Node, error)
func (*CustomExample) UnmarshalRAML ¶
func (e *CustomExample) UnmarshalRAML(value *yaml.Node) error
func (*CustomExample) UnsetAnnotations ¶
func (e *CustomExample) UnsetAnnotations() raml.CustomExample
func (*CustomExample) UnsetDescription ¶
func (e *CustomExample) UnsetDescription() raml.CustomExample
func (*CustomExample) UnsetDisplayName ¶
func (e *CustomExample) UnsetDisplayName() raml.CustomExample
func (*CustomExample) UnsetValue ¶
func (e *CustomExample) UnsetValue() raml.CustomExample
func (*CustomExample) Value ¶
func (e *CustomExample) Value() option.Untyped
type CustomType ¶
type CustomType struct { *ExtendedDataType // contains filtered or unexported fields }
CustomType is a default generated implementation of the raml.CustomType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewCustomType ¶
func NewCustomType() *CustomType
NewCustomType returns a new internal implementation of the raml.CustomType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (CustomType) Annotations ¶
func (h CustomType) Annotations() raml.AnnotationMap
func (*CustomType) Default ¶
func (o *CustomType) Default() option.Untyped
func (*CustomType) Enum ¶
func (o *CustomType) Enum() []interface{}
func (*CustomType) Example ¶
func (o *CustomType) Example() raml.CustomExample
func (*CustomType) Examples ¶
func (o *CustomType) Examples() raml.CustomExampleMap
func (CustomType) ExtraFacets ¶
func (*CustomType) SetAnnotations ¶
func (o *CustomType) SetAnnotations(annotations raml.AnnotationMap) raml.CustomType
func (*CustomType) SetDefault ¶
func (o *CustomType) SetDefault(i interface{}) raml.CustomType
func (*CustomType) SetDescription ¶
func (o *CustomType) SetDescription(s string) raml.CustomType
func (*CustomType) SetDisplayName ¶
func (o *CustomType) SetDisplayName(s string) raml.CustomType
func (*CustomType) SetEnum ¶
func (o *CustomType) SetEnum(i []interface{}) raml.CustomType
func (*CustomType) SetExample ¶
func (o *CustomType) SetExample(ex raml.CustomExample) raml.CustomType
func (*CustomType) SetExamples ¶
func (o *CustomType) SetExamples(examples raml.CustomExampleMap) raml.CustomType
func (*CustomType) SetExtraFacets ¶
func (o *CustomType) SetExtraFacets(facets raml.AnyMap) raml.CustomType
func (*CustomType) SetFacetDefinitions ¶
func (o *CustomType) SetFacetDefinitions(facets raml.FacetMap) raml.CustomType
func (*CustomType) SetRequired ¶
func (o *CustomType) SetRequired(b bool) raml.CustomType
func (*CustomType) SetType ¶
func (o *CustomType) SetType(s string) raml.CustomType
func (*CustomType) SetXML ¶
func (o *CustomType) SetXML(x raml.XML) raml.CustomType
func (*CustomType) UnsetAnnotations ¶
func (o *CustomType) UnsetAnnotations() raml.CustomType
func (*CustomType) UnsetDefault ¶
func (o *CustomType) UnsetDefault() raml.CustomType
func (*CustomType) UnsetDescription ¶
func (o *CustomType) UnsetDescription() raml.CustomType
func (*CustomType) UnsetDisplayName ¶
func (o *CustomType) UnsetDisplayName() raml.CustomType
func (*CustomType) UnsetEnum ¶
func (o *CustomType) UnsetEnum() raml.CustomType
func (*CustomType) UnsetExample ¶
func (o *CustomType) UnsetExample() raml.CustomType
func (*CustomType) UnsetExamples ¶
func (o *CustomType) UnsetExamples() raml.CustomType
func (*CustomType) UnsetExtraFacets ¶
func (o *CustomType) UnsetExtraFacets() raml.CustomType
func (*CustomType) UnsetFacetDefinitions ¶
func (o *CustomType) UnsetFacetDefinitions() raml.CustomType
func (*CustomType) UnsetXML ¶
func (o *CustomType) UnsetXML() raml.CustomType
type DataType ¶
type DataType struct {
// contains filtered or unexported fields
}
func NewDataType ¶
func NewDataType(kind rmeta.DataTypeKind, self concreteType) *DataType
func (*DataType) ExtraFacets ¶
func (*DataType) Kind ¶
func (d *DataType) Kind() rmeta.DataTypeKind
func (DataType) MarshalYAML ¶
func (*DataType) OverrideType ¶
func (*DataType) UnmarshalRAML ¶
type DateFormat ¶
type DateFormat string
const ( DateFormatRfc3339 DateFormat = "rfc3339" DateFormatRfc2616 DateFormat = "rfc2616" )
func (DateFormat) MarshalYAML ¶
func (d DateFormat) MarshalYAML() (interface{}, error)
func (DateFormat) String ¶
func (d DateFormat) String() string
func (DateFormat) ToYAML ¶
func (d DateFormat) ToYAML() (*yaml.Node, error)
func (*DateFormat) UnmarshalYAML ¶
func (d *DateFormat) UnmarshalYAML(y *yaml.Node) error
type DateOnlyExample ¶
type DateOnlyExample struct {
// contains filtered or unexported fields
}
DateOnlyExample is a generated internal implementation of the raml.DateOnlyExample interface.
func NewDateOnlyExample ¶
func NewDateOnlyExample() *DateOnlyExample
NewDateOnlyExample returns a new internal implementation of the raml.DateOnlyExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*DateOnlyExample) Annotations ¶
func (e *DateOnlyExample) Annotations() raml.AnnotationMap
func (*DateOnlyExample) Description ¶
func (e *DateOnlyExample) Description() option.String
func (*DateOnlyExample) DisplayName ¶
func (e *DateOnlyExample) DisplayName() option.String
func (*DateOnlyExample) ExtraFacets ¶
func (e *DateOnlyExample) ExtraFacets() raml.AnyMap
func (*DateOnlyExample) MarshalRAML ¶
func (e *DateOnlyExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*DateOnlyExample) SetAnnotations ¶
func (e *DateOnlyExample) SetAnnotations(ann raml.AnnotationMap) raml.DateOnlyExample
func (*DateOnlyExample) SetDescription ¶
func (e *DateOnlyExample) SetDescription(desc string) raml.DateOnlyExample
func (*DateOnlyExample) SetDisplayName ¶
func (e *DateOnlyExample) SetDisplayName(name string) raml.DateOnlyExample
func (*DateOnlyExample) SetStrict ¶
func (e *DateOnlyExample) SetStrict(b bool) raml.DateOnlyExample
func (*DateOnlyExample) SetValue ¶
func (e *DateOnlyExample) SetValue(val string) raml.DateOnlyExample
func (*DateOnlyExample) Strict ¶
func (e *DateOnlyExample) Strict() bool
func (DateOnlyExample) ToYAML ¶
func (e DateOnlyExample) ToYAML() (*yaml.Node, error)
func (*DateOnlyExample) UnmarshalRAML ¶
func (e *DateOnlyExample) UnmarshalRAML(value *yaml.Node) error
func (*DateOnlyExample) UnsetAnnotations ¶
func (e *DateOnlyExample) UnsetAnnotations() raml.DateOnlyExample
func (*DateOnlyExample) UnsetDescription ¶
func (e *DateOnlyExample) UnsetDescription() raml.DateOnlyExample
func (*DateOnlyExample) UnsetDisplayName ¶
func (e *DateOnlyExample) UnsetDisplayName() raml.DateOnlyExample
func (*DateOnlyExample) UnsetValue ¶
func (e *DateOnlyExample) UnsetValue() raml.DateOnlyExample
func (*DateOnlyExample) Value ¶
func (e *DateOnlyExample) Value() option.String
type DateOnlyType ¶
type DateOnlyType struct { *ExtendedDataType // contains filtered or unexported fields }
DateOnlyType is a default generated implementation of the raml.DateOnlyType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewDateOnlyType ¶
func NewDateOnlyType() *DateOnlyType
NewDateOnlyType returns a new internal implementation of the raml.DateOnlyType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (DateOnlyType) Annotations ¶
func (h DateOnlyType) Annotations() raml.AnnotationMap
func (*DateOnlyType) Default ¶
func (o *DateOnlyType) Default() option.String
func (*DateOnlyType) Enum ¶
func (o *DateOnlyType) Enum() []string
func (*DateOnlyType) Example ¶
func (o *DateOnlyType) Example() raml.DateOnlyExample
func (*DateOnlyType) Examples ¶
func (o *DateOnlyType) Examples() raml.DateOnlyExampleMap
func (DateOnlyType) ExtraFacets ¶
func (*DateOnlyType) SetAnnotations ¶
func (o *DateOnlyType) SetAnnotations(annotations raml.AnnotationMap) raml.DateOnlyType
func (*DateOnlyType) SetDefault ¶
func (o *DateOnlyType) SetDefault(i string) raml.DateOnlyType
func (*DateOnlyType) SetDescription ¶
func (o *DateOnlyType) SetDescription(s string) raml.DateOnlyType
func (*DateOnlyType) SetDisplayName ¶
func (o *DateOnlyType) SetDisplayName(s string) raml.DateOnlyType
func (*DateOnlyType) SetEnum ¶
func (o *DateOnlyType) SetEnum(i []string) raml.DateOnlyType
func (*DateOnlyType) SetExample ¶
func (o *DateOnlyType) SetExample(ex raml.DateOnlyExample) raml.DateOnlyType
func (*DateOnlyType) SetExamples ¶
func (o *DateOnlyType) SetExamples(examples raml.DateOnlyExampleMap) raml.DateOnlyType
func (*DateOnlyType) SetExtraFacets ¶
func (o *DateOnlyType) SetExtraFacets(facets raml.AnyMap) raml.DateOnlyType
func (*DateOnlyType) SetFacetDefinitions ¶
func (o *DateOnlyType) SetFacetDefinitions(facets raml.FacetMap) raml.DateOnlyType
func (*DateOnlyType) SetRequired ¶
func (o *DateOnlyType) SetRequired(b bool) raml.DateOnlyType
func (*DateOnlyType) SetType ¶
func (o *DateOnlyType) SetType(s string) raml.DateOnlyType
func (*DateOnlyType) SetXML ¶
func (o *DateOnlyType) SetXML(x raml.XML) raml.DateOnlyType
func (*DateOnlyType) UnsetAnnotations ¶
func (o *DateOnlyType) UnsetAnnotations() raml.DateOnlyType
func (*DateOnlyType) UnsetDefault ¶
func (o *DateOnlyType) UnsetDefault() raml.DateOnlyType
func (*DateOnlyType) UnsetDescription ¶
func (o *DateOnlyType) UnsetDescription() raml.DateOnlyType
func (*DateOnlyType) UnsetDisplayName ¶
func (o *DateOnlyType) UnsetDisplayName() raml.DateOnlyType
func (*DateOnlyType) UnsetEnum ¶
func (o *DateOnlyType) UnsetEnum() raml.DateOnlyType
func (*DateOnlyType) UnsetExample ¶
func (o *DateOnlyType) UnsetExample() raml.DateOnlyType
func (*DateOnlyType) UnsetExamples ¶
func (o *DateOnlyType) UnsetExamples() raml.DateOnlyType
func (*DateOnlyType) UnsetExtraFacets ¶
func (o *DateOnlyType) UnsetExtraFacets() raml.DateOnlyType
func (*DateOnlyType) UnsetFacetDefinitions ¶
func (o *DateOnlyType) UnsetFacetDefinitions() raml.DateOnlyType
func (*DateOnlyType) UnsetXML ¶
func (o *DateOnlyType) UnsetXML() raml.DateOnlyType
type DatetimeExample ¶
type DatetimeExample struct {
// contains filtered or unexported fields
}
DatetimeExample is a generated internal implementation of the raml.DatetimeExample interface.
func NewDatetimeExample ¶
func NewDatetimeExample() *DatetimeExample
NewDatetimeExample returns a new internal implementation of the raml.DatetimeExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*DatetimeExample) Annotations ¶
func (e *DatetimeExample) Annotations() raml.AnnotationMap
func (*DatetimeExample) Description ¶
func (e *DatetimeExample) Description() option.String
func (*DatetimeExample) DisplayName ¶
func (e *DatetimeExample) DisplayName() option.String
func (*DatetimeExample) ExtraFacets ¶
func (e *DatetimeExample) ExtraFacets() raml.AnyMap
func (*DatetimeExample) MarshalRAML ¶
func (e *DatetimeExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*DatetimeExample) SetAnnotations ¶
func (e *DatetimeExample) SetAnnotations(ann raml.AnnotationMap) raml.DatetimeExample
func (*DatetimeExample) SetDescription ¶
func (e *DatetimeExample) SetDescription(desc string) raml.DatetimeExample
func (*DatetimeExample) SetDisplayName ¶
func (e *DatetimeExample) SetDisplayName(name string) raml.DatetimeExample
func (*DatetimeExample) SetStrict ¶
func (e *DatetimeExample) SetStrict(b bool) raml.DatetimeExample
func (*DatetimeExample) SetValue ¶
func (e *DatetimeExample) SetValue(val string) raml.DatetimeExample
func (*DatetimeExample) Strict ¶
func (e *DatetimeExample) Strict() bool
func (DatetimeExample) ToYAML ¶
func (e DatetimeExample) ToYAML() (*yaml.Node, error)
func (*DatetimeExample) UnmarshalRAML ¶
func (e *DatetimeExample) UnmarshalRAML(value *yaml.Node) error
func (*DatetimeExample) UnsetAnnotations ¶
func (e *DatetimeExample) UnsetAnnotations() raml.DatetimeExample
func (*DatetimeExample) UnsetDescription ¶
func (e *DatetimeExample) UnsetDescription() raml.DatetimeExample
func (*DatetimeExample) UnsetDisplayName ¶
func (e *DatetimeExample) UnsetDisplayName() raml.DatetimeExample
func (*DatetimeExample) UnsetValue ¶
func (e *DatetimeExample) UnsetValue() raml.DatetimeExample
func (*DatetimeExample) Value ¶
func (e *DatetimeExample) Value() option.String
type DatetimeOnlyExample ¶
type DatetimeOnlyExample struct {
// contains filtered or unexported fields
}
DatetimeOnlyExample is a generated internal implementation of the raml.DatetimeOnlyExample interface.
func NewDatetimeOnlyExample ¶
func NewDatetimeOnlyExample() *DatetimeOnlyExample
NewDatetimeOnlyExample returns a new internal implementation of the raml.DatetimeOnlyExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*DatetimeOnlyExample) Annotations ¶
func (e *DatetimeOnlyExample) Annotations() raml.AnnotationMap
func (*DatetimeOnlyExample) Description ¶
func (e *DatetimeOnlyExample) Description() option.String
func (*DatetimeOnlyExample) DisplayName ¶
func (e *DatetimeOnlyExample) DisplayName() option.String
func (*DatetimeOnlyExample) ExtraFacets ¶
func (e *DatetimeOnlyExample) ExtraFacets() raml.AnyMap
func (*DatetimeOnlyExample) MarshalRAML ¶
func (e *DatetimeOnlyExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*DatetimeOnlyExample) SetAnnotations ¶
func (e *DatetimeOnlyExample) SetAnnotations(ann raml.AnnotationMap) raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) SetDescription ¶
func (e *DatetimeOnlyExample) SetDescription(desc string) raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) SetDisplayName ¶
func (e *DatetimeOnlyExample) SetDisplayName(name string) raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) SetStrict ¶
func (e *DatetimeOnlyExample) SetStrict(b bool) raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) SetValue ¶
func (e *DatetimeOnlyExample) SetValue(val string) raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) Strict ¶
func (e *DatetimeOnlyExample) Strict() bool
func (DatetimeOnlyExample) ToYAML ¶
func (e DatetimeOnlyExample) ToYAML() (*yaml.Node, error)
func (*DatetimeOnlyExample) UnmarshalRAML ¶
func (e *DatetimeOnlyExample) UnmarshalRAML(value *yaml.Node) error
func (*DatetimeOnlyExample) UnsetAnnotations ¶
func (e *DatetimeOnlyExample) UnsetAnnotations() raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) UnsetDescription ¶
func (e *DatetimeOnlyExample) UnsetDescription() raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) UnsetDisplayName ¶
func (e *DatetimeOnlyExample) UnsetDisplayName() raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) UnsetValue ¶
func (e *DatetimeOnlyExample) UnsetValue() raml.DatetimeOnlyExample
func (*DatetimeOnlyExample) Value ¶
func (e *DatetimeOnlyExample) Value() option.String
type DatetimeOnlyType ¶
type DatetimeOnlyType struct { *ExtendedDataType // contains filtered or unexported fields }
DatetimeOnlyType is a default generated implementation of the raml.DatetimeOnlyType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewDatetimeOnlyType ¶
func NewDatetimeOnlyType() *DatetimeOnlyType
NewDatetimeOnlyType returns a new internal implementation of the raml.DatetimeOnlyType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (DatetimeOnlyType) Annotations ¶
func (h DatetimeOnlyType) Annotations() raml.AnnotationMap
func (*DatetimeOnlyType) Default ¶
func (o *DatetimeOnlyType) Default() option.String
func (*DatetimeOnlyType) Enum ¶
func (o *DatetimeOnlyType) Enum() []string
func (*DatetimeOnlyType) Example ¶
func (o *DatetimeOnlyType) Example() raml.DatetimeOnlyExample
func (*DatetimeOnlyType) Examples ¶
func (o *DatetimeOnlyType) Examples() raml.DatetimeOnlyExampleMap
func (DatetimeOnlyType) ExtraFacets ¶
func (*DatetimeOnlyType) SetAnnotations ¶
func (o *DatetimeOnlyType) SetAnnotations(annotations raml.AnnotationMap) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetDefault ¶
func (o *DatetimeOnlyType) SetDefault(i string) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetDescription ¶
func (o *DatetimeOnlyType) SetDescription(s string) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetDisplayName ¶
func (o *DatetimeOnlyType) SetDisplayName(s string) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetEnum ¶
func (o *DatetimeOnlyType) SetEnum(i []string) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetExample ¶
func (o *DatetimeOnlyType) SetExample(ex raml.DatetimeOnlyExample) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetExamples ¶
func (o *DatetimeOnlyType) SetExamples(examples raml.DatetimeOnlyExampleMap) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetExtraFacets ¶
func (o *DatetimeOnlyType) SetExtraFacets(facets raml.AnyMap) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetFacetDefinitions ¶
func (o *DatetimeOnlyType) SetFacetDefinitions(facets raml.FacetMap) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetRequired ¶
func (o *DatetimeOnlyType) SetRequired(b bool) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetType ¶
func (o *DatetimeOnlyType) SetType(s string) raml.DatetimeOnlyType
func (*DatetimeOnlyType) SetXML ¶
func (o *DatetimeOnlyType) SetXML(x raml.XML) raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetAnnotations ¶
func (o *DatetimeOnlyType) UnsetAnnotations() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetDefault ¶
func (o *DatetimeOnlyType) UnsetDefault() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetDescription ¶
func (o *DatetimeOnlyType) UnsetDescription() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetDisplayName ¶
func (o *DatetimeOnlyType) UnsetDisplayName() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetEnum ¶
func (o *DatetimeOnlyType) UnsetEnum() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetExample ¶
func (o *DatetimeOnlyType) UnsetExample() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetExamples ¶
func (o *DatetimeOnlyType) UnsetExamples() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetExtraFacets ¶
func (o *DatetimeOnlyType) UnsetExtraFacets() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetFacetDefinitions ¶
func (o *DatetimeOnlyType) UnsetFacetDefinitions() raml.DatetimeOnlyType
func (*DatetimeOnlyType) UnsetXML ¶
func (o *DatetimeOnlyType) UnsetXML() raml.DatetimeOnlyType
type DatetimeType ¶
type DatetimeType struct { *ExtendedDataType // contains filtered or unexported fields }
DatetimeType is a default generated implementation of the raml.DatetimeType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewDatetimeType ¶
func NewDatetimeType() *DatetimeType
NewDatetimeType returns a new internal implementation of the raml.DatetimeType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (DatetimeType) Annotations ¶
func (h DatetimeType) Annotations() raml.AnnotationMap
func (*DatetimeType) Default ¶
func (o *DatetimeType) Default() option.String
func (*DatetimeType) Enum ¶
func (o *DatetimeType) Enum() []string
func (*DatetimeType) Example ¶
func (o *DatetimeType) Example() raml.DatetimeExample
func (*DatetimeType) Examples ¶
func (o *DatetimeType) Examples() raml.DatetimeExampleMap
func (DatetimeType) ExtraFacets ¶
func (*DatetimeType) Format ¶
func (o *DatetimeType) Format() raml.DateFormat
func (*DatetimeType) SetAnnotations ¶
func (o *DatetimeType) SetAnnotations(annotations raml.AnnotationMap) raml.DatetimeType
func (*DatetimeType) SetDefault ¶
func (o *DatetimeType) SetDefault(i string) raml.DatetimeType
func (*DatetimeType) SetDescription ¶
func (o *DatetimeType) SetDescription(s string) raml.DatetimeType
func (*DatetimeType) SetDisplayName ¶
func (o *DatetimeType) SetDisplayName(s string) raml.DatetimeType
func (*DatetimeType) SetEnum ¶
func (o *DatetimeType) SetEnum(i []string) raml.DatetimeType
func (*DatetimeType) SetExample ¶
func (o *DatetimeType) SetExample(ex raml.DatetimeExample) raml.DatetimeType
func (*DatetimeType) SetExamples ¶
func (o *DatetimeType) SetExamples(examples raml.DatetimeExampleMap) raml.DatetimeType
func (*DatetimeType) SetExtraFacets ¶
func (o *DatetimeType) SetExtraFacets(facets raml.AnyMap) raml.DatetimeType
func (*DatetimeType) SetFacetDefinitions ¶
func (o *DatetimeType) SetFacetDefinitions(facets raml.FacetMap) raml.DatetimeType
func (*DatetimeType) SetFormat ¶
func (o *DatetimeType) SetFormat(f raml.DateFormat) raml.DatetimeType
func (*DatetimeType) SetRequired ¶
func (o *DatetimeType) SetRequired(b bool) raml.DatetimeType
func (*DatetimeType) SetType ¶
func (o *DatetimeType) SetType(s string) raml.DatetimeType
func (*DatetimeType) SetXML ¶
func (o *DatetimeType) SetXML(x raml.XML) raml.DatetimeType
func (*DatetimeType) UnsetAnnotations ¶
func (o *DatetimeType) UnsetAnnotations() raml.DatetimeType
func (*DatetimeType) UnsetDefault ¶
func (o *DatetimeType) UnsetDefault() raml.DatetimeType
func (*DatetimeType) UnsetDescription ¶
func (o *DatetimeType) UnsetDescription() raml.DatetimeType
func (*DatetimeType) UnsetDisplayName ¶
func (o *DatetimeType) UnsetDisplayName() raml.DatetimeType
func (*DatetimeType) UnsetEnum ¶
func (o *DatetimeType) UnsetEnum() raml.DatetimeType
func (*DatetimeType) UnsetExample ¶
func (o *DatetimeType) UnsetExample() raml.DatetimeType
func (*DatetimeType) UnsetExamples ¶
func (o *DatetimeType) UnsetExamples() raml.DatetimeType
func (*DatetimeType) UnsetExtraFacets ¶
func (o *DatetimeType) UnsetExtraFacets() raml.DatetimeType
func (*DatetimeType) UnsetFacetDefinitions ¶
func (o *DatetimeType) UnsetFacetDefinitions() raml.DatetimeType
func (*DatetimeType) UnsetFormat ¶
func (o *DatetimeType) UnsetFormat() raml.DatetimeType
func (*DatetimeType) UnsetXML ¶
func (o *DatetimeType) UnsetXML() raml.DatetimeType
type Documentation ¶
type Documentation struct {
// contains filtered or unexported fields
}
func NewDocumentation ¶
func NewDocumentation() *Documentation
func (*Documentation) Content ¶
func (d *Documentation) Content() string
func (*Documentation) ExtraFacets ¶
func (d *Documentation) ExtraFacets() raml.AnyMap
func (*Documentation) MarshalRAML ¶
func (d *Documentation) MarshalRAML(out raml.AnyMap) (simple bool, err error)
func (*Documentation) SetContent ¶
func (d *Documentation) SetContent(content string) raml.Documentation
func (*Documentation) SetTitle ¶
func (d *Documentation) SetTitle(title string) raml.Documentation
func (*Documentation) Title ¶
func (d *Documentation) Title() string
func (*Documentation) UnmarshalRAML ¶
func (d *Documentation) UnmarshalRAML(val *yaml.Node) error
type ExtendedDataType ¶
type ExtendedDataType struct { *DataType // contains filtered or unexported fields }
func NewExtendedDataType ¶
func NewExtendedDataType(kind rmeta.DataTypeKind, self concreteType) *ExtendedDataType
func (*ExtendedDataType) Annotations ¶
func (h *ExtendedDataType) Annotations() raml.AnnotationMap
func (*ExtendedDataType) Description ¶
func (e *ExtendedDataType) Description() option.String
func (*ExtendedDataType) DisplayName ¶
func (e *ExtendedDataType) DisplayName() option.String
func (ExtendedDataType) ExtraFacets ¶
func (*ExtendedDataType) FacetDefinitions ¶
func (e *ExtendedDataType) FacetDefinitions() raml.FacetMap
func (*ExtendedDataType) Required ¶
func (e *ExtendedDataType) Required() bool
func (*ExtendedDataType) XML ¶
func (e *ExtendedDataType) XML() raml.XML
type FileExample ¶
type FileExample struct {
// contains filtered or unexported fields
}
FileExample is a generated internal implementation of the raml.FileExample interface.
func NewFileExample ¶
func NewFileExample() *FileExample
NewFileExample returns a new internal implementation of the raml.FileExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*FileExample) Annotations ¶
func (e *FileExample) Annotations() raml.AnnotationMap
func (*FileExample) Description ¶
func (e *FileExample) Description() option.String
func (*FileExample) DisplayName ¶
func (e *FileExample) DisplayName() option.String
func (*FileExample) ExtraFacets ¶
func (e *FileExample) ExtraFacets() raml.AnyMap
func (*FileExample) MarshalRAML ¶
func (e *FileExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*FileExample) SetAnnotations ¶
func (e *FileExample) SetAnnotations(ann raml.AnnotationMap) raml.FileExample
func (*FileExample) SetDescription ¶
func (e *FileExample) SetDescription(desc string) raml.FileExample
func (*FileExample) SetDisplayName ¶
func (e *FileExample) SetDisplayName(name string) raml.FileExample
func (*FileExample) SetStrict ¶
func (e *FileExample) SetStrict(b bool) raml.FileExample
func (*FileExample) SetValue ¶
func (e *FileExample) SetValue(val interface{}) raml.FileExample
func (*FileExample) Strict ¶
func (e *FileExample) Strict() bool
func (FileExample) ToYAML ¶
func (e FileExample) ToYAML() (*yaml.Node, error)
func (*FileExample) UnmarshalRAML ¶
func (e *FileExample) UnmarshalRAML(value *yaml.Node) error
func (*FileExample) UnsetAnnotations ¶
func (e *FileExample) UnsetAnnotations() raml.FileExample
func (*FileExample) UnsetDescription ¶
func (e *FileExample) UnsetDescription() raml.FileExample
func (*FileExample) UnsetDisplayName ¶
func (e *FileExample) UnsetDisplayName() raml.FileExample
func (*FileExample) UnsetValue ¶
func (e *FileExample) UnsetValue() raml.FileExample
func (*FileExample) Value ¶
func (e *FileExample) Value() option.Untyped
type FileType ¶
type FileType struct { *ExtendedDataType // contains filtered or unexported fields }
FileType is a default generated implementation of the raml.FileType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewFileType ¶
func NewFileType() *FileType
NewFileType returns a new internal implementation of the raml.FileType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (FileType) Annotations ¶
func (h FileType) Annotations() raml.AnnotationMap
func (*FileType) Example ¶
func (o *FileType) Example() raml.FileExample
func (*FileType) Examples ¶
func (o *FileType) Examples() raml.FileExampleMap
func (FileType) ExtraFacets ¶
func (*FileType) SetAnnotations ¶
func (o *FileType) SetAnnotations(annotations raml.AnnotationMap) raml.FileType
func (*FileType) SetDefault ¶
func (*FileType) SetExample ¶
func (o *FileType) SetExample(ex raml.FileExample) raml.FileType
func (*FileType) SetExamples ¶
func (o *FileType) SetExamples(examples raml.FileExampleMap) raml.FileType
func (*FileType) SetExtraFacets ¶
func (*FileType) SetFacetDefinitions ¶
func (*FileType) UnsetAnnotations ¶
func (*FileType) UnsetDefault ¶
func (*FileType) UnsetDescription ¶
func (*FileType) UnsetDisplayName ¶
func (*FileType) UnsetExample ¶
func (*FileType) UnsetExamples ¶
func (*FileType) UnsetExtraFacets ¶
func (*FileType) UnsetFacetDefinitions ¶
func (*FileType) UnsetFileTypes ¶
type IncludeType ¶
type IncludeType struct {
*DataType
}
IncludeType is a generated internal implementation of the raml.IncludeType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewIncludeType ¶
func NewIncludeType() *IncludeType
NewIncludeType returns a new internal implementation of the raml.IncludeType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (IncludeType) ExtraFacets ¶
type IntegerExample ¶
type IntegerExample struct {
// contains filtered or unexported fields
}
IntegerExample is a generated internal implementation of the raml.IntegerExample interface.
func NewIntegerExample ¶
func NewIntegerExample() *IntegerExample
NewIntegerExample returns a new internal implementation of the raml.IntegerExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*IntegerExample) Annotations ¶
func (e *IntegerExample) Annotations() raml.AnnotationMap
func (*IntegerExample) Description ¶
func (e *IntegerExample) Description() option.String
func (*IntegerExample) DisplayName ¶
func (e *IntegerExample) DisplayName() option.String
func (*IntegerExample) ExtraFacets ¶
func (e *IntegerExample) ExtraFacets() raml.AnyMap
func (*IntegerExample) MarshalRAML ¶
func (e *IntegerExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*IntegerExample) SetAnnotations ¶
func (e *IntegerExample) SetAnnotations(ann raml.AnnotationMap) raml.IntegerExample
func (*IntegerExample) SetDescription ¶
func (e *IntegerExample) SetDescription(desc string) raml.IntegerExample
func (*IntegerExample) SetDisplayName ¶
func (e *IntegerExample) SetDisplayName(name string) raml.IntegerExample
func (*IntegerExample) SetStrict ¶
func (e *IntegerExample) SetStrict(b bool) raml.IntegerExample
func (*IntegerExample) SetValue ¶
func (e *IntegerExample) SetValue(val int64) raml.IntegerExample
func (*IntegerExample) Strict ¶
func (e *IntegerExample) Strict() bool
func (IntegerExample) ToYAML ¶
func (e IntegerExample) ToYAML() (*yaml.Node, error)
func (*IntegerExample) UnmarshalRAML ¶
func (e *IntegerExample) UnmarshalRAML(value *yaml.Node) error
func (*IntegerExample) UnsetAnnotations ¶
func (e *IntegerExample) UnsetAnnotations() raml.IntegerExample
func (*IntegerExample) UnsetDescription ¶
func (e *IntegerExample) UnsetDescription() raml.IntegerExample
func (*IntegerExample) UnsetDisplayName ¶
func (e *IntegerExample) UnsetDisplayName() raml.IntegerExample
func (*IntegerExample) UnsetValue ¶
func (e *IntegerExample) UnsetValue() raml.IntegerExample
func (*IntegerExample) Value ¶
func (e *IntegerExample) Value() option.Int64
type IntegerFormat ¶
type IntegerFormat string
const ( IntegerFormatInt IntegerFormat = "int" IntegerFormatInt8 IntegerFormat = "int8" IntegerFormatInt16 IntegerFormat = "int16" IntegerFormatInt32 IntegerFormat = "int32" IntegerFormatInt64 IntegerFormat = "int64" IntegerFormatLong IntegerFormat = "long" )
func (IntegerFormat) MarshalYAML ¶
func (d IntegerFormat) MarshalYAML() (interface{}, error)
func (IntegerFormat) String ¶
func (d IntegerFormat) String() string
func (IntegerFormat) ToYAML ¶
func (d IntegerFormat) ToYAML() (*yaml.Node, error)
func (*IntegerFormat) UnmarshalYAML ¶
func (d *IntegerFormat) UnmarshalYAML(y *yaml.Node) error
type IntegerType ¶
type IntegerType struct { *ExtendedDataType // contains filtered or unexported fields }
IntegerType is a default generated implementation of the raml.IntegerType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewIntegerType ¶
func NewIntegerType() *IntegerType
NewIntegerType returns a new internal implementation of the raml.IntegerType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (IntegerType) Annotations ¶
func (h IntegerType) Annotations() raml.AnnotationMap
func (*IntegerType) Default ¶
func (o *IntegerType) Default() option.Int64
func (*IntegerType) Enum ¶
func (o *IntegerType) Enum() []int64
func (*IntegerType) Example ¶
func (o *IntegerType) Example() raml.IntegerExample
func (*IntegerType) Examples ¶
func (o *IntegerType) Examples() raml.IntegerExampleMap
func (IntegerType) ExtraFacets ¶
func (*IntegerType) Format ¶
func (o *IntegerType) Format() raml.IntegerFormat
func (*IntegerType) Maximum ¶
func (o *IntegerType) Maximum() option.Int64
func (*IntegerType) Minimum ¶
func (o *IntegerType) Minimum() option.Int64
func (*IntegerType) MultipleOf ¶
func (o *IntegerType) MultipleOf() option.Float64
func (*IntegerType) SetAnnotations ¶
func (o *IntegerType) SetAnnotations(annotations raml.AnnotationMap) raml.IntegerType
func (*IntegerType) SetDefault ¶
func (o *IntegerType) SetDefault(i int64) raml.IntegerType
func (*IntegerType) SetDescription ¶
func (o *IntegerType) SetDescription(s string) raml.IntegerType
func (*IntegerType) SetDisplayName ¶
func (o *IntegerType) SetDisplayName(s string) raml.IntegerType
func (*IntegerType) SetEnum ¶
func (o *IntegerType) SetEnum(i []int64) raml.IntegerType
func (*IntegerType) SetExample ¶
func (o *IntegerType) SetExample(ex raml.IntegerExample) raml.IntegerType
func (*IntegerType) SetExamples ¶
func (o *IntegerType) SetExamples(examples raml.IntegerExampleMap) raml.IntegerType
func (*IntegerType) SetExtraFacets ¶
func (o *IntegerType) SetExtraFacets(facets raml.AnyMap) raml.IntegerType
func (*IntegerType) SetFacetDefinitions ¶
func (o *IntegerType) SetFacetDefinitions(facets raml.FacetMap) raml.IntegerType
func (*IntegerType) SetFormat ¶
func (o *IntegerType) SetFormat(f raml.IntegerFormat) raml.IntegerType
func (*IntegerType) SetMaximum ¶
func (o *IntegerType) SetMaximum(pat int64) raml.IntegerType
func (*IntegerType) SetMinimum ¶
func (o *IntegerType) SetMinimum(pat int64) raml.IntegerType
func (*IntegerType) SetMultipleOf ¶
func (o *IntegerType) SetMultipleOf(pat float64) raml.IntegerType
func (*IntegerType) SetRequired ¶
func (o *IntegerType) SetRequired(b bool) raml.IntegerType
func (*IntegerType) SetType ¶
func (o *IntegerType) SetType(s string) raml.IntegerType
func (*IntegerType) SetXML ¶
func (o *IntegerType) SetXML(x raml.XML) raml.IntegerType
func (*IntegerType) UnsetAnnotations ¶
func (o *IntegerType) UnsetAnnotations() raml.IntegerType
func (*IntegerType) UnsetDefault ¶
func (o *IntegerType) UnsetDefault() raml.IntegerType
func (*IntegerType) UnsetDescription ¶
func (o *IntegerType) UnsetDescription() raml.IntegerType
func (*IntegerType) UnsetDisplayName ¶
func (o *IntegerType) UnsetDisplayName() raml.IntegerType
func (*IntegerType) UnsetEnum ¶
func (o *IntegerType) UnsetEnum() raml.IntegerType
func (*IntegerType) UnsetExample ¶
func (o *IntegerType) UnsetExample() raml.IntegerType
func (*IntegerType) UnsetExamples ¶
func (o *IntegerType) UnsetExamples() raml.IntegerType
func (*IntegerType) UnsetExtraFacets ¶
func (o *IntegerType) UnsetExtraFacets() raml.IntegerType
func (*IntegerType) UnsetFacetDefinitions ¶
func (o *IntegerType) UnsetFacetDefinitions() raml.IntegerType
func (*IntegerType) UnsetFormat ¶
func (o *IntegerType) UnsetFormat() raml.IntegerType
func (*IntegerType) UnsetMaximum ¶
func (o *IntegerType) UnsetMaximum() raml.IntegerType
func (*IntegerType) UnsetMinimum ¶
func (o *IntegerType) UnsetMinimum() raml.IntegerType
func (*IntegerType) UnsetMultipleOf ¶
func (o *IntegerType) UnsetMultipleOf() raml.IntegerType
func (*IntegerType) UnsetXML ¶
func (o *IntegerType) UnsetXML() raml.IntegerType
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
func NewLibrary ¶
func NewLibrary() *Library
func (*Library) AnnotationTypes ¶
func (l *Library) AnnotationTypes() raml.UntypedMap
func (*Library) Annotations ¶
func (l *Library) Annotations() raml.AnnotationMap
func (*Library) ExtraFacets ¶
func (Library) MarshalYAML ¶
func (*Library) ResourceTypes ¶
func (l *Library) ResourceTypes() raml.UntypedMap
func (*Library) Schemas ¶
func (l *Library) Schemas() raml.DataTypeMap
func (*Library) SecuritySchemes ¶
func (l *Library) SecuritySchemes() raml.UntypedMap
func (*Library) SetAnnotations ¶
func (l *Library) SetAnnotations(a raml.AnnotationMap) raml.Library
func (*Library) SetResourceTypes ¶
func (l *Library) SetResourceTypes(resTypes raml.UntypedMap) raml.Library
func (*Library) SetSchemas ¶
func (l *Library) SetSchemas(types raml.DataTypeMap) raml.Library
func (*Library) Traits ¶
func (l *Library) Traits() raml.UntypedMap
func (*Library) Types ¶
func (l *Library) Types() raml.DataTypeMap
func (*Library) UnmarshalYAML ¶
func (*Library) UnsetAnnotations ¶
func (*Library) UnsetResourceTypes ¶
func (*Library) UnsetSchemas ¶
func (*Library) UnsetTraits ¶
func (*Library) UnsetTypes ¶
func (*Library) UnsetUsage ¶
type NilType ¶
type NilType struct {
*DataType
}
NilType is a generated internal implementation of the raml.NilType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewNilType ¶
func NewNilType() *NilType
NewNilType returns a new internal implementation of the raml.NilType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (NilType) ExtraFacets ¶
type NumberExample ¶
type NumberExample struct {
// contains filtered or unexported fields
}
NumberExample is a generated internal implementation of the raml.NumberExample interface.
func NewNumberExample ¶
func NewNumberExample() *NumberExample
NewNumberExample returns a new internal implementation of the raml.NumberExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*NumberExample) Annotations ¶
func (e *NumberExample) Annotations() raml.AnnotationMap
func (*NumberExample) Description ¶
func (e *NumberExample) Description() option.String
func (*NumberExample) DisplayName ¶
func (e *NumberExample) DisplayName() option.String
func (*NumberExample) ExtraFacets ¶
func (e *NumberExample) ExtraFacets() raml.AnyMap
func (*NumberExample) MarshalRAML ¶
func (e *NumberExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*NumberExample) SetAnnotations ¶
func (e *NumberExample) SetAnnotations(ann raml.AnnotationMap) raml.NumberExample
func (*NumberExample) SetDescription ¶
func (e *NumberExample) SetDescription(desc string) raml.NumberExample
func (*NumberExample) SetDisplayName ¶
func (e *NumberExample) SetDisplayName(name string) raml.NumberExample
func (*NumberExample) SetStrict ¶
func (e *NumberExample) SetStrict(b bool) raml.NumberExample
func (*NumberExample) SetValue ¶
func (e *NumberExample) SetValue(val float64) raml.NumberExample
func (*NumberExample) Strict ¶
func (e *NumberExample) Strict() bool
func (NumberExample) ToYAML ¶
func (e NumberExample) ToYAML() (*yaml.Node, error)
func (*NumberExample) UnmarshalRAML ¶
func (e *NumberExample) UnmarshalRAML(value *yaml.Node) error
func (*NumberExample) UnsetAnnotations ¶
func (e *NumberExample) UnsetAnnotations() raml.NumberExample
func (*NumberExample) UnsetDescription ¶
func (e *NumberExample) UnsetDescription() raml.NumberExample
func (*NumberExample) UnsetDisplayName ¶
func (e *NumberExample) UnsetDisplayName() raml.NumberExample
func (*NumberExample) UnsetValue ¶
func (e *NumberExample) UnsetValue() raml.NumberExample
func (*NumberExample) Value ¶
func (e *NumberExample) Value() option.Float64
type NumberFormat ¶
type NumberFormat string
const ( NumberFormatInt NumberFormat = "int" NumberFormatInt8 NumberFormat = "int8" NumberFormatInt16 NumberFormat = "int16" NumberFormatInt32 NumberFormat = "int32" NumberFormatInt64 NumberFormat = "int64" NumberFormatLong NumberFormat = "long" NumberFormatFloat NumberFormat = "float" NumberFormatDouble NumberFormat = "double" )
func (NumberFormat) MarshalYAML ¶
func (d NumberFormat) MarshalYAML() (interface{}, error)
func (NumberFormat) String ¶
func (d NumberFormat) String() string
func (NumberFormat) ToYAML ¶
func (d NumberFormat) ToYAML() (*yaml.Node, error)
func (*NumberFormat) UnmarshalYAML ¶
func (d *NumberFormat) UnmarshalYAML(y *yaml.Node) error
type NumberType ¶
type NumberType struct { *ExtendedDataType // contains filtered or unexported fields }
NumberType is a default generated implementation of the raml.NumberType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewNumberType ¶
func NewNumberType() *NumberType
NewNumberType returns a new internal implementation of the raml.NumberType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (NumberType) Annotations ¶
func (h NumberType) Annotations() raml.AnnotationMap
func (*NumberType) Default ¶
func (o *NumberType) Default() option.Float64
func (*NumberType) Enum ¶
func (o *NumberType) Enum() []float64
func (*NumberType) Example ¶
func (o *NumberType) Example() raml.NumberExample
func (*NumberType) Examples ¶
func (o *NumberType) Examples() raml.NumberExampleMap
func (NumberType) ExtraFacets ¶
func (*NumberType) Format ¶
func (o *NumberType) Format() raml.NumberFormat
func (*NumberType) Maximum ¶
func (o *NumberType) Maximum() option.Float64
func (*NumberType) Minimum ¶
func (o *NumberType) Minimum() option.Float64
func (*NumberType) MultipleOf ¶
func (o *NumberType) MultipleOf() option.Float64
func (*NumberType) SetAnnotations ¶
func (o *NumberType) SetAnnotations(annotations raml.AnnotationMap) raml.NumberType
func (*NumberType) SetDefault ¶
func (o *NumberType) SetDefault(i float64) raml.NumberType
func (*NumberType) SetDescription ¶
func (o *NumberType) SetDescription(s string) raml.NumberType
func (*NumberType) SetDisplayName ¶
func (o *NumberType) SetDisplayName(s string) raml.NumberType
func (*NumberType) SetEnum ¶
func (o *NumberType) SetEnum(i []float64) raml.NumberType
func (*NumberType) SetExample ¶
func (o *NumberType) SetExample(ex raml.NumberExample) raml.NumberType
func (*NumberType) SetExamples ¶
func (o *NumberType) SetExamples(examples raml.NumberExampleMap) raml.NumberType
func (*NumberType) SetExtraFacets ¶
func (o *NumberType) SetExtraFacets(facets raml.AnyMap) raml.NumberType
func (*NumberType) SetFacetDefinitions ¶
func (o *NumberType) SetFacetDefinitions(facets raml.FacetMap) raml.NumberType
func (*NumberType) SetFormat ¶
func (o *NumberType) SetFormat(f raml.NumberFormat) raml.NumberType
func (*NumberType) SetMaximum ¶
func (o *NumberType) SetMaximum(pat float64) raml.NumberType
func (*NumberType) SetMinimum ¶
func (o *NumberType) SetMinimum(pat float64) raml.NumberType
func (*NumberType) SetMultipleOf ¶
func (o *NumberType) SetMultipleOf(pat float64) raml.NumberType
func (*NumberType) SetRequired ¶
func (o *NumberType) SetRequired(b bool) raml.NumberType
func (*NumberType) SetType ¶
func (o *NumberType) SetType(s string) raml.NumberType
func (*NumberType) SetXML ¶
func (o *NumberType) SetXML(x raml.XML) raml.NumberType
func (*NumberType) UnsetAnnotations ¶
func (o *NumberType) UnsetAnnotations() raml.NumberType
func (*NumberType) UnsetDefault ¶
func (o *NumberType) UnsetDefault() raml.NumberType
func (*NumberType) UnsetDescription ¶
func (o *NumberType) UnsetDescription() raml.NumberType
func (*NumberType) UnsetDisplayName ¶
func (o *NumberType) UnsetDisplayName() raml.NumberType
func (*NumberType) UnsetEnum ¶
func (o *NumberType) UnsetEnum() raml.NumberType
func (*NumberType) UnsetExample ¶
func (o *NumberType) UnsetExample() raml.NumberType
func (*NumberType) UnsetExamples ¶
func (o *NumberType) UnsetExamples() raml.NumberType
func (*NumberType) UnsetExtraFacets ¶
func (o *NumberType) UnsetExtraFacets() raml.NumberType
func (*NumberType) UnsetFacetDefinitions ¶
func (o *NumberType) UnsetFacetDefinitions() raml.NumberType
func (*NumberType) UnsetFormat ¶
func (o *NumberType) UnsetFormat() raml.NumberType
func (*NumberType) UnsetMaximum ¶
func (o *NumberType) UnsetMaximum() raml.NumberType
func (*NumberType) UnsetMinimum ¶
func (o *NumberType) UnsetMinimum() raml.NumberType
func (*NumberType) UnsetMultipleOf ¶
func (o *NumberType) UnsetMultipleOf() raml.NumberType
func (*NumberType) UnsetXML ¶
func (o *NumberType) UnsetXML() raml.NumberType
type ObjectExample ¶
type ObjectExample struct {
// contains filtered or unexported fields
}
ObjectExample is a generated internal implementation of the raml.ObjectExample interface.
func NewObjectExample ¶
func NewObjectExample() *ObjectExample
NewObjectExample returns a new internal implementation of the raml.ObjectExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*ObjectExample) Annotations ¶
func (e *ObjectExample) Annotations() raml.AnnotationMap
func (*ObjectExample) Description ¶
func (e *ObjectExample) Description() option.String
func (*ObjectExample) DisplayName ¶
func (e *ObjectExample) DisplayName() option.String
func (*ObjectExample) ExtraFacets ¶
func (e *ObjectExample) ExtraFacets() raml.AnyMap
func (*ObjectExample) MarshalRAML ¶
func (e *ObjectExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*ObjectExample) SetAnnotations ¶
func (e *ObjectExample) SetAnnotations(ann raml.AnnotationMap) raml.ObjectExample
func (*ObjectExample) SetDescription ¶
func (e *ObjectExample) SetDescription(desc string) raml.ObjectExample
func (*ObjectExample) SetDisplayName ¶
func (e *ObjectExample) SetDisplayName(name string) raml.ObjectExample
func (*ObjectExample) SetStrict ¶
func (e *ObjectExample) SetStrict(b bool) raml.ObjectExample
func (*ObjectExample) SetValue ¶
func (e *ObjectExample) SetValue(val interface{}) raml.ObjectExample
func (*ObjectExample) Strict ¶
func (e *ObjectExample) Strict() bool
func (ObjectExample) ToYAML ¶
func (e ObjectExample) ToYAML() (*yaml.Node, error)
func (*ObjectExample) UnmarshalRAML ¶
func (e *ObjectExample) UnmarshalRAML(value *yaml.Node) error
func (*ObjectExample) UnsetAnnotations ¶
func (e *ObjectExample) UnsetAnnotations() raml.ObjectExample
func (*ObjectExample) UnsetDescription ¶
func (e *ObjectExample) UnsetDescription() raml.ObjectExample
func (*ObjectExample) UnsetDisplayName ¶
func (e *ObjectExample) UnsetDisplayName() raml.ObjectExample
func (*ObjectExample) UnsetValue ¶
func (e *ObjectExample) UnsetValue() raml.ObjectExample
func (*ObjectExample) Value ¶
func (e *ObjectExample) Value() option.Untyped
type ObjectType ¶
type ObjectType struct { *ExtendedDataType // contains filtered or unexported fields }
ObjectType is a default generated implementation of the raml.ObjectType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewObjectType ¶
func NewObjectType() *ObjectType
NewObjectType returns a new internal implementation of the raml.ObjectType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (*ObjectType) AdditionalProperties ¶
func (o *ObjectType) AdditionalProperties() bool
func (ObjectType) Annotations ¶
func (h ObjectType) Annotations() raml.AnnotationMap
func (*ObjectType) Default ¶
func (o *ObjectType) Default() option.Untyped
func (*ObjectType) Discriminator ¶
func (o *ObjectType) Discriminator() option.String
func (*ObjectType) DiscriminatorValue ¶
func (o *ObjectType) DiscriminatorValue() option.Untyped
func (*ObjectType) Enum ¶
func (o *ObjectType) Enum() []interface{}
func (*ObjectType) Example ¶
func (o *ObjectType) Example() raml.ObjectExample
func (*ObjectType) Examples ¶
func (o *ObjectType) Examples() raml.ObjectExampleMap
func (ObjectType) ExtraFacets ¶
func (*ObjectType) MaxProperties ¶
func (o *ObjectType) MaxProperties() option.Uint
func (*ObjectType) MinProperties ¶
func (o *ObjectType) MinProperties() option.Uint
func (*ObjectType) Properties ¶
func (o *ObjectType) Properties() raml.PropertyMap
func (*ObjectType) SetAdditionalProperties ¶
func (o *ObjectType) SetAdditionalProperties(val bool) raml.ObjectType
func (*ObjectType) SetAnnotations ¶
func (o *ObjectType) SetAnnotations(annotations raml.AnnotationMap) raml.ObjectType
func (*ObjectType) SetDefault ¶
func (o *ObjectType) SetDefault(i interface{}) raml.ObjectType
func (*ObjectType) SetDescription ¶
func (o *ObjectType) SetDescription(s string) raml.ObjectType
func (*ObjectType) SetDiscriminator ¶
func (o *ObjectType) SetDiscriminator(facet string) raml.ObjectType
func (*ObjectType) SetDiscriminatorValue ¶
func (o *ObjectType) SetDiscriminatorValue(val interface{}) raml.ObjectType
func (*ObjectType) SetDisplayName ¶
func (o *ObjectType) SetDisplayName(s string) raml.ObjectType
func (*ObjectType) SetEnum ¶
func (o *ObjectType) SetEnum(i []interface{}) raml.ObjectType
func (*ObjectType) SetExample ¶
func (o *ObjectType) SetExample(ex raml.ObjectExample) raml.ObjectType
func (*ObjectType) SetExamples ¶
func (o *ObjectType) SetExamples(examples raml.ObjectExampleMap) raml.ObjectType
func (*ObjectType) SetExtraFacets ¶
func (o *ObjectType) SetExtraFacets(facets raml.AnyMap) raml.ObjectType
func (*ObjectType) SetFacetDefinitions ¶
func (o *ObjectType) SetFacetDefinitions(facets raml.FacetMap) raml.ObjectType
func (*ObjectType) SetMaxProperties ¶
func (o *ObjectType) SetMaxProperties(u uint) raml.ObjectType
func (*ObjectType) SetMinProperties ¶
func (o *ObjectType) SetMinProperties(min uint) raml.ObjectType
func (*ObjectType) SetProperties ¶
func (o *ObjectType) SetProperties(props raml.PropertyMap) raml.ObjectType
func (*ObjectType) SetRequired ¶
func (o *ObjectType) SetRequired(b bool) raml.ObjectType
func (*ObjectType) SetType ¶
func (o *ObjectType) SetType(s string) raml.ObjectType
func (*ObjectType) SetXML ¶
func (o *ObjectType) SetXML(x raml.XML) raml.ObjectType
func (*ObjectType) UnsetAnnotations ¶
func (o *ObjectType) UnsetAnnotations() raml.ObjectType
func (*ObjectType) UnsetDefault ¶
func (o *ObjectType) UnsetDefault() raml.ObjectType
func (*ObjectType) UnsetDescription ¶
func (o *ObjectType) UnsetDescription() raml.ObjectType
func (*ObjectType) UnsetDiscriminator ¶
func (o *ObjectType) UnsetDiscriminator() raml.ObjectType
func (*ObjectType) UnsetDiscriminatorValue ¶
func (o *ObjectType) UnsetDiscriminatorValue() raml.ObjectType
func (*ObjectType) UnsetDisplayName ¶
func (o *ObjectType) UnsetDisplayName() raml.ObjectType
func (*ObjectType) UnsetEnum ¶
func (o *ObjectType) UnsetEnum() raml.ObjectType
func (*ObjectType) UnsetExample ¶
func (o *ObjectType) UnsetExample() raml.ObjectType
func (*ObjectType) UnsetExamples ¶
func (o *ObjectType) UnsetExamples() raml.ObjectType
func (*ObjectType) UnsetExtraFacets ¶
func (o *ObjectType) UnsetExtraFacets() raml.ObjectType
func (*ObjectType) UnsetFacetDefinitions ¶
func (o *ObjectType) UnsetFacetDefinitions() raml.ObjectType
func (*ObjectType) UnsetMaxProperties ¶
func (o *ObjectType) UnsetMaxProperties() raml.ObjectType
func (*ObjectType) UnsetMinProperties ¶
func (o *ObjectType) UnsetMinProperties() raml.ObjectType
func (*ObjectType) UnsetProperties ¶
func (o *ObjectType) UnsetProperties() raml.ObjectType
func (*ObjectType) UnsetXML ¶
func (o *ObjectType) UnsetXML() raml.ObjectType
type StringExample ¶
type StringExample struct {
// contains filtered or unexported fields
}
StringExample is a generated internal implementation of the raml.StringExample interface.
func NewStringExample ¶
func NewStringExample() *StringExample
NewStringExample returns a new internal implementation of the raml.StringExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*StringExample) Annotations ¶
func (e *StringExample) Annotations() raml.AnnotationMap
func (*StringExample) Description ¶
func (e *StringExample) Description() option.String
func (*StringExample) DisplayName ¶
func (e *StringExample) DisplayName() option.String
func (*StringExample) ExtraFacets ¶
func (e *StringExample) ExtraFacets() raml.AnyMap
func (*StringExample) MarshalRAML ¶
func (e *StringExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*StringExample) SetAnnotations ¶
func (e *StringExample) SetAnnotations(ann raml.AnnotationMap) raml.StringExample
func (*StringExample) SetDescription ¶
func (e *StringExample) SetDescription(desc string) raml.StringExample
func (*StringExample) SetDisplayName ¶
func (e *StringExample) SetDisplayName(name string) raml.StringExample
func (*StringExample) SetStrict ¶
func (e *StringExample) SetStrict(b bool) raml.StringExample
func (*StringExample) SetValue ¶
func (e *StringExample) SetValue(val string) raml.StringExample
func (*StringExample) Strict ¶
func (e *StringExample) Strict() bool
func (StringExample) ToYAML ¶
func (e StringExample) ToYAML() (*yaml.Node, error)
func (*StringExample) UnmarshalRAML ¶
func (e *StringExample) UnmarshalRAML(value *yaml.Node) error
func (*StringExample) UnsetAnnotations ¶
func (e *StringExample) UnsetAnnotations() raml.StringExample
func (*StringExample) UnsetDescription ¶
func (e *StringExample) UnsetDescription() raml.StringExample
func (*StringExample) UnsetDisplayName ¶
func (e *StringExample) UnsetDisplayName() raml.StringExample
func (*StringExample) UnsetValue ¶
func (e *StringExample) UnsetValue() raml.StringExample
func (*StringExample) Value ¶
func (e *StringExample) Value() option.String
type StringType ¶
type StringType struct { *ExtendedDataType // contains filtered or unexported fields }
StringType is a default generated implementation of the raml.StringType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewStringType ¶
func NewStringType() *StringType
NewStringType returns a new internal implementation of the raml.StringType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (StringType) Annotations ¶
func (h StringType) Annotations() raml.AnnotationMap
func (*StringType) Default ¶
func (o *StringType) Default() option.String
func (*StringType) Enum ¶
func (o *StringType) Enum() []string
func (*StringType) Example ¶
func (o *StringType) Example() raml.StringExample
func (*StringType) Examples ¶
func (o *StringType) Examples() raml.StringExampleMap
func (StringType) ExtraFacets ¶
func (*StringType) MaxLength ¶
func (o *StringType) MaxLength() option.Uint
func (*StringType) MinLength ¶
func (o *StringType) MinLength() uint
func (*StringType) Pattern ¶
func (o *StringType) Pattern() option.String
func (*StringType) SetAnnotations ¶
func (o *StringType) SetAnnotations(annotations raml.AnnotationMap) raml.StringType
func (*StringType) SetDefault ¶
func (o *StringType) SetDefault(i string) raml.StringType
func (*StringType) SetDescription ¶
func (o *StringType) SetDescription(s string) raml.StringType
func (*StringType) SetDisplayName ¶
func (o *StringType) SetDisplayName(s string) raml.StringType
func (*StringType) SetEnum ¶
func (o *StringType) SetEnum(i []string) raml.StringType
func (*StringType) SetExample ¶
func (o *StringType) SetExample(ex raml.StringExample) raml.StringType
func (*StringType) SetExamples ¶
func (o *StringType) SetExamples(examples raml.StringExampleMap) raml.StringType
func (*StringType) SetExtraFacets ¶
func (o *StringType) SetExtraFacets(facets raml.AnyMap) raml.StringType
func (*StringType) SetFacetDefinitions ¶
func (o *StringType) SetFacetDefinitions(facets raml.FacetMap) raml.StringType
func (*StringType) SetMaxLength ¶
func (o *StringType) SetMaxLength(u uint) raml.StringType
func (*StringType) SetMinLength ¶
func (o *StringType) SetMinLength(min uint) raml.StringType
func (*StringType) SetPattern ¶
func (o *StringType) SetPattern(pat string) raml.StringType
func (*StringType) SetRequired ¶
func (o *StringType) SetRequired(b bool) raml.StringType
func (*StringType) SetType ¶
func (o *StringType) SetType(s string) raml.StringType
func (*StringType) SetXML ¶
func (o *StringType) SetXML(x raml.XML) raml.StringType
func (*StringType) UnsetAnnotations ¶
func (o *StringType) UnsetAnnotations() raml.StringType
func (*StringType) UnsetDefault ¶
func (o *StringType) UnsetDefault() raml.StringType
func (*StringType) UnsetDescription ¶
func (o *StringType) UnsetDescription() raml.StringType
func (*StringType) UnsetDisplayName ¶
func (o *StringType) UnsetDisplayName() raml.StringType
func (*StringType) UnsetEnum ¶
func (o *StringType) UnsetEnum() raml.StringType
func (*StringType) UnsetExample ¶
func (o *StringType) UnsetExample() raml.StringType
func (*StringType) UnsetExamples ¶
func (o *StringType) UnsetExamples() raml.StringType
func (*StringType) UnsetExtraFacets ¶
func (o *StringType) UnsetExtraFacets() raml.StringType
func (*StringType) UnsetFacetDefinitions ¶
func (o *StringType) UnsetFacetDefinitions() raml.StringType
func (*StringType) UnsetMaxLength ¶
func (o *StringType) UnsetMaxLength() raml.StringType
func (*StringType) UnsetPattern ¶
func (o *StringType) UnsetPattern() raml.StringType
func (*StringType) UnsetXML ¶
func (o *StringType) UnsetXML() raml.StringType
type TimeOnlyExample ¶
type TimeOnlyExample struct {
// contains filtered or unexported fields
}
TimeOnlyExample is a generated internal implementation of the raml.TimeOnlyExample interface.
func NewTimeOnlyExample ¶
func NewTimeOnlyExample() *TimeOnlyExample
NewTimeOnlyExample returns a new internal implementation of the raml.TimeOnlyExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*TimeOnlyExample) Annotations ¶
func (e *TimeOnlyExample) Annotations() raml.AnnotationMap
func (*TimeOnlyExample) Description ¶
func (e *TimeOnlyExample) Description() option.String
func (*TimeOnlyExample) DisplayName ¶
func (e *TimeOnlyExample) DisplayName() option.String
func (*TimeOnlyExample) ExtraFacets ¶
func (e *TimeOnlyExample) ExtraFacets() raml.AnyMap
func (*TimeOnlyExample) MarshalRAML ¶
func (e *TimeOnlyExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*TimeOnlyExample) SetAnnotations ¶
func (e *TimeOnlyExample) SetAnnotations(ann raml.AnnotationMap) raml.TimeOnlyExample
func (*TimeOnlyExample) SetDescription ¶
func (e *TimeOnlyExample) SetDescription(desc string) raml.TimeOnlyExample
func (*TimeOnlyExample) SetDisplayName ¶
func (e *TimeOnlyExample) SetDisplayName(name string) raml.TimeOnlyExample
func (*TimeOnlyExample) SetStrict ¶
func (e *TimeOnlyExample) SetStrict(b bool) raml.TimeOnlyExample
func (*TimeOnlyExample) SetValue ¶
func (e *TimeOnlyExample) SetValue(val string) raml.TimeOnlyExample
func (*TimeOnlyExample) Strict ¶
func (e *TimeOnlyExample) Strict() bool
func (TimeOnlyExample) ToYAML ¶
func (e TimeOnlyExample) ToYAML() (*yaml.Node, error)
func (*TimeOnlyExample) UnmarshalRAML ¶
func (e *TimeOnlyExample) UnmarshalRAML(value *yaml.Node) error
func (*TimeOnlyExample) UnsetAnnotations ¶
func (e *TimeOnlyExample) UnsetAnnotations() raml.TimeOnlyExample
func (*TimeOnlyExample) UnsetDescription ¶
func (e *TimeOnlyExample) UnsetDescription() raml.TimeOnlyExample
func (*TimeOnlyExample) UnsetDisplayName ¶
func (e *TimeOnlyExample) UnsetDisplayName() raml.TimeOnlyExample
func (*TimeOnlyExample) UnsetValue ¶
func (e *TimeOnlyExample) UnsetValue() raml.TimeOnlyExample
func (*TimeOnlyExample) Value ¶
func (e *TimeOnlyExample) Value() option.String
type TimeOnlyType ¶
type TimeOnlyType struct { *ExtendedDataType // contains filtered or unexported fields }
TimeOnlyType is a default generated implementation of the raml.TimeOnlyType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewTimeOnlyType ¶
func NewTimeOnlyType() *TimeOnlyType
NewTimeOnlyType returns a new internal implementation of the raml.TimeOnlyType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (TimeOnlyType) Annotations ¶
func (h TimeOnlyType) Annotations() raml.AnnotationMap
func (*TimeOnlyType) Default ¶
func (o *TimeOnlyType) Default() option.String
func (*TimeOnlyType) Enum ¶
func (o *TimeOnlyType) Enum() []string
func (*TimeOnlyType) Example ¶
func (o *TimeOnlyType) Example() raml.TimeOnlyExample
func (*TimeOnlyType) Examples ¶
func (o *TimeOnlyType) Examples() raml.TimeOnlyExampleMap
func (TimeOnlyType) ExtraFacets ¶
func (*TimeOnlyType) SetAnnotations ¶
func (o *TimeOnlyType) SetAnnotations(annotations raml.AnnotationMap) raml.TimeOnlyType
func (*TimeOnlyType) SetDefault ¶
func (o *TimeOnlyType) SetDefault(i string) raml.TimeOnlyType
func (*TimeOnlyType) SetDescription ¶
func (o *TimeOnlyType) SetDescription(s string) raml.TimeOnlyType
func (*TimeOnlyType) SetDisplayName ¶
func (o *TimeOnlyType) SetDisplayName(s string) raml.TimeOnlyType
func (*TimeOnlyType) SetEnum ¶
func (o *TimeOnlyType) SetEnum(i []string) raml.TimeOnlyType
func (*TimeOnlyType) SetExample ¶
func (o *TimeOnlyType) SetExample(ex raml.TimeOnlyExample) raml.TimeOnlyType
func (*TimeOnlyType) SetExamples ¶
func (o *TimeOnlyType) SetExamples(examples raml.TimeOnlyExampleMap) raml.TimeOnlyType
func (*TimeOnlyType) SetExtraFacets ¶
func (o *TimeOnlyType) SetExtraFacets(facets raml.AnyMap) raml.TimeOnlyType
func (*TimeOnlyType) SetFacetDefinitions ¶
func (o *TimeOnlyType) SetFacetDefinitions(facets raml.FacetMap) raml.TimeOnlyType
func (*TimeOnlyType) SetRequired ¶
func (o *TimeOnlyType) SetRequired(b bool) raml.TimeOnlyType
func (*TimeOnlyType) SetType ¶
func (o *TimeOnlyType) SetType(s string) raml.TimeOnlyType
func (*TimeOnlyType) SetXML ¶
func (o *TimeOnlyType) SetXML(x raml.XML) raml.TimeOnlyType
func (*TimeOnlyType) UnsetAnnotations ¶
func (o *TimeOnlyType) UnsetAnnotations() raml.TimeOnlyType
func (*TimeOnlyType) UnsetDefault ¶
func (o *TimeOnlyType) UnsetDefault() raml.TimeOnlyType
func (*TimeOnlyType) UnsetDescription ¶
func (o *TimeOnlyType) UnsetDescription() raml.TimeOnlyType
func (*TimeOnlyType) UnsetDisplayName ¶
func (o *TimeOnlyType) UnsetDisplayName() raml.TimeOnlyType
func (*TimeOnlyType) UnsetEnum ¶
func (o *TimeOnlyType) UnsetEnum() raml.TimeOnlyType
func (*TimeOnlyType) UnsetExample ¶
func (o *TimeOnlyType) UnsetExample() raml.TimeOnlyType
func (*TimeOnlyType) UnsetExamples ¶
func (o *TimeOnlyType) UnsetExamples() raml.TimeOnlyType
func (*TimeOnlyType) UnsetExtraFacets ¶
func (o *TimeOnlyType) UnsetExtraFacets() raml.TimeOnlyType
func (*TimeOnlyType) UnsetFacetDefinitions ¶
func (o *TimeOnlyType) UnsetFacetDefinitions() raml.TimeOnlyType
func (*TimeOnlyType) UnsetXML ¶
func (o *TimeOnlyType) UnsetXML() raml.TimeOnlyType
type UnionExample ¶
type UnionExample struct {
// contains filtered or unexported fields
}
UnionExample is a generated internal implementation of the raml.UnionExample interface.
func NewUnionExample ¶
func NewUnionExample() *UnionExample
NewUnionExample returns a new internal implementation of the raml.UnionExample interface.
Generated @ 2023-01-17T11:42:46.993195814-05:00
func (*UnionExample) Annotations ¶
func (e *UnionExample) Annotations() raml.AnnotationMap
func (*UnionExample) Description ¶
func (e *UnionExample) Description() option.String
func (*UnionExample) DisplayName ¶
func (e *UnionExample) DisplayName() option.String
func (*UnionExample) ExtraFacets ¶
func (e *UnionExample) ExtraFacets() raml.AnyMap
func (*UnionExample) MarshalRAML ¶
func (e *UnionExample) MarshalRAML(out raml.AnyMap) (bool, error)
func (*UnionExample) SetAnnotations ¶
func (e *UnionExample) SetAnnotations(ann raml.AnnotationMap) raml.UnionExample
func (*UnionExample) SetDescription ¶
func (e *UnionExample) SetDescription(desc string) raml.UnionExample
func (*UnionExample) SetDisplayName ¶
func (e *UnionExample) SetDisplayName(name string) raml.UnionExample
func (*UnionExample) SetStrict ¶
func (e *UnionExample) SetStrict(b bool) raml.UnionExample
func (*UnionExample) SetValue ¶
func (e *UnionExample) SetValue(val interface{}) raml.UnionExample
func (*UnionExample) Strict ¶
func (e *UnionExample) Strict() bool
func (UnionExample) ToYAML ¶
func (e UnionExample) ToYAML() (*yaml.Node, error)
func (*UnionExample) UnmarshalRAML ¶
func (e *UnionExample) UnmarshalRAML(value *yaml.Node) error
func (*UnionExample) UnsetAnnotations ¶
func (e *UnionExample) UnsetAnnotations() raml.UnionExample
func (*UnionExample) UnsetDescription ¶
func (e *UnionExample) UnsetDescription() raml.UnionExample
func (*UnionExample) UnsetDisplayName ¶
func (e *UnionExample) UnsetDisplayName() raml.UnionExample
func (*UnionExample) UnsetValue ¶
func (e *UnionExample) UnsetValue() raml.UnionExample
func (*UnionExample) Value ¶
func (e *UnionExample) Value() option.Untyped
type UnionType ¶
type UnionType struct { *ExtendedDataType // contains filtered or unexported fields }
UnionType is a default generated implementation of the raml.UnionType interface
Generated @ 2023-01-17T10:02:54.294844187-05:00
func NewUnionType ¶
func NewUnionType() *UnionType
NewUnionType returns a new internal implementation of the raml.UnionType interface.
Generated @ 2023-01-17T10:02:54.294844187-05:00
func (UnionType) Annotations ¶
func (h UnionType) Annotations() raml.AnnotationMap
func (*UnionType) Example ¶
func (o *UnionType) Example() raml.UnionExample
func (*UnionType) Examples ¶
func (o *UnionType) Examples() raml.UnionExampleMap
func (UnionType) ExtraFacets ¶
func (*UnionType) SetAnnotations ¶
func (o *UnionType) SetAnnotations(annotations raml.AnnotationMap) raml.UnionType
func (*UnionType) SetDefault ¶
func (*UnionType) SetExample ¶
func (o *UnionType) SetExample(ex raml.UnionExample) raml.UnionType
func (*UnionType) SetExamples ¶
func (o *UnionType) SetExamples(examples raml.UnionExampleMap) raml.UnionType
func (*UnionType) SetExtraFacets ¶
func (*UnionType) SetFacetDefinitions ¶
func (*UnionType) UnsetAnnotations ¶
func (*UnionType) UnsetDefault ¶
func (*UnionType) UnsetDescription ¶
func (*UnionType) UnsetDisplayName ¶
func (*UnionType) UnsetExample ¶
func (*UnionType) UnsetExamples ¶
func (*UnionType) UnsetExtraFacets ¶
func (*UnionType) UnsetFacetDefinitions ¶
type XML ¶
type XML struct {
// contains filtered or unexported fields
}
func (*XML) IsAttribute ¶
func (*XML) UnmarshalRAML ¶
func (*XML) UnsetIsAttribute ¶
func (*XML) UnsetIsWrapped ¶
func (*XML) UnsetNamespace ¶
func (*XML) UnsetPrefix ¶
Source Files ¶
- APISpec.go
- DataType.go
- Documentation.go
- Library.go
- annotation.go
- enum-date-format.go
- enum-integer-format.go
- enum-number-format.go
- fn-sorting-hat-date-format.go
- fn-sorting-hat-example.go
- fn-sorting-hat-integer-format.go
- fn-sorting-hat-number-format.go
- fn-sorting-hat-property.go
- fn-sorting-hat-type.go
- in-components.go
- in-concrete-type.go
- type-datatype-ext.go
- type-facet.go
- type-xml.go
- util-ann-map.go
- util-dt-map.go
- util-ex-map.go
- util-facet-map.go
- util-str-map.go
- util-untyped-map.go
- x-gen-ex-any.go
- x-gen-ex-array.go
- x-gen-ex-bool.go
- x-gen-ex-custom.go
- x-gen-ex-dateonly.go
- x-gen-ex-datetime.go
- x-gen-ex-datetimeonly.go
- x-gen-ex-file.go
- x-gen-ex-integer.go
- x-gen-ex-number.go
- x-gen-ex-object.go
- x-gen-ex-string.go
- x-gen-ex-timeonly.go
- x-gen-ex-union.go
- x-gen-type-any.go
- x-gen-type-array.go
- x-gen-type-bool.go
- x-gen-type-custom.go
- x-gen-type-date-only.go
- x-gen-type-datetime-only.go
- x-gen-type-datetime.go
- x-gen-type-file.go
- x-gen-type-include.go
- x-gen-type-integer.go
- x-gen-type-nil.go
- x-gen-type-number.go
- x-gen-type-object.go
- x-gen-type-string.go
- x-gen-type-time-only.go
- x-gen-type-union.go