/// <summary>
 /// Initializes a new instance of the <see cref="ProjectConfigurationOperatingSystem" /> class.
 /// </summary>
 /// <param name="Value">Value (required).</param>
 public ProjectConfigurationOperatingSystem(BuildWorkerImageName Value = default(BuildWorkerImageName))
 {
     // to ensure "Value" is required (not null)
     if (Value == null)
     {
         throw new InvalidDataException("Value is a required property for ProjectConfigurationOperatingSystem and cannot be null");
     }
     else
     {
         this.Value = Value;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BuildWorkerImage" /> class.
 /// </summary>
 /// <param name="BuildWorkerImageId">BuildWorkerImageId (required).</param>
 /// <param name="Name">Name (required).</param>
 /// <param name="BuildCloudName">BuildCloudName.</param>
 /// <param name="OsType">OsType.</param>
 public BuildWorkerImage(int?BuildWorkerImageId = default(int?), BuildWorkerImageName Name = default(BuildWorkerImageName), BuildCloudName BuildCloudName = default(BuildCloudName), OSType OsType = default(OSType))
 {
     // to ensure "BuildWorkerImageId" is required (not null)
     if (BuildWorkerImageId == null)
     {
         throw new InvalidDataException("BuildWorkerImageId is a required property for BuildWorkerImage and cannot be null");
     }
     else
     {
         this.BuildWorkerImageId = BuildWorkerImageId;
     }
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for BuildWorkerImage and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     this.BuildCloudName = BuildCloudName;
     this.OsType         = OsType;
 }