Name | Type | Description | Notes |
---|---|---|---|
App | Pointer to DestinationApp | [optional] | |
Guid | Pointer to string | [optional] | |
Port | Pointer to int32 | [optional] | |
Protocol | Pointer to NullableString | [optional] | |
Weight | Pointer to NullableInt32 | [optional] |
func NewDestination() *Destination
NewDestination instantiates a new Destination 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 NewDestinationWithDefaults() *Destination
NewDestinationWithDefaults instantiates a new Destination 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 *Destination) GetApp() DestinationApp
GetApp returns the App field if non-nil, zero value otherwise.
func (o *Destination) GetAppOk() (*DestinationApp, bool)
GetAppOk returns a tuple with the App field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Destination) SetApp(v DestinationApp)
SetApp sets App field to given value.
func (o *Destination) HasApp() bool
HasApp returns a boolean if a field has been set.
func (o *Destination) GetGuid() string
GetGuid returns the Guid field if non-nil, zero value otherwise.
func (o *Destination) GetGuidOk() (*string, bool)
GetGuidOk returns a tuple with the Guid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Destination) SetGuid(v string)
SetGuid sets Guid field to given value.
func (o *Destination) HasGuid() bool
HasGuid returns a boolean if a field has been set.
func (o *Destination) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *Destination) GetPortOk() (*int32, 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 *Destination) SetPort(v int32)
SetPort sets Port field to given value.
func (o *Destination) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *Destination) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *Destination) 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 *Destination) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *Destination) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (o *Destination) SetProtocolNil(b bool)
SetProtocolNil sets the value for Protocol to be an explicit nil
func (o *Destination) UnsetProtocol()
UnsetProtocol ensures that no value is present for Protocol, not even an explicit nil
func (o *Destination) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *Destination) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Destination) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *Destination) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *Destination) SetWeightNil(b bool)
SetWeightNil sets the value for Weight to be an explicit nil
func (o *Destination) UnsetWeight()
UnsetWeight ensures that no value is present for Weight, not even an explicit nil