Class OperatingSystem
java.lang.Object
sendpost_java_sdk.OperatingSystem
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]",
comments="Generator version: 7.13.0")
public class OperatingSystem
extends Object
OperatingSystem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OperatingSystemCreate an instance of OperatingSystem given an JSON stringGet familygetMajor()Get majorgetMinor()Get minorgetPatch()Get patchGet patchMinorinthashCode()patchMinor(String patchMinor) voidvoidvoidvoidvoidsetPatchMinor(String patchMinor) toJson()Convert an instance of OperatingSystem 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_FAMILY
- See Also:
-
SERIALIZED_NAME_MAJOR
- See Also:
-
SERIALIZED_NAME_MINOR
- See Also:
-
SERIALIZED_NAME_PATCH
- See Also:
-
SERIALIZED_NAME_PATCH_MINOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OperatingSystem
public OperatingSystem()
-
-
Method Details
-
family
-
getFamily
-
setFamily
-
major
-
getMajor
-
setMajor
-
minor
-
getMinor
-
setMinor
-
patch
-
getPatch
-
setPatch
-
patchMinor
-
getPatchMinor
-
setPatchMinor
-
equals
-
hashCode
-
toString
-
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 OperatingSystem
-
fromJson
Create an instance of OperatingSystem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OperatingSystem
- Throws:
IOException- if the JSON string is invalid with respect to OperatingSystem
-
toJson
Convert an instance of OperatingSystem to an JSON string- Returns:
- JSON string
-