Package odata.msgraph.client.beta.entity
Class MessageTrace
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MessageTrace
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MessageTrace extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessageTrace.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdestinationIPAddressprotected StringmessageIdprotected OffsetDateTimereceivedDateTimeprotected StringsenderEmailprotected Integersizeprotected StringsourceIPAddressprotected Stringsubject-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMessageTrace()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageTrace.BuilderbuilderMessageTrace()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDestinationIPAddress()Optional<String>getMessageId()Optional<OffsetDateTime>getReceivedDateTime()MessageRecipientCollectionRequestgetRecipients()Optional<String>getSenderEmail()Optional<Integer>getSize()Optional<String>getSourceIPAddress()Optional<String>getSubject()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MessageTracepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MessageTraceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MessageTracewithDestinationIPAddress(String destinationIPAddress)MessageTracewithMessageId(String messageId)MessageTracewithReceivedDateTime(OffsetDateTime receivedDateTime)MessageTracewithSenderEmail(String senderEmail)MessageTracewithSize(Integer size)MessageTracewithSourceIPAddress(String sourceIPAddress)MessageTracewithSubject(String subject)MessageTracewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
destinationIPAddress
protected String destinationIPAddress
-
messageId
protected String messageId
-
receivedDateTime
protected OffsetDateTime receivedDateTime
-
senderEmail
protected String senderEmail
-
size
protected Integer size
-
sourceIPAddress
protected String sourceIPAddress
-
subject
protected String subject
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMessageTrace
public static MessageTrace.Builder builderMessageTrace()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withDestinationIPAddress
public MessageTrace withDestinationIPAddress(String destinationIPAddress)
-
withMessageId
public MessageTrace withMessageId(String messageId)
-
getReceivedDateTime
public Optional<OffsetDateTime> getReceivedDateTime()
-
withReceivedDateTime
public MessageTrace withReceivedDateTime(OffsetDateTime receivedDateTime)
-
withSenderEmail
public MessageTrace withSenderEmail(String senderEmail)
-
withSize
public MessageTrace withSize(Integer size)
-
withSourceIPAddress
public MessageTrace withSourceIPAddress(String sourceIPAddress)
-
withSubject
public MessageTrace withSubject(String subject)
-
withUnmappedField
public MessageTrace withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getRecipients
public MessageRecipientCollectionRequest getRecipients()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MessageTrace patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MessageTrace put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-