models

package
v0.0.0-...-1a3ccaa Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DtosAppLogDto

type DtosAppLogDto struct {

	// action ID
	ActionID string `json:"actionID,omitempty"`

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

	// Level - level of the log
	Level string `json:"level,omitempty"`

	// Message - log message
	Message string `json:"message,omitempty"`

	// Source - method from which the log was obtained
	Source string `json:"source,omitempty"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`
}

DtosAppLogDto dtos app log dto

swagger:model dtos.AppLogDto

func (*DtosAppLogDto) ContextValidate

func (m *DtosAppLogDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos app log dto based on context it is used

func (*DtosAppLogDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosAppLogDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosAppLogDto) Validate

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

Validate validates this dtos app log dto

type DtosDHCP4LeaseCreateDto

type DtosDHCP4LeaseCreateDto struct {

	// Expires datetime
	Expires string `json:"expires,omitempty"`

	// IP address in ipv4 format
	IP string `json:"ip,omitempty"`

	// MAC address in format like this 00-00-00-00-00
	Mac string `json:"mac,omitempty"`
}

DtosDHCP4LeaseCreateDto dtos d h c p4 lease create dto

swagger:model dtos.DHCP4LeaseCreateDto

func (*DtosDHCP4LeaseCreateDto) ContextValidate

func (m *DtosDHCP4LeaseCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos d h c p4 lease create dto based on context it is used

func (*DtosDHCP4LeaseCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDHCP4LeaseCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDHCP4LeaseCreateDto) Validate

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

Validate validates this dtos d h c p4 lease create dto

type DtosDHCP4LeaseDto

type DtosDHCP4LeaseDto struct {

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// Expires datetime
	Expires string `json:"expires,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

	// IP address in ipv4 format
	IP string `json:"ip,omitempty"`

	// MAC address in format like this 00-00-00-00-00
	Mac string `json:"mac,omitempty"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`
}

DtosDHCP4LeaseDto dtos d h c p4 lease dto

swagger:model dtos.DHCP4LeaseDto

func (*DtosDHCP4LeaseDto) ContextValidate

func (m *DtosDHCP4LeaseDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos d h c p4 lease dto based on context it is used

func (*DtosDHCP4LeaseDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDHCP4LeaseDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDHCP4LeaseDto) Validate

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

Validate validates this dtos d h c p4 lease dto

type DtosDHCP4LeaseUpdateDto

type DtosDHCP4LeaseUpdateDto struct {

	// Expires datetime
	Expires string `json:"expires,omitempty"`

	// IP address in ipv4 format
	IP string `json:"ip,omitempty"`

	// MAC address in format like this 00-00-00-00-00
	Mac string `json:"mac,omitempty"`
}

DtosDHCP4LeaseUpdateDto dtos d h c p4 lease update dto

swagger:model dtos.DHCP4LeaseUpdateDto

func (*DtosDHCP4LeaseUpdateDto) ContextValidate

func (m *DtosDHCP4LeaseUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos d h c p4 lease update dto based on context it is used

func (*DtosDHCP4LeaseUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDHCP4LeaseUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDHCP4LeaseUpdateDto) Validate

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

Validate validates this dtos d h c p4 lease update dto

type DtosDHCP4ServerCreateDto

type DtosDHCP4ServerCreateDto struct {

	// DNS servers, separated by ";"
	DNS string `json:"dns,omitempty"`

	// Enabled server or no
	Enabled bool `json:"enabled,omitempty"`

	// Gateway in ipv4 format
	Gateway string `json:"gateway,omitempty"`

	// Interface name
	Interface string `json:"interface,omitempty"`

	// LeaseTime for dhcp v4 server leases
	LeaseTime int64 `json:"leaseTime,omitempty"`

	// Mask for dhcp leases, for example: "255.255.255.0"
	Mask string `json:"mask,omitempty"`

	// NTP IP address or dns name of NTP server
	Ntp string `json:"ntp,omitempty"`

	// Port of DHCP server
	Port int64 `json:"port,omitempty"`

	// Range of ip's for this dhcp v4 server, separated by "-", for example: "10.10.10.2-10.10.10.22"
	Range string `json:"range,omitempty"`

	// ServerID is a server_id dhcp option. Correct format is ipv4.
	ServerID string `json:"serverID,omitempty"`
}

DtosDHCP4ServerCreateDto dtos d h c p4 server create dto

swagger:model dtos.DHCP4ServerCreateDto

func (*DtosDHCP4ServerCreateDto) ContextValidate

func (m *DtosDHCP4ServerCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos d h c p4 server create dto based on context it is used

func (*DtosDHCP4ServerCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDHCP4ServerCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDHCP4ServerCreateDto) Validate

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

Validate validates this dtos d h c p4 server create dto

type DtosDHCP4ServerDto

type DtosDHCP4ServerDto struct {

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// DNS servers, separated by ";"
	DNS string `json:"dns,omitempty"`

	// Enabled server or no
	Enabled bool `json:"enabled,omitempty"`

	// Gateway in ipv4 format
	Gateway string `json:"gateway,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

	// Interface name
	Interface string `json:"interface,omitempty"`

	// LeaseTime for dhcp v4 server leases
	LeaseTime int64 `json:"leaseTime,omitempty"`

	// Mask for dhcp leases, for example: "255.255.255.0"
	Mask string `json:"mask,omitempty"`

	// NTP IP address or dns name of NTP server
	Ntp string `json:"ntp,omitempty"`

	// Port of DHCP server
	Port int64 `json:"port,omitempty"`

	// Range of ip's for this dhcp v4 server, separated by "-", for example: "10.10.10.2-10.10.10.22"
	Range string `json:"range,omitempty"`

	// ServerID is a server_id dhcp option. Correct format is ipv4.
	ServerID string `json:"serverID,omitempty"`

	// State current state of dhcp v4 server
	State string `json:"state,omitempty"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`
}

DtosDHCP4ServerDto dtos d h c p4 server dto

swagger:model dtos.DHCP4ServerDto

func (*DtosDHCP4ServerDto) ContextValidate

func (m *DtosDHCP4ServerDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos d h c p4 server dto based on context it is used

func (*DtosDHCP4ServerDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDHCP4ServerDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDHCP4ServerDto) Validate

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

Validate validates this dtos d h c p4 server dto

type DtosDHCP4ServerUpdateDto

type DtosDHCP4ServerUpdateDto struct {

	// DNS servers, separated by ";"
	DNS string `json:"dns,omitempty"`

	// Enabled server or no
	Enabled bool `json:"enabled,omitempty"`

	// LeaseTime for dhcp v4 server leases
	LeaseTime int64 `json:"leaseTime,omitempty"`

	// NTP IP address or dns name of NTP server
	Ntp string `json:"ntp,omitempty"`

	// Port of DHCP server
	Port int64 `json:"port,omitempty"`
}

DtosDHCP4ServerUpdateDto dtos d h c p4 server update dto

swagger:model dtos.DHCP4ServerUpdateDto

func (*DtosDHCP4ServerUpdateDto) ContextValidate

func (m *DtosDHCP4ServerUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos d h c p4 server update dto based on context it is used

func (*DtosDHCP4ServerUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDHCP4ServerUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDHCP4ServerUpdateDto) Validate

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

Validate validates this dtos d h c p4 server update dto

type DtosDeviceTemplateBootStageDto

type DtosDeviceTemplateBootStageDto struct {

	// Action for this boot stage.
	// Can be: File, CheckPowerSwitch, EmergencyPowerOff,
	// PowerOff, EmergencyPowerOn, PowerOn,
	// CheckManagement
	//
	// For File action:
	// 	A stage can only be marked complete if all files have
	// 	been downloaded by the device via TFTP or DHCP,
	// 	after which the next step can be loaded.
	Action string `json:"action,omitempty"`

	// Description of boot stage template
	Description string `json:"description,omitempty"`

	// Files slice of files for boot stage
	Files []*DtosDeviceTemplateBootStageFileDto `json:"files"`

	// Name of boot stage template
	Name string `json:"name,omitempty"`
}

DtosDeviceTemplateBootStageDto dtos device template boot stage dto

swagger:model dtos.DeviceTemplateBootStageDto

func (*DtosDeviceTemplateBootStageDto) ContextValidate

func (m *DtosDeviceTemplateBootStageDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dtos device template boot stage dto based on the context it is used

func (*DtosDeviceTemplateBootStageDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDeviceTemplateBootStageDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDeviceTemplateBootStageDto) Validate

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

Validate validates this dtos device template boot stage dto

type DtosDeviceTemplateBootStageFileDto

type DtosDeviceTemplateBootStageFileDto struct {

	// ExistingFileName file name is a real full file path with name on the disk.
	// This path is relative from app directory
	ExistingFileName string `json:"existingFileName,omitempty"`

	// VirtualFileName virtual file name is relative from /<mac-address>/
	VirtualFileName string `json:"virtualFileName,omitempty"`
}

DtosDeviceTemplateBootStageFileDto dtos device template boot stage file dto

swagger:model dtos.DeviceTemplateBootStageFileDto

func (*DtosDeviceTemplateBootStageFileDto) ContextValidate

func (m *DtosDeviceTemplateBootStageFileDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos device template boot stage file dto based on context it is used

func (*DtosDeviceTemplateBootStageFileDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDeviceTemplateBootStageFileDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDeviceTemplateBootStageFileDto) Validate

Validate validates this dtos device template boot stage file dto

type DtosDeviceTemplateControlDto

type DtosDeviceTemplateControlDto struct {

	// Emergency how to control device power in case of emergency. As example: POE(For Rpi4), IPMI, ILO or PowerSwitch
	Emergency string `json:"emergency,omitempty"`

	// NextBoot how to change next boot device. As example: IPMI, ILO or NONE.
	// For example, NONE is used for Rpi4, we control next boot by u-boot files in boot stages.
	NextBoot string `json:"nextBoot,omitempty"`

	// Power how to control device power. As example: POE(For Rpi4), IPMI, ILO or PowerSwitch
	Power string `json:"power,omitempty"`
}

DtosDeviceTemplateControlDto dtos device template control dto

swagger:model dtos.DeviceTemplateControlDto

func (*DtosDeviceTemplateControlDto) ContextValidate

func (m *DtosDeviceTemplateControlDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos device template control dto based on context it is used

func (*DtosDeviceTemplateControlDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDeviceTemplateControlDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDeviceTemplateControlDto) Validate

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

Validate validates this dtos device template control dto

type DtosDeviceTemplateDto

type DtosDeviceTemplateDto struct {

	// Control describes how we control the device
	Control *DtosDeviceTemplateControlDto `json:"control,omitempty"`

	// CPUCount count of cpus
	Cpucount int64 `json:"cpucount,omitempty"`

	// CPUModel model of cpu
	Cpumodel string `json:"cpumodel,omitempty"`

	// Description template description
	Description string `json:"description,omitempty"`

	// DiscBootStages slice of boot stage templates for disk boot
	DiscBootStages []*DtosDeviceTemplateBootStageDto `json:"discBootStages"`

	// Manufacturer device manufacturer
	Manufacturer string `json:"manufacturer,omitempty"`

	// Model device model
	Model string `json:"model,omitempty"`

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

	// NetBootStages slice of boot stage templates for net boot
	NetBootStages []*DtosDeviceTemplateBootStageDto `json:"netBootStages"`

	// NetworkInterfaces slice of device network interfaces
	NetworkInterfaces []*DtosDeviceTemplateNetworkDto `json:"networkInterfaces"`

	// RAM the amount of RAM in GB
	RAM int64 `json:"ram,omitempty"`

	// USBBootStages slice of boot stage templates for usb boot
	UsbbootStages []*DtosDeviceTemplateBootStageDto `json:"usbbootStages"`
}

DtosDeviceTemplateDto dtos device template dto

swagger:model dtos.DeviceTemplateDto

func (*DtosDeviceTemplateDto) ContextValidate

func (m *DtosDeviceTemplateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dtos device template dto based on the context it is used

func (*DtosDeviceTemplateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDeviceTemplateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDeviceTemplateDto) Validate

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

Validate validates this dtos device template dto

type DtosDeviceTemplateNetworkDto

type DtosDeviceTemplateNetworkDto struct {

	// Management only one network interface can be mark as management
	Management bool `json:"management,omitempty"`

	// Name of network interface. This field is unique within device template network interfaces
	Name string `json:"name,omitempty"`

	// NetBoot flags whether the interface can be loaded over the network
	NetBoot bool `json:"netBoot,omitempty"`

	// POEIn only one network interface can be mark as POEIn
	Poein bool `json:"poein,omitempty"`
}

DtosDeviceTemplateNetworkDto dtos device template network dto

swagger:model dtos.DeviceTemplateNetworkDto

func (*DtosDeviceTemplateNetworkDto) ContextValidate

func (m *DtosDeviceTemplateNetworkDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos device template network dto based on context it is used

func (*DtosDeviceTemplateNetworkDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosDeviceTemplateNetworkDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosDeviceTemplateNetworkDto) Validate

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

Validate validates this dtos device template network dto

type DtosEthernetSwitchCreateDto

type DtosEthernetSwitchCreateDto struct {

	// Address - switch ip address
	Address string `json:"address,omitempty"`

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

	// Password - ethernet switch management password
	Password string `json:"password,omitempty"`

	// Serial - switch serial number
	Serial string `json:"serial,omitempty"`

	// SwitchModel - switch model
	SwitchModel string `json:"switchModel,omitempty"`

	// Username - switch admin username
	Username string `json:"username,omitempty"`
}

DtosEthernetSwitchCreateDto dtos ethernet switch create dto

swagger:model dtos.EthernetSwitchCreateDto

func (*DtosEthernetSwitchCreateDto) ContextValidate

func (m *DtosEthernetSwitchCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch create dto based on context it is used

func (*DtosEthernetSwitchCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchCreateDto) Validate

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

Validate validates this dtos ethernet switch create dto

type DtosEthernetSwitchDto

type DtosEthernetSwitchDto struct {

	// Address - switch ip address
	Address string `json:"address,omitempty"`

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

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

	// Serial - switch serial number
	Serial string `json:"serial,omitempty"`

	// SwitchModel - switch model
	SwitchModel string `json:"switchModel,omitempty"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`

	// Username - switch admin username
	Username string `json:"username,omitempty"`
}

DtosEthernetSwitchDto dtos ethernet switch dto

swagger:model dtos.EthernetSwitchDto

func (*DtosEthernetSwitchDto) ContextValidate

func (m *DtosEthernetSwitchDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch dto based on context it is used

func (*DtosEthernetSwitchDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchDto) Validate

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

Validate validates this dtos ethernet switch dto

type DtosEthernetSwitchModelDto

type DtosEthernetSwitchModelDto struct {

	// Code - unique switch model code
	Code string `json:"code,omitempty"`

	// Manufacturer - Switch model manufacturer
	Manufacturer string `json:"manufacturer,omitempty"`

	// Model - Switch model
	Model string `json:"model,omitempty"`
}

DtosEthernetSwitchModelDto dtos ethernet switch model dto

swagger:model dtos.EthernetSwitchModelDto

func (*DtosEthernetSwitchModelDto) ContextValidate

func (m *DtosEthernetSwitchModelDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch model dto based on context it is used

func (*DtosEthernetSwitchModelDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchModelDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchModelDto) Validate

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

Validate validates this dtos ethernet switch model dto

type DtosEthernetSwitchPortCreateDto

type DtosEthernetSwitchPortCreateDto struct {

	// Name for this port
	Name string `json:"name,omitempty"`

	// POEEnabled POE status on a port
	Poeenabled bool `json:"poeenabled,omitempty"`

	// POEType type of PoE for this port
	// can be: "poe", "poe+", "passive24", "none"
	Poetype string `json:"poetype,omitempty"`

	// PVID default VLAN id
	Pvid int64 `json:"pvid,omitempty"`
}

DtosEthernetSwitchPortCreateDto dtos ethernet switch port create dto

swagger:model dtos.EthernetSwitchPortCreateDto

func (*DtosEthernetSwitchPortCreateDto) ContextValidate

func (m *DtosEthernetSwitchPortCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch port create dto based on context it is used

func (*DtosEthernetSwitchPortCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchPortCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchPortCreateDto) Validate

Validate validates this dtos ethernet switch port create dto

type DtosEthernetSwitchPortDto

type DtosEthernetSwitchPortDto struct {

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

	// Name for this port
	Name string `json:"name,omitempty"`

	// POEEnabled POE status on a port
	Poeenabled bool `json:"poeenabled,omitempty"`

	// POEType type of PoE for this port
	// can be: "poe", "poe+", "passive24", "none"
	Poetype string `json:"poetype,omitempty"`

	// PVID default VLAN id
	Pvid int64 `json:"pvid,omitempty"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`
}

DtosEthernetSwitchPortDto dtos ethernet switch port dto

swagger:model dtos.EthernetSwitchPortDto

func (*DtosEthernetSwitchPortDto) ContextValidate

func (m *DtosEthernetSwitchPortDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch port dto based on context it is used

func (*DtosEthernetSwitchPortDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchPortDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchPortDto) Validate

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

Validate validates this dtos ethernet switch port dto

type DtosEthernetSwitchPortUpdateDto

type DtosEthernetSwitchPortUpdateDto struct {

	// Name for this port
	Name string `json:"name,omitempty"`

	// POEEnabled POE status on a port
	Poeenabled bool `json:"poeenabled,omitempty"`

	// POEType type of PoE for this port
	// can be: "poe", "poe+", "passive24", "none"
	Poetype string `json:"poetype,omitempty"`

	// PVID default VLAN id
	Pvid int64 `json:"pvid,omitempty"`
}

DtosEthernetSwitchPortUpdateDto dtos ethernet switch port update dto

swagger:model dtos.EthernetSwitchPortUpdateDto

func (*DtosEthernetSwitchPortUpdateDto) ContextValidate

func (m *DtosEthernetSwitchPortUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch port update dto based on context it is used

func (*DtosEthernetSwitchPortUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchPortUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchPortUpdateDto) Validate

Validate validates this dtos ethernet switch port update dto

type DtosEthernetSwitchUpdateDto

type DtosEthernetSwitchUpdateDto struct {

	// Address - switch ip address
	Address string `json:"address,omitempty"`

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

	// Password - ethernet switch management password
	Password string `json:"password,omitempty"`

	// Serial - switch serial number
	Serial string `json:"serial,omitempty"`

	// SwitchModel - switch model
	SwitchModel string `json:"switchModel,omitempty"`

	// Username - switch admin username
	Username string `json:"username,omitempty"`
}

DtosEthernetSwitchUpdateDto dtos ethernet switch update dto

swagger:model dtos.EthernetSwitchUpdateDto

func (*DtosEthernetSwitchUpdateDto) ContextValidate

func (m *DtosEthernetSwitchUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch update dto based on context it is used

func (*DtosEthernetSwitchUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchUpdateDto) Validate

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

Validate validates this dtos ethernet switch update dto

type DtosEthernetSwitchVLANCreateDto

type DtosEthernetSwitchVLANCreateDto struct {

	// TaggedPorts slice of tagged ports IDs
	TaggedPorts []string `json:"taggedPorts"`

	// UntaggedPorts slice of untagged ports IDs
	UntaggedPorts []string `json:"untaggedPorts"`

	// VlanID VLAN ID
	VlanID int64 `json:"vlanID,omitempty"`
}

DtosEthernetSwitchVLANCreateDto dtos ethernet switch v l a n create dto

swagger:model dtos.EthernetSwitchVLANCreateDto

func (*DtosEthernetSwitchVLANCreateDto) ContextValidate

func (m *DtosEthernetSwitchVLANCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch v l a n create dto based on context it is used

func (*DtosEthernetSwitchVLANCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchVLANCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchVLANCreateDto) Validate

Validate validates this dtos ethernet switch v l a n create dto

type DtosEthernetSwitchVLANDto

type DtosEthernetSwitchVLANDto struct {

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// EthernetSwitchID ethernet switch ID
	EthernetSwitchID string `json:"ethernetSwitchID,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

	// TaggedPorts slice of tagged ports IDs
	TaggedPorts []string `json:"taggedPorts"`

	// UntaggedPorts slice of untagged ports IDs
	UntaggedPorts []string `json:"untaggedPorts"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`

	// VlanID VLAN ID
	VlanID int64 `json:"vlanID,omitempty"`
}

DtosEthernetSwitchVLANDto dtos ethernet switch v l a n dto

swagger:model dtos.EthernetSwitchVLANDto

func (*DtosEthernetSwitchVLANDto) ContextValidate

func (m *DtosEthernetSwitchVLANDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch v l a n dto based on context it is used

func (*DtosEthernetSwitchVLANDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchVLANDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchVLANDto) Validate

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

Validate validates this dtos ethernet switch v l a n dto

type DtosEthernetSwitchVLANUpdateDto

type DtosEthernetSwitchVLANUpdateDto struct {

	// TaggedPorts slice of tagged ports IDs
	TaggedPorts []string `json:"taggedPorts"`

	// UntaggedPorts slice of untagged ports IDs
	UntaggedPorts []string `json:"untaggedPorts"`
}

DtosEthernetSwitchVLANUpdateDto dtos ethernet switch v l a n update dto

swagger:model dtos.EthernetSwitchVLANUpdateDto

func (*DtosEthernetSwitchVLANUpdateDto) ContextValidate

func (m *DtosEthernetSwitchVLANUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos ethernet switch v l a n update dto based on context it is used

func (*DtosEthernetSwitchVLANUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosEthernetSwitchVLANUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosEthernetSwitchVLANUpdateDto) Validate

Validate validates this dtos ethernet switch v l a n update dto

type DtosHTTPLogDto

type DtosHTTPLogDto struct {

	// ClientIP - client IP address
	ClientIP string `json:"clientIP,omitempty"`

	// CreatedAt - entity create time
	CreatedAt string `json:"createdAt,omitempty"`

	// CustomRequestHeaders - custom headers of the request
	CustomRequestHeaders string `json:"customRequestHeaders,omitempty"`

	// Domain - domain that processed the request
	Domain string `json:"domain,omitempty"`

	// HTTPMethod - http method
	Httpmethod string `json:"httpmethod,omitempty"`

	// ID - unique identifier
	ID string `json:"id,omitempty"`

	// Latency - latency in milliseconds
	Latency int64 `json:"latency,omitempty"`

	// QueryParams - query params passed
	QueryParams string `json:"queryParams,omitempty"`

	// RelativePath - path to the endpoint
	RelativePath string `json:"relativePath,omitempty"`

	// RequestBody - body of the request
	RequestBody string `json:"requestBody,omitempty"`

	// RequestHeaders - headers of the request
	RequestHeaders string `json:"requestHeaders,omitempty"`

	// ResponseBody - body of the response
	ResponseBody string `json:"responseBody,omitempty"`

	// UpdatedAt - entity update time
	UpdatedAt string `json:"updatedAt,omitempty"`
}

DtosHTTPLogDto dtos HTTP log dto

swagger:model dtos.HTTPLogDto

func (*DtosHTTPLogDto) ContextValidate

func (m *DtosHTTPLogDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos HTTP log dto based on context it is used

func (*DtosHTTPLogDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHTTPLogDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHTTPLogDto) Validate

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

Validate validates this dtos HTTP log dto

type DtosHostNetworkBridgeCreateDto

type DtosHostNetworkBridgeCreateDto struct {

	// Addresses list
	Addresses []string `json:"addresses"`

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

	// Slaves slice of slaves interfaces names
	Slaves []string `json:"slaves"`
}

DtosHostNetworkBridgeCreateDto dtos host network bridge create dto

swagger:model dtos.HostNetworkBridgeCreateDto

func (*DtosHostNetworkBridgeCreateDto) ContextValidate

func (m *DtosHostNetworkBridgeCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos host network bridge create dto based on context it is used

func (*DtosHostNetworkBridgeCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHostNetworkBridgeCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHostNetworkBridgeCreateDto) Validate

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

Validate validates this dtos host network bridge create dto

type DtosHostNetworkBridgeDto

type DtosHostNetworkBridgeDto struct {

	// Addresses list
	Addresses []string `json:"addresses"`

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

	// Slaves slice of slaves interfaces names
	Slaves []string `json:"slaves"`
}

DtosHostNetworkBridgeDto dtos host network bridge dto

swagger:model dtos.HostNetworkBridgeDto

func (*DtosHostNetworkBridgeDto) ContextValidate

func (m *DtosHostNetworkBridgeDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos host network bridge dto based on context it is used

func (*DtosHostNetworkBridgeDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHostNetworkBridgeDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHostNetworkBridgeDto) Validate

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

Validate validates this dtos host network bridge dto

type DtosHostNetworkBridgeUpdateDto

type DtosHostNetworkBridgeUpdateDto struct {

	// Addresses list
	Addresses []string `json:"addresses"`

	// Slaves slice of slaves interfaces names
	Slaves []string `json:"slaves"`
}

DtosHostNetworkBridgeUpdateDto dtos host network bridge update dto

swagger:model dtos.HostNetworkBridgeUpdateDto

func (*DtosHostNetworkBridgeUpdateDto) ContextValidate

func (m *DtosHostNetworkBridgeUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos host network bridge update dto based on context it is used

func (*DtosHostNetworkBridgeUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHostNetworkBridgeUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHostNetworkBridgeUpdateDto) Validate

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

Validate validates this dtos host network bridge update dto

type DtosHostNetworkVlanCreateDto

type DtosHostNetworkVlanCreateDto struct {

	// Addresses list
	Addresses []string `json:"addresses"`

	// Parent interface name
	Parent string `json:"parent,omitempty"`

	// VlanID vlan id
	VlanID int64 `json:"vlanID,omitempty"`
}

DtosHostNetworkVlanCreateDto dtos host network vlan create dto

swagger:model dtos.HostNetworkVlanCreateDto

func (*DtosHostNetworkVlanCreateDto) ContextValidate

func (m *DtosHostNetworkVlanCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos host network vlan create dto based on context it is used

func (*DtosHostNetworkVlanCreateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHostNetworkVlanCreateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHostNetworkVlanCreateDto) Validate

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

Validate validates this dtos host network vlan create dto

type DtosHostNetworkVlanDto

type DtosHostNetworkVlanDto struct {

	// Addresses list
	Addresses []string `json:"addresses"`

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

	// Parent interface name
	Parent string `json:"parent,omitempty"`

	// VlanID id of the vlan
	VlanID int64 `json:"vlanID,omitempty"`
}

DtosHostNetworkVlanDto dtos host network vlan dto

swagger:model dtos.HostNetworkVlanDto

func (*DtosHostNetworkVlanDto) ContextValidate

func (m *DtosHostNetworkVlanDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos host network vlan dto based on context it is used

func (*DtosHostNetworkVlanDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHostNetworkVlanDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHostNetworkVlanDto) Validate

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

Validate validates this dtos host network vlan dto

type DtosHostNetworkVlanUpdateDto

type DtosHostNetworkVlanUpdateDto struct {

	// Addresses list
	Addresses []string `json:"addresses"`
}

DtosHostNetworkVlanUpdateDto dtos host network vlan update dto

swagger:model dtos.HostNetworkVlanUpdateDto

func (*DtosHostNetworkVlanUpdateDto) ContextValidate

func (m *DtosHostNetworkVlanUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos host network vlan update dto based on context it is used

func (*DtosHostNetworkVlanUpdateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosHostNetworkVlanUpdateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosHostNetworkVlanUpdateDto) Validate

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

Validate validates this dtos host network vlan update dto

type DtosPaginatedItemsDtoDtosAppLogDto

type DtosPaginatedItemsDtoDtosAppLogDto struct {

	// Items slice of items
	Items []*DtosAppLogDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosAppLogDto dtos paginated items dto dtos app log dto

swagger:model dtos.PaginatedItemsDto-dtos_AppLogDto

func (*DtosPaginatedItemsDtoDtosAppLogDto) ContextValidate

func (m *DtosPaginatedItemsDtoDtosAppLogDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dtos paginated items dto dtos app log dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosAppLogDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosAppLogDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosAppLogDto) Validate

Validate validates this dtos paginated items dto dtos app log dto

type DtosPaginatedItemsDtoDtosDHCP4LeaseDto

type DtosPaginatedItemsDtoDtosDHCP4LeaseDto struct {

	// Items slice of items
	Items []*DtosDHCP4LeaseDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosDHCP4LeaseDto dtos paginated items dto dtos d h c p4 lease dto

swagger:model dtos.PaginatedItemsDto-dtos_DHCP4LeaseDto

func (*DtosPaginatedItemsDtoDtosDHCP4LeaseDto) ContextValidate

ContextValidate validate this dtos paginated items dto dtos d h c p4 lease dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosDHCP4LeaseDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosDHCP4LeaseDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosDHCP4LeaseDto) Validate

Validate validates this dtos paginated items dto dtos d h c p4 lease dto

type DtosPaginatedItemsDtoDtosDHCP4ServerDto

type DtosPaginatedItemsDtoDtosDHCP4ServerDto struct {

	// Items slice of items
	Items []*DtosDHCP4ServerDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosDHCP4ServerDto dtos paginated items dto dtos d h c p4 server dto

swagger:model dtos.PaginatedItemsDto-dtos_DHCP4ServerDto

func (*DtosPaginatedItemsDtoDtosDHCP4ServerDto) ContextValidate

ContextValidate validate this dtos paginated items dto dtos d h c p4 server dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosDHCP4ServerDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosDHCP4ServerDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosDHCP4ServerDto) Validate

Validate validates this dtos paginated items dto dtos d h c p4 server dto

type DtosPaginatedItemsDtoDtosDeviceTemplateDto

type DtosPaginatedItemsDtoDtosDeviceTemplateDto struct {

	// Items slice of items
	Items []*DtosDeviceTemplateDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosDeviceTemplateDto dtos paginated items dto dtos device template dto

swagger:model dtos.PaginatedItemsDto-dtos_DeviceTemplateDto

func (*DtosPaginatedItemsDtoDtosDeviceTemplateDto) ContextValidate

ContextValidate validate this dtos paginated items dto dtos device template dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosDeviceTemplateDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosDeviceTemplateDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosDeviceTemplateDto) Validate

Validate validates this dtos paginated items dto dtos device template dto

type DtosPaginatedItemsDtoDtosEthernetSwitchDto

type DtosPaginatedItemsDtoDtosEthernetSwitchDto struct {

	// Items slice of items
	Items []*DtosEthernetSwitchDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosEthernetSwitchDto dtos paginated items dto dtos ethernet switch dto

swagger:model dtos.PaginatedItemsDto-dtos_EthernetSwitchDto

func (*DtosPaginatedItemsDtoDtosEthernetSwitchDto) ContextValidate

ContextValidate validate this dtos paginated items dto dtos ethernet switch dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosEthernetSwitchDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosEthernetSwitchDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosEthernetSwitchDto) Validate

Validate validates this dtos paginated items dto dtos ethernet switch dto

type DtosPaginatedItemsDtoDtosEthernetSwitchPortDto

type DtosPaginatedItemsDtoDtosEthernetSwitchPortDto struct {

	// Items slice of items
	Items []*DtosEthernetSwitchPortDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosEthernetSwitchPortDto dtos paginated items dto dtos ethernet switch port dto

swagger:model dtos.PaginatedItemsDto-dtos_EthernetSwitchPortDto

func (*DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) ContextValidate

ContextValidate validate this dtos paginated items dto dtos ethernet switch port dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) MarshalBinary

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) Validate

Validate validates this dtos paginated items dto dtos ethernet switch port dto

type DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto

type DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto struct {

	// Items slice of items
	Items []*DtosEthernetSwitchVLANDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto dtos paginated items dto dtos ethernet switch v l a n dto

swagger:model dtos.PaginatedItemsDto-dtos_EthernetSwitchVLANDto

func (*DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) ContextValidate

ContextValidate validate this dtos paginated items dto dtos ethernet switch v l a n dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) MarshalBinary

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) Validate

Validate validates this dtos paginated items dto dtos ethernet switch v l a n dto

type DtosPaginatedItemsDtoDtosHTTPLogDto

type DtosPaginatedItemsDtoDtosHTTPLogDto struct {

	// Items slice of items
	Items []*DtosHTTPLogDto `json:"items"`

	// Pagination info about pagination
	Pagination *DtosPaginationInfoDto `json:"pagination,omitempty"`
}

DtosPaginatedItemsDtoDtosHTTPLogDto dtos paginated items dto dtos HTTP log dto

swagger:model dtos.PaginatedItemsDto-dtos_HTTPLogDto

func (*DtosPaginatedItemsDtoDtosHTTPLogDto) ContextValidate

func (m *DtosPaginatedItemsDtoDtosHTTPLogDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dtos paginated items dto dtos HTTP log dto based on the context it is used

func (*DtosPaginatedItemsDtoDtosHTTPLogDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosHTTPLogDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginatedItemsDtoDtosHTTPLogDto) Validate

Validate validates this dtos paginated items dto dtos HTTP log dto

type DtosPaginationInfoDto

type DtosPaginationInfoDto struct {

	// Page - page number
	Page int64 `json:"page,omitempty"`

	// Size - page size
	Size int64 `json:"size,omitempty"`

	// TotalCount - total number of items
	TotalCount int64 `json:"totalCount,omitempty"`

	// TotalPages - total number of pages
	TotalPages int64 `json:"totalPages,omitempty"`
}

DtosPaginationInfoDto dtos pagination info dto

swagger:model dtos.PaginationInfoDto

func (*DtosPaginationInfoDto) ContextValidate

func (m *DtosPaginationInfoDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos pagination info dto based on context it is used

func (*DtosPaginationInfoDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosPaginationInfoDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosPaginationInfoDto) Validate

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

Validate validates this dtos pagination info dto

type DtosValidationErrorDto

type DtosValidationErrorDto struct {

	// errors
	Errors []*DtosValidationErrorElemDto `json:"errors"`

	// message
	Message string `json:"message,omitempty"`
}

DtosValidationErrorDto dtos validation error dto

swagger:model dtos.ValidationErrorDto

func (*DtosValidationErrorDto) ContextValidate

func (m *DtosValidationErrorDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dtos validation error dto based on the context it is used

func (*DtosValidationErrorDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosValidationErrorDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosValidationErrorDto) Validate

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

Validate validates this dtos validation error dto

type DtosValidationErrorElemDto

type DtosValidationErrorElemDto struct {

	// Value for Key
	Error string `json:"error,omitempty"`

	// Field with validation error
	Field string `json:"field,omitempty"`

	// Source for the field, for example query or body
	Source string `json:"source,omitempty"`
}

DtosValidationErrorElemDto dtos validation error elem dto

swagger:model dtos.ValidationErrorElemDto

func (*DtosValidationErrorElemDto) ContextValidate

func (m *DtosValidationErrorElemDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dtos validation error elem dto based on context it is used

func (*DtosValidationErrorElemDto) MarshalBinary

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

MarshalBinary interface implementation

func (*DtosValidationErrorElemDto) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DtosValidationErrorElemDto) Validate

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

Validate validates this dtos validation error elem dto

Source Files

Jump to

Keyboard shortcuts

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