/// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMservice
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMservice(string _organizationidValue = default(string), string granularity = default(string), bool?isschedulable = default(bool?), string _createdbyValue = default(string), string _resourcespecidValue = default(string), int?initialstatuscode = default(int?), int?anchoroffset = default(int?), bool?isvisible = default(bool?), string serviceid = default(string), string calendarid = default(string), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), int?duration = default(int?), string _modifiedbyValue = default(string), string _modifiedonbehalfbyValue = default(string), int?importsequencenumber = default(int?), string _strategyidValue = default(string), string name = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), long?versionnumber = default(long?), bool?showresources = default(bool?), string description = default(string), MicrosoftDynamicsCRMplugintype strategyid = default(MicrosoftDynamicsCRMplugintype), IList <MicrosoftDynamicsCRMincidentresolution> serviceIncidentresolutions = default(IList <MicrosoftDynamicsCRMincidentresolution>), IList <MicrosoftDynamicsCRMaccount> serviceAccounts = default(IList <MicrosoftDynamicsCRMaccount>), IList <MicrosoftDynamicsCRMserviceappointment> serviceServiceAppointments = default(IList <MicrosoftDynamicsCRMserviceappointment>), IList <MicrosoftDynamicsCRMquoteclose> serviceQuoteclose = default(IList <MicrosoftDynamicsCRMquoteclose>), IList <MicrosoftDynamicsCRMopportunityclose> serviceOpportunityclose = default(IList <MicrosoftDynamicsCRMopportunityclose>), IList <MicrosoftDynamicsCRMphonecall> servicePhonecalls = default(IList <MicrosoftDynamicsCRMphonecall>), IList <MicrosoftDynamicsCRMrecurringappointmentmaster> serviceRecurringappointmentmasters = default(IList <MicrosoftDynamicsCRMrecurringappointmentmaster>), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization), IList <MicrosoftDynamicsCRMfax> serviceFaxes = default(IList <MicrosoftDynamicsCRMfax>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMannotation> serviceAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMtask> serviceTasks = default(IList <MicrosoftDynamicsCRMtask>), IList <MicrosoftDynamicsCRMsocialactivity> serviceSocialactivities = default(IList <MicrosoftDynamicsCRMsocialactivity>), MicrosoftDynamicsCRMcalendar calendaridCalendar = default(MicrosoftDynamicsCRMcalendar), IList <MicrosoftDynamicsCRMsyncerror> serviceSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMorderclose> serviceOrderclose = default(IList <MicrosoftDynamicsCRMorderclose>), IList <MicrosoftDynamicsCRMletter> serviceLetters = default(IList <MicrosoftDynamicsCRMletter>), IList <MicrosoftDynamicsCRMactivitypointer> serviceActivityPointers = default(IList <MicrosoftDynamicsCRMactivitypointer>), IList <MicrosoftDynamicsCRMbulkdeletefailure> serviceBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMcontact> serviceContacts = default(IList <MicrosoftDynamicsCRMcontact>), IList <MicrosoftDynamicsCRMappointment> serviceAppointments = default(IList <MicrosoftDynamicsCRMappointment>), IList <MicrosoftDynamicsCRMduplicaterecord> serviceDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMemail> serviceEmails = default(IList <MicrosoftDynamicsCRMemail>), IList <MicrosoftDynamicsCRMcalendarrule> serviceCalendarRules = default(IList <MicrosoftDynamicsCRMcalendarrule>), MicrosoftDynamicsCRMresourcespec resourcespecid = default(MicrosoftDynamicsCRMresourcespec), IList <MicrosoftDynamicsCRMasyncoperation> serviceAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMduplicaterecord> serviceDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>))
 {
     this._organizationidValue = _organizationidValue;
     Granularity               = granularity;
     Isschedulable             = isschedulable;
     this._createdbyValue      = _createdbyValue;
     this._resourcespecidValue = _resourcespecidValue;
     Initialstatuscode         = initialstatuscode;
     Anchoroffset              = anchoroffset;
     Isvisible  = isvisible;
     Serviceid  = serviceid;
     Calendarid = calendarid;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Overriddencreatedon          = overriddencreatedon;
     Duration = duration;
     this._modifiedbyValue         = _modifiedbyValue;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Importsequencenumber          = importsequencenumber;
     this._strategyidValue         = _strategyidValue;
     Name          = name;
     Createdon     = createdon;
     Modifiedon    = modifiedon;
     Versionnumber = versionnumber;
     Showresources = showresources;
     Description   = description;
     Strategyid    = strategyid;
     ServiceIncidentresolutions         = serviceIncidentresolutions;
     ServiceAccounts                    = serviceAccounts;
     ServiceServiceAppointments         = serviceServiceAppointments;
     ServiceQuoteclose                  = serviceQuoteclose;
     ServiceOpportunityclose            = serviceOpportunityclose;
     ServicePhonecalls                  = servicePhonecalls;
     ServiceRecurringappointmentmasters = serviceRecurringappointmentmasters;
     Organizationid          = organizationid;
     ServiceFaxes            = serviceFaxes;
     Modifiedonbehalfby      = modifiedonbehalfby;
     Modifiedby              = modifiedby;
     ServiceAnnotation       = serviceAnnotation;
     ServiceTasks            = serviceTasks;
     ServiceSocialactivities = serviceSocialactivities;
     CalendaridCalendar      = calendaridCalendar;
     ServiceSyncErrors       = serviceSyncErrors;
     Createdby                      = createdby;
     ServiceOrderclose              = serviceOrderclose;
     ServiceLetters                 = serviceLetters;
     ServiceActivityPointers        = serviceActivityPointers;
     ServiceBulkDeleteFailures      = serviceBulkDeleteFailures;
     Createdonbehalfby              = createdonbehalfby;
     ServiceContacts                = serviceContacts;
     ServiceAppointments            = serviceAppointments;
     ServiceDuplicateBaseRecord     = serviceDuplicateBaseRecord;
     ServiceEmails                  = serviceEmails;
     ServiceCalendarRules           = serviceCalendarRules;
     Resourcespecid                 = resourcespecid;
     ServiceAsyncOperations         = serviceAsyncOperations;
     ServiceDuplicateMatchingRecord = serviceDuplicateMatchingRecord;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMsdkmessageprocessingstep class.
 /// </summary>
 public MicrosoftDynamicsCRMsdkmessageprocessingstep(string _modifiedonbehalfbyValue = default(string), string _organizationidValue = default(string), string sdkmessageprocessingstepid = default(string), string _sdkmessagefilteridValue = default(string), string introducedversion = default(string), string _sdkmessageidValue = default(string), int?componentstate = default(int?), string configuration = default(string), int?customizationlevel = default(int?), int?statecode = default(int?), int?mode = default(int?), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?overwritetime = default(System.DateTimeOffset?), string _modifiedbyValue = default(string), string solutionid = default(string), bool?asyncautodelete = default(bool?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), bool?canusereadonlyconnection = default(bool?), MicrosoftDynamicsCRMBooleanManagedProperty ishidden = default(MicrosoftDynamicsCRMBooleanManagedProperty), string _sdkmessageprocessingstepsecureconfigidValue = default(string), string name = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), int?stage = default(int?), string filteringattributes = default(string), long?versionnumber = default(long?), int?supporteddeployment = default(int?), bool?ismanaged = default(bool?), string sdkmessageprocessingstepidunique = default(string), string _eventhandlerValue = default(string), int?rank = default(int?), string _impersonatinguseridValue = default(string), int?statuscode = default(int?), string _createdbyValue = default(string), MicrosoftDynamicsCRMBooleanManagedProperty iscustomizable = default(MicrosoftDynamicsCRMBooleanManagedProperty), string description = default(string), MicrosoftDynamicsCRMsdkmessageprocessingstepsecureconfig sdkmessageprocessingstepsecureconfigid = default(MicrosoftDynamicsCRMsdkmessageprocessingstepsecureconfig), MicrosoftDynamicsCRMsdkmessage sdkmessageid = default(MicrosoftDynamicsCRMsdkmessage), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsdkmessagefilter sdkmessagefilterid = default(MicrosoftDynamicsCRMsdkmessagefilter), MicrosoftDynamicsCRMsystemuser impersonatinguserid = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization), MicrosoftDynamicsCRMplugintype plugintypeid = default(MicrosoftDynamicsCRMplugintype), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMplugintype eventhandlerPlugintype = default(MicrosoftDynamicsCRMplugintype), IList <MicrosoftDynamicsCRMasyncoperation> sdkMessageProcessingStepAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsdkmessageprocessingstepimage> sdkmessageprocessingstepidSdkmessageprocessingstepimage = default(IList <MicrosoftDynamicsCRMsdkmessageprocessingstepimage>), MicrosoftDynamicsCRMserviceendpoint eventhandlerServiceendpoint = default(MicrosoftDynamicsCRMserviceendpoint))
 {
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     this._organizationidValue     = _organizationidValue;
     Sdkmessageprocessingstepid    = sdkmessageprocessingstepid;
     this._sdkmessagefilteridValue = _sdkmessagefilteridValue;
     Introducedversion             = introducedversion;
     this._sdkmessageidValue       = _sdkmessageidValue;
     Componentstate     = componentstate;
     Configuration      = configuration;
     Customizationlevel = customizationlevel;
     Statecode          = statecode;
     Mode = mode;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Overwritetime            = overwritetime;
     this._modifiedbyValue    = _modifiedbyValue;
     Solutionid               = solutionid;
     Asyncautodelete          = asyncautodelete;
     Createdon                = createdon;
     Canusereadonlyconnection = canusereadonlyconnection;
     Ishidden = ishidden;
     this._sdkmessageprocessingstepsecureconfigidValue = _sdkmessageprocessingstepsecureconfigidValue;
     Name                = name;
     Modifiedon          = modifiedon;
     Stage               = stage;
     Filteringattributes = filteringattributes;
     Versionnumber       = versionnumber;
     Supporteddeployment = supporteddeployment;
     Ismanaged           = ismanaged;
     Sdkmessageprocessingstepidunique = sdkmessageprocessingstepidunique;
     this._eventhandlerValue          = _eventhandlerValue;
     Rank = rank;
     this._impersonatinguseridValue = _impersonatinguseridValue;
     Statuscode           = statuscode;
     this._createdbyValue = _createdbyValue;
     Iscustomizable       = iscustomizable;
     Description          = description;
     Sdkmessageprocessingstepsecureconfigid = sdkmessageprocessingstepsecureconfigid;
     Sdkmessageid           = sdkmessageid;
     Createdonbehalfby      = createdonbehalfby;
     Sdkmessagefilterid     = sdkmessagefilterid;
     Impersonatinguserid    = impersonatinguserid;
     Organizationid         = organizationid;
     Plugintypeid           = plugintypeid;
     Modifiedonbehalfby     = modifiedonbehalfby;
     Modifiedby             = modifiedby;
     EventhandlerPlugintype = eventhandlerPlugintype;
     SdkMessageProcessingStepAsyncOperations = sdkMessageProcessingStepAsyncOperations;
     Createdby = createdby;
     SdkmessageprocessingstepidSdkmessageprocessingstepimage = sdkmessageprocessingstepidSdkmessageprocessingstepimage;
     EventhandlerServiceendpoint = eventhandlerServiceendpoint;
     CustomInit();
 }