/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the route53domains-2014-05-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Route53Domains.Model { /// /// The GetDomainDetail response includes the following elements. /// public partial class GetDomainDetailResponse : AmazonWebServiceResponse { private string _abuseContactEmail; private string _abuseContactPhone; private ContactDetail _adminContact; private bool? _adminPrivacy; private bool? _autoRenew; private DateTime? _creationDate; private string _dnsSec; private List _dnssecKeys = new List(); private string _domainName; private DateTime? _expirationDate; private List _nameservers = new List(); private ContactDetail _registrantContact; private bool? _registrantPrivacy; private string _registrarName; private string _registrarUrl; private string _registryDomainId; private string _reseller; private List _statusList = new List(); private ContactDetail _techContact; private bool? _techPrivacy; private DateTime? _updatedDate; private string _whoIsServer; /// /// Gets and sets the property AbuseContactEmail. /// /// Email address to contact to report incorrect contact information for a domain, to /// report that the domain is being used to send spam, to report that someone is cybersquatting /// on a domain name, or report some other type of abuse. /// /// [AWSProperty(Max=254)] public string AbuseContactEmail { get { return this._abuseContactEmail; } set { this._abuseContactEmail = value; } } // Check to see if AbuseContactEmail property is set internal bool IsSetAbuseContactEmail() { return this._abuseContactEmail != null; } /// /// Gets and sets the property AbuseContactPhone. /// /// Phone number for reporting abuse. /// /// [AWSProperty(Max=30)] public string AbuseContactPhone { get { return this._abuseContactPhone; } set { this._abuseContactPhone = value; } } // Check to see if AbuseContactPhone property is set internal bool IsSetAbuseContactPhone() { return this._abuseContactPhone != null; } /// /// Gets and sets the property AdminContact. /// /// Provides details about the domain administrative contact. /// /// [AWSProperty(Sensitive=true)] public ContactDetail AdminContact { get { return this._adminContact; } set { this._adminContact = value; } } // Check to see if AdminContact property is set internal bool IsSetAdminContact() { return this._adminContact != null; } /// /// Gets and sets the property AdminPrivacy. /// /// Specifies whether contact information is concealed from WHOIS queries. If the value /// is true, WHOIS ("who is") queries return contact information either for /// Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, /// Gandi (for all other TLDs). If the value is false, WHOIS queries return /// the information that you entered for the admin contact. /// /// public bool AdminPrivacy { get { return this._adminPrivacy.GetValueOrDefault(); } set { this._adminPrivacy = value; } } // Check to see if AdminPrivacy property is set internal bool IsSetAdminPrivacy() { return this._adminPrivacy.HasValue; } /// /// Gets and sets the property AutoRenew. /// /// Specifies whether the domain registration is set to renew automatically. /// /// public bool AutoRenew { get { return this._autoRenew.GetValueOrDefault(); } set { this._autoRenew = value; } } // Check to see if AutoRenew property is set internal bool IsSetAutoRenew() { return this._autoRenew.HasValue; } /// /// Gets and sets the property CreationDate. /// /// The date when the domain was created as found in the response to a WHOIS query. The /// date and time is in Unix time format and Coordinated Universal time (UTC). /// /// public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// /// Gets and sets the property DnsSec. /// /// Deprecated. /// /// public string DnsSec { get { return this._dnsSec; } set { this._dnsSec = value; } } // Check to see if DnsSec property is set internal bool IsSetDnsSec() { return this._dnsSec != null; } /// /// Gets and sets the property DnssecKeys. /// /// A complex type that contains information about the DNSSEC configuration. /// /// public List DnssecKeys { get { return this._dnssecKeys; } set { this._dnssecKeys = value; } } // Check to see if DnssecKeys property is set internal bool IsSetDnssecKeys() { return this._dnssecKeys != null && this._dnssecKeys.Count > 0; } /// /// Gets and sets the property DomainName. /// /// The name of a domain. /// /// [AWSProperty(Max=255)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// /// Gets and sets the property ExpirationDate. /// /// The date when the registration for the domain is set to expire. The date and time /// is in Unix time format and Coordinated Universal time (UTC). /// /// public DateTime ExpirationDate { get { return this._expirationDate.GetValueOrDefault(); } set { this._expirationDate = value; } } // Check to see if ExpirationDate property is set internal bool IsSetExpirationDate() { return this._expirationDate.HasValue; } /// /// Gets and sets the property Nameservers. /// /// The name servers of the domain. /// /// public List Nameservers { get { return this._nameservers; } set { this._nameservers = value; } } // Check to see if Nameservers property is set internal bool IsSetNameservers() { return this._nameservers != null && this._nameservers.Count > 0; } /// /// Gets and sets the property RegistrantContact. /// /// Provides details about the domain registrant. /// /// [AWSProperty(Sensitive=true)] public ContactDetail RegistrantContact { get { return this._registrantContact; } set { this._registrantContact = value; } } // Check to see if RegistrantContact property is set internal bool IsSetRegistrantContact() { return this._registrantContact != null; } /// /// Gets and sets the property RegistrantPrivacy. /// /// Specifies whether contact information is concealed from WHOIS queries. If the value /// is true, WHOIS ("who is") queries return contact information either for /// Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, /// Gandi (for all other TLDs). If the value is false, WHOIS queries return /// the information that you entered for the registrant contact (domain owner). /// /// public bool RegistrantPrivacy { get { return this._registrantPrivacy.GetValueOrDefault(); } set { this._registrantPrivacy = value; } } // Check to see if RegistrantPrivacy property is set internal bool IsSetRegistrantPrivacy() { return this._registrantPrivacy.HasValue; } /// /// Gets and sets the property RegistrarName. /// /// Name of the registrar of the domain as identified in the registry. Domains with a /// .com, .net, or .org TLD are registered by Amazon Registrar. All other domains are /// registered by our registrar associate, Gandi. The value for domains that are registered /// by Gandi is "GANDI SAS". /// /// public string RegistrarName { get { return this._registrarName; } set { this._registrarName = value; } } // Check to see if RegistrarName property is set internal bool IsSetRegistrarName() { return this._registrarName != null; } /// /// Gets and sets the property RegistrarUrl. /// /// Web address of the registrar. /// /// public string RegistrarUrl { get { return this._registrarUrl; } set { this._registrarUrl = value; } } // Check to see if RegistrarUrl property is set internal bool IsSetRegistrarUrl() { return this._registrarUrl != null; } /// /// Gets and sets the property RegistryDomainId. /// /// Reserved for future use. /// /// public string RegistryDomainId { get { return this._registryDomainId; } set { this._registryDomainId = value; } } // Check to see if RegistryDomainId property is set internal bool IsSetRegistryDomainId() { return this._registryDomainId != null; } /// /// Gets and sets the property Reseller. /// /// Reseller of the domain. Domains registered or transferred using Route 53 domains will /// have "Amazon" as the reseller. /// /// public string Reseller { get { return this._reseller; } set { this._reseller = value; } } // Check to see if Reseller property is set internal bool IsSetReseller() { return this._reseller != null; } /// /// Gets and sets the property StatusList. /// /// An array of domain name status codes, also known as Extensible Provisioning Protocol /// (EPP) status codes. /// /// /// /// ICANN, the organization that maintains a central database of domain names, has developed /// a set of domain name status codes that tell you the status of a variety of operations /// on a domain name, for example, registering a domain name, transferring a domain name /// to another registrar, renewing the registration for a domain name, and so on. All /// registrars use this same set of status codes. /// /// /// /// For a current list of domain name status codes and an explanation of what each code /// means, go to the ICANN website and search for /// epp status codes. (Search on the ICANN website; web searches sometimes /// return an old version of the document.) /// /// public List StatusList { get { return this._statusList; } set { this._statusList = value; } } // Check to see if StatusList property is set internal bool IsSetStatusList() { return this._statusList != null && this._statusList.Count > 0; } /// /// Gets and sets the property TechContact. /// /// Provides details about the domain technical contact. /// /// [AWSProperty(Sensitive=true)] public ContactDetail TechContact { get { return this._techContact; } set { this._techContact = value; } } // Check to see if TechContact property is set internal bool IsSetTechContact() { return this._techContact != null; } /// /// Gets and sets the property TechPrivacy. /// /// Specifies whether contact information is concealed from WHOIS queries. If the value /// is true, WHOIS ("who is") queries return contact information either for /// Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, /// Gandi (for all other TLDs). If the value is false, WHOIS queries return /// the information that you entered for the technical contact. /// /// public bool TechPrivacy { get { return this._techPrivacy.GetValueOrDefault(); } set { this._techPrivacy = value; } } // Check to see if TechPrivacy property is set internal bool IsSetTechPrivacy() { return this._techPrivacy.HasValue; } /// /// Gets and sets the property UpdatedDate. /// /// The last updated date of the domain as found in the response to a WHOIS query. The /// date and time is in Unix time format and Coordinated Universal time (UTC). /// /// public DateTime UpdatedDate { get { return this._updatedDate.GetValueOrDefault(); } set { this._updatedDate = value; } } // Check to see if UpdatedDate property is set internal bool IsSetUpdatedDate() { return this._updatedDate.HasValue; } /// /// Gets and sets the property WhoIsServer. /// /// The fully qualified name of the WHOIS server that can answer the WHOIS query for the /// domain. /// /// public string WhoIsServer { get { return this._whoIsServer; } set { this._whoIsServer = value; } } // Check to see if WhoIsServer property is set internal bool IsSetWhoIsServer() { return this._whoIsServer != null; } } }