Class V1CustomResourceColumnDefinition
java.lang.Object
io.kubernetes.client.openapi.models.V1CustomResourceColumnDefinition
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1CustomResourceColumnDefinition
extends Object
CustomResourceColumnDefinition specifies a column for server side printing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) boolean
Create an instance of V1CustomResourceColumnDefinition given an JSON stringdescription is a human readable description of this column.format is an optional OpenAPI type definition for this column.jsonPath is a simple JSON path (i.e.getName()
name is a human readable name for the column.priority is an integer defining the relative importance of this column compared to others.getType()
type is an OpenAPI type definition for this column.int
hashCode()
void
setDescription
(String description) void
void
setJsonPath
(String jsonPath) void
void
setPriority
(Integer priority) void
toJson()
Convert an instance of V1CustomResourceColumnDefinition 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_FORMAT
- See Also:
-
SERIALIZED_NAME_JSON_PATH
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1CustomResourceColumnDefinition
public V1CustomResourceColumnDefinition()
-
-
Method Details
-
description
-
getDescription
description is a human readable description of this column.- Returns:
- description
-
setDescription
-
format
-
getFormat
format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.- Returns:
- format
-
setFormat
-
jsonPath
-
getJsonPath
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.- Returns:
- jsonPath
-
setJsonPath
-
name
-
getName
name is a human readable name for the column.- Returns:
- name
-
setName
-
priority
-
getPriority
priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.- Returns:
- priority
-
setPriority
-
type
-
getType
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.- Returns:
- type
-
setType
-
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 V1CustomResourceColumnDefinition
-
fromJson
Create an instance of V1CustomResourceColumnDefinition given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1CustomResourceColumnDefinition
- Throws:
IOException
- if the JSON string is invalid with respect to V1CustomResourceColumnDefinition
-
toJson
Convert an instance of V1CustomResourceColumnDefinition to an JSON string- Returns:
- JSON string
-