raml

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 NewFacet

func NewFacet() raml.Facet

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 PropertySortingHat(val *yaml.Node) (raml.Property, error)

func TypeSortingHat

func TypeSortingHat(val *yaml.Node) (out raml.DataType, err error)

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 UnmarshalFacetMapRAML(dMap raml.FacetMap, y *yaml.Node) error

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 UnmarshalStringMapRAML(sMap raml.StringMap, y *yaml.Node) error

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) BaseURI

func (a *APISpec) BaseURI() option.String

func (*APISpec) BaseURIParameters

func (a *APISpec) BaseURIParameters() raml.UntypedMap

func (*APISpec) Description

func (a *APISpec) Description() option.String

func (*APISpec) Documentation

func (a *APISpec) Documentation() []raml.Documentation

func (*APISpec) ExtraFacets

func (a *APISpec) ExtraFacets() raml.AnyMap

func (APISpec) MarshalYAML

func (a APISpec) MarshalYAML() (interface{}, error)

func (*APISpec) MediaTypes

func (a *APISpec) MediaTypes() []string

func (*APISpec) Protocols

func (a *APISpec) Protocols() []string

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) SecuredBy

func (a *APISpec) SecuredBy() []string

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) SetBaseURI

func (a *APISpec) SetBaseURI(s string) raml.APISpec

func (*APISpec) SetDescription

func (a *APISpec) SetDescription(s string) raml.APISpec

func (*APISpec) SetDocumentation

func (a *APISpec) SetDocumentation(d []raml.Documentation) raml.APISpec

func (*APISpec) SetMediaTypes

func (a *APISpec) SetMediaTypes(s []string) raml.APISpec

func (*APISpec) SetProtocols

func (a *APISpec) SetProtocols(s []string) 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) SetSecuredBy

func (a *APISpec) SetSecuredBy(s []string) raml.APISpec

func (*APISpec) SetSecuritySchemes

func (a *APISpec) SetSecuritySchemes(t raml.UntypedMap) raml.APISpec

func (*APISpec) SetTitle

func (a *APISpec) SetTitle(t string) raml.APISpec

func (*APISpec) SetTraits

func (a *APISpec) SetTraits(t raml.UntypedMap) raml.APISpec

func (*APISpec) SetTypes

func (a *APISpec) SetTypes(t raml.DataTypeMap) raml.APISpec

func (*APISpec) SetUses

func (a *APISpec) SetUses(s raml.StringMap) raml.APISpec

func (*APISpec) SetVersion

func (a *APISpec) SetVersion(s string) raml.APISpec

func (*APISpec) Title

func (a *APISpec) Title() string

func (*APISpec) Traits

func (a *APISpec) Traits() raml.UntypedMap

func (*APISpec) Types

func (a *APISpec) Types() raml.DataTypeMap

func (*APISpec) UnmarshalYAML

func (a *APISpec) UnmarshalYAML(raw *yaml.Node) error

func (*APISpec) UnsetAnnotationTypes

func (a *APISpec) UnsetAnnotationTypes() raml.APISpec

func (*APISpec) UnsetAnnotations

func (a *APISpec) UnsetAnnotations() raml.APISpec

func (*APISpec) UnsetBaseURI

func (a *APISpec) UnsetBaseURI() raml.APISpec

func (*APISpec) UnsetDescription

func (a *APISpec) UnsetDescription() raml.APISpec

func (*APISpec) UnsetDocumentation

func (a *APISpec) UnsetDocumentation() raml.APISpec

func (*APISpec) UnsetMediaTypes

func (a *APISpec) UnsetMediaTypes() raml.APISpec

func (*APISpec) UnsetProtocols

func (a *APISpec) UnsetProtocols() raml.APISpec

func (*APISpec) UnsetResourceTypes

func (a *APISpec) UnsetResourceTypes() raml.APISpec

func (*APISpec) UnsetSchemas

func (a *APISpec) UnsetSchemas() raml.APISpec

func (*APISpec) UnsetSecuredBy

func (a *APISpec) UnsetSecuredBy() raml.APISpec

func (*APISpec) UnsetSecuritySchemes

