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 |
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
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
func (o *RepositoryGeoIpTestAddressResponseDict) GetAllowed() bool
GetAllowed returns the Allowed field if non-nil, zero value otherwise.
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.
func (o *RepositoryGeoIpTestAddressResponseDict) SetAllowed(v bool)
SetAllowed sets Allowed field to given value.
func (o *RepositoryGeoIpTestAddressResponseDict) GetCountryCode() string
GetCountryCode returns the CountryCode field if non-nil, zero value otherwise.
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.
func (o *RepositoryGeoIpTestAddressResponseDict) SetCountryCode(v string)
SetCountryCode sets CountryCode field to given value.
func (o *RepositoryGeoIpTestAddressResponseDict) SetCountryCodeNil(b bool)
SetCountryCodeNil sets the value for CountryCode to be an explicit nil
func (o *RepositoryGeoIpTestAddressResponseDict) UnsetCountryCode()
UnsetCountryCode ensures that no value is present for CountryCode, not even an explicit nil
func (o *RepositoryGeoIpTestAddressResponseDict) GetIpAddress() string
GetIpAddress returns the IpAddress field if non-nil, zero value otherwise.
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.
func (o *RepositoryGeoIpTestAddressResponseDict) SetIpAddress(v string)
SetIpAddress sets IpAddress field to given value.
func (o *RepositoryGeoIpTestAddressResponseDict) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
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.
func (o *RepositoryGeoIpTestAddressResponseDict) SetReason(v string)
SetReason sets Reason field to given value.