Name | Type | Description | Notes |
---|---|---|---|
HostPort | Pointer to int32 | The DNS/DHCP Server port that is mapped to the container port. | [optional] |
ContainerPort | Pointer to int32 | The host container port that is mapped to the DNS/DHCP Server port. | [optional] |
func NewContainerPortMappingBean() *ContainerPortMappingBean
NewContainerPortMappingBean instantiates a new ContainerPortMappingBean object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerPortMappingBeanWithDefaults() *ContainerPortMappingBean
NewContainerPortMappingBeanWithDefaults instantiates a new ContainerPortMappingBean object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *ContainerPortMappingBean) GetHostPort() int32
GetHostPort returns the HostPort field if non-nil, zero value otherwise.
func (o *ContainerPortMappingBean) GetHostPortOk() (*int32, bool)
GetHostPortOk returns a tuple with the HostPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerPortMappingBean) SetHostPort(v int32)
SetHostPort sets HostPort field to given value.
func (o *ContainerPortMappingBean) HasHostPort() bool
HasHostPort returns a boolean if a field has been set.
func (o *ContainerPortMappingBean) GetContainerPort() int32
GetContainerPort returns the ContainerPort field if non-nil, zero value otherwise.
func (o *ContainerPortMappingBean) GetContainerPortOk() (*int32, bool)
GetContainerPortOk returns a tuple with the ContainerPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerPortMappingBean) SetContainerPort(v int32)
SetContainerPort sets ContainerPort field to given value.
func (o *ContainerPortMappingBean) HasContainerPort() bool
HasContainerPort returns a boolean if a field has been set.