예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Stream">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="RuleMetaData">RuleMetaData (required).</param>
 public SearchResult(ListPageRecord Pager = null, List <StreamRecordWrapper> Stream = null, ResponseHeaderRecord Hdr = null, RuleMetaDataRecord RuleMetaData = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for SearchResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for SearchResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "RuleMetaData" is required (not null)
     if (RuleMetaData == null)
     {
         throw new InvalidDataException("RuleMetaData is a required property for SearchResult and cannot be null");
     }
     else
     {
         this.RuleMetaData = RuleMetaData;
     }
     this.Stream = Stream;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetTaskHistoryResult" /> class.
 /// </summary>
 /// <param name="Task">Task (required).</param>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="History">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetTaskHistoryResult(TaskRecord Task = null, ListPageRecord Pager = null, List <TaskHistoryRecord> History = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Task" is required (not null)
     if (Task == null)
     {
         throw new InvalidDataException("Task is a required property for GetTaskHistoryResult and cannot be null");
     }
     else
     {
         this.Task = Task;
     }
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetTaskHistoryResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetTaskHistoryResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.History = History;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetParticipantsResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="CanAdded"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Users">.</param>
 /// <param name="Status">.</param>
 public GetParticipantsResult(ListPageRecord Pager = null, bool?CanAdded = null, ResponseHeaderRecord Hdr = null, List <DisplayRecord> Users = null, List <string> Status = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetParticipantsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "CanAdded" is required (not null)
     if (CanAdded == null)
     {
         throw new InvalidDataException("CanAdded is a required property for GetParticipantsResult and cannot be null");
     }
     else
     {
         this.CanAdded = CanAdded;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetParticipantsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Users  = Users;
     this.Status = Status;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetGroupUsersResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Count"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Users">.</param>
 public GetGroupUsersResult(ListPageRecord Pager = null, int?Count = null, ResponseHeaderRecord Hdr = null, List <DisplayRecord> Users = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetGroupUsersResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Count" is required (not null)
     if (Count == null)
     {
         throw new InvalidDataException("Count is a required property for GetGroupUsersResult and cannot be null");
     }
     else
     {
         this.Count = Count;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetGroupUsersResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Users = Users;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SparcTinyDataRecord" /> class.
 /// </summary>
 /// <param name="Pager">Pager.</param>
 /// <param name="SharedTasks">array of shared tasks.</param>
 /// <param name="Stream">array of record.</param>
 /// <param name="Counts">.</param>
 /// <param name="Record">Record.</param>
 /// <param name="Steps">array of steps.</param>
 public SparcTinyDataRecord(ListPageRecord Pager = null, List <Record> SharedTasks = null, List <StreamRecordWrapper> Stream = null, Object Counts = null, Record Record = null, Object Steps = null)
 {
     this.Pager       = Pager;
     this.SharedTasks = SharedTasks;
     this.Stream      = Stream;
     this.Counts      = Counts;
     this.Record      = Record;
     this.Steps       = Steps;
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetSparcActionsResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Ppager">Ppager (required).</param>
 /// <param name="Npager">Npager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Actions">.</param>
 /// <param name="Pactions">.</param>
 /// <param name="Nactions">.</param>
 public GetSparcActionsResult(ListPageRecord Pager = null, ListPageRecord Ppager = null, ListPageRecord Npager = null, ResponseHeaderRecord Hdr = null, List <SparcActionRecord> Actions = null, List <SparcActionRecord> Pactions = null, List <SparcActionRecord> Nactions = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetSparcActionsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Ppager" is required (not null)
     if (Ppager == null)
     {
         throw new InvalidDataException("Ppager is a required property for GetSparcActionsResult and cannot be null");
     }
     else
     {
         this.Ppager = Ppager;
     }
     // to ensure "Npager" is required (not null)
     if (Npager == null)
     {
         throw new InvalidDataException("Npager is a required property for GetSparcActionsResult and cannot be null");
     }
     else
     {
         this.Npager = Npager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetSparcActionsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Actions  = Actions;
     this.Pactions = Pactions;
     this.Nactions = Nactions;
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListAssociationItemResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Items">.</param>
 public ListAssociationItemResult(ListPageRecord Pager = null, ResponseHeaderRecord Hdr = null, List <Record> Items = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for ListAssociationItemResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for ListAssociationItemResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Items = Items;
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetEventInstancesResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Instances">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetEventInstancesResult(ListPageRecord Pager = null, List <Object> Instances = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetEventInstancesResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetEventInstancesResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Instances = Instances;
 }
예제 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetSessionsResult" /> class.
 /// </summary>
 /// <param name="Sessions">.</param>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetSessionsResult(List <SessionInfoRecord> Sessions = null, ListPageRecord Pager = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetSessionsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetSessionsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Sessions = Sessions;
 }
예제 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAttachmentsResult" /> class.
 /// </summary>
 /// <param name="Attachments">.</param>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetAttachmentsResult(List <DocumentV2Record> Attachments = null, ListPageRecord Pager = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetAttachmentsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetAttachmentsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Attachments = Attachments;
 }
예제 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImportContactsResult" /> class.
 /// </summary>
 /// <param name="ListPageRecord">ListPageRecord (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Users">.</param>
 public ImportContactsResult(ListPageRecord ListPageRecord = null, ResponseHeaderRecord Hdr = null, List <ImportUserRecord> Users = null)
 {
     // to ensure "ListPageRecord" is required (not null)
     if (ListPageRecord == null)
     {
         throw new InvalidDataException("ListPageRecord is a required property for ImportContactsResult and cannot be null");
     }
     else
     {
         this.ListPageRecord = ListPageRecord;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for ImportContactsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Users = Users;
 }
예제 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetMembersForReminderResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="UserRecords">.</param>
 public GetMembersForReminderResult(ListPageRecord Pager = null, ResponseHeaderRecord Hdr = null, List <UserObjectRecord> UserRecords = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetMembersForReminderResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetMembersForReminderResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.UserRecords = UserRecords;
 }
예제 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetInvitationsResult" /> class.
 /// </summary>
 /// <param name="Result">.</param>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetInvitationsResult(List <InvitationRecordV2> Result = null, ListPageRecord Pager = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetInvitationsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetInvitationsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Result = Result;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetLaunchableWorkflowsResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Workflows">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetLaunchableWorkflowsResult(ListPageRecord Pager = null, List <WorkflowLaunchableRecord> Workflows = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetLaunchableWorkflowsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetLaunchableWorkflowsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Workflows = Workflows;
 }
예제 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetVutResult" /> class.
 /// </summary>
 /// <param name="Vut">.</param>
 /// <param name="Pageretrieved">Pageretrieved (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetVutResult(List <VUTRecord> Vut = null, ListPageRecord Pageretrieved = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pageretrieved" is required (not null)
     if (Pageretrieved == null)
     {
         throw new InvalidDataException("Pageretrieved is a required property for GetVutResult and cannot be null");
     }
     else
     {
         this.Pageretrieved = Pageretrieved;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetVutResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Vut = Vut;
 }
예제 #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetDefaultPresetRulesResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Rules">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetDefaultPresetRulesResult(ListPageRecord Pager = null, List <RuleRecord> Rules = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetDefaultPresetRulesResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetDefaultPresetRulesResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Rules = Rules;
 }
예제 #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetTopologyResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Records">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetTopologyResult(ListPageRecord Pager = null, List <ReferenceRecord> Records = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetTopologyResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetTopologyResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Records = Records;
 }
예제 #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetLocalListResult" /> class.
 /// </summary>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Keys">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetLocalListResult(ListPageRecord Pager = null, List <string> Keys = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetLocalListResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetLocalListResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Keys = Keys;
 }
예제 #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCommentsResult" /> class.
 /// </summary>
 /// <param name="CommentListKeyOut"> (required).</param>
 /// <param name="Comments">.</param>
 /// <param name="FirstLevelCount"> (required).</param>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="ParentCreatorKey"> (required).</param>
 /// <param name="CanComment"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetCommentsResult(string CommentListKeyOut = null, List <CommentV2Record> Comments = null, int?FirstLevelCount = null, ListPageRecord Pager = null, string ParentCreatorKey = null, bool?CanComment = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "CommentListKeyOut" is required (not null)
     if (CommentListKeyOut == null)
     {
         throw new InvalidDataException("CommentListKeyOut is a required property for GetCommentsResult and cannot be null");
     }
     else
     {
         this.CommentListKeyOut = CommentListKeyOut;
     }
     // to ensure "FirstLevelCount" is required (not null)
     if (FirstLevelCount == null)
     {
         throw new InvalidDataException("FirstLevelCount is a required property for GetCommentsResult and cannot be null");
     }
     else
     {
         this.FirstLevelCount = FirstLevelCount;
     }
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetCommentsResult and cannot be null");
     }
     else
     {
         this.Pager = Pager;
     }
     // to ensure "ParentCreatorKey" is required (not null)
     if (ParentCreatorKey == null)
     {
         throw new InvalidDataException("ParentCreatorKey is a required property for GetCommentsResult and cannot be null");
     }
     else
     {
         this.ParentCreatorKey = ParentCreatorKey;
     }
     // to ensure "CanComment" is required (not null)
     if (CanComment == null)
     {
         throw new InvalidDataException("CanComment is a required property for GetCommentsResult and cannot be null");
     }
     else
     {
         this.CanComment = CanComment;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetCommentsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Comments = Comments;
 }