Class CreateRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.model.CreateRequest
@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 CreateRequest
extends Object
CreateRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachable(Boolean attachable) checkDuplicate(Boolean checkDuplicate) configFrom(ConfigReference configFrom) configOnly(Boolean configOnly) enableIPv6(Boolean enableIPv6) booleanstatic CreateRequestCreate an instance of CreateRequest given an JSON stringGet attachableDeprecated: CheckDuplicate is deprecated since API v1.44, but it defaults to true when sent by the client package to older daemons.@Valid ConfigReferenceGet configFromGet configOnlyGet driverGet enableIPv6Get ingressGet internal@Valid IPAMgetIPAM()Get ipamGet labelsgetName()Get nameGet optionsgetScope()Get scopeinthashCode()putLabelsItem(String key, String labelsItem) putOptionsItem(String key, String optionsItem) voidsetAttachable(Boolean attachable) voidsetCheckDuplicate(Boolean checkDuplicate) voidsetConfigFrom(ConfigReference configFrom) voidsetConfigOnly(Boolean configOnly) voidvoidsetEnableIPv6(Boolean enableIPv6) voidsetIngress(Boolean ingress) voidsetInternal(Boolean internal) voidvoidvoidvoidsetOptions(Map<String, String> options) voidtoJson()Convert an instance of CreateRequest 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_ATTACHABLE
- See Also:
-
SERIALIZED_NAME_CHECK_DUPLICATE
- See Also:
-
SERIALIZED_NAME_CONFIG_FROM
- See Also:
-
SERIALIZED_NAME_CONFIG_ONLY
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_ENABLE_I_PV6
- See Also:
-
SERIALIZED_NAME_I_P_A_M
- See Also:
-
SERIALIZED_NAME_INGRESS
- See Also:
-
SERIALIZED_NAME_INTERNAL
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
SERIALIZED_NAME_SCOPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateRequest
public CreateRequest()
-
-
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 CreateRequest
-
fromJson
Create an instance of CreateRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateRequest
-
attachable
-
getAttachable
Get attachable- Returns:
- attachable
-
setAttachable
-
checkDuplicate
-
getCheckDuplicate
Deprecated: CheckDuplicate is deprecated since API v1.44, but it defaults to true when sent by the client package to older daemons.- Returns:
- checkDuplicate
-
setCheckDuplicate
-
configFrom
-
getConfigFrom
Get configFrom- Returns:
- configFrom
-
setConfigFrom
-
configOnly
-
getConfigOnly
Get configOnly- Returns:
- configOnly
-
setConfigOnly
-
driver
-
getDriver
Get driver- Returns:
- driver
-
setDriver
-
enableIPv6
-
getEnableIPv6
Get enableIPv6- Returns:
- enableIPv6
-
setEnableIPv6
-
ipam
-
getIPAM
Get ipam- Returns:
- ipam
-
setIPAM
-
ingress
-
getIngress
Get ingress- Returns:
- ingress
-
setIngress
-
internal
-
getInternal
Get internal- Returns:
- internal
-
setInternal
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
name
-
getName
Get name- Returns:
- name
-
setName
-
options
-
putOptionsItem
-
getOptions
Get options- Returns:
- options
-
setOptions
-
scope
-
getScope
Get scope- Returns:
- scope
-
setScope
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of CreateRequest to an JSON string- Returns:
- JSON string
-