models

package
v0.0.0-...-89602ce Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tenant

type Tenant struct {

	// Unique integer identifier
	// Required: true
	// Minimum: 0
	ID *int64 `json:"id"`

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

	// List of accessible networks
	// Required: true
	Networks []string `json:"networks"`
}

Tenant tenant swagger:model tenant

func (*Tenant) MarshalBinary

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

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tenant) Validate

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

Validate validates this tenant

Jump to

Keyboard shortcuts

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