Skip to content

Latest commit

 

History

History
238 lines (129 loc) · 5.73 KB

LocationDTO.md

File metadata and controls

238 lines (129 loc) · 5.73 KB

LocationDTO

Properties

Name Type Description Notes
Context Pointer to string [optional]
ElementId Pointer to string [optional]
Host Pointer to string [optional]
Id Pointer to int64 [optional]
LocationAsString Pointer to string [optional]
Port Pointer to int32 [optional]
Protocol Pointer to string [optional]
Uri Pointer to string [optional]

Methods

NewLocationDTO

func NewLocationDTO() *LocationDTO

NewLocationDTO instantiates a new LocationDTO 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

NewLocationDTOWithDefaults

func NewLocationDTOWithDefaults() *LocationDTO

NewLocationDTOWithDefaults instantiates a new LocationDTO 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

GetContext

func (o *LocationDTO) GetContext() string

GetContext returns the Context field if non-nil, zero value otherwise.

GetContextOk

func (o *LocationDTO) GetContextOk() (*string, bool)

GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetContext

func (o *LocationDTO) SetContext(v string)

SetContext sets Context field to given value.

HasContext

func (o *LocationDTO) HasContext() bool

HasContext returns a boolean if a field has been set.

GetElementId

func (o *LocationDTO) GetElementId() string

GetElementId returns the ElementId field if non-nil, zero value otherwise.

GetElementIdOk

func (o *LocationDTO) GetElementIdOk() (*string, bool)

GetElementIdOk returns a tuple with the ElementId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetElementId

func (o *LocationDTO) SetElementId(v string)

SetElementId sets ElementId field to given value.

HasElementId

func (o *LocationDTO) HasElementId() bool

HasElementId returns a boolean if a field has been set.

GetHost

func (o *LocationDTO) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

GetHostOk

func (o *LocationDTO) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHost

func (o *LocationDTO) SetHost(v string)

SetHost sets Host field to given value.

HasHost

func (o *LocationDTO) HasHost() bool

HasHost returns a boolean if a field has been set.

GetId

func (o *LocationDTO) GetId() int64

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *LocationDTO) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *LocationDTO) SetId(v int64)

SetId sets Id field to given value.

HasId

func (o *LocationDTO) HasId() bool

HasId returns a boolean if a field has been set.

GetLocationAsString

func (o *LocationDTO) GetLocationAsString() string

GetLocationAsString returns the LocationAsString field if non-nil, zero value otherwise.

GetLocationAsStringOk

func (o *LocationDTO) GetLocationAsStringOk() (*string, bool)

GetLocationAsStringOk returns a tuple with the LocationAsString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocationAsString

func (o *LocationDTO) SetLocationAsString(v string)

SetLocationAsString sets LocationAsString field to given value.

HasLocationAsString

func (o *LocationDTO) HasLocationAsString() bool

HasLocationAsString returns a boolean if a field has been set.

GetPort

func (o *LocationDTO) GetPort() int32

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *LocationDTO) 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.

SetPort

func (o *LocationDTO) SetPort(v int32)

SetPort sets Port field to given value.

HasPort

func (o *LocationDTO) HasPort() bool

HasPort returns a boolean if a field has been set.

GetProtocol

func (o *LocationDTO) GetProtocol() string

GetProtocol returns the Protocol field if non-nil, zero value otherwise.

GetProtocolOk

func (o *LocationDTO) 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.

SetProtocol

func (o *LocationDTO) SetProtocol(v string)

SetProtocol sets Protocol field to given value.

HasProtocol

func (o *LocationDTO) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

GetUri

func (o *LocationDTO) GetUri() string

GetUri returns the Uri field if non-nil, zero value otherwise.

GetUriOk

func (o *LocationDTO) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUri

func (o *LocationDTO) SetUri(v string)

SetUri sets Uri field to given value.

HasUri

func (o *LocationDTO) HasUri() bool

HasUri returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]