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

package components

type PortmapV2Entry struct {
	Description *string `json:"description,omitempty"`
	Port        *int    `json:"port,omitempty"`
	Protocol    *string `json:"protocol,omitempty"`
	Shorthand   *string `json:"shorthand,omitempty"`
	Version     *int    `json:"version,omitempty"`
}

func (o *PortmapV2Entry) GetDescription() *string {
	if o == nil {
		return nil
	}
	return o.Description
}

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

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

func (o *PortmapV2Entry) GetShorthand() *string {
	if o == nil {
		return nil
	}
	return o.Shorthand
}

func (o *PortmapV2Entry) GetVersion() *int {
	if o == nil {
		return nil
	}
	return o.Version
}
