Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Pod 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="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 Iok8sapicorev1Pod(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1PodSpec spec = default(Iok8sapicorev1PodSpec), Iok8sapicorev1PodStatus status = default(Iok8sapicorev1PodStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1PodTemplateSpec
 /// 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 Iok8sapicorev1PodTemplateSpec(Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1PodSpec spec = default(Iok8sapicorev1PodSpec))
 {
     Metadata = metadata;
     Spec     = spec;
     CustomInit();
 }