internal PSAutoScaleRunError(Microsoft.Azure.Batch.AutoScaleRunError omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
internal AutoScaleRun(Models.AutoScaleRun protocolObject) { this.error = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.Error, o => new AutoScaleRunError(o).Freeze()); this.results = protocolObject.Results; this.timestamp = protocolObject.Timestamp; }