/// <summary>
 /// Initializes a new instance of the <see cref="V1PodTemplateSpec" /> class.
 /// </summary>
 /// <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 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))
 {
     this.Metadata = Metadata;
     this.Spec     = Spec;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="V1Pod" /> 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 the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="Status">Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 public V1Pod(string ApiVersion = default(string), string Kind = default(string), V1ObjectMeta Metadata = default(V1ObjectMeta), V1PodSpec Spec = default(V1PodSpec), V1PodStatus Status = default(V1PodStatus))
 {
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
     this.Spec       = Spec;
     this.Status     = Status;
 }