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 ¶
MarshalBinary interface implementation
func (*HalCurie) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HalHref ¶
type HalHref struct {
// href
Href string `json:"href,omitempty"`
}
HalHref hal href swagger:model hal-href
func (*HalHref) MarshalBinary ¶
MarshalBinary interface implementation
func (*HalHref) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HalRscLinks ¶
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
Click to show internal directories.
Click to hide internal directories.