Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetWallResult" /> class.
 /// </summary>
 /// <param name="Folder">Folder (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 public GetWallResult(SpaceV2Record Folder = null, ResponseHeaderRecord Hdr = null)
 {
     // to ensure "Folder" is required (not null)
     if (Folder == null)
     {
         throw new InvalidDataException("Folder is a required property for GetWallResult and cannot be null");
     }
     else
     {
         this.Folder = Folder;
     }
     // to ensure "Hdr" is required (not null)
     if (Hdr == null)
     {
         throw new InvalidDataException("Hdr is a required property for GetWallResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetSubSpacesResult" /> class.
 /// </summary>
 /// <param name="Folder">Folder (required).</param>
 /// <param name="Folders">.</param>
 /// <param name="Pager">Pager (required).</param>
 /// <param name="Hdr">Hdr (required).</param>
 /// <param name="Parentfolder">Parentfolder (required).</param>
 public GetSubSpacesResult(SpaceV2Record Folder = null, List <SpaceV2Record> Folders = null, FolderPagerRecord Pager = null, ResponseHeaderRecord Hdr = null, SpaceV2Record Parentfolder = null)
 {
     // to ensure "Folder" is required (not null)
     if (Folder == null)
     {
         throw new InvalidDataException("Folder is a required property for GetSubSpacesResult and cannot be null");
     }
     else
     {
         this.Folder = Folder;
     }
     // to ensure "Pager" is required (not null)
     if (Pager == null)
     {
         throw new InvalidDataException("Pager is a required property for GetSubSpacesResult 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 GetSubSpacesResult and cannot be null");
     }
     else
     {
         this.Hdr = Hdr;
     }
     // to ensure "Parentfolder" is required (not null)
     if (Parentfolder == null)
     {
         throw new InvalidDataException("Parentfolder is a required property for GetSubSpacesResult and cannot be null");
     }
     else
     {
         this.Parentfolder = Parentfolder;
     }
     this.Folders = Folders;
 }
Beispiel #3
0
 public ShareSpace(String Key, String Name, SpaceV2Record Record)
 {
     this.Key    = Key;
     this.Name   = Name;
     this.Record = Record;
 }