Class SecretSpec
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SecretSpec
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SecretSpec
extends Object
implements Serializable
SecretSpec
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondriver(SecretDriverSpec driver) booleanstatic SecretSpecCreate an instance of SecretSpec given an JSON string@Valid SecretDriverSpecGet driverGet labelsgetName()Get nameinthashCode()putLabelsItem(String key, String labelsItem) voidsetDriver(SecretDriverSpec driver) voidvoidtoJson()Convert an instance of SecretSpec to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SecretSpec
public SecretSpec()
-
-
Method Details
-
driver
-
getDriver
Get driver- Returns:
- driver
-
setDriver
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
name
-
getName
Get name- Returns:
- name
-
setName
-
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 SecretSpec
-
fromJson
Create an instance of SecretSpec given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SecretSpec
- Throws:
IOException- if the JSON string is invalid with respect to SecretSpec
-
toJson
Convert an instance of SecretSpec to an JSON string- Returns:
- JSON string
-