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

package components

type Upnp struct {
	Devices  []UpnpDevice                   `json:"devices,omitempty"`
	Endpoint *string                        `json:"endpoint,omitempty"`
	Headers  map[string]HTTPRepeatedHeaders `json:"headers,omitempty"`
	Spec     *UpnpSpecVersion               `json:"spec,omitempty"`
}

func (o *Upnp) GetDevices() []UpnpDevice {
	if o == nil {
		return nil
	}
	return o.Devices
}

func (o *Upnp) GetEndpoint() *string {
	if o == nil {
		return nil
	}
	return o.Endpoint
}

func (o *Upnp) GetHeaders() map[string]HTTPRepeatedHeaders {
	if o == nil {
		return nil
	}
	return o.Headers
}

func (o *Upnp) GetSpec() *UpnpSpecVersion {
	if o == nil {
		return nil
	}
	return o.Spec
}