func (a *APISpec) UnsetSecuritySchemes() raml.APISpec

func (*APISpec) UnsetTraits

func (a *APISpec) UnsetTraits() raml.APISpec

func (*APISpec) UnsetTypes

func (a *APISpec) UnsetTypes() raml.APISpec

func (*APISpec) UnsetUses

func (a *APISpec) UnsetUses() raml.APISpec

func (*APISpec) UnsetVersion

func (a *APISpec) UnsetVersion() raml.APISpec

func (*APISpec) Uses

func (a *APISpec) Uses() raml.StringMap

func (*APISpec) Version

func (a *APISpec) Version() option.String

func (*APISpec) WriteRAML

func (a *APISpec) WriteRAML(w io.Writer) error

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) Default

func (o *AnyType) Default() option.Untyped

func (*AnyType) Enum

func (o *AnyType) Enum() []interface{}

func (*AnyType) Example

func (o *AnyType) Example() raml.AnyExample

func (*AnyType) Examples

func (o *AnyType) Examples() raml.AnyExampleMap

func (AnyType) ExtraFacets

func (h AnyType) ExtraFacets() raml.AnyMap

func (*AnyType) SetAnnotations

func (o *AnyType) SetAnnotations(annotations raml.AnnotationMap) raml.AnyType

func (*AnyType) SetDefault

func (o *AnyType) SetDefault(i interface{}) raml.AnyType

func (*AnyType) SetDescription

func (o *AnyType) SetDescription(s string) raml.AnyType

func (*AnyType) SetDisplayName

func (o *AnyType) SetDisplayName(s string) raml.AnyType

func (*AnyType) SetEnum

func (o *AnyType) SetEnum(i []interface{}) raml.AnyType

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) SetExtraFacets

func (o *AnyType) SetExtraFacets(facets raml.AnyMap) raml.AnyType

func (*AnyType) SetFacetDefinitions

func (o *AnyType) SetFacetDefinitions(facets raml.FacetMap) raml.AnyType

func (*AnyType) SetRequired

func (o *AnyType) SetRequired(b bool) raml.AnyType

func (*AnyType) SetType

func (o *AnyType) SetType(s string) raml.AnyType

func (*AnyType) SetXML

func (o *AnyType) SetXML(x raml.XML) raml.AnyType

func (*AnyType) UnsetAnnotations

func (o *AnyType) UnsetAnnotations() raml.AnyType

func (*AnyType) UnsetDefault

func (o *AnyType) UnsetDefault() raml.AnyType

func (*AnyType) UnsetDescription

func (o *AnyType) UnsetDescription() raml.AnyType

func (*AnyType) UnsetDisplayName

func (o *AnyType) UnsetDisplayName() raml.AnyType

func (*AnyType) UnsetEnum

func (o *AnyType) UnsetEnum() raml.AnyType

func (*AnyType) UnsetExample

func (o *AnyType) UnsetExample() raml.AnyType

func (*AnyType) UnsetExamples

func (o *AnyType) UnsetExamples() raml.AnyType

func (*AnyType) UnsetExtraFacets

func (o *AnyType) UnsetExtraFacets() raml.AnyType

func (*AnyType) UnsetFacetDefinitions

func (o *AnyType) UnsetFacetDefinitions() raml.AnyType

func (*AnyType) UnsetXML

func (o *AnyType) UnsetXML() raml.AnyType

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) Default

func (o *ArrayType) Default() []interface{}

func (*ArrayType) Enum

func (o *ArrayType) Enum() []interface{}

func (*ArrayType) Example

func (o *ArrayType) Example() raml.ArrayExample

func (*ArrayType) Examples

func (o *ArrayType) Examples() raml.ArrayExampleMap

func (ArrayType) ExtraFacets

func (h ArrayType) ExtraFacets() raml.AnyMap

func (*ArrayType) Items

func (o *ArrayType) Items() raml.DataType

func (*ArrayType) MaxItems

func (o *ArrayType) MaxItems() uint

func (*ArrayType) MinItems

func (o *ArrayType) MinItems() uint

func (*ArrayType) SetAnnotations

func (o *ArrayType) SetAnnotations(annotations raml.AnnotationMap) raml.ArrayType

