com.softlayer.api.service.security.certificate.Entry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.security.certificate;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;
/**
* @see SoftLayer_Security_Certificate_Entry
*/
@ApiType("SoftLayer_Security_Certificate_Entry")
public class Entry extends Entity {
/**
* The ID of the certificate record.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long certificateId;
public Long getCertificateId() {
return certificateId;
}
public void setCertificateId(Long certificateId) {
certificateIdSpecified = true;
this.certificateId = certificateId;
}
protected boolean certificateIdSpecified;
public boolean isCertificateIdSpecified() {
return certificateIdSpecified;
}
public void unsetCertificateId() {
certificateId = null;
certificateIdSpecified = false;
}
/**
* The common name (usually a domain name) encoded within the certificate.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String commonName;
public String getCommonName() {
return commonName;
}
public void setCommonName(String commonName) {
commonNameSpecified = true;
this.commonName = commonName;
}
protected boolean commonNameSpecified;
public boolean isCommonNameSpecified() {
return commonNameSpecified;
}
public void unsetCommonName() {
commonName = null;
commonNameSpecified = false;
}
/**
* The size (number of bits) of the public key represented by the certificate.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long keySize;
public Long getKeySize() {
return keySize;
}
public void setKeySize(Long keySize) {
keySizeSpecified = true;
this.keySize = keySize;
}
protected boolean keySizeSpecified;
public boolean isKeySizeSpecified() {
return keySizeSpecified;
}
public void unsetKeySize() {
keySize = null;
keySizeSpecified = false;
}
/**
* The organizational name encoded in the certificate.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String organizationName;
public String getOrganizationName() {
return organizationName;
}
public void setOrganizationName(String organizationName) {
organizationNameSpecified = true;
this.organizationName = organizationName;
}
protected boolean organizationNameSpecified;
public boolean isOrganizationNameSpecified() {
return organizationNameSpecified;
}
public void unsetOrganizationName() {
organizationName = null;
organizationNameSpecified = false;
}
/**
* The UTC timestamp representing the beginning of the certificate's validity
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar validityBegin;
public GregorianCalendar getValidityBegin() {
return validityBegin;
}
public void setValidityBegin(GregorianCalendar validityBegin) {
validityBeginSpecified = true;
this.validityBegin = validityBegin;
}
protected boolean validityBeginSpecified;
public boolean isValidityBeginSpecified() {
return validityBeginSpecified;
}
public void unsetValidityBegin() {
validityBegin = null;
validityBeginSpecified = false;
}
/**
* The number of days remaining in the validity period for the certificate.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long validityDays;
public Long getValidityDays() {
return validityDays;
}
public void setValidityDays(Long validityDays) {
validityDaysSpecified = true;
this.validityDays = validityDays;
}
protected boolean validityDaysSpecified;
public boolean isValidityDaysSpecified() {
return validityDaysSpecified;
}
public void unsetValidityDays() {
validityDays = null;
validityDaysSpecified = false;
}
/**
* The UTC timestamp representing the end of the certificate's validity period.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar validityEnd;
public GregorianCalendar getValidityEnd() {
return validityEnd;
}
public void setValidityEnd(GregorianCalendar validityEnd) {
validityEndSpecified = true;
this.validityEnd = validityEnd;
}
protected boolean validityEndSpecified;
public boolean isValidityEndSpecified() {
return validityEndSpecified;
}
public void unsetValidityEnd() {
validityEnd = null;
validityEndSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask certificateId() {
withLocalProperty("certificateId");
return this;
}
public Mask commonName() {
withLocalProperty("commonName");
return this;
}
public Mask keySize() {
withLocalProperty("keySize");
return this;
}
public Mask organizationName() {
withLocalProperty("organizationName");
return this;
}
public Mask validityBegin() {
withLocalProperty("validityBegin");
return this;
}
public Mask validityDays() {
withLocalProperty("validityDays");
return this;
}
public Mask validityEnd() {
withLocalProperty("validityEnd");
return this;
}
}
}