Class InspectLogConfig
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectLogConfig
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class InspectLogConfig
extends Object
implements Serializable
InspectLogConfig holds information about a container's configured log driver
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InspectLogConfigCreate an instance of InspectLogConfig given an JSON stringGet configgetPath()Path specifies a path to the log filegetSize()Size specifies a maximum size of the container loggetTag()Tag specifies a custom log tag for the containergetType()Get typeinthashCode()putConfigItem(String key, String configItem) voidvoidvoidvoidvoidtoJson()Convert an instance of InspectLogConfig 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_CONFIG
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectLogConfig
public InspectLogConfig()
-
-
Method Details
-
config
-
putConfigItem
-
getConfig
Get config- Returns:
- config
-
setConfig
-
path
-
getPath
Path specifies a path to the log file- Returns:
- path
-
setPath
-
size
-
getSize
Size specifies a maximum size of the container log- Returns:
- size
-
setSize
-
tag
-
getTag
Tag specifies a custom log tag for the container- Returns:
- tag
-
setTag
-
type
-
getType
Get type- Returns:
- type
-
setType
-
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 InspectLogConfig
-
fromJson
Create an instance of InspectLogConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectLogConfig
- Throws:
IOException- if the JSON string is invalid with respect to InspectLogConfig
-
toJson
Convert an instance of InspectLogConfig to an JSON string- Returns:
- JSON string
-