func (*ArrayType) SetDefault

func (o *ArrayType) SetDefault(i []interface{}) raml.ArrayType

func (*ArrayType) SetDescription

func (o *ArrayType) SetDescription(s string) raml.ArrayType

func (*ArrayType) SetDisplayName

func (o *ArrayType) SetDisplayName(s string) raml.ArrayType

func (*ArrayType) SetEnum

func (o *ArrayType) SetEnum(i []interface{}) raml.ArrayType

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 (o *ArrayType) SetExtraFacets(facets raml.AnyMap) raml.ArrayType

func (*ArrayType) SetFacetDefinitions

func (o *ArrayType) SetFacetDefinitions(facets raml.FacetMap) raml.ArrayType

func (*ArrayType) SetItems

func (o *ArrayType) SetItems(val raml.DataType) raml.ArrayType

func (*ArrayType) SetMaxItems

func (o *ArrayType) SetMaxItems(u uint) raml.ArrayType

func (*ArrayType) SetMinItems

func (o *ArrayType) SetMinItems(min uint) raml.ArrayType

func (*ArrayType) SetRequired

func (o *ArrayType) SetRequired(b bool) raml.ArrayType

func (*ArrayType) SetType

func (o *ArrayType) SetType(s string) raml.ArrayType

func (*ArrayType) SetUniqueItems

func (o *ArrayType) SetUniqueItems(val bool) raml.ArrayType

func (*ArrayType) SetXML

func (o *ArrayType) SetXML(x raml.XML) raml.ArrayType

func (*ArrayType) UniqueItems

func (o *ArrayType) UniqueItems() bool

func (*ArrayType) UnsetAnnotations

func (o *ArrayType) UnsetAnnotations() raml.ArrayType

func (*ArrayType) UnsetDefault

func (o *ArrayType) UnsetDefault() raml.ArrayType

func (*ArrayType) UnsetDescription

func (o *ArrayType) UnsetDescription() raml.ArrayType

func (*ArrayType) UnsetDisplayName

func (o *ArrayType) UnsetDisplayName() raml.ArrayType

func (*ArrayType) UnsetEnum

func (o *ArrayType) UnsetEnum() raml.ArrayType

func (*ArrayType) UnsetExample

func (o *ArrayType) UnsetExample() raml.ArrayType

func (*ArrayType) UnsetExamples

func (o *ArrayType) UnsetExamples() raml.ArrayType

func (*ArrayType) UnsetExtraFacets

func (o *ArrayType) UnsetExtraFacets() raml.ArrayType

func (*ArrayType) UnsetFacetDefinitions

func (o *ArrayType) UnsetFacetDefinitions() raml.ArrayType

func (*ArrayType) UnsetItems

func (o *ArrayType) UnsetItems() raml.ArrayType

func (*ArrayType) UnsetXML

func (o *ArrayType) UnsetXML() raml.ArrayType

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) Default

func (o *BoolType) Default() option.Bool

func (*BoolType) Enum

func (o *BoolType) Enum() []bool

func (*BoolType) Example

func (o *BoolType) Example() raml.BoolExample

func (*BoolType) Examples

func (o *BoolType) Examples() raml.BoolExampleMap

func (BoolType) ExtraFacets

func (h BoolType) ExtraFacets() raml.AnyMap

func (*BoolType) SetAnnotations

func (o *BoolType) SetAnnotations(annotations raml.AnnotationMap) raml.BoolType

func (*BoolType) SetDefault

func (o *BoolType) SetDefault(i bool) raml.BoolType

func (*BoolType) SetDescription

func (o *BoolType) SetDescription(s string) raml.BoolType

func (*BoolType) SetDisplayName

func (o *BoolType) SetDisplayName(s string) raml.BoolType

func (*BoolType) SetEnum

func (o *BoolType) SetEnum(i []bool) 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 (o *BoolType) SetExtraFacets(facets raml.AnyMap) raml.BoolType

func (*BoolType) SetFacetDefinitions

func (o *BoolType) SetFacetDefinitions(facets raml.FacetMap) raml.BoolType

func (*BoolType) SetRequired

