Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetRatingResult" /> class.
 /// </summary>
 /// <param name="Ratings">Ratings (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetRatingResult(RatingsRecord Ratings = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Ratings" is required (not null)
     if (Ratings == null)
     {
         throw new InvalidDataException("Ratings is a required property for GetRatingResult and cannot be null");
     }
     else
     {
         this.Ratings = Ratings;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetRatingResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NoteV2Record" /> class.
 /// </summary>
 /// <param name="HasDraft">the login user has comment drafts in this object..</param>
 /// <param name="Editor">Editor.</param>
 /// <param name="Creator">Creator.</param>
 /// <param name="ExplicitReadCount">ExplicitReadCount.</param>
 /// <param name="FavoriteFlag">ImportantFlag..</param>
 /// <param name="Destinations">Destinations where this object has been placed..</param>
 /// <param name="CopyDestination">copy destination email address.</param>
 /// <param name="RefmeFlag">RefmeFlag..</param>
 /// <param name="Type">Type of document record..</param>
 /// <param name="Locale">Locale language..</param>
 /// <param name="Timeupdated">Last update time for Space record..</param>
 /// <param name="ImportantFlag">ImportantFlag..</param>
 /// <param name="LifecycleState">lifecycle state..</param>
 /// <param name="Timecreated">Time created for Space record..</param>
 /// <param name="DominantTime">Dominant update time.</param>
 /// <param name="HideFlag">hide flag..</param>
 /// <param name="Subtype">Type of document record..</param>
 /// <param name="PinFlag">pin flag..</param>
 /// <param name="FollowFlag">FollowFlag..</param>
 /// <param name="Key">Key of document record..</param>
 /// <param name="PinTime">pin time..</param>
 /// <param name="Status">Status..</param>
 /// <param name="HybridFlag">Hybrid Flag..</param>
 /// <param name="Ratings">Ratings.</param>
 /// <param name="Permissions">Permissions granted on document..</param>
 /// <param name="NaviKey">Nav key.</param>
 /// <param name="Text">Document text..</param>
 /// <param name="Title">Document title..</param>
 /// <param name="CanRemove">can remove from object by user.</param>
 public NoteV2Record(bool?HasDraft = null, DisplayRecord Editor = null, DisplayRecord Creator = null, ObjectReadInfoRecord ExplicitReadCount = null, bool?FavoriteFlag = null, List <DisplayRecord> Destinations = null, string CopyDestination = null, bool?RefmeFlag = null, string Type = null, string Locale = null, int?Timeupdated = null, bool?ImportantFlag = null, string LifecycleState = null, int?Timecreated = null, int?DominantTime = null, bool?HideFlag = null, string Subtype = null, bool?PinFlag = null, bool?FollowFlag = null, string Key = null, int?PinTime = null, string Status = null, bool?HybridFlag = null, RatingsRecord Ratings = null, List <string> Permissions = null, string NaviKey = null, string Text = null, string Title = null, bool?CanRemove = null)
 {
     this.HasDraft          = HasDraft;
     this.Editor            = Editor;
     this.Creator           = Creator;
     this.ExplicitReadCount = ExplicitReadCount;
     this.FavoriteFlag      = FavoriteFlag;
     this.Destinations      = Destinations;
     this.CopyDestination   = CopyDestination;
     this.RefmeFlag         = RefmeFlag;
     this.Type           = Type;
     this.Locale         = Locale;
     this.Timeupdated    = Timeupdated;
     this.ImportantFlag  = ImportantFlag;
     this.LifecycleState = LifecycleState;
     this.Timecreated    = Timecreated;
     this.DominantTime   = DominantTime;
     this.HideFlag       = HideFlag;
     this.Subtype        = Subtype;
     this.PinFlag        = PinFlag;
     this.FollowFlag     = FollowFlag;
     this.Key            = Key;
     this.PinTime        = PinTime;
     this.Status         = Status;
     this.HybridFlag     = HybridFlag;
     this.Ratings        = Ratings;
     this.Permissions    = Permissions;
     this.NaviKey        = NaviKey;
     this.Text           = Text;
     this.Title          = Title;
     this.CanRemove      = CanRemove;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommentV2Record" /> class.
 /// </summary>
 /// <param name="Editor">Editor.</param>
 /// <param name="ContentKey">Content Key..</param>
 /// <param name="Creator">Creator.</param>
 /// <param name="ExplicitReadCount">ExplicitReadCount.</param>
 /// <param name="CopyDestination">copy destination email address.</param>
 /// <param name="CommentCID">Comment CID.</param>
 /// <param name="IsRead">is comment read.</param>
 /// <param name="RefmeFlag">Refme flag.</param>
 /// <param name="HighlightText">Comment text with highlight..</param>
 /// <param name="Timeupdated">Comment time edited..</param>
 /// <param name="CreationMethod">Comment creation method..</param>
 /// <param name="CommentListKey">Comment List Key..</param>
 /// <param name="HasEmbeddedObjects">Identifies if the Comment has embedded objects or not.</param>
 /// <param name="ImportantFlag">important flag.</param>
 /// <param name="SubCommentCount">subComment count.</param>
 /// <param name="IsAnonymous">is comment anoynmous.</param>
 /// <param name="Timecreated">Comment creation time..</param>
 /// <param name="Ratings">Ratings.</param>
 /// <param name="CommentID">Comment ID.</param>
 /// <param name="ByContentEmail">byContentEmail.</param>
 /// <param name="CommentPID">Comment PID.</param>
 /// <param name="Text">Comment text..</param>
 /// <param name="Status">Comment status..</param>
 public CommentV2Record(DisplayRecord Editor = null, string ContentKey = null, DisplayRecord Creator = null, ObjectReadInfoRecord ExplicitReadCount = null, string CopyDestination = null, int? CommentCID = null, bool? IsRead = null, bool? RefmeFlag = null, string HighlightText = null, int? Timeupdated = null, string CreationMethod = null, string CommentListKey = null, bool? HasEmbeddedObjects = null, bool? ImportantFlag = null, int? SubCommentCount = null, string IsAnonymous = null, int? Timecreated = null, RatingsRecord Ratings = null, int? CommentID = null, bool? ByContentEmail = null, int? CommentPID = null, string Text = null, string Status = null)
 {
     this.Editor = Editor;
     this.ContentKey = ContentKey;
     this.Creator = Creator;
     this.ExplicitReadCount = ExplicitReadCount;
     this.CopyDestination = CopyDestination;
     this.CommentCID = CommentCID;
     this.IsRead = IsRead;
     this.RefmeFlag = RefmeFlag;
     this.HighlightText = HighlightText;
     this.Timeupdated = Timeupdated;
     this.CreationMethod = CreationMethod;
     this.CommentListKey = CommentListKey;
     this.HasEmbeddedObjects = HasEmbeddedObjects;
     this.ImportantFlag = ImportantFlag;
     this.SubCommentCount = SubCommentCount;
     this.IsAnonymous = IsAnonymous;
     this.Timecreated = Timecreated;
     this.Ratings = Ratings;
     this.CommentID = CommentID;
     this.ByContentEmail = ByContentEmail;
     this.CommentPID = CommentPID;
     this.Text = Text;
     this.Status = Status;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostV2Record" /> class.
 /// </summary>
 /// <param name="HasDraft">the login user has comment drafts in this object..</param>
 /// <param name="Editor">Editor.</param>
 /// <param name="Creator">Creator.</param>
 /// <param name="ExplicitReadCount">ExplicitReadCount.</param>
 /// <param name="FavoriteFlag">ImportantFlag..</param>
 /// <param name="Destinations">Destinations where this object has been placed..</param>
 /// <param name="CopyDestination">copy destination email address.</param>
 /// <param name="RefmeFlag">RefmeFlag..</param>
 /// <param name="Type">Type of document record..</param>
 /// <param name="Locale">Locale language..</param>
 /// <param name="Timeupdated">Last update time for Space record..</param>
 /// <param name="ImportantFlag">ImportantFlag..</param>
 /// <param name="LifecycleState">lifecycle state..</param>
 /// <param name="Timecreated">Time created for Space record..</param>
 /// <param name="DominantTime">Dominant update time.</param>
 /// <param name="HideFlag">hide flag..</param>
 /// <param name="Subtype">Type of document record..</param>
 /// <param name="PinFlag">pin flag..</param>
 /// <param name="FollowFlag">FollowFlag..</param>
 /// <param name="Key">Key of document record..</param>
 /// <param name="PinTime">pin time..</param>
 /// <param name="Status">Status..</param>
 /// <param name="HybridFlag">Hybrid Flag..</param>
 /// <param name="Ratings">Ratings.</param>
 /// <param name="CommentCount">Post comment count.</param>
 /// <param name="EditCommentFlag">whether allow member to edit comment..</param>
 /// <param name="Permissions">Permissions granted on document..</param>
 /// <param name="Document">Document.</param>
 /// <param name="ReShareFlag">whether allow member re-share post..</param>
 /// <param name="CommentlistKey">Key of commentlist.</param>
 /// <param name="Text">Post description..</param>
 /// <param name="Title">Post title..</param>
 /// <param name="AnonymousPost">Anonymous flag set true to allow anonymous posted from users..</param>
 /// <param name="AttachmentCount">Post attachment count.</param>
 /// <param name="AnonymousCommentFlag">whether allow Anonymous Comments..</param>
 /// <param name="AddByEmail">whether the post was created by email..</param>
 public PostV2Record(string HasDraft = null, DisplayRecord Editor = null, DisplayRecord Creator = null, ObjectReadInfoRecord ExplicitReadCount = null, string FavoriteFlag = null, List <DisplayRecord> Destinations = null, string CopyDestination = null, bool?RefmeFlag = null, string Type = null, string Locale = null, int?Timeupdated = null, string ImportantFlag = null, string LifecycleState = null, int?Timecreated = null, int?DominantTime = null, string HideFlag = null, string Subtype = null, string PinFlag = null, bool?FollowFlag = null, string Key = null, int?PinTime = null, string Status = null, bool?HybridFlag = null, RatingsRecord Ratings = null, int?CommentCount = null, int?EditCommentFlag = null, List <string> Permissions = null, NoteV2Record Document = null, int?ReShareFlag = null, string CommentlistKey = null, string Text = null, string Title = null, bool?AnonymousPost = null, int?AttachmentCount = null, int?AnonymousCommentFlag = null, bool?AddByEmail = null)
 {
     this.HasDraft          = HasDraft;
     this.Editor            = Editor;
     this.Creator           = Creator;
     this.ExplicitReadCount = ExplicitReadCount;
     this.FavoriteFlag      = FavoriteFlag;
     this.Destinations      = Destinations;
     this.CopyDestination   = CopyDestination;
     this.RefmeFlag         = RefmeFlag;
     this.Type                 = Type;
     this.Locale               = Locale;
     this.Timeupdated          = Timeupdated;
     this.ImportantFlag        = ImportantFlag;
     this.LifecycleState       = LifecycleState;
     this.Timecreated          = Timecreated;
     this.DominantTime         = DominantTime;
     this.HideFlag             = HideFlag;
     this.Subtype              = Subtype;
     this.PinFlag              = PinFlag;
     this.FollowFlag           = FollowFlag;
     this.Key                  = Key;
     this.PinTime              = PinTime;
     this.Status               = Status;
     this.HybridFlag           = HybridFlag;
     this.Ratings              = Ratings;
     this.CommentCount         = CommentCount;
     this.EditCommentFlag      = EditCommentFlag;
     this.Permissions          = Permissions;
     this.Document             = Document;
     this.ReShareFlag          = ReShareFlag;
     this.CommentlistKey       = CommentlistKey;
     this.Text                 = Text;
     this.Title                = Title;
     this.AnonymousPost        = AnonymousPost;
     this.AttachmentCount      = AttachmentCount;
     this.AnonymousCommentFlag = AnonymousCommentFlag;
     this.AddByEmail           = AddByEmail;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarEventV2Record" /> class.
 /// </summary>
 /// <param name="HasDraft">the login user has comment drafts in this object..</param>
 /// <param name="Editor">Editor.</param>
 /// <param name="Creator">Creator.</param>
 /// <param name="ExplicitReadCount">ExplicitReadCount.</param>
 /// <param name="FavoriteFlag">ImportantFlag..</param>
 /// <param name="Destinations">Destinations where this object has been placed..</param>
 /// <param name="CopyDestination">copy destination email address.</param>
 /// <param name="RefmeFlag">RefmeFlag..</param>
 /// <param name="Type">Type of document record..</param>
 /// <param name="Locale">Locale language..</param>
 /// <param name="Timeupdated">Last update time for Space record..</param>
 /// <param name="ImportantFlag">ImportantFlag..</param>
 /// <param name="LifecycleState">lifecycle state..</param>
 /// <param name="Timecreated">Time created for Space record..</param>
 /// <param name="DominantTime">Dominant update time.</param>
 /// <param name="HideFlag">hide flag..</param>
 /// <param name="Subtype">Type of document record..</param>
 /// <param name="PinFlag">pin flag..</param>
 /// <param name="FollowFlag">FollowFlag..</param>
 /// <param name="Key">Key of document record..</param>
 /// <param name="PinTime">pin time..</param>
 /// <param name="Status">Status..</param>
 /// <param name="HybridFlag">Hybrid Flag..</param>
 /// <param name="Ratings">Ratings.</param>
 /// <param name="Permissions">Permissions granted on document..</param>
 /// <param name="NaviKey">Nav key.</param>
 /// <param name="Text">Document text..</param>
 /// <param name="Title">Document title..</param>
 /// <param name="StartDateTime">The event start date and time; corresponds to the DTSTART property..</param>
 /// <param name="Timezone">The time zone for the event; corresponds to the TZID property..</param>
 /// <param name="EventStatus">The Android calendar event delete status.</param>
 /// <param name="RecurrenceDateTimes">The recurrence date-times for the event; corresponds to the RDATE property..</param>
 /// <param name="ExceptionDateTimes">The exception date-times for the event; corresponds to the EXDATE property..</param>
 /// <param name="Location">The event location; corresponds to the LOCATION property..</param>
 /// <param name="RecurrenceRule">The recurrence rule for the event; corresponds to the RRULE property..</param>
 /// <param name="OriginalEventId">The original event id.</param>
 /// <param name="EndDateTime">The event end date and time; corresponds to the DTEND property..</param>
 public CalendarEventV2Record(bool?HasDraft = null, DisplayRecord Editor = null, DisplayRecord Creator = null, ObjectReadInfoRecord ExplicitReadCount = null, bool?FavoriteFlag = null, List <DisplayRecord> Destinations = null, string CopyDestination = null, bool?RefmeFlag = null, string Type = null, string Locale = null, int?Timeupdated = null, bool?ImportantFlag = null, string LifecycleState = null, int?Timecreated = null, int?DominantTime = null, bool?HideFlag = null, string Subtype = null, bool?PinFlag = null, bool?FollowFlag = null, string Key = null, int?PinTime = null, string Status = null, bool?HybridFlag = null, RatingsRecord Ratings = null, List <string> Permissions = null, string NaviKey = null, string Text = null, string Title = null, string StartDateTime = null, string Timezone = null, string EventStatus = null, string RecurrenceDateTimes = null, string ExceptionDateTimes = null, string Location = null, string RecurrenceRule = null, string OriginalEventId = null, string EndDateTime = null)
 {
     this.HasDraft          = HasDraft;
     this.Editor            = Editor;
     this.Creator           = Creator;
     this.ExplicitReadCount = ExplicitReadCount;
     this.FavoriteFlag      = FavoriteFlag;
     this.Destinations      = Destinations;
     this.CopyDestination   = CopyDestination;
     this.RefmeFlag         = RefmeFlag;
     this.Type                = Type;
     this.Locale              = Locale;
     this.Timeupdated         = Timeupdated;
     this.ImportantFlag       = ImportantFlag;
     this.LifecycleState      = LifecycleState;
     this.Timecreated         = Timecreated;
     this.DominantTime        = DominantTime;
     this.HideFlag            = HideFlag;
     this.Subtype             = Subtype;
     this.PinFlag             = PinFlag;
     this.FollowFlag          = FollowFlag;
     this.Key                 = Key;
     this.PinTime             = PinTime;
     this.Status              = Status;
     this.HybridFlag          = HybridFlag;
     this.Ratings             = Ratings;
     this.Permissions         = Permissions;
     this.NaviKey             = NaviKey;
     this.Text                = Text;
     this.Title               = Title;
     this.StartDateTime       = StartDateTime;
     this.Timezone            = Timezone;
     this.EventStatus         = EventStatus;
     this.RecurrenceDateTimes = RecurrenceDateTimes;
     this.ExceptionDateTimes  = ExceptionDateTimes;
     this.Location            = Location;
     this.RecurrenceRule      = RecurrenceRule;
     this.OriginalEventId     = OriginalEventId;
     this.EndDateTime         = EndDateTime;
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StreamRecordWrapper" /> class.
 /// </summary>
 /// <param name="TotalCounts">TotalCounts.</param>
 /// <param name="ActivityTime">.</param>
 /// <param name="HighlightMatch">highlighted text.</param>
 /// <param name="Ratings">Ratings.</param>
 /// <param name="Record">.</param>
 /// <param name="Recordtype">.</param>
 /// <param name="IsNewTile">.</param>
 /// <param name="BadgeCounts">BadgeCounts.</param>
 /// <param name="LastAction">LastAction.</param>
 /// <param name="IsLocal">Whether this object is local.</param>
 /// <param name="SortKey">.</param>
 public StreamRecordWrapper(SparcCountRecord TotalCounts = null, string ActivityTime = null, string HighlightMatch = null, RatingsRecord Ratings = null, Object Record = null, string Recordtype = null, bool?IsNewTile = null, SparcCountRecord BadgeCounts = null, SparcActionRecord LastAction = null, bool?IsLocal = null, string SortKey = null)
 {
     this.TotalCounts    = TotalCounts;
     this.ActivityTime   = ActivityTime;
     this.HighlightMatch = HighlightMatch;
     this.Ratings        = Ratings;
     this.Record         = Record;
     this.Recordtype     = Recordtype;
     this.IsNewTile      = IsNewTile;
     this.BadgeCounts    = BadgeCounts;
     this.LastAction     = LastAction;
     this.IsLocal        = IsLocal;
     this.SortKey        = SortKey;
 }