Пример #1
0
 /// <summary>
 /// Initializes a new instance of the V1beta1Ingress 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's metadata. More info:
 /// http://releases.k8s.io/release-1.2/docs/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Spec is the desired state of the Ingress. More
 /// info:
 /// http://releases.k8s.io/release-1.2/docs/devel/api-conventions.md#spec-and-status</param>
 /// <param name="status">Status is the current state of the Ingress.
 /// More info:
 /// http://releases.k8s.io/release-1.2/docs/devel/api-conventions.md#spec-and-status</param>
 public V1beta1Ingress(string apiVersion = default(string), string kind = default(string), k8s.Models.V1ObjectMeta metadata = default(k8s.Models.V1ObjectMeta), V1beta1IngressSpec spec = default(V1beta1IngressSpec), V1beta1IngressStatus status = default(V1beta1IngressStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V1alpha1VolumeAttachment class.
 /// </summary>
 /// <param name="spec">Specification of the desired attach/detach
 /// volume behavior. Populated by the Kubernetes system.</param>
 /// <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="status">Status of the VolumeAttachment request.
 /// Populated by the entity completing the attach or detach operation,
 /// i.e. the external-attacher.</param>
 public V1alpha1VolumeAttachment(V1alpha1VolumeAttachmentSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1alpha1VolumeAttachmentStatus status = default(V1alpha1VolumeAttachmentStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the V1alpha1Role 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's metadata.</param>
 /// <param name="rules">Rules holds all the PolicyRules for this
 /// Role</param>
 public V1alpha1Role(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList <V1alpha1PolicyRule> rules = default(IList <V1alpha1PolicyRule>))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Rules      = rules;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V1alpha1CSIStorageCapacity class.
 /// </summary>
 /// <param name="storageClassName">The name of the StorageClass that
 /// the reported capacity applies to. It must meet the same
 /// requirements as the name of a StorageClass object (non-empty, DNS
 /// subdomain). If that object no longer exists, the CSIStorageCapacity
 /// object is obsolete and should be removed by its creator. This field
 /// is immutable.</param>
 /// <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/sig-architecture/api-conventions.md#resources</param>
 /// <param name="capacity">Capacity is the value reported by the CSI
 /// driver in its GetCapacityResponse for a GetCapacityRequest with
 /// topology and parameters that match the previous fields.
 ///
 /// The semantic is currently (CSI spec 1.2) defined as: The available
 /// capacity, in bytes, of the storage that can be used to provision
 /// volumes. If not set, that information is currently unavailable and
 /// treated like zero capacity.</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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="maximumVolumeSize">MaximumVolumeSize is the value
 /// reported by the CSI driver in its GetCapacityResponse for a
 /// GetCapacityRequest with topology and parameters that match the
 /// previous fields.
 ///
 /// This is defined since CSI spec 1.4.0 as the largest size that may
 /// be used in a CreateVolumeRequest.capacity_range.required_bytes
 /// field to create a volume with the same parameters as those in
 /// GetCapacityRequest. The corresponding value in the Kubernetes API
 /// is ResourceRequirements.Requests in a volume claim.</param>
 /// <param name="metadata">Standard object's metadata. The name has no
 /// particular meaning. It must be be a DNS subdomain (dots allowed,
 /// 253 characters). To ensure that there are no conflicts with other
 /// CSI drivers on the cluster, the recommendation is to use
 /// csisc-&lt;uuid&gt;, a generated name, or a reverse-domain name
 /// which ends with the unique CSI driver name.
 ///
 /// Objects are namespaced.
 ///
 /// More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 /// <param name="nodeTopology">NodeTopology defines which nodes have
 /// access to the storage for which capacity was reported. If not set,
 /// the storage is not accessible from any node in the cluster. If
 /// empty, the storage is accessible from all nodes. This field is
 /// immutable.</param>
 public V1alpha1CSIStorageCapacity(string storageClassName, string apiVersion = default(string), ResourceQuantity capacity = default(ResourceQuantity), string kind = default(string), ResourceQuantity maximumVolumeSize = default(ResourceQuantity), V1ObjectMeta metadata = default(V1ObjectMeta), V1LabelSelector nodeTopology = default(V1LabelSelector))
 {
     ApiVersion        = apiVersion;
     Capacity          = capacity;
     Kind              = kind;
     MaximumVolumeSize = maximumVolumeSize;
     Metadata          = metadata;
     NodeTopology      = nodeTopology;
     StorageClassName  = storageClassName;
     CustomInit();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the 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/sig-architecture/api-conventions.md#resources</param>
 /// <param name="data">Data contains the secret data. Each key must
 /// consist of alphanumeric characters, '-', '_' or '.'. 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="immutable">Immutable, if set to true, ensures that
 /// data stored in the Secret cannot be updated (only object metadata
 /// can be modified). If not set to true, the field can be modified at
 /// any time. Defaulted to nil.</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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/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 input
 /// field for convenience. All keys and values are merged into the data
 /// field on write, overwriting any existing values. The stringData
 /// field 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), IDictionary <string, byte[]> data = default(IDictionary <string, byte[]>), bool?immutable = default(bool?), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IDictionary <string, string> stringData = default(IDictionary <string, string>), string type = default(string))
 {
     ApiVersion = apiVersion;
     Data       = data;
     Immutable  = immutable;
     Kind       = kind;
     Metadata   = metadata;
     StringData = stringData;
     Type       = type;
     CustomInit();
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the V1beta1TokenReview class.
 /// </summary>
 /// <param name="spec">Spec holds information about the request being
 /// evaluated</param>
 /// <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="status">Status is filled in by the server and
 /// indicates whether the request can be authenticated.</param>
 public V1beta1TokenReview(V1beta1TokenReviewSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1TokenReviewStatus status = default(V1beta1TokenReviewStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/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))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the V1ReplicationController 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">If the Labels of a ReplicationController are
 /// empty, they are defaulted to be the same as the Pod(s) that the
 /// replication controller manages. Standard object's metadata. More
 /// info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 /// <param name="spec">Spec defines the specification of the desired
 /// behavior of the replication controller. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</param>
 /// <param name="status">Status is the most recently observed status of
 /// the replication controller. 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/sig-architecture/api-conventions.md#spec-and-status</param>
 public V1ReplicationController(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1ReplicationControllerSpec spec = default(V1ReplicationControllerSpec), V1ReplicationControllerStatus status = default(V1ReplicationControllerStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of the V2alpha1JobTemplateSpec class.
 /// </summary>
 /// <param name="metadata">Standard object's metadata of the jobs
 /// created from this template. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/api-conventions.md#spec-and-status</param>
 public V2alpha1JobTemplateSpec(V1ObjectMeta metadata = default(V1ObjectMeta), V1JobSpec spec = default(V1JobSpec))
 {
     Metadata = metadata;
     Spec     = spec;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object metadata; More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.</param>
 /// <param name="spec">defines the behavior of the scale. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.</param>
 /// <param name="status">current status of the scale. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/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))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V1CertificateSigningRequest
 /// class.
 /// </summary>
 /// <param name="spec">spec contains the certificate request, and is
 /// immutable after creation. Only the request, signerName, and usages
 /// fields can be set on creation. Other fields are derived by
 /// Kubernetes and cannot be modified by users.</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="status">status contains information about whether the
 /// request is approved or denied, and the certificate issued by the
 /// signer, or the failure condition indicating signer failure.</param>
 public V1CertificateSigningRequest(V1CertificateSigningRequestSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1CertificateSigningRequestStatus status = default(V1CertificateSigningRequestStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Пример #12
0
 /// <summary>
 /// Initializes a new instance of the V1EphemeralContainers class.
 /// </summary>
 /// <param name="ephemeralContainers">A list of ephemeral containers
 /// associated with this pod. New ephemeral containers may be appended
 /// to this list, but existing ephemeral containers may not be removed
 /// or modified.</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 public V1EphemeralContainers(IList <V1EphemeralContainer> ephemeralContainers, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion          = apiVersion;
     EphemeralContainers = ephemeralContainers;
     Kind     = kind;
     Metadata = metadata;
     CustomInit();
 }
Пример #13
0
 /// <summary>
 /// Initializes a new instance of the V1alpha1RuntimeClass class.
 /// </summary>
 /// <param name="spec">Specification of the RuntimeClass More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 public V1alpha1RuntimeClass(V1alpha1RuntimeClassSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
Пример #14
0
 /// <summary>
 /// Initializes a new instance of the 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'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.</param>
 public V1Endpoints(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList <V1EndpointSubset> subsets = default(IList <V1EndpointSubset>))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Subsets    = subsets;
     CustomInit();
 }
Пример #15
0
 /// <summary>
 /// Initializes a new instance of the
 /// V1beta1ValidatingWebhookConfiguration 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="webhooks">Webhooks is a list of webhooks and the
 /// affected resources and operations.</param>
 public V1beta1ValidatingWebhookConfiguration(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList <V1beta1ValidatingWebhook> webhooks = default(IList <V1beta1ValidatingWebhook>))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Webhooks   = webhooks;
     CustomInit();
 }
Пример #16
0
 /// <summary>
 /// Initializes a new instance of the V1CustomResourceDefinition class.
 /// </summary>
 /// <param name="spec">spec describes how the user wants the resources
 /// to appear</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="status">status indicates the actual state of the
 /// CustomResourceDefinition</param>
 public V1CustomResourceDefinition(V1CustomResourceDefinitionSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1CustomResourceDefinitionStatus status = default(V1CustomResourceDefinitionStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Пример #17
0
 /// <summary>
 /// Initializes a new instance of the V1Binding class.
 /// </summary>
 /// <param name="target">The target object that you want to bind to the
 /// standard object.</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 public V1Binding(V1ObjectReference target, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Target     = target;
     CustomInit();
 }
Пример #18
0
 /// <summary>
 /// Initializes a new instance of the 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/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/sig-architecture/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/sig-architecture/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))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 /// <param name="spec">behaviour of autoscaler. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/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))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the V1StorageClass class.
 /// </summary>
 /// <param name="provisioner">Provisioner indicates the type of the
 /// provisioner.</param>
 /// <param name="allowVolumeExpansion">AllowVolumeExpansion shows
 /// whether the storage class allow volume expand</param>
 /// <param name="allowedTopologies">Restrict the node topologies where
 /// volumes can be dynamically provisioned. Each volume plugin defines
 /// its own supported topology specifications. An empty
 /// TopologySelectorTerm list means there is no topology restriction.
 /// This field is only honored by servers that enable the
 /// VolumeScheduling feature.</param>
 /// <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's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="mountOptions">Dynamically provisioned
 /// PersistentVolumes of this storage class are created with these
 /// mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs
 /// will simply fail if one is invalid.</param>
 /// <param name="parameters">Parameters holds the parameters for the
 /// provisioner that should create volumes of this storage
 /// class.</param>
 /// <param name="reclaimPolicy">Dynamically provisioned
 /// PersistentVolumes of this storage class are created with this
 /// reclaimPolicy. Defaults to Delete.</param>
 /// <param name="volumeBindingMode">VolumeBindingMode indicates how
 /// PersistentVolumeClaims should be provisioned and bound.  When
 /// unset, VolumeBindingImmediate is used. This field is only honored
 /// by servers that enable the VolumeScheduling feature.</param>
 public V1StorageClass(string provisioner, bool?allowVolumeExpansion = default(bool?), IList <V1TopologySelectorTerm> allowedTopologies = default(IList <V1TopologySelectorTerm>), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList <string> mountOptions = default(IList <string>), IDictionary <string, string> parameters = default(IDictionary <string, string>), string reclaimPolicy = default(string), string volumeBindingMode = default(string))
 {
     AllowVolumeExpansion = allowVolumeExpansion;
     AllowedTopologies    = allowedTopologies;
     ApiVersion           = apiVersion;
     Kind              = kind;
     Metadata          = metadata;
     MountOptions      = mountOptions;
     Parameters        = parameters;
     Provisioner       = provisioner;
     ReclaimPolicy     = reclaimPolicy;
     VolumeBindingMode = volumeBindingMode;
     CustomInit();
 }
Пример #21
0
 /// <summary>
 /// Initializes a new instance of the V1beta2StatefulSet 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="spec">Spec defines the desired identities of pods in
 /// this set.</param>
 /// <param name="status">Status is the current status of Pods in this
 /// StatefulSet. This data may be out of date by some window of
 /// time.</param>
 public V1beta2StatefulSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta2StatefulSetSpec spec = default(V1beta2StatefulSetSpec), V1beta2StatefulSetStatus status = default(V1beta2StatefulSetStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Пример #22
0
 /// <summary>
 /// Initializes a new instance of the V1IngressClass 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 /// <param name="spec">Spec is the desired state of the IngressClass.
 /// More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</param>
 public V1IngressClass(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1IngressClassSpec spec = default(V1IngressClassSpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
Пример #23
0
 /// <summary>
 /// Initializes a new instance of the V1beta1CSIDriver class.
 /// </summary>
 /// <param name="spec">Specification of the CSI Driver.</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object metadata. metadata.Name
 /// indicates the name of the CSI driver that this object refers to; it
 /// MUST be the same name returned by the CSI GetPluginName() call for
 /// that driver. The driver name must be 63 characters or less,
 /// beginning and ending with an alphanumeric character ([a-z0-9A-Z])
 /// with dashes (-), dots (.), and alphanumerics between. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 public V1beta1CSIDriver(V1beta1CSIDriverSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
Пример #24
0
 /// <summary>
 /// Initializes a new instance of the V1PodTemplateSpec class.
 /// </summary>
 /// <param name="metadata">Standard object'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 the
 /// pod. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public V1PodTemplateSpec(V1ObjectMeta metadata = default(V1ObjectMeta), V1PodSpec spec = default(V1PodSpec))
 {
     Metadata = metadata;
     Spec     = spec;
     CustomInit();
 }
Пример #25
0
 /// <summary>
 /// Initializes a new instance of the V1beta2ControllerRevision class.
 /// </summary>
 /// <param name="revision">Revision indicates the revision of the state
 /// represented by Data.</param>
 /// <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 is the serialized representation of the
 /// state.</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's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 public V1beta2ControllerRevision(long revision, string apiVersion = default(string), RuntimeRawExtension data = default(RuntimeRawExtension), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Data       = data;
     Kind       = kind;
     Metadata   = metadata;
     Revision   = revision;
     CustomInit();
 }
Пример #26
0
 /// <summary>
 /// Initializes a new instance of the V1ServiceAccount 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/sig-architecture/api-conventions.md#resources</param>
 /// <param
 /// name="automountServiceAccountToken">AutomountServiceAccountToken
 /// indicates whether pods running as this service account should have
 /// an API token automatically mounted. Can be overridden at the pod
 /// level.</param>
 /// <param name="imagePullSecrets">ImagePullSecrets is a list of
 /// references to secrets in the same namespace to use for pulling any
 /// images in pods that reference this ServiceAccount. ImagePullSecrets
 /// are distinct from Secrets because Secrets can be mounted in the
 /// pod, but ImagePullSecrets are only accessed by the kubelet. More
 /// info:
 /// https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod</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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 /// <param name="secrets">Secrets is the list of secrets allowed to be
 /// used by pods running using this ServiceAccount. More info:
 /// https://kubernetes.io/docs/concepts/configuration/secret</param>
 public V1ServiceAccount(string apiVersion = default(string), bool?automountServiceAccountToken = default(bool?), IList <V1LocalObjectReference> imagePullSecrets = default(IList <V1LocalObjectReference>), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList <V1ObjectReference> secrets = default(IList <V1ObjectReference>))
 {
     ApiVersion = apiVersion;
     AutomountServiceAccountToken = automountServiceAccountToken;
     ImagePullSecrets             = imagePullSecrets;
     Kind     = kind;
     Metadata = metadata;
     Secrets  = secrets;
     CustomInit();
 }
Пример #27
0
 /// <summary>
 /// Initializes a new instance of the V1RoleBinding class.
 /// </summary>
 /// <param name="roleRef">RoleRef can reference a Role in the current
 /// namespace or a ClusterRole in the global namespace. If the RoleRef
 /// cannot be resolved, the Authorizer must return an error.</param>
 /// <param name="subjects">Subjects holds references to the objects the
 /// role applies to.</param>
 /// <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's metadata.</param>
 public V1RoleBinding(V1RoleRef roleRef, IList <V1Subject> subjects, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     RoleRef    = roleRef;
     Subjects   = subjects;
     CustomInit();
 }
Пример #28
0
 /// <summary>
 /// Initializes a new instance of the V1beta1RuntimeClass class.
 /// </summary>
 /// <param name="handler">Handler specifies the underlying runtime and
 /// configuration that the CRI implementation will use to handle pods
 /// of this class. The possible values are specific to the node &amp;
 /// CRI configuration.  It is assumed that all handlers are available
 /// on every node, and handlers of the same name are equivalent on
 /// every node. For example, a handler called "runc" might specify that
 /// the runc OCI runtime (using native Linux containers) will be used
 /// to run the containers in a pod. The Handler must be lowercase,
 /// conform to the DNS Label (RFC 1123) requirements, and is
 /// immutable.</param>
 /// <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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds</param>
 /// <param name="metadata">More info:
 /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
 /// <param name="overhead">Overhead represents the resource overhead
 /// associated with running a pod for a given RuntimeClass. For more
 /// details, see
 /// https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md
 /// This field is alpha-level as of Kubernetes v1.15, and is only
 /// honored by servers that enable the PodOverhead feature.</param>
 /// <param name="scheduling">Scheduling holds the scheduling
 /// constraints to ensure that pods running with this RuntimeClass are
 /// scheduled to nodes that support it. If scheduling is nil, this
 /// RuntimeClass is assumed to be supported by all nodes.</param>
 public V1beta1RuntimeClass(string handler, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1Overhead overhead = default(V1beta1Overhead), V1beta1Scheduling scheduling = default(V1beta1Scheduling))
 {
     ApiVersion = apiVersion;
     Handler    = handler;
     Kind       = kind;
     Metadata   = metadata;
     Overhead   = overhead;
     Scheduling = scheduling;
     CustomInit();
 }
Пример #29
0
 /// <summary>
 /// Initializes a new instance of the V1alpha1ClusterRole class.
 /// </summary>
 /// <param name="aggregationRule">AggregationRule is an optional field
 /// that describes how to build the Rules for this ClusterRole. If
 /// AggregationRule is set, then the Rules are controller managed and
 /// direct changes to Rules will be stomped by the controller.</param>
 /// <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's metadata.</param>
 /// <param name="rules">Rules holds all the PolicyRules for this
 /// ClusterRole</param>
 public V1alpha1ClusterRole(V1alpha1AggregationRule aggregationRule = default(V1alpha1AggregationRule), string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList <V1alpha1PolicyRule> rules = default(IList <V1alpha1PolicyRule>))
 {
     AggregationRule = aggregationRule;
     ApiVersion      = apiVersion;
     Kind            = kind;
     Metadata        = metadata;
     Rules           = rules;
     CustomInit();
 }
Пример #30
0
 /// <summary>
 /// Initializes a new instance of the V1beta1Event class.
 /// </summary>
 /// <param name="eventTime">Required. Time when this Event was first
 /// observed.</param>
 /// <param name="action">What action was taken/failed regarding to the
 /// regarding object.</param>
 /// <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="deprecatedCount">Deprecated field assuring backward
 /// compatibility with core.v1 Event type</param>
 /// <param name="deprecatedFirstTimestamp">Deprecated field assuring
 /// backward compatibility with core.v1 Event type</param>
 /// <param name="deprecatedLastTimestamp">Deprecated field assuring
 /// backward compatibility with core.v1 Event type</param>
 /// <param name="deprecatedSource">Deprecated field assuring backward
 /// compatibility with core.v1 Event type</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="note">Optional. A human-readable description of the
 /// status of this operation. Maximal length of the note is 1kB, but
 /// libraries should be prepared to handle values up to 64kB.</param>
 /// <param name="reason">Why the action was taken.</param>
 /// <param name="regarding">The object this Event is about. In most
 /// cases it's an Object reporting controller implements. E.g.
 /// ReplicaSetController implements ReplicaSets and this event is
 /// emitted because it acts on some changes in a ReplicaSet
 /// object.</param>
 /// <param name="related">Optional secondary object for more complex
 /// actions. E.g. when regarding object triggers a creation or deletion
 /// of related object.</param>
 /// <param name="reportingController">Name of the controller that
 /// emitted this Event, e.g. `kubernetes.io/kubelet`.</param>
 /// <param name="reportingInstance">ID of the controller instance, e.g.
 /// `kubelet-xyzf`.</param>
 /// <param name="series">Data about the Event series this event
 /// represents or nil if it's a singleton Event.</param>
 /// <param name="type">Type of this event (Normal, Warning), new types
 /// could be added in the future.</param>
 public V1beta1Event(System.DateTime eventTime, string action = default(string), string apiVersion = default(string), int?deprecatedCount = default(int?), System.DateTime?deprecatedFirstTimestamp = default(System.DateTime?), System.DateTime?deprecatedLastTimestamp = default(System.DateTime?), V1EventSource deprecatedSource = default(V1EventSource), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), string note = default(string), string reason = default(string), V1ObjectReference regarding = default(V1ObjectReference), V1ObjectReference related = default(V1ObjectReference), string reportingController = default(string), string reportingInstance = default(string), V1beta1EventSeries series = default(V1beta1EventSeries), string type = default(string))
 {
     Action                   = action;
     ApiVersion               = apiVersion;
     DeprecatedCount          = deprecatedCount;
     DeprecatedFirstTimestamp = deprecatedFirstTimestamp;
     DeprecatedLastTimestamp  = deprecatedLastTimestamp;
     DeprecatedSource         = deprecatedSource;
     EventTime                = eventTime;
     Kind                = kind;
     Metadata            = metadata;
     Note                = note;
     Reason              = reason;
     Regarding           = regarding;
     Related             = related;
     ReportingController = reportingController;
     ReportingInstance   = reportingInstance;
     Series              = series;
     Type                = type;
     CustomInit();
 }