All Downloads are FREE. Search and download functionalities are using the official Maven repository.

odata.msgraph.client.entity.CalendarSharingMessage Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package odata.msgraph.client.entity;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped;
import com.github.davidmoten.odata.client.ClientException;
import com.github.davidmoten.odata.client.CollectionPage;
import com.github.davidmoten.odata.client.HttpRequestOptions;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.ODataEntityType;
import com.github.davidmoten.odata.client.RequestOptions;
import com.github.davidmoten.odata.client.UnmappedFields;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.Action;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.ParameterMap;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.TypedObject;
import com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl;

import java.lang.Boolean;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;

import odata.msgraph.client.complex.CalendarSharingMessageAction;
import odata.msgraph.client.complex.FollowupFlag;
import odata.msgraph.client.complex.InternetMessageHeader;
import odata.msgraph.client.complex.ItemBody;
import odata.msgraph.client.complex.Recipient;
import odata.msgraph.client.enums.Importance;
import odata.msgraph.client.enums.InferenceClassificationType;

@JsonPropertyOrder({
    "@odata.type", 
    "canAccept", 
    "sharingMessageAction", 
    "sharingMessageActions", 
    "suggestedCalendarName"})
@JsonInclude(Include.NON_NULL)
public class CalendarSharingMessage extends Message implements ODataEntityType {

    @Override
    public String odataTypeName() {
        return "microsoft.graph.calendarSharingMessage";
    }

    @JsonProperty("canAccept")
    protected Boolean canAccept;

    @JsonProperty("sharingMessageAction")
    protected CalendarSharingMessageAction sharingMessageAction;

    @JsonProperty("sharingMessageActions")
    protected List sharingMessageActions;

    @JsonProperty("sharingMessageActions@nextLink")
    protected String sharingMessageActionsNextLink;

    @JsonProperty("suggestedCalendarName")
    protected String suggestedCalendarName;

    protected CalendarSharingMessage() {
        super();
    }

    /**
     * Returns a builder which is used to create a new
     * instance of this class (given that this class is immutable).
     *
     * @return a new Builder for this class
     */
    // Suffix used on builder factory method to differentiate the method
    // from static builder methods on superclasses
    public static Builder builderCalendarSharingMessage() {
        return new Builder();
    }

    public static final class Builder {
        private String id;
        private List categories;
        private String categoriesNextLink;
        private String changeKey;
        private OffsetDateTime createdDateTime;
        private OffsetDateTime lastModifiedDateTime;
        private List bccRecipients;
        private String bccRecipientsNextLink;
        private ItemBody body;
        private String bodyPreview;
        private List ccRecipients;
        private String ccRecipientsNextLink;
        private String conversationId;
        private byte[] conversationIndex;
        private FollowupFlag flag;
        private Recipient from;
        private Boolean hasAttachments;
        private Importance importance;
        private InferenceClassificationType inferenceClassification;
        private List internetMessageHeaders;
        private String internetMessageHeadersNextLink;
        private String internetMessageId;
        private Boolean isDeliveryReceiptRequested;
        private Boolean isDraft;
        private Boolean isRead;
        private Boolean isReadReceiptRequested;
        private String parentFolderId;
        private OffsetDateTime receivedDateTime;
        private List replyTo;
        private String replyToNextLink;
        private Recipient sender;
        private OffsetDateTime sentDateTime;
        private String subject;
        private List toRecipients;
        private String toRecipientsNextLink;
        private ItemBody uniqueBody;
        private String webLink;
        private List attachments;
        private List extensions;
        private List multiValueExtendedProperties;
        private List singleValueExtendedProperties;
        private Boolean canAccept;
        private CalendarSharingMessageAction sharingMessageAction;
        private List sharingMessageActions;
        private String sharingMessageActionsNextLink;
        private String suggestedCalendarName;
        private ChangedFields changedFields = ChangedFields.EMPTY;

