2.1 KiB
DomainRenewReq
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Domain | string | Domain is the name to extend. It is required, and the caller's org must hold it. | |
| Years | Pointer to int64 | Years is how much longer to hold it, defaulting to 1. | [optional] |
Methods
NewDomainRenewReq
func NewDomainRenewReq(domain string, ) *DomainRenewReq
NewDomainRenewReq instantiates a new DomainRenewReq 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
NewDomainRenewReqWithDefaults
func NewDomainRenewReqWithDefaults() *DomainRenewReq
NewDomainRenewReqWithDefaults instantiates a new DomainRenewReq 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
GetDomain
func (o *DomainRenewReq) GetDomain() string
GetDomain returns the Domain field if non-nil, zero value otherwise.
GetDomainOk
func (o *DomainRenewReq) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDomain
func (o *DomainRenewReq) SetDomain(v string)
SetDomain sets Domain field to given value.
GetYears
func (o *DomainRenewReq) GetYears() int64
GetYears returns the Years field if non-nil, zero value otherwise.
GetYearsOk
func (o *DomainRenewReq) GetYearsOk() (*int64, bool)
GetYearsOk returns a tuple with the Years field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetYears
func (o *DomainRenewReq) SetYears(v int64)
SetYears sets Years field to given value.
HasYears
func (o *DomainRenewReq) HasYears() bool
HasYears returns a boolean if a field has been set.