// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Linq; /// /// ServiceReference holds a reference to Service.legacy.k8s.io /// public partial class Apiregistrationv1beta1ServiceReference { /// /// Initializes a new instance of the /// Apiregistrationv1beta1ServiceReference class. /// public Apiregistrationv1beta1ServiceReference() { CustomInit(); } /// /// Initializes a new instance of the /// Apiregistrationv1beta1ServiceReference class. /// /// Name is the name of the service /// Namespace is the namespace of the /// service public Apiregistrationv1beta1ServiceReference(string name = default(string), string namespaceProperty = default(string)) { Name = name; NamespaceProperty = namespaceProperty; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets name is the name of the service /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// Gets or sets namespace is the namespace of the service /// [JsonProperty(PropertyName = "namespace")] public string NamespaceProperty { get; set; } } }