/// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (ServiceAuth != null)
     {
         ServiceAuth.Validate();
     }
     if (AutoScale != null)
     {
         AutoScale.Validate();
     }
 }