        Builder() {
            // prevent instantiation
        }

        public Builder id(String id) {
            this.id = id;
            this.changedFields = changedFields.add("id");
            return this;
        }

        public Builder categories(List categories) {
            this.categories = categories;
            this.changedFields = changedFields.add("categories");
            return this;
        }

        public Builder categories(String... categories) {
            return categories(Arrays.asList(categories));
        }

        public Builder categoriesNextLink(String categoriesNextLink) {
            this.categoriesNextLink = categoriesNextLink;
            this.changedFields = changedFields.add("categories");
            return this;
        }

        public Builder changeKey(String changeKey) {
            this.changeKey = changeKey;
            this.changedFields = changedFields.add("changeKey");
            return this;
        }

        public Builder createdDateTime(OffsetDateTime createdDateTime) {
            this.createdDateTime = createdDateTime;
            this.changedFields = changedFields.add("createdDateTime");
            return this;
        }

        public Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime) {
            this.lastModifiedDateTime = lastModifiedDateTime;
            this.changedFields = changedFields.add("lastModifiedDateTime");
            return this;
        }

        public Builder bccRecipients(List bccRecipients) {
            this.bccRecipients = bccRecipients;
            this.changedFields = changedFields.add("bccRecipients");
            return this;
        }

        public Builder bccRecipients(Recipient... bccRecipients) {
            return bccRecipients(Arrays.asList(bccRecipients));
        }

        public Builder bccRecipientsNextLink(String bccRecipientsNextLink) {
            this.bccRecipientsNextLink = bccRecipientsNextLink;
            this.changedFields = changedFields.add("bccRecipients");
            return this;
        }

        public Builder body(ItemBody body) {
            this.body = body;
            this.changedFields = changedFields.add("body");
            return this;
        }

        public Builder bodyPreview(String bodyPreview) {
            this.bodyPreview = bodyPreview;
            this.changedFields = changedFields.add("bodyPreview");
            return this;
        }

        public Builder ccRecipients(List ccRecipients) {
            this.ccRecipients = ccRecipients;
            this.changedFields = changedFields.add("ccRecipients");
            return this;
        }

        public Builder ccRecipients(Recipient... ccRecipients) {
            return ccRecipients(Arrays.asList(ccRecipients));
        }

        public Builder ccRecipientsNextLink(String ccRecipientsNextLink) {
            this.ccRecipientsNextLink = ccRecipientsNextLink;
            this.changedFields = changedFields.add("ccRecipients");
            return this;
        }

        public Builder conversationId(String conversationId) {
            this.conversationId = conversationId;
            this.changedFields = changedFields.add("conversationId");
            return this;
        }

        public Builder conversationIndex(byte[] conversationIndex) {
            this.conversationIndex = conversationIndex;
            this.changedFields = changedFields.add("conversationIndex");
            return this;
        }

        public Builder flag(FollowupFlag flag) {
            this.flag = flag;
            this.changedFields = changedFields.add("flag");
            return this;
        }

        public Builder from(Recipient from) {
            this.from = from;
            this.changedFields = changedFields.add("from");
            return this;
        }

        public Builder hasAttachments(Boolean hasAttachments) {
            this.hasAttachments = hasAttachments;
            this.changedFields = changedFields.add("hasAttachments");
            return this;
        }

        public Builder importance(Importance importance) {
            this.importance = importance;
            this.changedFields = changedFields.add("importance");
            return this;
        }

        public Builder inferenceClassification(InferenceClassificationType inferenceClassification) {
            this.inferenceClassification = inferenceClassification;
            this.changedFields = changedFields.add("inferenceClassification");
            return this;
        }

        public Builder internetMessageHeaders(List internetMessageHeaders) {
            this.internetMessageHeaders = internetMessageHeaders;
            this.changedFields = changedFields.add("internetMessageHeaders");
            return this;
        }

