Class DomainDnsMxRecord

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class DomainDnsMxRecord extends DomainDnsRecord implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Domain Dns Mx Record.
  • Field Details

    • mailExchange

      @SerializedName(value="mailExchange", alternate="MailExchange") @Expose @Nullable public String mailExchange
      The Mail Exchange. Value used when configuring the answer/destination/value of the MX record at the DNS host.
    • preference

      @SerializedName(value="preference", alternate="Preference") @Expose @Nullable public Integer preference
      The Preference. Value used when configuring the Preference/Priority property of the MX record at the DNS host.
  • Constructor Details

    • DomainDnsMxRecord

      public DomainDnsMxRecord()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DomainDnsRecord
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to