Class PastaInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.PastaInfo
@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 PastaInfo
extends Object
PastaInfo describes the pasta executable that is being used
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecutable(String executable) static PastaInfoCreate an instance of PastaInfo given an JSON stringGet executableGet _packageGet versioninthashCode()voidsetExecutable(String executable) voidsetPackage(String _package) voidsetVersion(String version) toJson()Convert an instance of PastaInfo 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_EXECUTABLE
- See Also:
-
SERIALIZED_NAME_PACKAGE
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PastaInfo
public PastaInfo()
-
-
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 PastaInfo
-
fromJson
Create an instance of PastaInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PastaInfo
- Throws:
IOException- if the JSON string is invalid with respect to PastaInfo
-
executable
-
getExecutable
Get executable- Returns:
- executable
-
setExecutable
-
_package
-
getPackage
Get _package- Returns:
- _package
-
setPackage
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of PastaInfo to an JSON string- Returns:
- JSON string
-