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

package components

type KubernetesEndpointSubsetPort struct {
	Name     *string `json:"name,omitempty"`
	Port     *int    `json:"port,omitempty"`
	Protocol *string `json:"protocol,omitempty"`
}

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

func (o *KubernetesEndpointSubsetPort) GetPort() *int {
	if o == nil {
		return nil
	}
	return o.Port
}

func (o *KubernetesEndpointSubsetPort) GetProtocol() *string {
	if o == nil {
		return nil
	}
	return o.Protocol
}
