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

microsoft.dynamics.crm.entity.Socialactivity Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package microsoft.dynamics.crm.entity;

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.ClientException;
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.Util;
import com.github.davidmoten.odata.client.annotation.NavigationProperty;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.Checks;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.UnmappedFields;

import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Optional;

import microsoft.dynamics.crm.entity.collection.request.ActivitypartyCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.QueueitemCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SlakpiinstanceCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.request.AccountRequest;
import microsoft.dynamics.crm.entity.request.ActivitypointerRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BusinessunitRequest;
import microsoft.dynamics.crm.entity.request.ContactRequest;
import microsoft.dynamics.crm.entity.request.KnowledgearticleRequest;
import microsoft.dynamics.crm.entity.request.KnowledgebaserecordRequest;
import microsoft.dynamics.crm.entity.request.PrincipalRequest;
import microsoft.dynamics.crm.entity.request.SlaRequest;
import microsoft.dynamics.crm.entity.request.SocialprofileRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TeamRequest;
import microsoft.dynamics.crm.entity.request.TransactioncurrencyRequest;

@JsonPropertyOrder({
    "@odata.type", 
    "directioncode", 
    "postedon", 
    "_postfromprofileid_value", 
    "postid", 
    "sentimentvalue", 
    "posttoprofileid", 
    "_postauthoraccount_value", 
    "posturl", 
    "postmessagetype", 
    "threadid", 
    "_postauthor_value", 
    "inresponseto", 
    "overriddencreatedon", 
    "importsequencenumber", 
    "socialadditionalparams"})
@JsonInclude(Include.NON_NULL)
public class Socialactivity extends Activitypointer implements ODataEntityType {

    @Override
    public String odataTypeName() {
        return "Microsoft.Dynamics.CRM.socialactivity";
    }

    @JsonProperty("directioncode")
    protected Boolean directioncode;

    @JsonProperty("postedon")
    protected OffsetDateTime postedon;

    @JsonProperty("_postfromprofileid_value")
    protected String _postfromprofileid_value;

    @JsonProperty("postid")
    protected String postid;

    @JsonProperty("sentimentvalue")
    protected Double sentimentvalue;

    @JsonProperty("posttoprofileid")
    protected String posttoprofileid;

    @JsonProperty("_postauthoraccount_value")
    protected String _postauthoraccount_value;

    @JsonProperty("posturl")
    protected String posturl;

    @JsonProperty("postmessagetype")
    protected Integer postmessagetype;

    @JsonProperty("threadid")
    protected String threadid;

    @JsonProperty("_postauthor_value")
    protected String _postauthor_value;

    @JsonProperty("inresponseto")
    protected String inresponseto;

    @JsonProperty("overriddencreatedon")
    protected OffsetDateTime overriddencreatedon;

    @JsonProperty("importsequencenumber")
    protected Integer importsequencenumber;

    @JsonProperty("socialadditionalparams")
    protected String socialadditionalparams;

