Class WhoisBaseRecord
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.WhoisBaseRecord
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
WhoisHistoryRecord
,WhoisRecord
@Generated("com.microsoft.kiota")
public class WhoisBaseRecord
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WhoisBaseRecord
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetAbuse()
Gets the abuse property value.getAdmin()
Gets the admin property value.Gets the billing property value.Gets the domainStatus property value.Gets the expirationDateTime property value.The deserialization information for the current modelGets the firstSeenDateTime property value.getHost()
Gets the host property value.Gets the lastSeenDateTime property value.Gets the lastUpdateDateTime property value.Gets the nameservers property value.getNoc()
Gets the noc property value.Gets the rawWhoisText property value.Gets the registrant property value.Gets the registrar property value.Gets the registrationDateTime property value.Gets the technical property value.Gets the whoisServer property value.getZone()
Gets the zone property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAbuse
(WhoisContact value) Sets the abuse property value.void
setAdmin
(WhoisContact value) Sets the admin property value.void
setBilling
(WhoisContact value) Sets the billing property value.void
setDomainStatus
(String value) Sets the domainStatus property value.void
Sets the expirationDateTime property value.void
Sets the firstSeenDateTime property value.void
Sets the host property value.void
Sets the lastSeenDateTime property value.void
Sets the lastUpdateDateTime property value.void
setNameservers
(List<WhoisNameserver> value) Sets the nameservers property value.void
setNoc
(WhoisContact value) Sets the noc property value.void
setRawWhoisText
(String value) Sets the rawWhoisText property value.void
setRegistrant
(WhoisContact value) Sets the registrant property value.void
setRegistrar
(WhoisContact value) Sets the registrar property value.void
Sets the registrationDateTime property value.void
setTechnical
(WhoisContact value) Sets the technical property value.void
setWhoisServer
(String value) Sets the whoisServer property value.void
setZone
(WhoisContact value) Sets the zone property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WhoisBaseRecord
public WhoisBaseRecord()Instantiates a newWhoisBaseRecord
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WhoisBaseRecord createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
WhoisBaseRecord
-
getAbuse
Gets the abuse property value. The contact information for the abuse contact.- Returns:
- a
WhoisContact
-
getAdmin
Gets the admin property value. The contact information for the admin contact.- Returns:
- a
WhoisContact
-
getBilling
Gets the billing property value. The contact information for the billing contact.- Returns:
- a
WhoisContact
-
getDomainStatus
Gets the domainStatus property value. The domain status for this WHOIS object.- Returns:
- a
String
-
getExpirationDateTime
Gets the expirationDateTime property value. The date and time when this WHOIS record expires with the registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFirstSeenDateTime
Gets the firstSeenDateTime property value. The first seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getHost
Gets the host property value. The host property- Returns:
- a
Host
-
getLastSeenDateTime
Gets the lastSeenDateTime property value. The last seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getLastUpdateDateTime
Gets the lastUpdateDateTime property value. The date and time when this WHOIS record was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getNameservers
Gets the nameservers property value. The nameservers for this WHOIS object.- Returns:
- a
List<WhoisNameserver>
-
getNoc
Gets the noc property value. The contact information for the noc contact.- Returns:
- a
WhoisContact
-
getRawWhoisText
Gets the rawWhoisText property value. The raw WHOIS details for this WHOIS object.- Returns:
- a
String
-
getRegistrant
Gets the registrant property value. The contact information for the registrant contact.- Returns:
- a
WhoisContact
-
getRegistrar
Gets the registrar property value. The contact information for the registrar contact.- Returns:
- a
WhoisContact
-
getRegistrationDateTime
Gets the registrationDateTime property value. The date and time when this WHOIS record was registered with a registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getTechnical
Gets the technical property value. The contact information for the technical contact.- Returns:
- a
WhoisContact
-
getWhoisServer
Gets the whoisServer property value. The WHOIS server that provides the details.- Returns:
- a
String
-
getZone
Gets the zone property value. The contact information for the zone contact.- Returns:
- a
WhoisContact
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAbuse
Sets the abuse property value. The contact information for the abuse contact.- Parameters:
value
- Value to set for the abuse property.
-
setAdmin
Sets the admin property value. The contact information for the admin contact.- Parameters:
value
- Value to set for the admin property.
-
setBilling
Sets the billing property value. The contact information for the billing contact.- Parameters:
value
- Value to set for the billing property.
-
setDomainStatus
Sets the domainStatus property value. The domain status for this WHOIS object.- Parameters:
value
- Value to set for the domainStatus property.
-
setExpirationDateTime
Sets the expirationDateTime property value. The date and time when this WHOIS record expires with the registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the expirationDateTime property.
-
setFirstSeenDateTime
Sets the firstSeenDateTime property value. The first seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the firstSeenDateTime property.
-
setHost
Sets the host property value. The host property- Parameters:
value
- Value to set for the host property.
-
setLastSeenDateTime
Sets the lastSeenDateTime property value. The last seen date and time of this WHOIS record. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastSeenDateTime property.
-
setLastUpdateDateTime
Sets the lastUpdateDateTime property value. The date and time when this WHOIS record was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastUpdateDateTime property.
-
setNameservers
Sets the nameservers property value. The nameservers for this WHOIS object.- Parameters:
value
- Value to set for the nameservers property.
-
setNoc
Sets the noc property value. The contact information for the noc contact.- Parameters:
value
- Value to set for the noc property.
-
setRawWhoisText
Sets the rawWhoisText property value. The raw WHOIS details for this WHOIS object.- Parameters:
value
- Value to set for the rawWhoisText property.
-
setRegistrant
Sets the registrant property value. The contact information for the registrant contact.- Parameters:
value
- Value to set for the registrant property.
-
setRegistrar
Sets the registrar property value. The contact information for the registrar contact.- Parameters:
value
- Value to set for the registrar property.
-
setRegistrationDateTime
Sets the registrationDateTime property value. The date and time when this WHOIS record was registered with a registrar. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the registrationDateTime property.
-
setTechnical
Sets the technical property value. The contact information for the technical contact.- Parameters:
value
- Value to set for the technical property.
-
setWhoisServer
Sets the whoisServer property value. The WHOIS server that provides the details.- Parameters:
value
- Value to set for the whoisServer property.
-
setZone
Sets the zone property value. The contact information for the zone contact.- Parameters:
value
- Value to set for the zone property.
-