Package com.microsoft.graph.models
Class DomainDnsMxRecord
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DomainDnsRecord
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe Mail Exchange.The Preference.Fields inherited from class com.microsoft.graph.models.DomainDnsRecord
isOptional, label, recordType, supportedService, ttl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
mailExchange
@SerializedName(value="mailExchange", alternate="MailExchange") @Expose @Nullable public String mailExchangeThe 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 preferenceThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classDomainDnsRecord
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-