Class InspectSecret
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectSecret
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class InspectSecret
extends Object
implements Serializable
InspectSecret contains information on secrets mounted inside the container
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InspectSecretCreate an instance of InspectSecret given an JSON stringgetGID()ID is the GID of the mounted secret filegetID()ID is the ID of the secretgetMode()ID is the ID of the mode of the mounted secret filegetName()Name is the name of the secretgetUID()ID is the UID of the mounted secret fileinthashCode()voidvoidvoidvoidvoidtoJson()Convert an instance of InspectSecret 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_G_I_D
- See Also:
-
SERIALIZED_NAME_I_D
- See Also:
-
SERIALIZED_NAME_MODE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_U_I_D
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectSecret
public InspectSecret()
-
-
Method Details
-
GID
-
getGID
ID is the GID of the mounted secret file- Returns:
- GID
-
setGID
-
ID
-
getID
ID is the ID of the secret- Returns:
- ID
-
setID
-
mode
-
getMode
ID is the ID of the mode of the mounted secret file- Returns:
- mode
-
setMode
-
name
-
getName
Name is the name of the secret- Returns:
- name
-
setName
-
UID
-
getUID
ID is the UID of the mounted secret file- Returns:
- UID
-
setUID
-
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 InspectSecret
-
fromJson
Create an instance of InspectSecret given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectSecret
- Throws:
IOException- if the JSON string is invalid with respect to InspectSecret
-
toJson
Convert an instance of InspectSecret to an JSON string- Returns:
- JSON string
-