/// <summary> /// Initializes a new instance of the V1Job 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 job. /// 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 job. More info: /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</param> public V1Job(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1JobSpec spec = default(V1JobSpec), V1JobStatus status = default(V1JobStatus)) { ApiVersion = apiVersion; Kind = kind; Metadata = metadata; Spec = spec; Status = status; CustomInit(); }
/// <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/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)) { Metadata = metadata; Spec = spec; CustomInit(); }