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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get expiresOnGet issuedOnGet issuerNameGet serialNumberGet subjectNameGet versioninthashCode()issuerName(String issuerName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the SingleCodeCertificateModel instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-