Name | Type | Description | Notes |
---|---|---|---|
Port | Pointer to int64 | [optional] | |
Protocol | Pointer to string | [optional] |
func NewPort() *Port
NewPort instantiates a new Port 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 NewPortWithDefaults() *Port
NewPortWithDefaults instantiates a new Port 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 *Port) GetPort() int64
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *Port) GetPortOk() (*int64, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Port) SetPort(v int64)
SetPort sets Port field to given value.
func (o *Port) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *Port) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *Port) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Port) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *Port) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.