Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonPaginationResultLinks" /> class.
 /// </summary>
 /// <param name="First">First (required).</param>
 /// <param name="Last">Last (required).</param>
 /// <param name="Previous">Previous.</param>
 /// <param name="Next">Next.</param>
 public BeezUPCommonPaginationResultLinks(BeezUPCommonLink3 First = default(BeezUPCommonLink3), BeezUPCommonLink3 Last = default(BeezUPCommonLink3), BeezUPCommonLink3 Previous = default(BeezUPCommonLink3), BeezUPCommonLink3 Next = default(BeezUPCommonLink3))
 {
     // to ensure "First" is required (not null)
     if (First == null)
     {
         throw new InvalidDataException("First is a required property for BeezUPCommonPaginationResultLinks and cannot be null");
     }
     else
     {
         this.First = First;
     }
     // to ensure "Last" is required (not null)
     if (Last == null)
     {
         throw new InvalidDataException("Last is a required property for BeezUPCommonPaginationResultLinks and cannot be null");
     }
     else
     {
         this.Last = Last;
     }
     this.Previous = Previous;
     this.Next     = Next;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChannelCatalogHeaderLinks" /> class.
 /// </summary>
 /// <param name="Self">Self.</param>
 public ChannelCatalogHeaderLinks(BeezUPCommonLink3 Self = default(BeezUPCommonLink3))
 {
     this.Self = Self;
 }