/// <summary> /// Validate the object. /// </summary> /// <exception cref="Rest.ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (TemporaryDisk != null) { TemporaryDisk.Validate(); } if (PersistentDisk != null) { PersistentDisk.Validate(); } if (CustomPersistentDisks != null) { foreach (var element in CustomPersistentDisks) { if (element != null) { element.Validate(); } } } if (LoadedCertificates != null) { foreach (var element1 in LoadedCertificates) { if (element1 != null) { element1.Validate(); } } } }
/// <summary> /// Validate the object. /// </summary> /// <exception cref="Rest.ValidationException"> /// Thrown if validation fails /// </exception> public virtual void Validate() { if (TemporaryDisk != null) { TemporaryDisk.Validate(); } if (PersistentDisk != null) { PersistentDisk.Validate(); } }