/// <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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.</param>
 public V2alpha1JobTemplateSpec(V1ObjectMeta Metadata = default(V1ObjectMeta), V2alpha1JobSpec Spec = default(V2alpha1JobSpec))
 {
     this.Metadata = Metadata;
     this.Spec     = Spec;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V2alpha1Job" /> 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: http://releases.k8s.io/HEAD/docs/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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard object&#39;s metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.</param>
 /// <param name="Spec">Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="Status">Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.</param>
 public V2alpha1Job(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V2alpha1JobSpec Spec = default(V2alpha1JobSpec), V2alpha1JobStatus Status = default(V2alpha1JobStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }