// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type Host struct {
	AutonomousSystem *Routing   `json:"autonomous_system,omitempty"`
	DNS              *HostDNS   `json:"dns,omitempty"`
	Hardware         *Attribute `json:"hardware,omitempty"`
	IP               *string    `json:"ip,omitempty"`
	Labels           []Label    `json:"labels,omitempty"`
	Location         *Location  `json:"location,omitempty"`
	OperatingSystem  *Attribute `json:"operating_system,omitempty"`
	ServiceCount     *int       `json:"service_count,omitempty"`
	Services         []Service  `json:"services,omitempty"`
	Whois            *Whois     `json:"whois,omitempty"`
}

func (o *Host) GetAutonomousSystem() *Routing {
	if o == nil {
		return nil
	}
	return o.AutonomousSystem
}

func (o *Host) GetDNS() *HostDNS {
	if o == nil {
		return nil
	}
	return o.DNS
}

func (o *Host) GetHardware() *Attribute {
	if o == nil {
		return nil
	}
	return o.Hardware
}

func (o *Host) GetIP() *string {
	if o == nil {
		return nil
	}
	return o.IP
}

func (o *Host) GetLabels() []Label {
	if o == nil {
		return nil
	}
	return o.Labels
}

func (o *Host) GetLocation() *Location {
	if o == nil {
		return nil
	}
	return o.Location
}

func (o *Host) GetOperatingSystem() *Attribute {
	if o == nil {
		return nil
	}
	return o.OperatingSystem
}

func (o *Host) GetServiceCount() *int {
	if o == nil {
		return nil
	}
	return o.ServiceCount
}

func (o *Host) GetServices() []Service {
	if o == nil {
		return nil
	}
	return o.Services
}

func (o *Host) GetWhois() *Whois {
	if o == nil {
		return nil
	}
	return o.Whois
}
