Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.72 KB

RepositoryGeoIpRulesRequestPatch.md

File metadata and controls

82 lines (45 loc) · 2.72 KB

RepositoryGeoIpRulesRequestPatch

Properties

Name Type Description Notes
Cidr Pointer to RepositoryGeoIpCidr [optional]
CountryCode Pointer to RepositoryGeoIpCountryCode [optional]

Methods

NewRepositoryGeoIpRulesRequestPatch

func NewRepositoryGeoIpRulesRequestPatch() *RepositoryGeoIpRulesRequestPatch

NewRepositoryGeoIpRulesRequestPatch instantiates a new RepositoryGeoIpRulesRequestPatch 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

NewRepositoryGeoIpRulesRequestPatchWithDefaults

func NewRepositoryGeoIpRulesRequestPatchWithDefaults() *RepositoryGeoIpRulesRequestPatch

NewRepositoryGeoIpRulesRequestPatchWithDefaults instantiates a new RepositoryGeoIpRulesRequestPatch 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

GetCidr

func (o *RepositoryGeoIpRulesRequestPatch) GetCidr() RepositoryGeoIpCidr

GetCidr returns the Cidr field if non-nil, zero value otherwise.

GetCidrOk

func (o *RepositoryGeoIpRulesRequestPatch) GetCidrOk() (*RepositoryGeoIpCidr, bool)

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

SetCidr

func (o *RepositoryGeoIpRulesRequestPatch) SetCidr(v RepositoryGeoIpCidr)

SetCidr sets Cidr field to given value.

HasCidr

func (o *RepositoryGeoIpRulesRequestPatch) HasCidr() bool

HasCidr returns a boolean if a field has been set.

GetCountryCode

func (o *RepositoryGeoIpRulesRequestPatch) GetCountryCode() RepositoryGeoIpCountryCode

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

GetCountryCodeOk

func (o *RepositoryGeoIpRulesRequestPatch) GetCountryCodeOk() (*RepositoryGeoIpCountryCode, 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 *RepositoryGeoIpRulesRequestPatch) SetCountryCode(v RepositoryGeoIpCountryCode)

SetCountryCode sets CountryCode field to given value.

HasCountryCode

func (o *RepositoryGeoIpRulesRequestPatch) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

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