models

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2017 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveRequest

type ArchiveRequest struct {

	// url
	// Required: true
	// Min Length: 1
	URL *string `json:"url"`
}

func (*ArchiveRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ArchiveRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ArchiveRequest) Validate

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

Validate validates this archive request

type ArchiveResponse

type ArchiveResponse struct {

	// archived url
	// Read Only: true
	ArchivedURL string `json:"archived_url,omitempty"`

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`
}

func (*ArchiveResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ArchiveResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ArchiveResponse) Validate

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

Validate validates this archive response

type Error

type Error struct {

	// message
	// Required: true
	// Read Only: true
	Message string `json:"message"`
}

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Item

type Item struct {

	// url
	// Required: true
	// Min Length: 1
	URL *string `json:"url"`
}

func (*Item) MarshalBinary

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

MarshalBinary interface implementation

func (*Item) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Item) Validate

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

Validate validates this item

Jump to

Keyboard shortcuts

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