        public Builder internetMessageHeaders(InternetMessageHeader... internetMessageHeaders) {
            return internetMessageHeaders(Arrays.asList(internetMessageHeaders));
        }

        public Builder internetMessageHeadersNextLink(String internetMessageHeadersNextLink) {
            this.internetMessageHeadersNextLink = internetMessageHeadersNextLink;
            this.changedFields = changedFields.add("internetMessageHeaders");
            return this;
        }

        public Builder internetMessageId(String internetMessageId) {
            this.internetMessageId = internetMessageId;
            this.changedFields = changedFields.add("internetMessageId");
            return this;
        }

        public Builder isDeliveryReceiptRequested(Boolean isDeliveryReceiptRequested) {
            this.isDeliveryReceiptRequested = isDeliveryReceiptRequested;
            this.changedFields = changedFields.add("isDeliveryReceiptRequested");
            return this;
        }

        public Builder isDraft(Boolean isDraft) {
            this.isDraft = isDraft;
            this.changedFields = changedFields.add("isDraft");
            return this;
        }

        public Builder isRead(Boolean isRead) {
            this.isRead = isRead;
            this.changedFields = changedFields.add("isRead");
            return this;
        }

        public Builder isReadReceiptRequested(Boolean isReadReceiptRequested) {
            this.isReadReceiptRequested = isReadReceiptRequested;
            this.changedFields = changedFields.add("isReadReceiptRequested");
            return this;
        }

        public Builder parentFolderId(String parentFolderId) {
            this.parentFolderId = parentFolderId;
            this.changedFields = changedFields.add("parentFolderId");
            return this;
        }

        public Builder receivedDateTime(OffsetDateTime receivedDateTime) {
            this.receivedDateTime = receivedDateTime;
            this.changedFields = changedFields.add("receivedDateTime");
            return this;
        }

        public Builder replyTo(List replyTo) {
            this.replyTo = replyTo;
            this.changedFields = changedFields.add("replyTo");
            return this;
        }

        public Builder replyTo(Recipient... replyTo) {
            return replyTo(Arrays.asList(replyTo));
        }

        public Builder replyToNextLink(String replyToNextLink) {
            this.replyToNextLink = replyToNextLink;
            this.changedFields = changedFields.add("replyTo");
            return this;
        }

        public Builder sender(Recipient sender) {
            this.sender = sender;
            this.changedFields = changedFields.add("sender");
            return this;
        }

        public Builder sentDateTime(OffsetDateTime sentDateTime) {
            this.sentDateTime = sentDateTime;
            this.changedFields = changedFields.add("sentDateTime");
            return this;
        }

        public Builder subject(String subject) {
            this.subject = subject;
            this.changedFields = changedFields.add("subject");
            return this;
        }

        public Builder toRecipients(List toRecipients) {
            this.toRecipients = toRecipients;
            this.changedFields = changedFields.add("toRecipients");
            return this;
        }

        public Builder toRecipients(Recipient... toRecipients) {
            return toRecipients(Arrays.asList(toRecipients));
        }

        public Builder toRecipientsNextLink(String toRecipientsNextLink) {
            this.toRecipientsNextLink = toRecipientsNextLink;
            this.changedFields = changedFields.add("toRecipients");
            return this;
        }

        public Builder uniqueBody(ItemBody uniqueBody) {
            this.uniqueBody = uniqueBody;
            this.changedFields = changedFields.add("uniqueBody");
            return this;
        }

        public Builder webLink(String webLink) {
            this.webLink = webLink;
            this.changedFields = changedFields.add("webLink");
            return this;
        }

        public Builder attachments(List attachments) {
            this.attachments = attachments;
            this.changedFields = changedFields.add("attachments");
            return this;
        }

        public Builder attachments(Attachment... attachments) {
            return attachments(Arrays.asList(attachments));
        }

        public Builder extensions(List extensions) {
            this.extensions = extensions;
            this.changedFields = changedFields.add("extensions");
            return this;
        }

