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
  • Constructor Details

    • WhoisBaseRecord

      public WhoisBaseRecord()
      Instantiates a new WhoisBaseRecord 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

      @Nullable public WhoisContact getAbuse()
      Gets the abuse property value. The contact information for the abuse contact.
      Returns:
      a WhoisContact
    • getAdmin

      @Nullable public WhoisContact getAdmin()
      Gets the admin property value. The contact information for the admin contact.
      Returns:
      a WhoisContact
    • getBilling

      @Nullable public WhoisContact getBilling()
      Gets the billing property value. The contact information for the billing contact.
      Returns:
      a WhoisContact
    • getDomainStatus

      @Nullable public String getDomainStatus()
      Gets the domainStatus property value. The domain status for this WHOIS object.
      Returns:
      a String
    • getExpirationDateTime

      @Nullable public OffsetDateTime 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFirstSeenDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public Host getHost()
      Gets the host property value. The host property
      Returns:
      a Host
    • getLastSeenDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public 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

      @Nullable public List<WhoisNameserver> getNameservers()
      Gets the nameservers property value. The nameservers for this WHOIS object.
      Returns:
      a List<WhoisNameserver>
    • getNoc

      @Nullable public WhoisContact getNoc()
      Gets the noc property value. The contact information for the noc contact.
      Returns:
      a WhoisContact
    • getRawWhoisText

      @Nullable public String getRawWhoisText()
      Gets the rawWhoisText property value. The raw WHOIS details for this WHOIS object.
      Returns:
      a String
    • getRegistrant

      @Nullable public WhoisContact getRegistrant()
      Gets the registrant property value. The contact information for the registrant contact.
      Returns:
      a WhoisContact
    • getRegistrar

      @Nullable public WhoisContact getRegistrar()
      Gets the registrar property value. The contact information for the registrar contact.
      Returns:
      a WhoisContact
    • getRegistrationDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public WhoisContact getTechnical()
      Gets the technical property value. The contact information for the technical contact.
      Returns:
      a WhoisContact
    • getWhoisServer

      @Nullable public String getWhoisServer()
      Gets the whoisServer property value. The WHOIS server that provides the details.
      Returns:
      a String
    • getZone

      @Nullable public WhoisContact 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAbuse

      public void setAbuse(@Nullable WhoisContact value)
      Sets the abuse property value. The contact information for the abuse contact.
      Parameters:
      value - Value to set for the abuse property.
    • setAdmin

      public void setAdmin(@Nullable WhoisContact value)
      Sets the admin property value. The contact information for the admin contact.
      Parameters:
      value - Value to set for the admin property.
    • setBilling

      public void setBilling(@Nullable WhoisContact value)
      Sets the billing property value. The contact information for the billing contact.
      Parameters:
      value - Value to set for the billing property.
    • setDomainStatus

      public void setDomainStatus(@Nullable String value)
      Sets the domainStatus property value. The domain status for this WHOIS object.
      Parameters:
      value - Value to set for the domainStatus property.
    • setExpirationDateTime

      public void setExpirationDateTime(@Nullable OffsetDateTime value)
      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

      public void setFirstSeenDateTime(@Nullable OffsetDateTime value)
      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

      public void setHost(@Nullable Host value)
      Sets the host property value. The host property
      Parameters:
      value - Value to set for the host property.
    • setLastSeenDateTime

      public void setLastSeenDateTime(@Nullable OffsetDateTime value)
      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

      public void setLastUpdateDateTime(@Nullable OffsetDateTime value)
      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

      public void setNameservers(@Nullable List<WhoisNameserver> value)
      Sets the nameservers property value. The nameservers for this WHOIS object.
      Parameters:
      value - Value to set for the nameservers property.
    • setNoc

      public void setNoc(@Nullable WhoisContact value)
      Sets the noc property value. The contact information for the noc contact.
      Parameters:
      value - Value to set for the noc property.
    • setRawWhoisText

      public void setRawWhoisText(@Nullable String value)
      Sets the rawWhoisText property value. The raw WHOIS details for this WHOIS object.
      Parameters:
      value - Value to set for the rawWhoisText property.
    • setRegistrant

      public void setRegistrant(@Nullable WhoisContact value)
      Sets the registrant property value. The contact information for the registrant contact.
      Parameters:
      value - Value to set for the registrant property.
    • setRegistrar

      public void setRegistrar(@Nullable WhoisContact value)
      Sets the registrar property value. The contact information for the registrar contact.
      Parameters:
      value - Value to set for the registrar property.
    • setRegistrationDateTime

      public void setRegistrationDateTime(@Nullable OffsetDateTime value)
      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

      public void setTechnical(@Nullable WhoisContact value)
      Sets the technical property value. The contact information for the technical contact.
      Parameters:
      value - Value to set for the technical property.
    • setWhoisServer

      public void setWhoisServer(@Nullable String value)
      Sets the whoisServer property value. The WHOIS server that provides the details.
      Parameters:
      value - Value to set for the whoisServer property.
    • setZone

      public void setZone(@Nullable WhoisContact value)
      Sets the zone property value. The contact information for the zone contact.
      Parameters:
      value - Value to set for the zone property.