func (o *BoolType) SetRequired(b bool) raml.BoolType

func (*BoolType) SetType

func (o *BoolType) SetType(s string) raml.BoolType

func (*BoolType) SetXML

func (o *BoolType) SetXML(x raml.XML) raml.BoolType

func (*BoolType) UnsetAnnotations

func (o *BoolType) UnsetAnnotations() raml.BoolType

func (*BoolType) UnsetDefault

func (o *BoolType) UnsetDefault() raml.BoolType

func (*BoolType) UnsetDescription

func (o *BoolType) UnsetDescription() raml.BoolType

func (*BoolType) UnsetDisplayName

func (o *BoolType) UnsetDisplayName() raml.BoolType

func (*BoolType) UnsetEnum

func (o *BoolType) UnsetEnum() raml.BoolType

func (*BoolType) UnsetExample

func (o *BoolType) UnsetExample() raml.BoolType

func (*BoolType) UnsetExamples

func (o *BoolType) UnsetExamples() raml.BoolType

func (*BoolType) UnsetExtraFacets

func (o *BoolType) UnsetExtraFacets() raml.BoolType

func (*BoolType) UnsetFacetDefinitions

func (o *BoolType) UnsetFacetDefinitions() raml.BoolType

func (*BoolType) UnsetXML

func (o *BoolType) UnsetXML() raml.BoolType

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 (h CustomType) ExtraFacets() raml.AnyMap

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 (h *DataType) ExtraFacets() raml.AnyMap

func (*DataType) Kind

func (d *DataType) Kind() rmeta.DataTypeKind

func (*DataType) MarshalRAML

func (d *DataType) MarshalRAML(out raml.AnyMap) (bool, error)

func (DataType) MarshalYAML

func (d DataType) MarshalYAML() (interface{}, error)

func (*DataType) OverrideType

func (d *DataType) OverrideType(t string)

func (*DataType) Schema

func (d *DataType) Schema() string

func (*DataType) ToRAML

func (d *DataType) ToRAML() (string, error)

func (DataType) ToYAML

func (d DataType) ToYAML() (*yaml.Node, error)

func (*DataType) Type

func (d *DataType) Type() string

func (*DataType) UnmarshalRAML