        public Builder extensions(Extension... extensions) {
            return extensions(Arrays.asList(extensions));
        }

        public Builder multiValueExtendedProperties(List multiValueExtendedProperties) {
            this.multiValueExtendedProperties = multiValueExtendedProperties;
            this.changedFields = changedFields.add("multiValueExtendedProperties");
            return this;
        }

        public Builder multiValueExtendedProperties(MultiValueLegacyExtendedProperty... multiValueExtendedProperties) {
            return multiValueExtendedProperties(Arrays.asList(multiValueExtendedProperties));
        }

        public Builder singleValueExtendedProperties(List singleValueExtendedProperties) {
            this.singleValueExtendedProperties = singleValueExtendedProperties;
            this.changedFields = changedFields.add("singleValueExtendedProperties");
            return this;
        }

        public Builder singleValueExtendedProperties(SingleValueLegacyExtendedProperty... singleValueExtendedProperties) {
            return singleValueExtendedProperties(Arrays.asList(singleValueExtendedProperties));
        }

        public Builder canAccept(Boolean canAccept) {
            this.canAccept = canAccept;
            this.changedFields = changedFields.add("canAccept");
            return this;
        }

        public Builder sharingMessageAction(CalendarSharingMessageAction sharingMessageAction) {
            this.sharingMessageAction = sharingMessageAction;
            this.changedFields = changedFields.add("sharingMessageAction");
            return this;
        }

        public Builder sharingMessageActions(List sharingMessageActions) {
            this.sharingMessageActions = sharingMessageActions;
            this.changedFields = changedFields.add("sharingMessageActions");
            return this;
        }

        public Builder sharingMessageActions(CalendarSharingMessageAction... sharingMessageActions) {
            return sharingMessageActions(Arrays.asList(sharingMessageActions));
        }

        public Builder sharingMessageActionsNextLink(String sharingMessageActionsNextLink) {
            this.sharingMessageActionsNextLink = sharingMessageActionsNextLink;
            this.changedFields = changedFields.add("sharingMessageActions");
            return this;
        }

        public Builder suggestedCalendarName(String suggestedCalendarName) {
            this.suggestedCalendarName = suggestedCalendarName;
            this.changedFields = changedFields.add("suggestedCalendarName");
            return this;
        }

