Class AutoUserNsOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.AutoUserNsOptions
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AutoUserNsOptions
extends Object
implements Serializable
AutoUserNsOptions
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalGIDMappingsItem(IDMap additionalGIDMappingsItem) addAdditionalUIDMappingsItem(IDMap additionalUIDMappingsItem) additionalGIDMappings(List<IDMap> additionalGIDMappings) additionalUIDMappings(List<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<IDMap> additionalGIDMappings) voidsetAdditionalUIDMappings(List<IDMap> additionalUIDMappings) voidsetGroupFile(String groupFile) voidsetInitialSize(Integer initialSize) voidsetPasswdFile(String passwdFile) voidtoJson()Convert an instance of AutoUserNsOptions 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_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
-
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
-
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 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
-
toJson
Convert an instance of AutoUserNsOptions to an JSON string- Returns:
- JSON string
-