Class SecretCreate
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SecretCreate
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SecretCreate
extends Object
implements Serializable
SecretCreate
- See Also:
-
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.@Valid SecretDriverSpecGet 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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-