        public CalendarSharingMessage build() {
            CalendarSharingMessage _x = new CalendarSharingMessage();
            _x.contextPath = null;
            _x.changedFields = changedFields;
            _x.unmappedFields = new UnmappedFieldsImpl();
            _x.odataType = "microsoft.graph.calendarSharingMessage";
            _x.id = id;
            _x.categories = categories;
            _x.categoriesNextLink = categoriesNextLink;
            _x.changeKey = changeKey;
            _x.createdDateTime = createdDateTime;
            _x.lastModifiedDateTime = lastModifiedDateTime;
            _x.bccRecipients = bccRecipients;
            _x.bccRecipientsNextLink = bccRecipientsNextLink;
            _x.body = body;
            _x.bodyPreview = bodyPreview;
            _x.ccRecipients = ccRecipients;
            _x.ccRecipientsNextLink = ccRecipientsNextLink;
            _x.conversationId = conversationId;
            _x.conversationIndex = conversationIndex;
            _x.flag = flag;
            _x.from = from;
            _x.hasAttachments = hasAttachments;
            _x.importance = importance;
            _x.inferenceClassification = inferenceClassification;
            _x.internetMessageHeaders = internetMessageHeaders;
            _x.internetMessageHeadersNextLink = internetMessageHeadersNextLink;
            _x.internetMessageId = internetMessageId;
            _x.isDeliveryReceiptRequested = isDeliveryReceiptRequested;
            _x.isDraft = isDraft;
            _x.isRead = isRead;
            _x.isReadReceiptRequested = isReadReceiptRequested;
            _x.parentFolderId = parentFolderId;
            _x.receivedDateTime = receivedDateTime;
            _x.replyTo = replyTo;
            _x.replyToNextLink = replyToNextLink;
            _x.sender = sender;
            _x.sentDateTime = sentDateTime;
            _x.subject = subject;
            _x.toRecipients = toRecipients;
            _x.toRecipientsNextLink = toRecipientsNextLink;
            _x.uniqueBody = uniqueBody;
            _x.webLink = webLink;
            _x.attachments = attachments;
            _x.extensions = extensions;
            _x.multiValueExtendedProperties = multiValueExtendedProperties;
            _x.singleValueExtendedProperties = singleValueExtendedProperties;
            _x.canAccept = canAccept;
            _x.sharingMessageAction = sharingMessageAction;
            _x.sharingMessageActions = sharingMessageActions;
            _x.sharingMessageActionsNextLink = sharingMessageActionsNextLink;
            _x.suggestedCalendarName = suggestedCalendarName;
            return _x;
        }
    }

    @Override
    @JsonIgnore
    public ChangedFields getChangedFields() {
        return changedFields;
    }

    @Override
    public void postInject(boolean addKeysToContextPath) {
        if (addKeysToContextPath && id != null) {
            contextPath = contextPath.clearQueries().addKeys(new NameValue(id, String.class));
        }
    }

    @Property(name="canAccept")
    @JsonIgnore
    public Optional getCanAccept() {
        return Optional.ofNullable(canAccept);
    }

    public CalendarSharingMessage withCanAccept(Boolean canAccept) {
        CalendarSharingMessage _x = _copy();
        _x.changedFields = changedFields.add("canAccept");
        _x.odataType = Util.nvl(odataType, "microsoft.graph.calendarSharingMessage");
        _x.canAccept = canAccept;
        return _x;
    }

    @Property(name="sharingMessageAction")
    @JsonIgnore
    public Optional getSharingMessageAction() {
        return Optional.ofNullable(sharingMessageAction);
    }

    public CalendarSharingMessage withSharingMessageAction(CalendarSharingMessageAction sharingMessageAction) {
        CalendarSharingMessage _x = _copy();
        _x.changedFields = changedFields.add("sharingMessageAction");
        _x.odataType = Util.nvl(odataType, "microsoft.graph.calendarSharingMessage");
        _x.sharingMessageAction = sharingMessageAction;
        return _x;
    }

    @Property(name="sharingMessageActions")
    @JsonIgnore
    public CollectionPage getSharingMessageActions() {
        return new CollectionPage(contextPath, CalendarSharingMessageAction.class, this.sharingMessageActions, Optional.ofNullable(sharingMessageActionsNextLink), Collections.emptyList(), HttpRequestOptions.EMPTY);
    }

    public CalendarSharingMessage withSharingMessageActions(List sharingMessageActions) {
        CalendarSharingMessage _x = _copy();
        _x.changedFields = changedFields.add("sharingMessageActions");
        _x.odataType = Util.nvl(odataType, "microsoft.graph.calendarSharingMessage");
        _x.sharingMessageActions = sharingMessageActions;
        return _x;
    }

    @Property(name="sharingMessageActions")
    @JsonIgnore
    public CollectionPage getSharingMessageActions(HttpRequestOptions options) {
        return new CollectionPage(contextPath, CalendarSharingMessageAction.class, this.sharingMessageActions, Optional.ofNullable(sharingMessageActionsNextLink), Collections.emptyList(), options);
    }

    @Property(name="suggestedCalendarName")
    @JsonIgnore
    public Optional getSuggestedCalendarName() {
        return Optional.ofNullable(suggestedCalendarName);
    }

    public CalendarSharingMessage withSuggestedCalendarName(String suggestedCalendarName) {
        CalendarSharingMessage _x = _copy();
        _x.changedFields = changedFields.add("suggestedCalendarName");
        _x.odataType = Util.nvl(odataType, "microsoft.graph.calendarSharingMessage");
        _x.suggestedCalendarName = suggestedCalendarName;
        return _x;
    }

    public CalendarSharingMessage withUnmappedField(String name, Object value) {
        CalendarSharingMessage _x = _copy();
        _x.setUnmappedField(name, value);
        return _x;
    }

    @JsonAnySetter
    private void setUnmappedField(String name, Object value) {
        if (unmappedFields == null) {
            unmappedFields = new UnmappedFieldsImpl();
        }
        unmappedFields.put(name, value);
    }

    @JsonAnyGetter
    private UnmappedFieldsImpl unmappedFields() {
        return unmappedFields == null ? UnmappedFieldsImpl.EMPTY : unmappedFields;
    }

    @Override
    public UnmappedFields getUnmappedFields() {
        return unmappedFields();
    }

    /**
     * Submits only changed fields for update and returns an 
     * immutable copy of {@code this} with changed fields reset.
     *
     * @return a copy of {@code this} with changed fields reset
     * @throws ClientException if HTTP response is not as expected
     */
    public CalendarSharingMessage patch() {
        RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
        CalendarSharingMessage _x = _copy();
        _x.changedFields = null;
        return _x;
    }

    /**
     * Submits all fields for update and returns an immutable copy of {@code this}
     * with changed fields reset (they were ignored anyway).
     *
     * @return a copy of {@code this} with changed fields reset
     * @throws ClientException if HTTP response is not as expected
     */
    public CalendarSharingMessage put() {
        RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
        CalendarSharingMessage _x = _copy();
        _x.changedFields = null;
        return _x;
    }

    private CalendarSharingMessage _copy() {
        CalendarSharingMessage _x = new CalendarSharingMessage();
        _x.contextPath = contextPath;
        _x.changedFields = changedFields;
        _x.unmappedFields = unmappedFields.copy();
        _x.odataType = odataType;
        _x.id = id;
        _x.categories = categories;
        _x.changeKey = changeKey;
        _x.createdDateTime = createdDateTime;
        _x.lastModifiedDateTime = lastModifiedDateTime;
        _x.bccRecipients = bccRecipients;
        _x.body = body;
        _x.bodyPreview = bodyPreview;
        _x.ccRecipients = ccRecipients;
        _x.conversationId = conversationId;
        _x.conversationIndex = conversationIndex;
        _x.flag = flag;
        _x.from = from;
        _x.hasAttachments = hasAttachments;
        _x.importance = importance;
        _x.inferenceClassification = inferenceClassification;
        _x.internetMessageHeaders = internetMessageHeaders;
        _x.internetMessageId = internetMessageId;
        _x.isDeliveryReceiptRequested = isDeliveryReceiptRequested;
        _x.isDraft = isDraft;
        _x.isRead = isRead;
        _x.isReadReceiptRequested = isReadReceiptRequested;
        _x.parentFolderId = parentFolderId;
        _x.receivedDateTime = receivedDateTime;
        _x.replyTo = replyTo;
        _x.sender = sender;
        _x.sentDateTime = sentDateTime;
        _x.subject = subject;
        _x.toRecipients = toRecipients;
        _x.uniqueBody = uniqueBody;
        _x.webLink = webLink;
        _x.attachments = attachments;
        _x.extensions = extensions;
        _x.multiValueExtendedProperties = multiValueExtendedProperties;
        _x.singleValueExtendedProperties = singleValueExtendedProperties;
        _x.canAccept = canAccept;
        _x.sharingMessageAction = sharingMessageAction;
        _x.sharingMessageActions = sharingMessageActions;
        _x.suggestedCalendarName = suggestedCalendarName;
        return _x;
    }

    @Action(name = "accept")
    @JsonIgnore
    public ActionRequestReturningNonCollectionUnwrapped accept() {
        Map _parameters = ParameterMap.empty();
        return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("microsoft.graph.accept"), Calendar.class, _parameters);
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder();
        b.append("CalendarSharingMessage[");
        b.append("id=");
        b.append(this.id);
        b.append(", ");
        b.append("categories=");
        b.append(this.categories);
        b.append(", ");
        b.append("changeKey=");
        b.append(this.changeKey);
        b.append(", ");
        b.append("createdDateTime=");
        b.append(this.createdDateTime);
        b.append(", ");
        b.append("lastModifiedDateTime=");
        b.append(this.lastModifiedDateTime);
        b.append(", ");
        b.append("bccRecipients=");
        b.append(this.bccRecipients);
        b.append(", ");
        b.append("body=");
        b.append(this.body);
        b.append(", ");
        b.append("bodyPreview=");
        b.append(this.bodyPreview);
        b.append(", ");
        b.append("ccRecipients=");
        b.append(this.ccRecipients);
        b.append(", ");
        b.append("conversationId=");
        b.append(this.conversationId);
        b.append(", ");
        b.append("conversationIndex=");
        b.append(this.conversationIndex);
        b.append(", ");
        b.append("flag=");
        b.append(this.flag);
        b.append(", ");
        b.append("from=");
        b.append(this.from);
        b.append(", ");
        b.append("hasAttachments=");
        b.append(this.hasAttachments);
        b.append(", ");
        b.append("importance=");
        b.append(this.importance);
        b.append(", ");
        b.append("inferenceClassification=");
        b.append(this.inferenceClassification);
        b.append(", ");
        b.append("internetMessageHeaders=");
        b.append(this.internetMessageHeaders);
        b.append(", ");
        b.append("internetMessageId=");
        b.append(this.internetMessageId);
        b.append(", ");
        b.append("isDeliveryReceiptRequested=");
        b.append(this.isDeliveryReceiptRequested);
        b.append(", ");
        b.append("isDraft=");
        b.append(this.isDraft);
        b.append(", ");
        b.append("isRead=");
        b.append(this.isRead);
        b.append(", ");
        b.append("isReadReceiptRequested=");
        b.append(this.isReadReceiptRequested);
        b.append(", ");
        b.append("parentFolderId=");
        b.append(this.parentFolderId);
        b.append(", ");
        b.append("receivedDateTime=");
        b.append(this.receivedDateTime);
        b.append(", ");
        b.append("replyTo=");
        b.append(this.replyTo);
        b.append(", ");
        b.append("sender=");
        b.append(this.sender);
        b.append(", ");
        b.append("sentDateTime=");
        b.append(this.sentDateTime);
        b.append(", ");
        b.append("subject=");
        b.append(this.subject);
        b.append(", ");
        b.append("toRecipients=");
        b.append(this.toRecipients);
        b.append(", ");
        b.append("uniqueBody=");
        b.append(this.uniqueBody);
        b.append(", ");
        b.append("webLink=");
        b.append(this.webLink);
        b.append(", ");
        b.append("attachments=");
        b.append(this.attachments);
        b.append(", ");
        b.append("extensions=");
        b.append(this.extensions);
        b.append(", ");
        b.append("multiValueExtendedProperties=");
        b.append(this.multiValueExtendedProperties);
        b.append(", ");
        b.append("singleValueExtendedProperties=");
        b.append(this.singleValueExtendedProperties);
        b.append(", ");
        b.append("canAccept=");
        b.append(this.canAccept);
        b.append(", ");
        b.append("sharingMessageAction=");
        b.append(this.sharingMessageAction);
        b.append(", ");
        b.append("sharingMessageActions=");
        b.append(this.sharingMessageActions);
        b.append(", ");
        b.append("suggestedCalendarName=");
        b.append(this.suggestedCalendarName);
        b.append("]");
        b.append(",unmappedFields=");
        b.append(unmappedFields);
        b.append(",odataType=");
        b.append(odataType);
        return b.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy