Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Event class.
 /// </summary>
 /// <param name="involvedObject">The object that this event is
 /// about.</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="action">What action was taken/failed regarding to the
 /// Regarding object.</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="count">The number of times this event has
 /// occurred.</param>
 /// <param name="eventTime">Time when this Event was first
 /// observed.</param>
 /// <param name="firstTimestamp">The time at which the event was first
 /// recorded. (Time of server receipt is in TypeMeta.)</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="lastTimestamp">The time at which the most recent
 /// occurrence of this event was recorded.</param>
 /// <param name="message">A human-readable description of the status of
 /// this operation.</param>
 /// <param name="reason">This should be a short, machine understandable
 /// string that gives the reason for the transition into the object's
 /// current status.</param>
 /// <param name="related">Optional secondary object for more complex
 /// actions.</param>
 /// <param name="reportingComponent">Name of the controller that
 /// emitted this Event, e.g. `kubernetes.io/kubelet`.</param>
 /// <param name="reportingInstance">ID of the controller instance, e.g.
 /// `kubelet-xyzf`.</param>
 /// <param name="series">Data about the Event series this event
 /// represents or nil if it's a singleton Event.</param>
 /// <param name="source">The component reporting this event. Should be
 /// a short machine understandable string.</param>
 /// <param name="type">Type of this event (Normal, Warning), new types
 /// could be added in the future</param>
 public Iok8sapicorev1Event(Iok8sapicorev1ObjectReference involvedObject, Iok8sapimachinerypkgapismetav1ObjectMeta metadata, string action = default(string), string apiVersion = default(string), int?count = default(int?), System.DateTimeOffset?eventTime = default(System.DateTimeOffset?), System.DateTimeOffset?firstTimestamp = default(System.DateTimeOffset?), string kind = default(string), System.DateTimeOffset?lastTimestamp = default(System.DateTimeOffset?), string message = default(string), string reason = default(string), Iok8sapicorev1ObjectReference related = default(Iok8sapicorev1ObjectReference), string reportingComponent = default(string), string reportingInstance = default(string), Iok8sapicorev1EventSeries series = default(Iok8sapicorev1EventSeries), Iok8sapicorev1EventSource source = default(Iok8sapicorev1EventSource), string type = default(string))
 {
     Action             = action;
     ApiVersion         = apiVersion;
     Count              = count;
     EventTime          = eventTime;
     FirstTimestamp     = firstTimestamp;
     InvolvedObject     = involvedObject;
     Kind               = kind;
     LastTimestamp      = lastTimestamp;
     Message            = message;
     Metadata           = metadata;
     Reason             = reason;
     Related            = related;
     ReportingComponent = reportingComponent;
     ReportingInstance  = reportingInstance;
     Series             = series;
     Source             = source;
     Type               = type;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapieventsv1beta1Event class.
 /// </summary>
 /// <param name="eventTime">Required. Time when this Event was first
 /// observed.</param>
 /// <param name="action">What action was taken/failed regarding to the
 /// regarding object.</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="deprecatedCount">Deprecated field assuring backward
 /// compatibility with core.v1 Event type</param>
 /// <param name="deprecatedFirstTimestamp">Deprecated field assuring
 /// backward compatibility with core.v1 Event type</param>
 /// <param name="deprecatedLastTimestamp">Deprecated field assuring
 /// backward compatibility with core.v1 Event type</param>
 /// <param name="deprecatedSource">Deprecated field assuring backward
 /// compatibility with core.v1 Event type</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="note">Optional. A human-readable description of the
 /// status of this operation. Maximal length of the note is 1kB, but
 /// libraries should be prepared to handle values up to 64kB.</param>
 /// <param name="reason">Why the action was taken.</param>
 /// <param name="regarding">The object this Event is about. In most
 /// cases it's an Object reporting controller implements. E.g.
 /// ReplicaSetController implements ReplicaSets and this event is
 /// emitted because it acts on some changes in a ReplicaSet
 /// object.</param>
 /// <param name="related">Optional secondary object for more complex
 /// actions. E.g. when regarding object triggers a creation or deletion
 /// of related object.</param>
 /// <param name="reportingController">Name of the controller that
 /// emitted this Event, e.g. `kubernetes.io/kubelet`.</param>
 /// <param name="reportingInstance">ID of the controller instance, e.g.
 /// `kubelet-xyzf`.</param>
 /// <param name="series">Data about the Event series this event
 /// represents or nil if it's a singleton Event.</param>
 /// <param name="type">Type of this event (Normal, Warning), new types
 /// could be added in the future.</param>
 public Iok8sapieventsv1beta1Event(System.DateTimeOffset eventTime, string action = default(string), string apiVersion = default(string), int?deprecatedCount = default(int?), System.DateTimeOffset?deprecatedFirstTimestamp = default(System.DateTimeOffset?), System.DateTimeOffset?deprecatedLastTimestamp = default(System.DateTimeOffset?), Iok8sapicorev1EventSource deprecatedSource = default(Iok8sapicorev1EventSource), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), string note = default(string), string reason = default(string), Iok8sapicorev1ObjectReference regarding = default(Iok8sapicorev1ObjectReference), Iok8sapicorev1ObjectReference related = default(Iok8sapicorev1ObjectReference), string reportingController = default(string), string reportingInstance = default(string), Iok8sapieventsv1beta1EventSeries series = default(Iok8sapieventsv1beta1EventSeries), string type = default(string))
 {
     Action                   = action;
     ApiVersion               = apiVersion;
     DeprecatedCount          = deprecatedCount;
     DeprecatedFirstTimestamp = deprecatedFirstTimestamp;
     DeprecatedLastTimestamp  = deprecatedLastTimestamp;
     DeprecatedSource         = deprecatedSource;
     EventTime                = eventTime;
     Kind                = kind;
     Metadata            = metadata;
     Note                = note;
     Reason              = reason;
     Regarding           = regarding;
     Related             = related;
     ReportingController = reportingController;
     ReportingInstance   = reportingInstance;
     Series              = series;
     Type                = type;
     CustomInit();
 }