    protected Socialactivity() {
        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 builderSocialactivity() {
        return new Builder();
    }

    public static final class Builder {
        private OffsetDateTime lastonholdtime;
        private Integer actualdurationminutes;
        private String _owningteam_value;
        private String exchangeitemid;
        private Boolean ismapiprivate;
        private OffsetDateTime createdon;
        private String seriesid;
        private Boolean leftvoicemail;
        private OffsetDateTime deliverylastattemptedon;
        private Boolean isbilled;
        private Boolean isworkflowcreated;
        private String _sendermailboxid_value;
        private String description;
        private String _regardingobjectid_value;
        private Integer onholdtime;
        private String _modifiedby_value;
        private Integer community;
        private String activityid;
        private OffsetDateTime sortdate;
        private Integer instancetypecode;
        private Integer timezoneruleversionnumber;
        private String _createdonbehalfby_value;
        private String _transactioncurrencyid_value;
        private Long versionnumber;
        private String processid;
        private OffsetDateTime scheduledend;
        private Integer prioritycode;
        private String _slaid_value;
        private String stageid;
        private OffsetDateTime actualstart;
        private String _owningbusinessunit_value;
        private String _owninguser_value;
        private Integer utcconversiontimezonecode;
        private String exchangeweblink;
        private Integer scheduleddurationminutes;
        private OffsetDateTime senton;
        private OffsetDateTime scheduledstart;
        private Integer statecode;
        private String subject;
        private OffsetDateTime postponeactivityprocessinguntil;
        private String _modifiedonbehalfby_value;
        private BigDecimal exchangerate;
        private Boolean isregularactivity;
        private Integer deliveryprioritycode;
        private String activityadditionalparams;
        private String traversedpath;
        private String _createdby_value;
        private String activitytypecode;
        private String _ownerid_value;
        private OffsetDateTime modifiedon;
        private String _slainvokedid_value;
        private Integer statuscode;
        private OffsetDateTime actualend;
        private Boolean directioncode;
        private OffsetDateTime postedon;
        private String _postfromprofileid_value;
        private String postid;
        private Double sentimentvalue;
        private String posttoprofileid;
        private String _postauthoraccount_value;
        private String posturl;
        private Integer postmessagetype;
        private String threadid;
        private String _postauthor_value;
        private String inresponseto;
        private OffsetDateTime overriddencreatedon;
        private Integer importsequencenumber;
        private String socialadditionalparams;
        private ChangedFields changedFields = new ChangedFields();

        Builder() {
            // prevent instantiation
        }

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

        public Builder actualdurationminutes(Integer actualdurationminutes) {
            this.actualdurationminutes = actualdurationminutes;
            this.changedFields = changedFields.add("actualdurationminutes");
            return this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Builder onholdtime(Integer onholdtime) {
            this.onholdtime = onholdtime;
            this.changedFields = changedFields.add("onholdtime");
            return this;
        }

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

        public Builder community(Integer community) {
            this.community = community;
            this.changedFields = changedFields.add("community");
            return this;
        }

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

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

        public Builder instancetypecode(Integer instancetypecode) {
            this.instancetypecode = instancetypecode;
            this.changedFields = changedFields.add("instancetypecode");
            return this;
        }

        public Builder timezoneruleversionnumber(Integer timezoneruleversionnumber) {
            this.timezoneruleversionnumber = timezoneruleversionnumber;
            this.changedFields = changedFields.add("timezoneruleversionnumber");
            return this;
        }

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

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

        public Builder versionnumber(Long versionnumber) {
            this.versionnumber = versionnumber;
            this.changedFields = changedFields.add("versionnumber");
            return this;
        }

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

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

        public Builder prioritycode(Integer prioritycode) {
            this.prioritycode = prioritycode;
            this.changedFields = changedFields.add("prioritycode");
            return this;
        }

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

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

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

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

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

        public Builder utcconversiontimezonecode(Integer utcconversiontimezonecode) {
            this.utcconversiontimezonecode = utcconversiontimezonecode;
            this.changedFields = changedFields.add("utcconversiontimezonecode");
            return this;
        }

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

        public Builder scheduleddurationminutes(Integer scheduleddurationminutes) {
            this.scheduleddurationminutes = scheduleddurationminutes;
            this.changedFields = changedFields.add("scheduleddurationminutes");
            return this;
        }

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

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

        public Builder statecode(Integer statecode) {
            this.statecode = statecode;
            this.changedFields = changedFields.add("statecode");
            return this;
        }

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

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

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

        public Builder exchangerate(BigDecimal exchangerate) {
            this.exchangerate = exchangerate;
            this.changedFields = changedFields.add("exchangerate");
            return this;
        }

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

        public Builder deliveryprioritycode(Integer deliveryprioritycode) {
            this.deliveryprioritycode = deliveryprioritycode;
            this.changedFields = changedFields.add("deliveryprioritycode");
            return this;
        }

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

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

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

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

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

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

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

        public Builder statuscode(Integer statuscode) {
            this.statuscode = statuscode;
            this.changedFields = changedFields.add("statuscode");
            return this;
        }

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

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

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

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

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

        public Builder sentimentvalue(Double sentimentvalue) {
            this.sentimentvalue = sentimentvalue;
            this.changedFields = changedFields.add("sentimentvalue");
            return this;
        }

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

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

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

        public Builder postmessagetype(Integer postmessagetype) {
            this.postmessagetype = postmessagetype;
            this.changedFields = changedFields.add("postmessagetype");
            return this;
        }

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

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

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

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

        public Builder importsequencenumber(Integer importsequencenumber) {
            this.importsequencenumber = importsequencenumber;
            this.changedFields = changedFields.add("importsequencenumber");
            return this;
        }

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

        public Socialactivity build() {
            Socialactivity _x = new Socialactivity();
            _x.contextPath = null;
            _x.changedFields = changedFields;
            _x.unmappedFields = new UnmappedFields();
            _x.odataType = "Microsoft.Dynamics.CRM.socialactivity";
            _x.lastonholdtime = lastonholdtime;
            _x.actualdurationminutes = actualdurationminutes;
            _x._owningteam_value = _owningteam_value;
            _x.exchangeitemid = exchangeitemid;
            _x.ismapiprivate = ismapiprivate;
            _x.createdon = createdon;
            _x.seriesid = seriesid;
            _x.leftvoicemail = leftvoicemail;
            _x.deliverylastattemptedon = deliverylastattemptedon;
            _x.isbilled = isbilled;
            _x.isworkflowcreated = isworkflowcreated;
            _x._sendermailboxid_value = _sendermailboxid_value;
            _x.description = description;
            _x._regardingobjectid_value = _regardingobjectid_value;
            _x.onholdtime = onholdtime;
            _x._modifiedby_value = _modifiedby_value;
            _x.community = community;
            _x.activityid = activityid;
            _x.sortdate = sortdate;
            _x.instancetypecode = instancetypecode;
            _x.timezoneruleversionnumber = timezoneruleversionnumber;
            _x._createdonbehalfby_value = _createdonbehalfby_value;
            _x._transactioncurrencyid_value = _transactioncurrencyid_value;
            _x.versionnumber = versionnumber;
            _x.processid = processid;
            _x.scheduledend = scheduledend;
            _x.prioritycode = prioritycode;
            _x._slaid_value = _slaid_value;
            _x.stageid = stageid;
            _x.actualstart = actualstart;
            _x._owningbusinessunit_value = _owningbusinessunit_value;
            _x._owninguser_value = _owninguser_value;
            _x.utcconversiontimezonecode = utcconversiontimezonecode;
            _x.exchangeweblink = exchangeweblink;
            _x.scheduleddurationminutes = scheduleddurationminutes;
            _x.senton = senton;
            _x.scheduledstart = scheduledstart;
            _x.statecode = statecode;
            _x.subject = subject;
            _x.postponeactivityprocessinguntil = postponeactivityprocessinguntil;
            _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
            _x.exchangerate = exchangerate;
            _x.isregularactivity = isregularactivity;
            _x.deliveryprioritycode = deliveryprioritycode;
            _x.activityadditionalparams = activityadditionalparams;
            _x.traversedpath = traversedpath;
            _x._createdby_value = _createdby_value;
            _x.activitytypecode = activitytypecode;
            _x._ownerid_value = _ownerid_value;
            _x.modifiedon = modifiedon;
            _x._slainvokedid_value = _slainvokedid_value;
            _x.statuscode = statuscode;
            _x.actualend = actualend;
            _x.directioncode = directioncode;
            _x.postedon = postedon;
            _x._postfromprofileid_value = _postfromprofileid_value;
            _x.postid = postid;
            _x.sentimentvalue = sentimentvalue;
            _x.posttoprofileid = posttoprofileid;
            _x._postauthoraccount_value = _postauthoraccount_value;
            _x.posturl = posturl;
            _x.postmessagetype = postmessagetype;
            _x.threadid = threadid;
            _x._postauthor_value = _postauthor_value;
            _x.inresponseto = inresponseto;
            _x.overriddencreatedon = overriddencreatedon;
            _x.importsequencenumber = importsequencenumber;
            _x.socialadditionalparams = socialadditionalparams;
            return _x;
        }
    }

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

    @Override
    public void postInject(boolean addKeysToContextPath) {
        if (addKeysToContextPath && activityid != null) {
            contextPath = contextPath.clearQueries().addKeys(new NameValue(activityid.toString()));
        }
    }

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

    public Socialactivity withDirectioncode(Boolean directioncode) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("directioncode");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.directioncode = directioncode;
        return _x;
    }

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

    public Socialactivity withPostedon(OffsetDateTime postedon) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("postedon");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.postedon = postedon;
        return _x;
    }

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

