Files

3.8 KiB

Region

Properties

Name Type Description Notes
Id string
BaseUrl string
CreatedAt string
Active bool
LastPing Pointer to time.Time [optional]
Name string

Methods

NewRegion

func NewRegion(id string, baseUrl string, createdAt string, active bool, name string, ) *Region

NewRegion instantiates a new Region 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

NewRegionWithDefaults

func NewRegionWithDefaults() *Region

NewRegionWithDefaults instantiates a new Region 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

GetId

func (o *Region) GetId() string

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

GetIdOk

func (o *Region) GetIdOk() (*string, 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 *Region) SetId(v string)

SetId sets Id field to given value.

GetBaseUrl

func (o *Region) GetBaseUrl() string

GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise.

GetBaseUrlOk

func (o *Region) GetBaseUrlOk() (*string, bool)

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

SetBaseUrl

func (o *Region) SetBaseUrl(v string)

SetBaseUrl sets BaseUrl field to given value.

GetCreatedAt

func (o *Region) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Region) GetCreatedAtOk() (*string, bool)

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

SetCreatedAt

func (o *Region) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetActive

func (o *Region) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

GetActiveOk

func (o *Region) GetActiveOk() (*bool, bool)

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

SetActive

func (o *Region) SetActive(v bool)

SetActive sets Active field to given value.

GetLastPing

func (o *Region) GetLastPing() time.Time

GetLastPing returns the LastPing field if non-nil, zero value otherwise.

GetLastPingOk

func (o *Region) GetLastPingOk() (*time.Time, bool)

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

SetLastPing

func (o *Region) SetLastPing(v time.Time)

SetLastPing sets LastPing field to given value.

HasLastPing

func (o *Region) HasLastPing() bool

HasLastPing returns a boolean if a field has been set.

GetName

func (o *Region) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Region) GetNameOk() (*string, bool)

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

SetName

func (o *Region) SetName(v string)

SetName sets Name field to given value.

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