コード例 #1
0
ファイル: ValidateUrlResult.cs プロジェクト: xxyying/vmClone
 /// <summary>
 /// Initializes a new instance of the <see cref="ValidateUrlResult" /> class.
 /// </summary>
 /// <param name="ThumbUrl"> (required).</param>
 /// <param name="Allowed">If the passed extenral url is acceptable. (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public ValidateUrlResult(string ThumbUrl = null, bool? Allowed = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "ThumbUrl" is required (not null)
     if (ThumbUrl == null)
     {
         throw new InvalidDataException("ThumbUrl is a required property for ValidateUrlResult and cannot be null");
     }
     else
     {
         this.ThumbUrl = ThumbUrl;
     }
     // to ensure "Allowed" is required (not null)
     if (Allowed == null)
     {
         throw new InvalidDataException("Allowed is a required property for ValidateUrlResult and cannot be null");
     }
     else
     {
         this.Allowed = Allowed;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for ValidateUrlResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetGoogleConnectionDataResult" /> class.
 /// </summary>
 /// <param name="Args"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Status">Status (required).</param>
 public GetGoogleConnectionDataResult(string Args = null, ResponseHeaderRecord Hdr = null, CloudConnectionDataRecord Status = null)
 {
     // to ensure "Args" is required (not null)
     if (Args == null)
     {
         throw new InvalidDataException("Args is a required property for GetGoogleConnectionDataResult and cannot be null");
     }
     else
     {
         this.Args = Args;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetGoogleConnectionDataResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "Status" is required (not null)
     if (Status == null)
     {
         throw new InvalidDataException("Status is a required property for GetGoogleConnectionDataResult and cannot be null");
     }
     else
     {
         this.Status = Status;
     }
 }
コード例 #3
0
ファイル: GetItemResult.cs プロジェクト: xxyying/vmClone
 /// <summary>
 /// Initializes a new instance of the <see cref="GetItemResult" /> class.
 /// </summary>
 /// <param name="Stream">Stream (required).</param>
 /// <param name="ACL">ACL (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetItemResult(Record Stream = null, TaskACLRecord ACL = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Stream" is required (not null)
     if (Stream == null)
     {
         throw new InvalidDataException("Stream is a required property for GetItemResult and cannot be null");
     }
     else
     {
         this.Stream = Stream;
     }
     // to ensure "ACL" is required (not null)
     if (ACL == null)
     {
         throw new InvalidDataException("ACL is a required property for GetItemResult and cannot be null");
     }
     else
     {
         this.ACL = ACL;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetItemResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckUrlResult" /> class.
 /// </summary>
 /// <param name="IsSupported"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="LoadDownUrl"> (required).</param>
 public CheckUrlResult(bool?IsSupported = null, ResponseHeaderRecord Hdr = null, string LoadDownUrl = null)
 {
     // to ensure "IsSupported" is required (not null)
     if (IsSupported == null)
     {
         throw new InvalidDataException("IsSupported is a required property for CheckUrlResult and cannot be null");
     }
     else
     {
         this.IsSupported = IsSupported;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for CheckUrlResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "LoadDownUrl" is required (not null)
     if (LoadDownUrl == null)
     {
         throw new InvalidDataException("LoadDownUrl is a required property for CheckUrlResult and cannot be null");
     }
     else
     {
         this.LoadDownUrl = LoadDownUrl;
     }
 }
コード例 #5
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;
 }
コード例 #6
0
ファイル: GetVrlResult.cs プロジェクト: xxyying/vmClone
 /// <summary>
 /// Initializes a new instance of the <see cref="GetVrlResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="_Params"> (required).</param>
 /// <param name="Url"> (required).</param>
 public GetVrlResult(ResponseHeaderRecord Hdr = null, string _Params = null, string Url = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetVrlResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "_Params" is required (not null)
     if (_Params == null)
     {
         throw new InvalidDataException("_Params is a required property for GetVrlResult and cannot be null");
     }
     else
     {
         this._Params = _Params;
     }
     // to ensure "Url" is required (not null)
     if (Url == null)
     {
         throw new InvalidDataException("Url is a required property for GetVrlResult and cannot be null");
     }
     else
     {
         this.Url = Url;
     }
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SaveResult" /> class.
 /// </summary>
 /// <param name="Result"> (required).</param>
 /// <param name="File">File (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public SaveResult(string Result = null, FileRecord File = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Result" is required (not null)
     if (Result == null)
     {
         throw new InvalidDataException("Result is a required property for SaveResult and cannot be null");
     }
     else
     {
         this.Result = Result;
     }
     // to ensure "File" is required (not null)
     if (File == null)
     {
         throw new InvalidDataException("File is a required property for SaveResult and cannot be null");
     }
     else
     {
         this.File = File;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for SaveResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetConfigResult" /> class.
 /// </summary>
 /// <param name="Rtmpserver"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Token"> (required).</param>
 public GetConfigResult(string Rtmpserver = null, ResponseHeaderRecord Hdr = null, string Token = null)
 {
     // to ensure "Rtmpserver" is required (not null)
     if (Rtmpserver == null)
     {
         throw new InvalidDataException("Rtmpserver is a required property for GetConfigResult and cannot be null");
     }
     else
     {
         this.Rtmpserver = Rtmpserver;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetConfigResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "Token" is required (not null)
     if (Token == null)
     {
         throw new InvalidDataException("Token is a required property for GetConfigResult and cannot be null");
     }
     else
     {
         this.Token = Token;
     }
 }
コード例 #9
0
ファイル: GetFullPathResult.cs プロジェクト: xxyying/vmClone
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFullPathResult" /> class.
 /// </summary>
 /// <param name="Fullpath"> (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Fullpathkeys"> (required).</param>
 public GetFullPathResult(string Fullpath = null, ResponseHeaderRecord Hdr = null, string Fullpathkeys = null)
 {
     // to ensure "Fullpath" is required (not null)
     if (Fullpath == null)
     {
         throw new InvalidDataException("Fullpath is a required property for GetFullPathResult and cannot be null");
     }
     else
     {
         this.Fullpath = Fullpath;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetFullPathResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "Fullpathkeys" is required (not null)
     if (Fullpathkeys == null)
     {
         throw new InvalidDataException("Fullpathkeys is a required property for GetFullPathResult and cannot be null");
     }
     else
     {
         this.Fullpathkeys = Fullpathkeys;
     }
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessActionResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 public ProcessActionResult(ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for ProcessActionResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SetContainerPermissionsResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 public SetContainerPermissionsResult(ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for SetContainerPermissionsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SetObjectTranslationsByFileResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 public SetObjectTranslationsByFileResult(ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for SetObjectTranslationsByFileResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConfirmSecondaryEmailResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 public ConfirmSecondaryEmailResult(ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for ConfirmSecondaryEmailResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoveFileAttachmentsResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 public RemoveFileAttachmentsResult(ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for RemoveFileAttachmentsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
コード例 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetVutCountsV2Result" /> class.
 /// </summary>
 /// <param name="Counts">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetVutCountsV2Result(List <StreamRuleCountRecord> Counts = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetVutCountsV2Result and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Counts = Counts;
 }
コード例 #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFileTranslationsResult" /> class.
 /// </summary>
 /// <param name="Messages">Key to message map..</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetFileTranslationsResult(List <StringAttrRecord> Messages = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetFileTranslationsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Messages = Messages;
 }
コード例 #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetUsersByEmailResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Users">.</param>
 public GetUsersByEmailResult(ResponseHeaderRecord Hdr = null, List <DisplayRecord> Users = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetUsersByEmailResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Users = Users;
 }
コード例 #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FolderMultishareResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Status">.</param>
 public FolderMultishareResult(ResponseHeaderRecord Hdr = null, List <bool?> Status = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for FolderMultishareResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Status = Status;
 }
コード例 #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InviteUsersResult" /> class.
 /// </summary>
 /// <param name="FailedUsers">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public InviteUsersResult(List <string> FailedUsers = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for InviteUsersResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.FailedUsers = FailedUsers;
 }
コード例 #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetUserStatusResult" /> class.
 /// </summary>
 /// <param name="StatusRecords">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetUserStatusResult(List <UserStatusRecord> StatusRecords = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetUserStatusResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.StatusRecords = StatusRecords;
 }
コード例 #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetContentMarksResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Mark">.</param>
 public GetContentMarksResult(ResponseHeaderRecord Hdr = null, List <string> Mark = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetContentMarksResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Mark = Mark;
 }
コード例 #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetTypesMetaDataResult" /> class.
 /// </summary>
 /// <param name="TypeFilters">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetTypesMetaDataResult(List <TypeFilter> TypeFilters = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetTypesMetaDataResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.TypeFilters = TypeFilters;
 }
コード例 #23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetSchemeResult" /> class.
 /// </summary>
 /// <param name="Schemes">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetSchemeResult(List <string> Schemes = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetSchemeResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Schemes = Schemes;
 }
コード例 #24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetSuggestedUsersCountsResult" /> class.
 /// </summary>
 /// <param name="Counts">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetSuggestedUsersCountsResult(List <int?> Counts = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetSuggestedUsersCountsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Counts = Counts;
 }
コード例 #25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCorporateSpacesResult" /> class.
 /// </summary>
 /// <param name="Sysfolders">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetCorporateSpacesResult(List <SpaceV2Record> Sysfolders = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetCorporateSpacesResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Sysfolders = Sysfolders;
 }
コード例 #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DowngradeContactsResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="ErrorData">.</param>
 public DowngradeContactsResult(ResponseHeaderRecord Hdr = null, List <int?> ErrorData = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for DowngradeContactsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.ErrorData = ErrorData;
 }
コード例 #27
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetTokensResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Token">.</param>
 public GetTokensResult(ResponseHeaderRecord Hdr = null, List <PushTokenRecord> Token = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetTokensResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Token = Token;
 }
コード例 #28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAvailableActionsResult" /> class.
 /// </summary>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Actions">.</param>
 public GetAvailableActionsResult(ResponseHeaderRecord Hdr = null, List <WorkflowActionRecord> Actions = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetAvailableActionsResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Actions = Actions;
 }
コード例 #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListPayloadResult" /> class.
 /// </summary>
 /// <param name="Payloads">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public ListPayloadResult(List <WorkflowPayloadItemRecord> Payloads = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for ListPayloadResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Payloads = Payloads;
 }
コード例 #30
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckAttachmentsInTaskResult" /> class.
 /// </summary>
 /// <param name="Result">.</param>
 /// <param name="Hdr">Hdr (required).</param>
 public CheckAttachmentsInTaskResult(List <string> Result = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for CheckAttachmentsInTaskResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     this.Result = Result;
 }