gen v1.16.0 (#312)

* gen v1.16.0

* update version.json
This commit is contained in:
Boshi Lian
2019-10-02 15:16:08 -07:00
committed by Kubernetes Prow Robot
parent d9bca19e77
commit 8ab95b6b92
303 changed files with 38239 additions and 8204 deletions

View File

@@ -31,7 +31,7 @@ namespace k8s.Models
/// 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>
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</param>
/// <param name="binaryData">BinaryData contains the binary data. Each
/// key must consist of alphanumeric characters, '-', '_' or '.'.
/// BinaryData can contain byte sequences that are not in the UTF-8
@@ -48,9 +48,9 @@ namespace k8s.Models
/// 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>
/// 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/api-conventions.md#metadata</param>
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</param>
public V1ConfigMap(string apiVersion = default(string), IDictionary<string, byte[]> binaryData = default(IDictionary<string, byte[]>), IDictionary<string, string> data = default(IDictionary<string, string>), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
{
ApiVersion = apiVersion;
@@ -71,7 +71,7 @@ namespace k8s.Models
/// 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
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
/// </summary>
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
@@ -102,30 +102,17 @@ namespace k8s.Models
/// 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
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
/// </summary>
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
/// <summary>
/// Gets or sets standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
/// </summary>
[JsonProperty(PropertyName = "metadata")]
public V1ObjectMeta Metadata { get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (Metadata != null)
{
Metadata.Validate();
}
}
}
}