models

package
v0.0.0-...-fa71129 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {

	// code
	Code int32 `json:"code,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

ErrorResponse error response swagger:model errorResponse

func (*ErrorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

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

Validate validates this error response

type Timeofday

type Timeofday struct {

	// timeofday
	Timeofday string `json:"timeofday,omitempty"`
}

Timeofday timeofday swagger:model timeofday

func (*Timeofday) MarshalBinary

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

MarshalBinary interface implementation

func (*Timeofday) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Timeofday) Validate

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

Validate validates this timeofday

type Timezone

type Timezone struct {

	// timezone
	// Required: true
	// Min Length: 3
	Timezone *string `json:"timezone"`
}

Timezone timezone swagger:model timezone

func (*Timezone) MarshalBinary

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

MarshalBinary interface implementation

func (*Timezone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Timezone) Validate

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

Validate validates this timezone

Jump to

Keyboard shortcuts

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