Class InspectSecret
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectSecret
@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 InspectSecret
extends Object
InspectSecret contains information on secrets mounted inside the container
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-