Class InspectExecProcess
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectExecProcess
@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 InspectExecProcess
extends Object
InspectExecProcess contains information about the process in a given exec session.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArgumentsItem(String argumentsItem) entrypoint(String entrypoint) booleanstatic InspectExecProcessCreate an instance of InspectExecProcess given an JSON stringArguments are the arguments to the entrypoint command of the exec session.Entrypoint is the entrypoint for the exec session (the command that will be executed in the container).Privileged is whether the exec session will be started with elevated privileges.getTty()Tty is whether the exec session created a terminal.getUser()User is the user the exec session was started as.inthashCode()privileged(Boolean privileged) voidsetArguments(List<String> arguments) voidsetEntrypoint(String entrypoint) voidsetPrivileged(Boolean privileged) voidvoidtoJson()Convert an instance of InspectExecProcess 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_ARGUMENTS
- See Also:
-
SERIALIZED_NAME_ENTRYPOINT
- See Also:
-
SERIALIZED_NAME_PRIVILEGED
- See Also:
-
SERIALIZED_NAME_TTY
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectExecProcess
public InspectExecProcess()
-
-
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 InspectExecProcess
-
fromJson
Create an instance of InspectExecProcess given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectExecProcess
- Throws:
IOException- if the JSON string is invalid with respect to InspectExecProcess
-
arguments
-
addArgumentsItem
-
getArguments
Arguments are the arguments to the entrypoint command of the exec session.- Returns:
- arguments
-
setArguments
-
entrypoint
-
getEntrypoint
Entrypoint is the entrypoint for the exec session (the command that will be executed in the container).- Returns:
- entrypoint
-
setEntrypoint
-
privileged
-
getPrivileged
Privileged is whether the exec session will be started with elevated privileges.- Returns:
- privileged
-
setPrivileged
-
tty
-
getTty
Tty is whether the exec session created a terminal.- Returns:
- tty
-
setTty
-
user
-
getUser
User is the user the exec session was started as.- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of InspectExecProcess to an JSON string- Returns:
- JSON string
-