Documentation
¶
Index ¶
- type DtosAppLogDto
- type DtosDHCP4LeaseCreateDto
- func (m *DtosDHCP4LeaseCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDHCP4LeaseCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosDHCP4LeaseCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosDHCP4LeaseCreateDto) Validate(formats strfmt.Registry) error
- type DtosDHCP4LeaseDto
- type DtosDHCP4LeaseUpdateDto
- func (m *DtosDHCP4LeaseUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDHCP4LeaseUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosDHCP4LeaseUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosDHCP4LeaseUpdateDto) Validate(formats strfmt.Registry) error
- type DtosDHCP4ServerCreateDto
- func (m *DtosDHCP4ServerCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDHCP4ServerCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosDHCP4ServerCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosDHCP4ServerCreateDto) Validate(formats strfmt.Registry) error
- type DtosDHCP4ServerDto
- type DtosDHCP4ServerUpdateDto
- func (m *DtosDHCP4ServerUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDHCP4ServerUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosDHCP4ServerUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosDHCP4ServerUpdateDto) Validate(formats strfmt.Registry) error
- type DtosDeviceTemplateBootStageDto
- func (m *DtosDeviceTemplateBootStageDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDeviceTemplateBootStageDto) MarshalBinary() ([]byte, error)
- func (m *DtosDeviceTemplateBootStageDto) UnmarshalBinary(b []byte) error
- func (m *DtosDeviceTemplateBootStageDto) Validate(formats strfmt.Registry) error
- type DtosDeviceTemplateBootStageFileDto
- func (m *DtosDeviceTemplateBootStageFileDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDeviceTemplateBootStageFileDto) MarshalBinary() ([]byte, error)
- func (m *DtosDeviceTemplateBootStageFileDto) UnmarshalBinary(b []byte) error
- func (m *DtosDeviceTemplateBootStageFileDto) Validate(formats strfmt.Registry) error
- type DtosDeviceTemplateControlDto
- func (m *DtosDeviceTemplateControlDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDeviceTemplateControlDto) MarshalBinary() ([]byte, error)
- func (m *DtosDeviceTemplateControlDto) UnmarshalBinary(b []byte) error
- func (m *DtosDeviceTemplateControlDto) Validate(formats strfmt.Registry) error
- type DtosDeviceTemplateDto
- type DtosDeviceTemplateNetworkDto
- func (m *DtosDeviceTemplateNetworkDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosDeviceTemplateNetworkDto) MarshalBinary() ([]byte, error)
- func (m *DtosDeviceTemplateNetworkDto) UnmarshalBinary(b []byte) error
- func (m *DtosDeviceTemplateNetworkDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchCreateDto
- func (m *DtosEthernetSwitchCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchCreateDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchDto
- type DtosEthernetSwitchModelDto
- func (m *DtosEthernetSwitchModelDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchModelDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchModelDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchModelDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchPortCreateDto
- func (m *DtosEthernetSwitchPortCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchPortCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchPortCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchPortCreateDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchPortDto
- func (m *DtosEthernetSwitchPortDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchPortDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchPortDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchPortDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchPortUpdateDto
- func (m *DtosEthernetSwitchPortUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchPortUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchPortUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchPortUpdateDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchUpdateDto
- func (m *DtosEthernetSwitchUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchUpdateDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchVLANCreateDto
- func (m *DtosEthernetSwitchVLANCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchVLANCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchVLANCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchVLANCreateDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchVLANDto
- func (m *DtosEthernetSwitchVLANDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchVLANDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchVLANDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchVLANDto) Validate(formats strfmt.Registry) error
- type DtosEthernetSwitchVLANUpdateDto
- func (m *DtosEthernetSwitchVLANUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosEthernetSwitchVLANUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosEthernetSwitchVLANUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosEthernetSwitchVLANUpdateDto) Validate(formats strfmt.Registry) error
- type DtosHTTPLogDto
- type DtosHostNetworkBridgeCreateDto
- func (m *DtosHostNetworkBridgeCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosHostNetworkBridgeCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosHostNetworkBridgeCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosHostNetworkBridgeCreateDto) Validate(formats strfmt.Registry) error
- type DtosHostNetworkBridgeDto
- func (m *DtosHostNetworkBridgeDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosHostNetworkBridgeDto) MarshalBinary() ([]byte, error)
- func (m *DtosHostNetworkBridgeDto) UnmarshalBinary(b []byte) error
- func (m *DtosHostNetworkBridgeDto) Validate(formats strfmt.Registry) error
- type DtosHostNetworkBridgeUpdateDto
- func (m *DtosHostNetworkBridgeUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosHostNetworkBridgeUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosHostNetworkBridgeUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosHostNetworkBridgeUpdateDto) Validate(formats strfmt.Registry) error
- type DtosHostNetworkVlanCreateDto
- func (m *DtosHostNetworkVlanCreateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosHostNetworkVlanCreateDto) MarshalBinary() ([]byte, error)
- func (m *DtosHostNetworkVlanCreateDto) UnmarshalBinary(b []byte) error
- func (m *DtosHostNetworkVlanCreateDto) Validate(formats strfmt.Registry) error
- type DtosHostNetworkVlanDto
- func (m *DtosHostNetworkVlanDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosHostNetworkVlanDto) MarshalBinary() ([]byte, error)
- func (m *DtosHostNetworkVlanDto) UnmarshalBinary(b []byte) error
- func (m *DtosHostNetworkVlanDto) Validate(formats strfmt.Registry) error
- type DtosHostNetworkVlanUpdateDto
- func (m *DtosHostNetworkVlanUpdateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosHostNetworkVlanUpdateDto) MarshalBinary() ([]byte, error)
- func (m *DtosHostNetworkVlanUpdateDto) UnmarshalBinary(b []byte) error
- func (m *DtosHostNetworkVlanUpdateDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosAppLogDto
- func (m *DtosPaginatedItemsDtoDtosAppLogDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosAppLogDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosAppLogDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosAppLogDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosDHCP4LeaseDto
- func (m *DtosPaginatedItemsDtoDtosDHCP4LeaseDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosDHCP4LeaseDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosDHCP4LeaseDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosDHCP4LeaseDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosDHCP4ServerDto
- func (m *DtosPaginatedItemsDtoDtosDHCP4ServerDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosDHCP4ServerDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosDHCP4ServerDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosDHCP4ServerDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosDeviceTemplateDto
- func (m *DtosPaginatedItemsDtoDtosDeviceTemplateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosDeviceTemplateDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosDeviceTemplateDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosDeviceTemplateDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosEthernetSwitchDto
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosEthernetSwitchPortDto
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) Validate(formats strfmt.Registry) error
- type DtosPaginatedItemsDtoDtosHTTPLogDto
- func (m *DtosPaginatedItemsDtoDtosHTTPLogDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosPaginatedItemsDtoDtosHTTPLogDto) MarshalBinary() ([]byte, error)
- func (m *DtosPaginatedItemsDtoDtosHTTPLogDto) UnmarshalBinary(b []byte) error
- func (m *DtosPaginatedItemsDtoDtosHTTPLogDto) Validate(formats strfmt.Registry) error
- type DtosPaginationInfoDto
- type DtosValidationErrorDto
- func (m *DtosValidationErrorDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosValidationErrorDto) MarshalBinary() ([]byte, error)
- func (m *DtosValidationErrorDto) UnmarshalBinary(b []byte) error
- func (m *DtosValidationErrorDto) Validate(formats strfmt.Registry) error
- type DtosValidationErrorElemDto
- func (m *DtosValidationErrorElemDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DtosValidationErrorElemDto) MarshalBinary() ([]byte, error)
- func (m *DtosValidationErrorElemDto) UnmarshalBinary(b []byte) error
- func (m *DtosValidationErrorElemDto) Validate(formats strfmt.Registry) error
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 ¶
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
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
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 ¶
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
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
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
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 ¶
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
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
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
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
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
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 ¶
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
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
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
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 ¶
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
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
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
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
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
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
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
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
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
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 ¶
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
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
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
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
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
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
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
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
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 ¶
func (m *DtosPaginatedItemsDtoDtosDHCP4LeaseDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (m *DtosPaginatedItemsDtoDtosDHCP4ServerDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (m *DtosPaginatedItemsDtoDtosDeviceTemplateDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this dtos paginated items dto dtos ethernet switch port dto based on the context it is used
func (*DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) MarshalBinary ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) UnmarshalBinary ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchPortDto) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) UnmarshalBinary ¶
func (m *DtosPaginatedItemsDtoDtosEthernetSwitchVLANDto) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
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
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
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
Source Files
¶
- dtos_app_log_dto.go
- dtos_d_h_c_p4_lease_create_dto.go
- dtos_d_h_c_p4_lease_dto.go
- dtos_d_h_c_p4_lease_update_dto.go
- dtos_d_h_c_p4_server_create_dto.go
- dtos_d_h_c_p4_server_dto.go
- dtos_d_h_c_p4_server_update_dto.go
- dtos_device_template_boot_stage_dto.go
- dtos_device_template_boot_stage_file_dto.go
- dtos_device_template_control_dto.go
- dtos_device_template_dto.go
- dtos_device_template_network_dto.go
- dtos_ethernet_switch_create_dto.go
- dtos_ethernet_switch_dto.go
- dtos_ethernet_switch_model_dto.go
- dtos_ethernet_switch_port_create_dto.go
- dtos_ethernet_switch_port_dto.go
- dtos_ethernet_switch_port_update_dto.go
- dtos_ethernet_switch_update_dto.go
- dtos_ethernet_switch_v_l_a_n_create_dto.go
- dtos_ethernet_switch_v_l_a_n_dto.go
- dtos_ethernet_switch_v_l_a_n_update_dto.go
- dtos_host_network_bridge_create_dto.go
- dtos_host_network_bridge_dto.go
- dtos_host_network_bridge_update_dto.go
- dtos_host_network_vlan_create_dto.go
- dtos_host_network_vlan_dto.go
- dtos_host_network_vlan_update_dto.go
- dtos_http_log_dto.go
- dtos_paginated_items_dto_dtos_app_log_dto.go
- dtos_paginated_items_dto_dtos_d_h_c_p4_lease_dto.go
- dtos_paginated_items_dto_dtos_d_h_c_p4_server_dto.go
- dtos_paginated_items_dto_dtos_device_template_dto.go
- dtos_paginated_items_dto_dtos_ethernet_switch_dto.go
- dtos_paginated_items_dto_dtos_ethernet_switch_port_dto.go
- dtos_paginated_items_dto_dtos_ethernet_switch_v_l_a_n_dto.go
- dtos_paginated_items_dto_dtos_http_log_dto.go
- dtos_pagination_info_dto.go
- dtos_validation_error_dto.go
- dtos_validation_error_elem_dto.go