Class Plugins
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Plugins
@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 Plugins
extends Object
Plugins
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAuthorizationItem(String authorizationItem) addLogItem(String logItem) addNetworkItem(String networkItem) addVolumeItem(String volumeItem) authorization(List<String> authorization) booleanstatic PluginsCreate an instance of Plugins given an JSON stringAuthorization is provided for compatibility, will always be nil as Podman has no daemongetLog()Get logGet networkGet volumeinthashCode()voidsetAuthorization(List<String> authorization) voidvoidsetNetwork(List<String> network) voidtoJson()Convert an instance of Plugins 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_AUTHORIZATION
- See Also:
-
SERIALIZED_NAME_LOG
- See Also:
-
SERIALIZED_NAME_NETWORK
- See Also:
-
SERIALIZED_NAME_VOLUME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Plugins
public Plugins()
-
-
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 Plugins
-
fromJson
Create an instance of Plugins given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Plugins
- Throws:
IOException- if the JSON string is invalid with respect to Plugins
-
authorization
-
addAuthorizationItem
-
getAuthorization
Authorization is provided for compatibility, will always be nil as Podman has no daemon- Returns:
- authorization
-
setAuthorization
-
log
-
addLogItem
-
getLog
Get log- Returns:
- log
-
setLog
-
network
-
addNetworkItem
-
getNetwork
Get network- Returns:
- network
-
setNetwork
-
volume
-
addVolumeItem
-
getVolume
Get volume- Returns:
- volume
-
setVolume
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of Plugins to an JSON string- Returns:
- JSON string
-