    public Socialactivity with_postfromprofileid_value(String _postfromprofileid_value) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("_postfromprofileid_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x._postfromprofileid_value = _postfromprofileid_value;
        return _x;
    }

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

    public Socialactivity withPostid(String postid) {
        Checks.checkIsAscii(postid);
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("postid");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.postid = postid;
        return _x;
    }

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

    public Socialactivity withSentimentvalue(Double sentimentvalue) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("sentimentvalue");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.sentimentvalue = sentimentvalue;
        return _x;
    }

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

    public Socialactivity withPosttoprofileid(String posttoprofileid) {
        Checks.checkIsAscii(posttoprofileid);
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("posttoprofileid");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.posttoprofileid = posttoprofileid;
        return _x;
    }

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

    public Socialactivity with_postauthoraccount_value(String _postauthoraccount_value) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("_postauthoraccount_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x._postauthoraccount_value = _postauthoraccount_value;
        return _x;
    }

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

    public Socialactivity withPosturl(String posturl) {
        Checks.checkIsAscii(posturl);
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("posturl");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.posturl = posturl;
        return _x;
    }

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

    public Socialactivity withPostmessagetype(Integer postmessagetype) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("postmessagetype");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.postmessagetype = postmessagetype;
        return _x;
    }

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

    public Socialactivity withThreadid(String threadid) {
        Checks.checkIsAscii(threadid);
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("threadid");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.threadid = threadid;
        return _x;
    }

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

    public Socialactivity with_postauthor_value(String _postauthor_value) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("_postauthor_value");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x._postauthor_value = _postauthor_value;
        return _x;
    }

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

    public Socialactivity withInresponseto(String inresponseto) {
        Checks.checkIsAscii(inresponseto);
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("inresponseto");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.inresponseto = inresponseto;
        return _x;
    }

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

    public Socialactivity withOverriddencreatedon(OffsetDateTime overriddencreatedon) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("overriddencreatedon");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.overriddencreatedon = overriddencreatedon;
        return _x;
    }

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

    public Socialactivity withImportsequencenumber(Integer importsequencenumber) {
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("importsequencenumber");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.importsequencenumber = importsequencenumber;
        return _x;
    }

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

    public Socialactivity withSocialadditionalparams(String socialadditionalparams) {
        Checks.checkIsAscii(socialadditionalparams);
        Socialactivity _x = _copy();
        _x.changedFields = changedFields.add("socialadditionalparams");
        _x.odataType = Util.nvl(odataType, "Microsoft.Dynamics.CRM.socialactivity");
        _x.socialadditionalparams = socialadditionalparams;
        return _x;
    }

    @NavigationProperty(name="regardingobjectid_knowledgebaserecord_socialactivity")
    @JsonIgnore
    public KnowledgebaserecordRequest getRegardingobjectid_knowledgebaserecord_socialactivity() {
        return new KnowledgebaserecordRequest(contextPath.addSegment("regardingobjectid_knowledgebaserecord_socialactivity"));
    }

    @NavigationProperty(name="socialactivity_connections2")
    @JsonIgnore
    public ConnectionCollectionRequest getSocialactivity_connections2() {
        return new ConnectionCollectionRequest(
                        contextPath.addSegment("socialactivity_connections2"));
    }

    @NavigationProperty(name="modifiedonbehalfby_socialactivity")
    @JsonIgnore
    public SystemuserRequest getModifiedonbehalfby_socialactivity() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby_socialactivity"));
    }

    @NavigationProperty(name="regardingobjectid_contact_socialactivity")
    @JsonIgnore
    public ContactRequest getRegardingobjectid_contact_socialactivity() {
        return new ContactRequest(contextPath.addSegment("regardingobjectid_contact_socialactivity"));
    }

    @NavigationProperty(name="regardingobjectid_asyncoperation")
    @JsonIgnore
    public AsyncoperationRequest getRegardingobjectid_asyncoperation() {
        return new AsyncoperationRequest(contextPath.addSegment("regardingobjectid_asyncoperation"));
    }

    @NavigationProperty(name="postauthor_contact")
    @JsonIgnore
    public ContactRequest getPostauthor_contact() {
        return new ContactRequest(contextPath.addSegment("postauthor_contact"));
    }

    @NavigationProperty(name="activityid_activitypointer")
    @JsonIgnore
    public ActivitypointerRequest getActivityid_activitypointer() {
        return new ActivitypointerRequest(contextPath.addSegment("activityid_activitypointer"));
    }

    @NavigationProperty(name="createdonbehalfby_socialactivity")
    @JsonIgnore
    public SystemuserRequest getCreatedonbehalfby_socialactivity() {
        return new SystemuserRequest(contextPath.addSegment("createdonbehalfby_socialactivity"));
    }

    @NavigationProperty(name="transactioncurrencyid_socialactivity")
    @JsonIgnore
    public TransactioncurrencyRequest getTransactioncurrencyid_socialactivity() {
        return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid_socialactivity"));
    }

    @NavigationProperty(name="SocialActivity_ProcessSessions")
    @JsonIgnore
    public ProcesssessionCollectionRequest getSocialActivity_ProcessSessions() {
        return new ProcesssessionCollectionRequest(
                        contextPath.addSegment("SocialActivity_ProcessSessions"));
    }

    @NavigationProperty(name="SocialActivity_AsyncOperations")
    @JsonIgnore
    public AsyncoperationCollectionRequest getSocialActivity_AsyncOperations() {
        return new AsyncoperationCollectionRequest(
                        contextPath.addSegment("SocialActivity_AsyncOperations"));
    }

    @NavigationProperty(name="regardingobjectid_knowledgearticle_socialactivity")
    @JsonIgnore
    public KnowledgearticleRequest getRegardingobjectid_knowledgearticle_socialactivity() {
        return new KnowledgearticleRequest(contextPath.addSegment("regardingobjectid_knowledgearticle_socialactivity"));
    }

    @NavigationProperty(name="socialactivity_activity_parties")
    @JsonIgnore
    public ActivitypartyCollectionRequest getSocialactivity_activity_parties() {
        return new ActivitypartyCollectionRequest(
                        contextPath.addSegment("socialactivity_activity_parties"));
    }

    @NavigationProperty(name="owningteam_socialactivity")
    @JsonIgnore
    public TeamRequest getOwningteam_socialactivity() {
        return new TeamRequest(contextPath.addSegment("owningteam_socialactivity"));
    }

    @NavigationProperty(name="SocialActivity_SyncErrors")
    @JsonIgnore
    public SyncerrorCollectionRequest getSocialActivity_SyncErrors() {
        return new SyncerrorCollectionRequest(
                        contextPath.addSegment("SocialActivity_SyncErrors"));
    }

    @NavigationProperty(name="regardingobjectid_account_socialactivity")
    @JsonIgnore
    public AccountRequest getRegardingobjectid_account_socialactivity() {
        return new AccountRequest(contextPath.addSegment("regardingobjectid_account_socialactivity"));
    }

    @NavigationProperty(name="postauthoraccount_account")
    @JsonIgnore
    public AccountRequest getPostauthoraccount_account() {
        return new AccountRequest(contextPath.addSegment("postauthoraccount_account"));
    }

    @NavigationProperty(name="slakpiinstance_socialactivity")
    @JsonIgnore
    public SlakpiinstanceCollectionRequest getSlakpiinstance_socialactivity() {
        return new SlakpiinstanceCollectionRequest(
                        contextPath.addSegment("slakpiinstance_socialactivity"));
    }

    @NavigationProperty(name="postauthoraccount_contact")
    @JsonIgnore
    public ContactRequest getPostauthoraccount_contact() {
        return new ContactRequest(contextPath.addSegment("postauthoraccount_contact"));
    }

    @NavigationProperty(name="createdby_socialactivity")
    @JsonIgnore
    public SystemuserRequest getCreatedby_socialactivity() {
        return new SystemuserRequest(contextPath.addSegment("createdby_socialactivity"));
    }

    @NavigationProperty(name="sla_socialactivity_sla")
    @JsonIgnore
    public SlaRequest getSla_socialactivity_sla() {
        return new SlaRequest(contextPath.addSegment("sla_socialactivity_sla"));
    }

    @NavigationProperty(name="SocialActivity_BulkDeleteFailures")
    @JsonIgnore
    public BulkdeletefailureCollectionRequest getSocialActivity_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(
                        contextPath.addSegment("SocialActivity_BulkDeleteFailures"));
    }

    @NavigationProperty(name="postfromprofileid")
    @JsonIgnore
    public SocialprofileRequest getPostfromprofileid() {
        return new SocialprofileRequest(contextPath.addSegment("postfromprofileid"));
    }

    @NavigationProperty(name="postauthor_account")
    @JsonIgnore
    public AccountRequest getPostauthor_account() {
        return new AccountRequest(contextPath.addSegment("postauthor_account"));
    }

    @NavigationProperty(name="modifiedby_socialactivity")
    @JsonIgnore
    public SystemuserRequest getModifiedby_socialactivity() {
        return new SystemuserRequest(contextPath.addSegment("modifiedby_socialactivity"));
    }

    @NavigationProperty(name="socialactivity_connections1")
    @JsonIgnore
    public ConnectionCollectionRequest getSocialactivity_connections1() {
        return new ConnectionCollectionRequest(
                        contextPath.addSegment("socialactivity_connections1"));
    }

    @NavigationProperty(name="SocialActivity_Annotation")
    @JsonIgnore
    public AnnotationCollectionRequest getSocialActivity_Annotation() {
        return new AnnotationCollectionRequest(
                        contextPath.addSegment("SocialActivity_Annotation"));
    }

    @NavigationProperty(name="slainvokedid_socialactivity_sla")
    @JsonIgnore
    public SlaRequest getSlainvokedid_socialactivity_sla() {
        return new SlaRequest(contextPath.addSegment("slainvokedid_socialactivity_sla"));
    }

    @NavigationProperty(name="SocialActivity_DuplicateBaseRecord")
    @JsonIgnore
    public DuplicaterecordCollectionRequest getSocialActivity_DuplicateBaseRecord() {
        return new DuplicaterecordCollectionRequest(
                        contextPath.addSegment("SocialActivity_DuplicateBaseRecord"));
    }

    @NavigationProperty(name="owninguser_socialactivity")
    @JsonIgnore
    public SystemuserRequest getOwninguser_socialactivity() {
        return new SystemuserRequest(contextPath.addSegment("owninguser_socialactivity"));
    }

    @NavigationProperty(name="SocialActivity_DuplicateMatchingRecord")
    @JsonIgnore
    public DuplicaterecordCollectionRequest getSocialActivity_DuplicateMatchingRecord() {
        return new DuplicaterecordCollectionRequest(
                        contextPath.addSegment("SocialActivity_DuplicateMatchingRecord"));
    }

    @NavigationProperty(name="SocialActivity_QueueItem")
    @JsonIgnore
    public QueueitemCollectionRequest getSocialActivity_QueueItem() {
        return new QueueitemCollectionRequest(
                        contextPath.addSegment("SocialActivity_QueueItem"));
    }

    @NavigationProperty(name="socialactivity_principalobjectattributeaccess")
    @JsonIgnore
    public PrincipalobjectattributeaccessCollectionRequest getSocialactivity_principalobjectattributeaccess() {
        return new PrincipalobjectattributeaccessCollectionRequest(
                        contextPath.addSegment("socialactivity_principalobjectattributeaccess"));
    }

    @NavigationProperty(name="owningbusinessunit_socialactivity")
    @JsonIgnore
    public BusinessunitRequest getOwningbusinessunit_socialactivity() {
        return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit_socialactivity"));
    }

    @NavigationProperty(name="ownerid_socialactivity")
    @JsonIgnore
    public PrincipalRequest getOwnerid_socialactivity() {
        return new PrincipalRequest(contextPath.addSegment("ownerid_socialactivity"));
    }

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

    @Override
    @JsonIgnore
    public UnmappedFields getUnmappedFields() {
        return unmappedFields == null ? new UnmappedFields() : 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 Socialactivity patch() {
        RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
        Socialactivity _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 Socialactivity put() {
        RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
        Socialactivity _x = _copy();
        _x.changedFields = null;
        return _x;
    }

    private Socialactivity _copy() {
        Socialactivity _x = new Socialactivity();
        _x.contextPath = contextPath;
        _x.changedFields = changedFields;
        _x.unmappedFields = unmappedFields;
        _x.odataType = odataType;
        _x.lastonholdtime = lastonholdtime;
        _x.actualdurationminutes = actualdurationminutes;
        _x._owningteam_value = _owningteam_value;
        _x.exchangeitemid = exchangeitemid;
        _x.ismapiprivate = ismapiprivate;
        _x.createdon = createdon;
        _x.seriesid = seriesid;
        _x.leftvoicemail = leftvoicemail;
        _x.deliverylastattemptedon = deliverylastattemptedon;
        _x.isbilled = isbilled;
        _x.isworkflowcreated = isworkflowcreated;
        _x._sendermailboxid_value = _sendermailboxid_value;
        _x.description = description;
        _x._regardingobjectid_value = _regardingobjectid_value;
        _x.onholdtime = onholdtime;
        _x._modifiedby_value = _modifiedby_value;
        _x.community = community;
        _x.activityid = activityid;
        _x.sortdate = sortdate;
        _x.instancetypecode = instancetypecode;
        _x.timezoneruleversionnumber = timezoneruleversionnumber;
        _x._createdonbehalfby_value = _createdonbehalfby_value;
        _x._transactioncurrencyid_value = _transactioncurrencyid_value;
        _x.versionnumber = versionnumber;
        _x.processid = processid;
        _x.scheduledend = scheduledend;
        _x.prioritycode = prioritycode;
        _x._slaid_value = _slaid_value;
        _x.stageid = stageid;
        _x.actualstart = actualstart;
        _x._owningbusinessunit_value = _owningbusinessunit_value;
        _x._owninguser_value = _owninguser_value;
        _x.utcconversiontimezonecode = utcconversiontimezonecode;
        _x.exchangeweblink = exchangeweblink;
        _x.scheduleddurationminutes = scheduleddurationminutes;
        _x.senton = senton;
        _x.scheduledstart = scheduledstart;
        _x.statecode = statecode;
        _x.subject = subject;
        _x.postponeactivityprocessinguntil = postponeactivityprocessinguntil;
        _x._modifiedonbehalfby_value = _modifiedonbehalfby_value;
        _x.exchangerate = exchangerate;
        _x.isregularactivity = isregularactivity;
        _x.deliveryprioritycode = deliveryprioritycode;
        _x.activityadditionalparams = activityadditionalparams;
        _x.traversedpath = traversedpath;
        _x._createdby_value = _createdby_value;
        _x.activitytypecode = activitytypecode;
        _x._ownerid_value = _ownerid_value;
        _x.modifiedon = modifiedon;
        _x._slainvokedid_value = _slainvokedid_value;
        _x.statuscode = statuscode;
        _x.actualend = actualend;
        _x.directioncode = directioncode;
        _x.postedon = postedon;
        _x._postfromprofileid_value = _postfromprofileid_value;
        _x.postid = postid;
        _x.sentimentvalue = sentimentvalue;
        _x.posttoprofileid = posttoprofileid;
        _x._postauthoraccount_value = _postauthoraccount_value;
        _x.posturl = posturl;
        _x.postmessagetype = postmessagetype;
        _x.threadid = threadid;
        _x._postauthor_value = _postauthor_value;
        _x.inresponseto = inresponseto;
        _x.overriddencreatedon = overriddencreatedon;
        _x.importsequencenumber = importsequencenumber;
        _x.socialadditionalparams = socialadditionalparams;
        return _x;
    }

    @Override
    public String toString() {
        StringBuilder b = new StringBuilder();
        b.append("Socialactivity[");
        b.append("lastonholdtime=");
        b.append(this.lastonholdtime);
        b.append(", ");
        b.append("actualdurationminutes=");
        b.append(this.actualdurationminutes);
        b.append(", ");
        b.append("_owningteam_value=");
        b.append(this._owningteam_value);
        b.append(", ");
        b.append("exchangeitemid=");
        b.append(this.exchangeitemid);
        b.append(", ");
        b.append("ismapiprivate=");
        b.append(this.ismapiprivate);
        b.append(", ");
        b.append("createdon=");
        b.append(this.createdon);
        b.append(", ");
        b.append("seriesid=");
        b.append(this.seriesid);
        b.append(", ");
        b.append("leftvoicemail=");
        b.append(this.leftvoicemail);
        b.append(", ");
        b.append("deliverylastattemptedon=");
        b.append(this.deliverylastattemptedon);
        b.append(", ");
        b.append("isbilled=");
        b.append(this.isbilled);
        b.append(", ");
        b.append("isworkflowcreated=");
        b.append(this.isworkflowcreated);
        b.append(", ");
        b.append("_sendermailboxid_value=");
        b.append(this._sendermailboxid_value);
        b.append(", ");
        b.append("description=");
        b.append(this.description);
        b.append(", ");
        b.append("_regardingobjectid_value=");
        b.append(this._regardingobjectid_value);
        b.append(", ");
        b.append("onholdtime=");
        b.append(this.onholdtime);
        b.append(", ");
        b.append("_modifiedby_value=");
        b.append(this._modifiedby_value);
        b.append(", ");
        b.append("community=");
        b.append(this.community);
        b.append(", ");
        b.append("activityid=");
        b.append(this.activityid);
        b.append(", ");
        b.append("sortdate=");
        b.append(this.sortdate);
        b.append(", ");
        b.append("instancetypecode=");
        b.append(this.instancetypecode);
        b.append(", ");
        b.append("timezoneruleversionnumber=");
        b.append(this.timezoneruleversionnumber);
        b.append(", ");
        b.append("_createdonbehalfby_value=");
        b.append(this._createdonbehalfby_value);
        b.append(", ");
        b.append("_transactioncurrencyid_value=");
        b.append(this._transactioncurrencyid_value);
        b.append(", ");
        b.append("versionnumber=");
        b.append(this.versionnumber);
        b.append(", ");
        b.append("processid=");
        b.append(this.processid);
        b.append(", ");
        b.append("scheduledend=");
        b.append(this.scheduledend);
        b.append(", ");
        b.append("prioritycode=");
        b.append(this.prioritycode);
        b.append(", ");
        b.append("_slaid_value=");
        b.append(this._slaid_value);
        b.append(", ");
        b.append("stageid=");
        b.append(this.stageid);
        b.append(", ");
        b.append("actualstart=");
        b.append(this.actualstart);
        b.append(", ");
        b.append("_owningbusinessunit_value=");
        b.append(this._owningbusinessunit_value);
        b.append(", ");
        b.append("_owninguser_value=");
        b.append(this._owninguser_value);
        b.append(", ");
        b.append("utcconversiontimezonecode=");
        b.append(this.utcconversiontimezonecode);
        b.append(", ");
        b.append("exchangeweblink=");
        b.append(this.exchangeweblink);
        b.append(", ");
        b.append("scheduleddurationminutes=");
        b.append(this.scheduleddurationminutes);
        b.append(", ");
        b.append("senton=");
        b.append(this.senton);
        b.append(", ");
        b.append("scheduledstart=");
        b.append(this.scheduledstart);
        b.append(", ");
        b.append("statecode=");
        b.append(this.statecode);
        b.append(", ");
        b.append("subject=");
        b.append(this.subject);
        b.append(", ");
        b.append("postponeactivityprocessinguntil=");
        b.append(this.postponeactivityprocessinguntil);
        b.append(", ");
        b.append("_modifiedonbehalfby_value=");
        b.append(this._modifiedonbehalfby_value);
        b.append(", ");
        b.append("exchangerate=");
        b.append(this.exchangerate);
        b.append(", ");
        b.append("isregularactivity=");
        b.append(this.isregularactivity);
        b.append(", ");
        b.append("deliveryprioritycode=");
        b.append(this.deliveryprioritycode);
        b.append(", ");
        b.append("activityadditionalparams=");
        b.append(this.activityadditionalparams);
        b.append(", ");
        b.append("traversedpath=");
        b.append(this.traversedpath);
        b.append(", ");
        b.append("_createdby_value=");
        b.append(this._createdby_value);
        b.append(", ");
        b.append("activitytypecode=");
        b.append(this.activitytypecode);
        b.append(", ");
        b.append("_ownerid_value=");
        b.append(this._ownerid_value);
        b.append(", ");
        b.append("modifiedon=");
        b.append(this.modifiedon);
        b.append(", ");
        b.append("_slainvokedid_value=");
        b.append(this._slainvokedid_value);
        b.append(", ");
        b.append("statuscode=");
        b.append(this.statuscode);
        b.append(", ");
        b.append("actualend=");
        b.append(this.actualend);
        b.append(", ");
        b.append("directioncode=");
        b.append(this.directioncode);
        b.append(", ");
        b.append("postedon=");
        b.append(this.postedon);
        b.append(", ");
        b.append("_postfromprofileid_value=");
        b.append(this._postfromprofileid_value);
        b.append(", ");
        b.append("postid=");
        b.append(this.postid);
        b.append(", ");
        b.append("sentimentvalue=");
        b.append(this.sentimentvalue);
        b.append(", ");
        b.append("posttoprofileid=");
        b.append(this.posttoprofileid);
        b.append(", ");
        b.append("_postauthoraccount_value=");
        b.append(this._postauthoraccount_value);
        b.append(", ");
        b.append("posturl=");
        b.append(this.posturl);
        b.append(", ");
        b.append("postmessagetype=");
        b.append(this.postmessagetype);
        b.append(", ");
        b.append("threadid=");
        b.append(this.threadid);
        b.append(", ");
        b.append("_postauthor_value=");
        b.append(this._postauthor_value);
        b.append(", ");
        b.append("inresponseto=");
        b.append(this.inresponseto);
        b.append(", ");
        b.append("overriddencreatedon=");
        b.append(this.overriddencreatedon);
        b.append(", ");
        b.append("importsequencenumber=");
        b.append(this.importsequencenumber);
        b.append(", ");
        b.append("socialadditionalparams=");
        b.append(this.socialadditionalparams);
        b.append("]");
        b.append(",unmappedFields=");
        b.append(unmappedFields);
        b.append(",odataType=");
        b.append(odataType);
        return b.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy