/// <summary>
 /// Initializes a new instance of the <see cref="SnippetComment" /> class.
 /// </summary>
 /// <param name="Type">Type (required).</param>
 /// <param name="Links">Links.</param>
 /// <param name="Snippet">Snippet.</param>
 public SnippetComment(string Type = default(string), GroupLinks Links = default(GroupLinks), Snippet Snippet = default(Snippet))
 {
     // to ensure "Type" is required (not null)
     if (Type == null)
     {
         throw new InvalidDataException("Type is a required property for SnippetComment and cannot be null");
     }
     else
     {
         this.Type = Type;
     }
     this.Links   = Links;
     this.Snippet = Snippet;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Group" /> class.
 /// </summary>
 /// <param name="Type">Type (required).</param>
 /// <param name="Links">Links.</param>
 /// <param name="Owner">Owner.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Slug">The \&quot;sluggified\&quot; version of the group&#39;s name. This contains only ASCII characters and can therefore be slightly different than the name.</param>
 /// <param name="FullSlug">The concatenation of the owner&#39;s username and the group&#39;s slug, separated with a colon (e.g. &#x60;acme:developers&#x60;) .</param>
 /// <param name="Members">The number of members in this group.</param>
 public Group(string Type = default(string), GroupLinks Links = default(GroupLinks), Account Owner = default(Account), string Name = default(string), string Slug = default(string), string FullSlug = default(string), int?Members = default(int?))
 {
     // to ensure "Type" is required (not null)
     if (Type == null)
     {
         throw new InvalidDataException("Type is a required property for Group and cannot be null");
     }
     else
     {
         this.Type = Type;
     }
     this.Links    = Links;
     this.Owner    = Owner;
     this.Name     = Name;
     this.Slug     = Slug;
     this.FullSlug = FullSlug;
     this.Members  = Members;
 }