hal

package
v0.0.0-...-3fd5aad Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HalCurie

type HalCurie struct {

	// href
	// Format: uri
	Href strfmt.URI `json:"href,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// templated
	Templated bool `json:"templated,omitempty"`
}

HalCurie hal curie swagger:model hal-curie

func (*HalCurie) MarshalBinary

func (m *HalCurie) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HalCurie) UnmarshalBinary

func (m *HalCurie) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HalCurie) Validate

func (m *HalCurie) Validate(formats strfmt.Registry) error

Validate validates this hal curie

type HalHref

type HalHref struct {

	// href
	Href string `json:"href,omitempty"`
}

HalHref hal href swagger:model hal-href

func (*HalHref) MarshalBinary

func (m *HalHref) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HalHref) UnmarshalBinary

func (m *HalHref) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HalHref) Validate

func (m *HalHref) Validate(formats strfmt.Registry) error

Validate validates this hal href

type HalRscLinks struct {
	// curies
	Curies []*HalCurie `json:"curies,omitempty"`

	// hal rsc links
	// Required: true
	HalRscLinks map[string]*HalHref `json:"-"`
}

HalRscLinks Links to this resources and documentation for this resource swagger:model hal-rsc-links

func (*HalRscLinks) MarshalBinary

func (m *HalRscLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (HalRscLinks) MarshalJSON

func (m HalRscLinks) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*HalRscLinks) UnmarshalBinary

func (m *HalRscLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HalRscLinks) UnmarshalJSON

func (m *HalRscLinks) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*HalRscLinks) Validate

func (m *HalRscLinks) Validate(formats strfmt.Registry) error

Validate validates this hal rsc links

Jump to

Keyboard shortcuts

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