/// <summary>
 /// Initializes a new instance of the V1beta2ControllerRevision class.
 /// </summary>
 /// <param name="revision">Revision indicates the revision of the state
 /// represented by Data.</param>
 /// <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="data">Data is the serialized representation of the
 /// state.</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>
 public V1beta2ControllerRevision(long revision, string apiVersion = default(string), RuntimeRawExtension data = default(RuntimeRawExtension), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Data       = data;
     Kind       = kind;
     Metadata   = metadata;
     Revision   = revision;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the V1WatchEvent class.
 /// </summary>
 /// <param name="objectProperty">Object is:
 /// * If Type is Added or Modified: the new state of the object.
 /// * If Type is Deleted: the state of the object immediately before
 /// deletion.
 /// * If Type is Error: *Status is recommended; other types may make
 /// sense
 /// depending on context.</param>
 public V1WatchEvent(RuntimeRawExtension objectProperty, string type)
 {
     ObjectProperty = objectProperty;
     Type           = type;
     CustomInit();
 }