Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1Endpoints" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Subsets">The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. (required).</param>
 public V1Endpoints(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), List <V1EndpointSubset> Subsets = default(List <V1EndpointSubset>))
 {
     // to ensure "Subsets" is required (not null)
     if (Subsets == null)
     {
         throw new InvalidDataException("Subsets is a required property for V1Endpoints and cannot be null");
     }
     else
     {
         this.Subsets = Subsets;
     }
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1ComponentStatus" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Conditions">List of component conditions observed.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 public V1ComponentStatus(string ApiVersion = default(string), List <V1ComponentCondition> Conditions = default(List <V1ComponentCondition>), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta))
 {
     this.ApiVersion = ApiVersion;
     this.Conditions = Conditions;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1Secret" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Data">Data contains the secret data. Each key must consist of alphanumeric characters, &#39;-&#39;, &#39;_&#39; or &#39;.&#39;. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="StringData">stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API..</param>
 /// <param name="Type">Used to facilitate programmatic handling of secret data..</param>
 public V1Secret(string ApiVersion = default(string), Dictionary <string, byte[]> Data = default(Dictionary <string, byte[]>), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), Dictionary <string, string> StringData = default(Dictionary <string, string>), string Type = default(string))
 {
     this.ApiVersion = ApiVersion;
     this.Data       = Data;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.StringData = StringData;
     this.Type       = Type;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1Namespace" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="Status">Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V1Namespace(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1NamespaceSpec Spec = default(V1NamespaceSpec), V1NamespaceStatus Status = default(V1NamespaceStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1beta1ThirdPartyResource" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Description">Description is the description of this object..</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object metadata.</param>
 /// <param name="Versions">Versions are versions for this third party object.</param>
 public V1beta1ThirdPartyResource(string ApiVersion = default(string), string Description = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), List <V1beta1APIVersion> Versions = default(List <V1beta1APIVersion>))
 {
     this.ApiVersion  = ApiVersion;
     this.Description = Description;
     this.Kind        = Kind;
     this.Metadata    = Metadata;
     this.Versions    = Versions;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1beta1ReplicaSet" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="Status">Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V1beta1ReplicaSet(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1beta1ReplicaSetSpec Spec = default(V1beta1ReplicaSetSpec), V1beta1ReplicaSetStatus Status = default(V1beta1ReplicaSetStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1beta1PodSecurityPolicy" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">spec defines the policy enforced..</param>
 public V1beta1PodSecurityPolicy(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1beta1PodSecurityPolicySpec Spec = default(V1beta1PodSecurityPolicySpec))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AppsV1beta1Scale" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata..</param>
 /// <param name="Spec">defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status..</param>
 /// <param name="Status">current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only..</param>
 public AppsV1beta1Scale(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), AppsV1beta1ScaleSpec Spec = default(AppsV1beta1ScaleSpec), AppsV1beta1ScaleStatus Status = default(AppsV1beta1ScaleStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }
Example #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V2alpha1JobTemplateSpec" /> class.
 /// </summary>
 /// <param name="Metadata">Standard object&#39;s metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V2alpha1JobTemplateSpec(V1ObjectMeta Metadata = default(V1ObjectMeta), V1JobSpec Spec = default(V1JobSpec))
 {
     this.Metadata = Metadata;
     this.Spec     = Spec;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1HorizontalPodAutoscaler" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status..</param>
 /// <param name="Status">current information about the autoscaler..</param>
 public V1HorizontalPodAutoscaler(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1HorizontalPodAutoscalerSpec Spec = default(V1HorizontalPodAutoscalerSpec), V1HorizontalPodAutoscalerStatus Status = default(V1HorizontalPodAutoscalerStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }
Example #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1ConfigMap" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Data">Data contains the configuration data. Each key must consist of alphanumeric characters, &#39;-&#39;, &#39;_&#39; or &#39;.&#39;..</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 public V1ConfigMap(string ApiVersion = default(string), Dictionary <string, string> Data = default(Dictionary <string, string>), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta))
 {
     this.ApiVersion = ApiVersion;
     this.Data       = Data;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1LimitRange" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V1LimitRange(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1LimitRangeSpec Spec = default(V1LimitRangeSpec))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1beta1StorageClass" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Parameters">Parameters holds the parameters for the provisioner that should create volumes of this storage class..</param>
 /// <param name="Provisioner">Provisioner indicates the type of the provisioner. (required).</param>
 public V1beta1StorageClass(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), Dictionary <string, string> Parameters = default(Dictionary <string, string>), string Provisioner = default(string))
 {
     // to ensure "Provisioner" is required (not null)
     if (Provisioner == null)
     {
         throw new InvalidDataException("Provisioner is a required property for V1beta1StorageClass and cannot be null");
     }
     else
     {
         this.Provisioner = Provisioner;
     }
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Parameters = Parameters;
 }
Example #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1PodTemplate" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Template">Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V1PodTemplate(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1PodTemplateSpec Template = default(V1PodTemplateSpec))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Template   = Template;
 }
Example #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V2alpha1CronJob" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="Status">Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V2alpha1CronJob(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V2alpha1CronJobSpec Spec = default(V2alpha1CronJobSpec), V2alpha1CronJobStatus Status = default(V2alpha1CronJobStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1beta1SubjectAccessReview" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Metadata.</param>
 /// <param name="Spec">Spec holds information about the request being evaluated (required).</param>
 /// <param name="Status">Status is filled in by the server and indicates whether the request is allowed or not.</param>
 public V1beta1SubjectAccessReview(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1beta1SubjectAccessReviewSpec Spec = default(V1beta1SubjectAccessReviewSpec), V1beta1SubjectAccessReviewStatus Status = default(V1beta1SubjectAccessReviewStatus))
 {
     // to ensure "Spec" is required (not null)
     if (Spec == null)
     {
         throw new InvalidDataException("Spec is a required property for V1beta1SubjectAccessReview and cannot be null");
     }
     else
     {
         this.Spec = Spec;
     }
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Status     = Status;
 }
Example #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1alpha1ClusterRoleBinding" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata..</param>
 /// <param name="RoleRef">RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. (required).</param>
 /// <param name="Subjects">Subjects holds references to the objects the role applies to. (required).</param>
 public V1alpha1ClusterRoleBinding(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1alpha1RoleRef RoleRef = default(V1alpha1RoleRef), List <V1alpha1Subject> Subjects = default(List <V1alpha1Subject>))
 {
     // to ensure "RoleRef" is required (not null)
     if (RoleRef == null)
     {
         throw new InvalidDataException("RoleRef is a required property for V1alpha1ClusterRoleBinding and cannot be null");
     }
     else
     {
         this.RoleRef = RoleRef;
     }
     // to ensure "Subjects" is required (not null)
     if (Subjects == null)
     {
         throw new InvalidDataException("Subjects is a required property for V1alpha1ClusterRoleBinding and cannot be null");
     }
     else
     {
         this.Subjects = Subjects;
     }
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1beta1CertificateSigningRequest" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Metadata.</param>
 /// <param name="Spec">The certificate request itself and any additional information..</param>
 /// <param name="Status">Derived information about the request..</param>
 public V1beta1CertificateSigningRequest(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1beta1CertificateSigningRequestSpec Spec = default(V1beta1CertificateSigningRequestSpec), V1beta1CertificateSigningRequestStatus Status = default(V1beta1CertificateSigningRequestStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="V1ResourceQuota" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="Status">Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V1ResourceQuota(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1ResourceQuotaSpec Spec = default(V1ResourceQuotaSpec), V1ResourceQuotaStatus Status = default(V1ResourceQuotaStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }