Package ai.reveng.model
Class SingleCodeCertificateModel
java.lang.Object
ai.reveng.model.SingleCodeCertificateModel
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SingleCodeCertificateModel
extends Object
SingleCodeCertificateModel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SingleCodeCertificateModelCreate an instance of SingleCodeCertificateModel given an JSON stringGet expiresOnGet issuedOnGet issuerNameGet serialNumberGet subjectNameGet versioninthashCode()issuerName(String issuerName) serialNumber(String serialNumber) voidsetExpiresOn(String expiresOn) voidsetIssuedOn(String issuedOn) voidsetIssuerName(String issuerName) voidsetSerialNumber(String serialNumber) voidsetSubjectName(String subjectName) voidsetVersion(Integer version) subjectName(String subjectName) toJson()Convert an instance of SingleCodeCertificateModel 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_VERSION
- See Also:
-
SERIALIZED_NAME_ISSUED_ON
- See Also:
-
SERIALIZED_NAME_EXPIRES_ON
- See Also:
-
SERIALIZED_NAME_ISSUER_NAME
- See Also:
-
SERIALIZED_NAME_SERIAL_NUMBER
- See Also:
-
SERIALIZED_NAME_SUBJECT_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SingleCodeCertificateModel
public SingleCodeCertificateModel()
-
-
Method Details
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
issuedOn
-
getIssuedOn
Get issuedOn- Returns:
- issuedOn
-
setIssuedOn
-
expiresOn
-
getExpiresOn
Get expiresOn- Returns:
- expiresOn
-
setExpiresOn
-
issuerName
-
getIssuerName
Get issuerName- Returns:
- issuerName
-
setIssuerName
-
serialNumber
-
getSerialNumber
Get serialNumber- Returns:
- serialNumber
-
setSerialNumber
-
subjectName
-
getSubjectName
Get subjectName- Returns:
- subjectName
-
setSubjectName
-
equals
-
hashCode
public int 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 SingleCodeCertificateModel
-
fromJson
Create an instance of SingleCodeCertificateModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SingleCodeCertificateModel
- Throws:
IOException- if the JSON string is invalid with respect to SingleCodeCertificateModel
-
toJson
Convert an instance of SingleCodeCertificateModel to an JSON string- Returns:
- JSON string
-