func (d *DataType) UnmarshalRAML(val *yaml.Node) error

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 (h DateOnlyType) ExtraFacets() raml.AnyMap

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 (*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 (*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 (*DatetimeOnlyExample) SetValue

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 (*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 (*DatetimeOnlyType) Examples

func (DatetimeOnlyType) ExtraFacets

func (h DatetimeOnlyType) ExtraFacets() raml.AnyMap

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 (*DatetimeOnlyType) SetExamples

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 (*DatetimeOnlyType) SetXML

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 (h DatetimeType) ExtraFacets() raml.AnyMap

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 (*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 (h ExtendedDataType) ExtraFacets() raml.AnyMap

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) Default

func (o *FileType) Default() option.Untyped

func (*FileType) Enum

func (o *FileType) Enum() []interface{}

func (*FileType) Example

func (o *FileType) Example() raml.FileExample

func (*FileType) Examples

func (o *FileType) Examples() raml.FileExampleMap

func (FileType) ExtraFacets

func (h FileType) ExtraFacets() raml.AnyMap

func (*FileType) FileTypes

func (o *FileType) FileTypes() []string

func (*FileType) MaxLength

func (o *FileType) MaxLength() uint

func (*FileType) MinLength

func (o *FileType) MinLength() uint

func (*FileType) SetAnnotations

func (o *FileType) SetAnnotations(annotations raml.AnnotationMap) raml.FileType

func (*FileType) SetDefault

func (o *FileType) SetDefault(i interface{}) raml.FileType

func (*FileType) SetDescription

func (o *FileType) SetDescription(s string) raml.FileType

func (*FileType) SetDisplayName

func (o *FileType) SetDisplayName(s string) raml.FileType

func (*FileType) SetEnum

func (o *FileType) SetEnum(i []interface{}) raml.FileType

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 (o *FileType) SetExtraFacets(facets raml.AnyMap) raml.FileType

func (*FileType) SetFacetDefinitions

func (o *FileType) SetFacetDefinitions(facets raml.FacetMap) raml.FileType

func (*FileType) SetFileTypes

func (o *FileType) SetFileTypes(val []string) raml.FileType

func (*FileType) SetMaxLength

func (o *FileType) SetMaxLength(u uint) raml.FileType

func (*FileType) SetMinLength

func (o *FileType) SetMinLength(min uint) raml.FileType

func (*FileType) SetRequired

func (o *FileType) SetRequired(b bool) raml.FileType

func (*FileType) SetType

func (o *FileType) SetType(s string) raml.FileType

func (*FileType) SetXML

func (o *FileType) SetXML(x raml.XML) raml.FileType

func (*FileType) UnsetAnnotations

func (o *FileType) UnsetAnnotations() raml.FileType

func (*FileType) UnsetDefault

func (o *FileType) UnsetDefault() raml.FileType

func (*FileType) UnsetDescription

func (o *FileType) UnsetDescription() raml.FileType

func (*FileType) UnsetDisplayName

func (o *FileType) UnsetDisplayName() raml.FileType

func (*FileType) UnsetEnum

func (o *FileType) UnsetEnum() raml.FileType

func (*FileType) UnsetExample

func (o *FileType) UnsetExample() raml.FileType

func (*FileType) UnsetExamples

func (o *FileType) UnsetExamples() raml.FileType

func (*FileType) UnsetExtraFacets

func (o *FileType) UnsetExtraFacets() raml.FileType

func (*FileType) UnsetFacetDefinitions

func (o *FileType) UnsetFacetDefinitions() raml.FileType

func (*FileType) UnsetFileTypes

func (o *FileType) UnsetFileTypes() raml.FileType

func (*FileType) UnsetXML

func (o *FileType) UnsetXML() raml.FileType

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

func (h IncludeType) ExtraFacets() raml.AnyMap

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 (h IntegerType) ExtraFacets() raml.AnyMap

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 (l *Library) ExtraFacets() raml.AnyMap

func (Library) MarshalYAML

func (l Library) MarshalYAML() (interface{}, error)

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) SetTraits

func (l *Library) SetTraits(traits raml.UntypedMap) raml.Library

func (*Library) SetTypes

func (l *Library) SetTypes(types raml.DataTypeMap) raml.Library

func (*Library) SetUsage

func (l *Library) SetUsage(usage string) raml.Library

func (*Library) SetUses

func (l *Library) SetUses(uses raml.StringMap) raml.Library

func (*Library) Traits

func (l *Library) Traits() raml.UntypedMap

func (*Library) Types

func (l *Library) Types() raml.DataTypeMap

func (*Library) UnmarshalYAML

func (l *Library) UnmarshalYAML(root *yaml.Node) error

func (*Library) UnsetAnnotations

func (l *Library) UnsetAnnotations() raml.Library

func (*Library) UnsetResourceTypes

func (l *Library) UnsetResourceTypes() raml.Library

func (*Library) UnsetSchemas

func (l *Library) UnsetSchemas() raml.Library

func (*Library) UnsetTraits

func (l *Library) UnsetTraits() raml.Library

func (*Library) UnsetTypes

func (l *Library) UnsetTypes() raml.Library

func (*Library) UnsetUsage

func (l *Library) UnsetUsage() raml.Library

func (*Library) UnsetUses

func (l *Library) UnsetUses() raml.Library

func (*Library) Usage

func (l *Library) Usage() option.String

func (*Library) Uses

func (l *Library) Uses() raml.StringMap

func (*Library) WriteRAML

func (l *Library) WriteRAML(w io.Writer) error

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

func (h NilType) ExtraFacets() raml.AnyMap

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 (h NumberType) ExtraFacets() raml.AnyMap

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 (h ObjectType) ExtraFacets() raml.AnyMap

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 (h StringType) ExtraFacets() raml.AnyMap

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 (h TimeOnlyType) ExtraFacets() raml.AnyMap

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 (*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) Default

func (o *UnionType) Default() option.Untyped

func (*UnionType) Enum

func (o *UnionType) Enum() []interface{}

func (*UnionType) Example

func (o *UnionType) Example() raml.UnionExample

func (*UnionType) Examples

func (o *UnionType) Examples() raml.UnionExampleMap

func (UnionType) ExtraFacets

func (h UnionType) ExtraFacets() raml.AnyMap

func (*UnionType) SetAnnotations

func (o *UnionType) SetAnnotations(annotations raml.AnnotationMap) raml.UnionType

func (*UnionType) SetDefault

func (o *UnionType) SetDefault(i interface{}) raml.UnionType

func (*UnionType) SetDescription

func (o *UnionType) SetDescription(s string) raml.UnionType

func (*UnionType) SetDisplayName

func (o *UnionType) SetDisplayName(s string) raml.UnionType

func (*UnionType) SetEnum

func (o *UnionType) SetEnum(i []interface{}) raml.UnionType

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 (o *UnionType) SetExtraFacets(facets raml.AnyMap) raml.UnionType

func (*UnionType) SetFacetDefinitions

func (o *UnionType) SetFacetDefinitions(facets raml.FacetMap) raml.UnionType

func (*UnionType) SetRequired

func (o *UnionType) SetRequired(b bool) raml.UnionType

func (*UnionType) SetType

func (o *UnionType) SetType(s string) raml.UnionType

func (*UnionType) SetXML

func (o *UnionType) SetXML(x raml.XML) raml.UnionType

func (*UnionType) UnsetAnnotations

func (o *UnionType) UnsetAnnotations() raml.UnionType

func (*UnionType) UnsetDefault

func (o *UnionType) UnsetDefault() raml.UnionType

func (*UnionType) UnsetDescription

func (o *UnionType) UnsetDescription() raml.UnionType

func (*UnionType) UnsetDisplayName

func (o *UnionType) UnsetDisplayName() raml.UnionType

func (*UnionType) UnsetEnum

func (o *UnionType) UnsetEnum() raml.UnionType

func (*UnionType) UnsetExample

func (o *UnionType) UnsetExample() raml.UnionType

func (*UnionType) UnsetExamples

func (o *UnionType) UnsetExamples() raml.UnionType

func (*UnionType) UnsetExtraFacets

func (o *UnionType) UnsetExtraFacets() raml.UnionType

func (*UnionType) UnsetFacetDefinitions

func (o *UnionType) UnsetFacetDefinitions() raml.UnionType

func (*UnionType) UnsetXML

func (o *UnionType) UnsetXML() raml.UnionType

type XML

type XML struct {
	// contains filtered or unexported fields
}

func NewXML

func NewXML() *XML

func (*XML) IsAttribute

func (x *XML) IsAttribute() option.Bool

func (*XML) IsWrapped

func (x *XML) IsWrapped() option.Bool

func (XML) MarshalRAML

func (x XML) MarshalRAML(out raml.AnyMap) (bool, error)

func (*XML) Name

func (x *XML) Name() option.String

func (*XML) Namespace

func (x *XML) Namespace() option.String

func (*XML) Prefix

func (x *XML) Prefix() option.String

func (*XML) SetIsAttribute

func (x *XML) SetIsAttribute(b bool) raml.XML

func (*XML) SetIsWrapped

func (x *XML) SetIsWrapped(b bool) raml.XML

func (*XML) SetName

func (x *XML) SetName(s string) raml.XML

func (*XML) SetNamespace

func (x *XML) SetNamespace(s string) raml.XML

func (*XML) SetPrefix

func (x *XML) SetPrefix(s string) raml.XML

func (*XML) UnmarshalRAML

func (x *XML) UnmarshalRAML(v *yaml.Node) error

func (*XML) UnsetIsAttribute

func (x *XML) UnsetIsAttribute() raml.XML

func (*XML) UnsetIsWrapped

func (x *XML) UnsetIsWrapped() raml.XML

func (*XML) UnsetName

func (x *XML) UnsetName() raml.XML

func (*XML) UnsetNamespace

func (x *XML) UnsetNamespace() raml.XML

func (*XML) UnsetPrefix

func (x *XML) UnsetPrefix() raml.XML

Jump to

Keyboard shortcuts

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