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

package components

type Target struct {
	Alias          *string  `json:"alias,omitempty"`
	Auths          []string `json:"auths,omitempty"`
	DNSPortals     []string `json:"dns_portals,omitempty"`
	Errors         []string `json:"errors,omitempty"`
	Name           *string  `json:"name,omitempty"`
	PrivatePortals []string `json:"private_portals,omitempty"`
	PublicPortals  []string `json:"public_portals,omitempty"`
}

func (o *Target) GetAlias() *string {
	if o == nil {
		return nil
	}
	return o.Alias
}

func (o *Target) GetAuths() []string {
	if o == nil {
		return nil
	}
	return o.Auths
}

func (o *Target) GetDNSPortals() []string {
	if o == nil {
		return nil
	}
	return o.DNSPortals
}

func (o *Target) GetErrors() []string {
	if o == nil {
		return nil
	}
	return o.Errors
}

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

func (o *Target) GetPrivatePortals() []string {
	if o == nil {
		return nil
	}
	return o.PrivatePortals
}

func (o *Target) GetPublicPortals() []string {
	if o == nil {
		return nil
	}
	return o.PublicPortals
}
