Class V1EventSource
java.lang.Object
io.kubernetes.client.openapi.models.V1EventSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1EventSource
extends Object
EventSource contains information for an event.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1EventSource
Create an instance of V1EventSource given an JSON stringComponent from which the event is generated.getHost()
Node name on which the event is generated.int
hashCode()
void
setComponent
(String component) void
toJson()
Convert an instance of V1EventSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COMPONENT
- See Also:
-
SERIALIZED_NAME_HOST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1EventSource
public V1EventSource()
-
-
Method Details
-
component
-
getComponent
Component from which the event is generated.- Returns:
- component
-
setComponent
-
host
-
getHost
Node name on which the event is generated.- Returns:
- host
-
setHost
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1EventSource
-
fromJson
Create an instance of V1EventSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1EventSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1EventSource
-
toJson
Convert an instance of V1EventSource to an JSON string- Returns:
- JSON string
-