Class Driver
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Driver
@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 Driver
extends Object
Driver
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DriverCreate an instance of Driver given an JSON stringgetName()Get nameGet optionsinthashCode()putOptionsItem(String key, String optionsItem) voidvoidsetOptions(Map<String, String> options) toJson()Convert an instance of Driver 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_NAME
- See Also:
-
SERIALIZED_NAME_OPTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Driver
public Driver()
-
-
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 Driver
-
fromJson
Create an instance of Driver given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Driver
- Throws:
IOException- if the JSON string is invalid with respect to Driver
-
name
-
getName
Get name- Returns:
- name
-
setName
-
options
-
putOptionsItem
-
getOptions
Get options- Returns:
- options
-
setOptions
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of Driver to an JSON string- Returns:
- JSON string
-