Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.98 KB

File metadata and controls

108 lines (59 loc) · 2.98 KB

MetricsCountries

Properties

Name Type Description Notes
Country Pointer to string A country's long name [optional]
CountryCode Pointer to string A country's ISO 3166-1 alpha-2 code [optional]
Count Pointer to string The number of requests from the country [optional]

Methods

NewMetricsCountries

func NewMetricsCountries() *MetricsCountries

NewMetricsCountries instantiates a new MetricsCountries 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

NewMetricsCountriesWithDefaults

func NewMetricsCountriesWithDefaults() *MetricsCountries

NewMetricsCountriesWithDefaults instantiates a new MetricsCountries 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

GetCountry

func (o *MetricsCountries) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *MetricsCountries) GetCountryOk() (*string, bool)

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

SetCountry

func (o *MetricsCountries) SetCountry(v string)

SetCountry sets Country field to given value.

HasCountry

func (o *MetricsCountries) HasCountry() bool

HasCountry returns a boolean if a field has been set.

GetCountryCode

func (o *MetricsCountries) GetCountryCode() string

GetCountryCode returns the CountryCode field if non-nil, zero value otherwise.

GetCountryCodeOk

func (o *MetricsCountries) GetCountryCodeOk() (*string, bool)

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

SetCountryCode

func (o *MetricsCountries) SetCountryCode(v string)

SetCountryCode sets CountryCode field to given value.

HasCountryCode

func (o *MetricsCountries) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

GetCount

func (o *MetricsCountries) GetCount() string

GetCount returns the Count field if non-nil, zero value otherwise.

GetCountOk

func (o *MetricsCountries) GetCountOk() (*string, bool)

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

SetCount

func (o *MetricsCountries) SetCount(v string)

SetCount sets Count field to given value.

HasCount

func (o *MetricsCountries) HasCount() bool

HasCount returns a boolean if a field has been set.

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