/// <summary> /// Initializes a new instance of the <see cref="Email" /> class. /// </summary> /// <param name="bcc">bcc.</param> /// <param name="body">body.</param> /// <param name="cc">cc.</param> /// <param name="date">date.</param> /// <param name="description">description.</param> /// <param name="from">from.</param> /// <param name="fromEmailAccountDisplayName">fromEmailAccountDisplayName.</param> /// <param name="fromEmailAccountID">fromEmailAccountID.</param> /// <param name="incoming">incoming.</param> /// <param name="_internal">_internal.</param> /// <param name="mailStatus">mailStatus.</param> /// <param name="owner">owner.</param> /// <param name="parent">parent.</param> /// <param name="parentSummary">parentSummary.</param> /// <param name="relatedEntityDescription">relatedEntityDescription.</param> /// <param name="startTime">startTime.</param> /// <param name="subject">subject.</param> /// <param name="timeActivity">timeActivity.</param> /// <param name="to">to.</param> /// <param name="workgroup">workgroup.</param> public Email(StringValue bcc = default(StringValue), StringValue body = default(StringValue), StringValue cc = default(StringValue), DateTimeValue date = default(DateTimeValue), StringValue description = default(StringValue), StringValue from = default(StringValue), StringValue fromEmailAccountDisplayName = default(StringValue), IntValue fromEmailAccountID = default(IntValue), BooleanValue incoming = default(BooleanValue), BooleanValue _internal = default(BooleanValue), StringValue mailStatus = default(StringValue), StringValue owner = default(StringValue), GuidValue parent = default(GuidValue), StringValue parentSummary = default(StringValue), StringValue relatedEntityDescription = default(StringValue), DateTimeValue startTime = default(DateTimeValue), StringValue subject = default(StringValue), TimeActivity timeActivity = default(TimeActivity), StringValue to = default(StringValue), StringValue workgroup = default(StringValue), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files) { this.Bcc = bcc; this.Body = body; this.Cc = cc; this.Date = date; this.Description = description; this.From = from; this.FromEmailAccountDisplayName = fromEmailAccountDisplayName; this.FromEmailAccountID = fromEmailAccountID; this.Incoming = incoming; this.Internal = _internal; this.MailStatus = mailStatus; this.Owner = owner; this.Parent = parent; this.ParentSummary = parentSummary; this.RelatedEntityDescription = relatedEntityDescription; this.StartTime = startTime; this.Subject = subject; this.TimeActivity = timeActivity; this.To = to; this.Workgroup = workgroup; }
/// <summary> /// Initializes a new instance of the <see cref="Activity" /> class. /// </summary> /// <param name="body">body.</param> /// <param name="date">date.</param> /// <param name="_internal">_internal.</param> /// <param name="noteID">noteID.</param> /// <param name="owner">owner.</param> /// <param name="relatedEntityDescription">relatedEntityDescription.</param> /// <param name="status">status.</param> /// <param name="summary">summary.</param> /// <param name="task">task.</param> /// <param name="timeActivity">timeActivity.</param> /// <param name="type">type.</param> /// <param name="workgroup">workgroup.</param> public Activity(StringValue body = default(StringValue), DateTimeValue date = default(DateTimeValue), BooleanValue _internal = default(BooleanValue), GuidValue noteID = default(GuidValue), StringValue owner = default(StringValue), StringValue relatedEntityDescription = default(StringValue), StringValue status = default(StringValue), StringValue summary = default(StringValue), StringValue task = default(StringValue), TimeActivity timeActivity = default(TimeActivity), StringValue type = default(StringValue), StringValue workgroup = default(StringValue), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files) { this.Body = body; this.Date = date; this.Internal = _internal; this.NoteID = noteID; this.Owner = owner; this.RelatedEntityDescription = relatedEntityDescription; this.Status = status; this.Summary = summary; this.Task = task; this.TimeActivity = timeActivity; this.Type = type; this.Workgroup = workgroup; }