Class V1LinuxContainerUser
java.lang.Object
io.kubernetes.client.openapi.models.V1LinuxContainerUser
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1LinuxContainerUser
extends Object
LinuxContainerUser represents user identity information in Linux containers
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSupplementalGroupsItem
(Long supplementalGroupsItem) boolean
static V1LinuxContainerUser
Create an instance of V1LinuxContainerUser given an JSON stringgetGid()
GID is the primary gid initially attached to the first process in the containerSupplementalGroups are the supplemental groups initially attached to the first process in the containergetUid()
UID is the primary uid initially attached to the first process in the containerint
hashCode()
void
void
setSupplementalGroups
(List<Long> supplementalGroups) void
supplementalGroups
(List<Long> supplementalGroups) toJson()
Convert an instance of V1LinuxContainerUser to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_GID
- See Also:
-
SERIALIZED_NAME_SUPPLEMENTAL_GROUPS
- See Also:
-
SERIALIZED_NAME_UID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1LinuxContainerUser
public V1LinuxContainerUser()
-
-
Method Details
-
gid
-
getGid
GID is the primary gid initially attached to the first process in the container- Returns:
- gid
-
setGid
-
supplementalGroups
-
addSupplementalGroupsItem
-
getSupplementalGroups
SupplementalGroups are the supplemental groups initially attached to the first process in the container- Returns:
- supplementalGroups
-
setSupplementalGroups
-
uid
-
getUid
UID is the primary uid initially attached to the first process in the container- 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 V1LinuxContainerUser
-
fromJson
Create an instance of V1LinuxContainerUser given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1LinuxContainerUser
- Throws:
IOException
- if the JSON string is invalid with respect to V1LinuxContainerUser
-
toJson
Convert an instance of V1LinuxContainerUser to an JSON string- Returns:
- JSON string
-