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

package components

type HostDNS struct {
	ForwardDNS map[string]HostDNSForwardResolution `json:"forward_dns,omitempty"`
	Names      []string                            `json:"names,omitempty"`
	ReverseDNS *HostDNSReverseResolution           `json:"reverse_dns,omitempty"`
}

func (o *HostDNS) GetForwardDNS() map[string]HostDNSForwardResolution {
	if o == nil {
		return nil
	}
	return o.ForwardDNS
}

func (o *HostDNS) GetNames() []string {
	if o == nil {
		return nil
	}
	return o.Names
}

func (o *HostDNS) GetReverseDNS() *HostDNSReverseResolution {
	if o == nil {
		return nil
	}
	return o.ReverseDNS
}
