Class Container
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Container
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Container
extends Object
implements Serializable
Container
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMountsItem(MountPoint mountsItem) addNamesItem(String namesItem) addPortsItem(Port portsItem) defaultReadOnlyNonRecursive(Boolean defaultReadOnlyNonRecursive) booleanstatic ContainerCreate an instance of Container given an JSON stringGet command@Valid ConfigGet configGet createdGet defaultReadOnlyNonRecursive@Valid HostConfigGet hostConfiggetId()Get idgetImage()Get imageGet imageIDGet labels@Valid List<MountPoint>Get mountsgetName()Get namegetNames()Get names@Valid NetworkingConfigGet networkingConfig@Valid SummaryNetworkSettingsGet networkSettings@Valid PlatformGet platformgetPorts()Get portsGet sizeRootFsGet sizeRwgetState()Get stateGet statusinthashCode()hostConfig(HostConfig hostConfig) mounts(List<MountPoint> mounts) networkingConfig(NetworkingConfig networkingConfig) networkSettings(SummaryNetworkSettings networkSettings) putLabelsItem(String key, String labelsItem) voidsetCommand(String command) voidvoidsetCreated(Long created) voidsetDefaultReadOnlyNonRecursive(Boolean defaultReadOnlyNonRecursive) voidsetHostConfig(HostConfig hostConfig) voidvoidvoidsetImageID(String imageID) voidvoidsetMounts(List<MountPoint> mounts) voidvoidvoidsetNetworkingConfig(NetworkingConfig networkingConfig) voidsetNetworkSettings(SummaryNetworkSettings networkSettings) voidsetPlatform(Platform platform) voidvoidsetSizeRootFs(Long sizeRootFs) voidvoidvoidsizeRootFs(Long sizeRootFs) toJson()Convert an instance of Container 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_COMMAND
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DEFAULT_READ_ONLY_NON_RECURSIVE
- See Also:
-
SERIALIZED_NAME_HOST_CONFIG
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IMAGE
- See Also:
-
SERIALIZED_NAME_IMAGE_I_D
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_MOUNTS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMES
- See Also:
-
SERIALIZED_NAME_NETWORK_SETTINGS
- See Also:
-
SERIALIZED_NAME_NETWORKING_CONFIG
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
SERIALIZED_NAME_PORTS
- See Also:
-
SERIALIZED_NAME_SIZE_ROOT_FS
- See Also:
-
SERIALIZED_NAME_SIZE_RW
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Container
public Container()
-
-
Method Details
-
command
-
getCommand
Get command- Returns:
- command
-
setCommand
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
defaultReadOnlyNonRecursive
-
getDefaultReadOnlyNonRecursive
Get defaultReadOnlyNonRecursive- Returns:
- defaultReadOnlyNonRecursive
-
setDefaultReadOnlyNonRecursive
-
hostConfig
-
getHostConfig
Get hostConfig- Returns:
- hostConfig
-
setHostConfig
-
id
-
getId
Get id- Returns:
- id
-
setId
-
image
-
getImage
Get image- Returns:
- image
-
setImage
-
imageID
-
getImageID
Get imageID- Returns:
- imageID
-
setImageID
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
mounts
-
addMountsItem
-
getMounts
Get mounts- Returns:
- mounts
-
setMounts
-
name
-
getName
Get name- Returns:
- name
-
setName
-
names
-
addNamesItem
-
getNames
Get names- Returns:
- names
-
setNames
-
networkSettings
-
getNetworkSettings
Get networkSettings- Returns:
- networkSettings
-
setNetworkSettings
-
networkingConfig
-
getNetworkingConfig
Get networkingConfig- Returns:
- networkingConfig
-
setNetworkingConfig
-
platform
-
getPlatform
Get platform- Returns:
- platform
-
setPlatform
-
ports
-
addPortsItem
-
getPorts
Get ports- Returns:
- ports
-
setPorts
-
sizeRootFs
-
getSizeRootFs
Get sizeRootFs- Returns:
- sizeRootFs
-
setSizeRootFs
-
sizeRw
-
getSizeRw
Get sizeRw- Returns:
- sizeRw
-
setSizeRw
-
state
-
getState
Get state- Returns:
- state
-
setState
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
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 Container
-
fromJson
Create an instance of Container given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Container
- Throws:
IOException- if the JSON string is invalid with respect to Container
-
toJson
Convert an instance of Container to an JSON string- Returns:
- JSON string
-