1.6 KiB
SandboxPorts
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Ports | Pointer to []SandboxPort | Ports are the listening ports, ascending. Never null. | [optional] |
Methods
NewSandboxPorts
func NewSandboxPorts() *SandboxPorts
NewSandboxPorts instantiates a new SandboxPorts 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
NewSandboxPortsWithDefaults
func NewSandboxPortsWithDefaults() *SandboxPorts
NewSandboxPortsWithDefaults instantiates a new SandboxPorts 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
GetPorts
func (o *SandboxPorts) GetPorts() []SandboxPort
GetPorts returns the Ports field if non-nil, zero value otherwise.
GetPortsOk
func (o *SandboxPorts) GetPortsOk() (*[]SandboxPort, bool)
GetPortsOk returns a tuple with the Ports field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPorts
func (o *SandboxPorts) SetPorts(v []SandboxPort)
SetPorts sets Ports field to given value.
HasPorts
func (o *SandboxPorts) HasPorts() bool
HasPorts returns a boolean if a field has been set.