Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 4.03 KB

RepositoryGeoIpTestAddressResponseDict.md

File metadata and controls

124 lines (67 loc) · 4.03 KB

RepositoryGeoIpTestAddressResponseDict

Properties

Name Type Description Notes
Allowed bool The result of the IP test
CountryCode NullableString The country code of the tested IP address
IpAddress string The IP address that was tested
Reason string The reason for the result

Methods

NewRepositoryGeoIpTestAddressResponseDict

func NewRepositoryGeoIpTestAddressResponseDict(allowed bool, countryCode NullableString, ipAddress string, reason string, ) *RepositoryGeoIpTestAddressResponseDict

NewRepositoryGeoIpTestAddressResponseDict instantiates a new RepositoryGeoIpTestAddressResponseDict 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

NewRepositoryGeoIpTestAddressResponseDictWithDefaults

func NewRepositoryGeoIpTestAddressResponseDictWithDefaults() *RepositoryGeoIpTestAddressResponseDict

NewRepositoryGeoIpTestAddressResponseDictWithDefaults instantiates a new RepositoryGeoIpTestAddressResponseDict 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

GetAllowed

func (o *RepositoryGeoIpTestAddressResponseDict) GetAllowed() bool

GetAllowed returns the Allowed field if non-nil, zero value otherwise.

GetAllowedOk

func (o *RepositoryGeoIpTestAddressResponseDict) GetAllowedOk() (*bool, bool)

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

SetAllowed

func (o *RepositoryGeoIpTestAddressResponseDict) SetAllowed(v bool)

SetAllowed sets Allowed field to given value.

GetCountryCode

func (o *RepositoryGeoIpTestAddressResponseDict) GetCountryCode() string

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

GetCountryCodeOk

func (o *RepositoryGeoIpTestAddressResponseDict) 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 *RepositoryGeoIpTestAddressResponseDict) SetCountryCode(v string)

SetCountryCode sets CountryCode field to given value.

SetCountryCodeNil

func (o *RepositoryGeoIpTestAddressResponseDict) SetCountryCodeNil(b bool)

SetCountryCodeNil sets the value for CountryCode to be an explicit nil

UnsetCountryCode

func (o *RepositoryGeoIpTestAddressResponseDict) UnsetCountryCode()

UnsetCountryCode ensures that no value is present for CountryCode, not even an explicit nil

GetIpAddress

func (o *RepositoryGeoIpTestAddressResponseDict) GetIpAddress() string

GetIpAddress returns the IpAddress field if non-nil, zero value otherwise.

GetIpAddressOk

func (o *RepositoryGeoIpTestAddressResponseDict) GetIpAddressOk() (*string, bool)

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

SetIpAddress

func (o *RepositoryGeoIpTestAddressResponseDict) SetIpAddress(v string)

SetIpAddress sets IpAddress field to given value.

GetReason

func (o *RepositoryGeoIpTestAddressResponseDict) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

func (o *RepositoryGeoIpTestAddressResponseDict) GetReasonOk() (*string, bool)

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

SetReason

func (o *RepositoryGeoIpTestAddressResponseDict) SetReason(v string)

SetReason sets Reason field to given value.

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