2.8 KiB
DomainOrder
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Contacts | Pointer to DomainContacts | Contacts is the WHOIS contact set. Omit it and the registrar uses the reseller account's default contacts. | [optional] |
| Domain | string | Domain is the name to buy. It is required. | |
| Years | Pointer to int64 | Years is the term to buy, defaulting to 1. | [optional] |
Methods
NewDomainOrder
func NewDomainOrder(domain string, ) *DomainOrder
NewDomainOrder instantiates a new DomainOrder 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
NewDomainOrderWithDefaults
func NewDomainOrderWithDefaults() *DomainOrder
NewDomainOrderWithDefaults instantiates a new DomainOrder 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
GetContacts
func (o *DomainOrder) GetContacts() DomainContacts
GetContacts returns the Contacts field if non-nil, zero value otherwise.
GetContactsOk
func (o *DomainOrder) GetContactsOk() (*DomainContacts, bool)
GetContactsOk returns a tuple with the Contacts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContacts
func (o *DomainOrder) SetContacts(v DomainContacts)
SetContacts sets Contacts field to given value.
HasContacts
func (o *DomainOrder) HasContacts() bool
HasContacts returns a boolean if a field has been set.
GetDomain
func (o *DomainOrder) GetDomain() string
GetDomain returns the Domain field if non-nil, zero value otherwise.
GetDomainOk
func (o *DomainOrder) 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 *DomainOrder) SetDomain(v string)
SetDomain sets Domain field to given value.
GetYears
func (o *DomainOrder) GetYears() int64
GetYears returns the Years field if non-nil, zero value otherwise.
GetYearsOk
func (o *DomainOrder) 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 *DomainOrder) SetYears(v int64)
SetYears sets Years field to given value.
HasYears
func (o *DomainOrder) HasYears() bool
HasYears returns a boolean if a field has been set.