Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.85 KB

Region.md

File metadata and controls

72 lines (39 loc) · 1.85 KB

Region

Properties

Name Type Description Notes
Name RegionName
Location string The city where the region is located.

Methods

NewRegion

func NewRegion(name RegionName, location 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

GetName

func (o *Region) GetName() RegionName

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

GetNameOk

func (o *Region) GetNameOk() (*RegionName, 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 RegionName)

SetName sets Name field to given value.

GetLocation

func (o *Region) GetLocation() string

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

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

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

SetLocation

func (o *Region) SetLocation(v string)

SetLocation sets Location field to given value.

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