| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | using System; |
| | | 9 | | |
| | | 10 | | namespace Azure.ResourceManager.Resources.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> Plan for the managed application. </summary> |
| | | 13 | | public partial class PlanAutoGenerated |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of PlanAutoGenerated. </summary> |
| | | 16 | | /// <param name="name"> The plan name. </param> |
| | | 17 | | /// <param name="publisher"> The publisher ID. </param> |
| | | 18 | | /// <param name="product"> The product code. </param> |
| | | 19 | | /// <param name="version"> The plan's version. </param> |
| | 0 | 20 | | public PlanAutoGenerated(string name, string publisher, string product, string version) |
| | | 21 | | { |
| | 0 | 22 | | if (name == null) |
| | | 23 | | { |
| | 0 | 24 | | throw new ArgumentNullException(nameof(name)); |
| | | 25 | | } |
| | 0 | 26 | | if (publisher == null) |
| | | 27 | | { |
| | 0 | 28 | | throw new ArgumentNullException(nameof(publisher)); |
| | | 29 | | } |
| | 0 | 30 | | if (product == null) |
| | | 31 | | { |
| | 0 | 32 | | throw new ArgumentNullException(nameof(product)); |
| | | 33 | | } |
| | 0 | 34 | | if (version == null) |
| | | 35 | | { |
| | 0 | 36 | | throw new ArgumentNullException(nameof(version)); |
| | | 37 | | } |
| | | 38 | | |
| | 0 | 39 | | Name = name; |
| | 0 | 40 | | Publisher = publisher; |
| | 0 | 41 | | Product = product; |
| | 0 | 42 | | Version = version; |
| | 0 | 43 | | } |
| | | 44 | | |
| | | 45 | | /// <summary> Initializes a new instance of PlanAutoGenerated. </summary> |
| | | 46 | | /// <param name="name"> The plan name. </param> |
| | | 47 | | /// <param name="publisher"> The publisher ID. </param> |
| | | 48 | | /// <param name="product"> The product code. </param> |
| | | 49 | | /// <param name="promotionCode"> The promotion code. </param> |
| | | 50 | | /// <param name="version"> The plan's version. </param> |
| | 0 | 51 | | internal PlanAutoGenerated(string name, string publisher, string product, string promotionCode, string version) |
| | | 52 | | { |
| | 0 | 53 | | Name = name; |
| | 0 | 54 | | Publisher = publisher; |
| | 0 | 55 | | Product = product; |
| | 0 | 56 | | PromotionCode = promotionCode; |
| | 0 | 57 | | Version = version; |
| | 0 | 58 | | } |
| | | 59 | | |
| | | 60 | | /// <summary> The plan name. </summary> |
| | 0 | 61 | | public string Name { get; set; } |
| | | 62 | | /// <summary> The publisher ID. </summary> |
| | 0 | 63 | | public string Publisher { get; set; } |
| | | 64 | | /// <summary> The product code. </summary> |
| | 0 | 65 | | public string Product { get; set; } |
| | | 66 | | /// <summary> The promotion code. </summary> |
| | 0 | 67 | | public string PromotionCode { get; set; } |
| | | 68 | | /// <summary> The plan's version. </summary> |
| | 0 | 69 | | public string Version { get; set; } |
| | | 70 | | } |
| | | 71 | | } |