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

package components

type OnvifHostname struct {
	FromDhcp *bool   `json:"from_dhcp,omitempty"`
	Name     *string `json:"name,omitempty"`
}

func (o *OnvifHostname) GetFromDhcp() *bool {
	if o == nil {
		return nil
	}
	return o.FromDhcp
}

func (o *OnvifHostname) GetName() *string {
	if o == nil {
		return nil
	}
	return o.Name
}
