/// <summary> /// Initializes a new instance of the /// Iok8sapiappsv1beta2ControllerRevision 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 Iok8sapiappsv1beta2ControllerRevision(long revision, string apiVersion = default(string), Iok8sapimachinerypkgruntimeRawExtension data = default(Iok8sapimachinerypkgruntimeRawExtension), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta)) { ApiVersion = apiVersion; Data = data; Kind = kind; Metadata = metadata; Revision = revision; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// Iok8sapimachinerypkgapismetav1WatchEvent 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 Iok8sapimachinerypkgapismetav1WatchEvent(Iok8sapimachinerypkgruntimeRawExtension objectProperty, string type) { ObjectProperty = objectProperty; Type = type; CustomInit(); }