Class AutoUserNsOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.AutoUserNsOptions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class AutoUserNsOptions
extends Object
AutoUserNsOptions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalGIDMappingsItem(IDMap additionalGIDMappingsItem) addAdditionalUIDMappingsItem(IDMap additionalUIDMappingsItem) additionalGIDMappings(List<@Valid IDMap> additionalGIDMappings) additionalUIDMappings(List<@Valid IDMap> additionalUIDMappings) booleanstatic AutoUserNsOptionsCreate an instance of AutoUserNsOptions given an JSON stringAdditionalGIDMappings specified additional GID mappings to include in the generated user namespace.AdditionalUIDMappings specified additional UID mappings to include in the generated user namespace.GroupFile to use if the container uses a volume.InitialSize defines the minimum size for the user namespace.PasswdFile to use if the container uses a volume.getSize()Size defines the size for the user namespace.inthashCode()initialSize(Integer initialSize) passwdFile(String passwdFile) voidsetAdditionalGIDMappings(List<@Valid IDMap> additionalGIDMappings) voidsetAdditionalUIDMappings(List<@Valid IDMap> additionalUIDMappings) voidsetGroupFile(String groupFile) voidsetInitialSize(Integer initialSize) voidsetPasswdFile(String passwdFile) voidtoJson()Convert an instance of AutoUserNsOptions 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_ADDITIONAL_G_I_D_MAPPINGS
- See Also:
-
SERIALIZED_NAME_ADDITIONAL_U_I_D_MAPPINGS
- See Also:
-
SERIALIZED_NAME_GROUP_FILE
- See Also:
-
SERIALIZED_NAME_INITIAL_SIZE
- See Also:
-
SERIALIZED_NAME_PASSWD_FILE
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AutoUserNsOptions
public AutoUserNsOptions()
-
-
Method Details
-
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 AutoUserNsOptions
-
fromJson
Create an instance of AutoUserNsOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AutoUserNsOptions
- Throws:
IOException- if the JSON string is invalid with respect to AutoUserNsOptions
-
additionalGIDMappings
-
addAdditionalGIDMappingsItem
-
getAdditionalGIDMappings
AdditionalGIDMappings specified additional GID mappings to include in the generated user namespace.- Returns:
- additionalGIDMappings
-
setAdditionalGIDMappings
-
additionalUIDMappings
-
addAdditionalUIDMappingsItem
-
getAdditionalUIDMappings
AdditionalUIDMappings specified additional UID mappings to include in the generated user namespace.- Returns:
- additionalUIDMappings
-
setAdditionalUIDMappings
-
groupFile
-
getGroupFile
GroupFile to use if the container uses a volume.- Returns:
- groupFile
-
setGroupFile
-
initialSize
-
getInitialSize
InitialSize defines the minimum size for the user namespace. The created user namespace will have at least this size.- Returns:
- initialSize
-
setInitialSize
-
passwdFile
-
getPasswdFile
PasswdFile to use if the container uses a volume.- Returns:
- passwdFile
-
setPasswdFile
-
size
-
getSize
Size defines the size for the user namespace. If it is set to a value bigger than 0, the user namespace will have exactly this size. If it is not set, some heuristics will be used to find its size.- Returns:
- size
-
setSize
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of AutoUserNsOptions to an JSON string- Returns:
- JSON string
-