| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. See License.txt in the project root for license information. |
| | 3 | | // |
| | 4 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 5 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 6 | | // regenerated. |
| | 7 | |
|
| | 8 | | // |
| | 9 | | // This file was autogenerated by a tool. |
| | 10 | | // Do not modify it. |
| | 11 | | // |
| | 12 | |
|
| | 13 | | namespace Microsoft.Azure.Batch |
| | 14 | | { |
| | 15 | | using Models = Microsoft.Azure.Batch.Protocol.Models; |
| | 16 | | using System; |
| | 17 | | using System.Collections.Generic; |
| | 18 | | using System.Linq; |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// Information about the most recent job under a job schedule. |
| | 22 | | /// </summary> |
| | 23 | | public partial class RecentJob : IPropertyMetadata |
| | 24 | | { |
| | 25 | | #region Constructors |
| | 26 | |
|
| 258 | 27 | | internal RecentJob(Models.RecentJob protocolObject) |
| | 28 | | { |
| 258 | 29 | | this.Id = protocolObject.Id; |
| 258 | 30 | | this.Url = protocolObject.Url; |
| 258 | 31 | | } |
| | 32 | |
|
| | 33 | | #endregion Constructors |
| | 34 | |
|
| | 35 | | #region RecentJob |
| | 36 | |
|
| | 37 | | /// <summary> |
| | 38 | | /// Gets the id of the job. |
| | 39 | | /// </summary> |
| 258 | 40 | | public string Id { get; } |
| | 41 | |
|
| | 42 | | /// <summary> |
| | 43 | | /// Gets the URL of the job. |
| | 44 | | /// </summary> |
| 258 | 45 | | public string Url { get; } |
| | 46 | |
|
| | 47 | | #endregion // RecentJob |
| | 48 | |
|
| | 49 | | #region IPropertyMetadata |
| | 50 | |
|
| | 51 | | bool IModifiable.HasBeenModified |
| | 52 | | { |
| | 53 | | //This class is compile time readonly so it cannot have been modified |
| 0 | 54 | | get { return false; } |
| | 55 | | } |
| | 56 | |
|
| | 57 | | bool IReadOnly.IsReadOnly |
| | 58 | | { |
| 0 | 59 | | get { return true; } |
| | 60 | | set |
| | 61 | | { |
| | 62 | | // This class is compile time readonly already |
| 258 | 63 | | } |
| | 64 | | } |
| | 65 | |
|
| | 66 | | #endregion // IPropertyMetadata |
| | 67 | | } |
| | 68 | | } |