Class SecretCreate
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SecretCreate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class SecretCreate
extends Object
SecretCreate
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondriver(SecretDriverSpec driver) booleanstatic SecretCreateCreate an instance of SecretCreate given an JSON stringgetData()Base64-url-safe-encoded (RFC 4648) data to store as secret.Get driverLabels are labels on the secretgetName()User-defined name of the secret.inthashCode()putLabelsItem(String key, String labelsItem) voidvoidsetDriver(SecretDriverSpec driver) voidvoidtoJson()Convert an instance of SecretCreate to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SecretCreate
public SecretCreate()
-
-
Method Details
-
data
-
getData
Base64-url-safe-encoded (RFC 4648) data to store as secret.- Returns:
- data
-
setData
-
driver
-
getDriver
Get driver- Returns:
- driver
-
setDriver
-
labels
-
putLabelsItem
-
getLabels
Labels are labels on the secret- Returns:
- labels
-
setLabels
-
name
-
getName
User-defined name of the secret.- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to SecretCreate
-
fromJson
Create an instance of SecretCreate given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SecretCreate
- Throws:
IOException- if the JSON string is invalid with respect to SecretCreate
-
toJson
Convert an instance of SecretCreate to an JSON string- Returns:
- JSON string
-