commons-go/infra/model/InfraOSPort.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

19 lines
573 B
Go

package model
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
meta "git.loafle.net/overflow/commons-go/meta/model"
)
type InfraOSPort struct {
Infra
InfraOS *InfraOS `json:"os,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"`
Port json.Number `json:"port,omitempty"`
PortType string `json:"portType,omitempty"`
MetaInfraVendor *meta.MetaInfraVendor `json:"vendor,omitempty"`
TLSType bool `json:"tlsType,omitempty"`
}