public class SymantecCodeSigningCertificate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SymantecCodeSigningCertificate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
content |
protected OffsetDateTime |
expirationDateTime |
protected String |
issuer |
protected String |
issuerName |
protected String |
password |
protected CertificateStatus |
status |
protected String |
subject |
protected String |
subjectName |
protected OffsetDateTime |
uploadDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SymantecCodeSigningCertificate() |
| Modifier and Type | Method and Description |
|---|---|
static SymantecCodeSigningCertificate.Builder |
builderSymantecCodeSigningCertificate()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<byte[]> |
getContent()
“The Windows Symantec Code-Signing Certificate in the raw data format.”
|
Optional<OffsetDateTime> |
getExpirationDateTime()
“The Cert Expiration Date.”
|
Optional<String> |
getIssuer()
“The Issuer value for the cert.”
|
Optional<String> |
getIssuerName()
“The Issuer Name for the cert.”
|
Optional<String> |
getPassword()
“The Password required for .pfx file.”
|
Optional<CertificateStatus> |
getStatus()
“The Cert Status Provisioned or not Provisioned.”
|
Optional<String> |
getSubject()
“The Subject value for the cert.”
|
Optional<String> |
getSubjectName()
“The Subject Name for the cert.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<OffsetDateTime> |
getUploadDateTime()
“The Type of the CodeSigning Cert as Symantec Cert.”
|
String |
odataTypeName() |
SymantecCodeSigningCertificate |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SymantecCodeSigningCertificate |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SymantecCodeSigningCertificate |
withContent(byte[] content)
Returns an immutable copy of
this with just the content field
changed. |
SymantecCodeSigningCertificate |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
SymantecCodeSigningCertificate |
withIssuer(String issuer)
Returns an immutable copy of
this with just the issuer field
changed. |
SymantecCodeSigningCertificate |
withIssuerName(String issuerName)
Returns an immutable copy of
this with just the issuerName field
changed. |
SymantecCodeSigningCertificate |
withPassword(String password)
Returns an immutable copy of
this with just the password field
changed. |
SymantecCodeSigningCertificate |
withStatus(CertificateStatus status)
Returns an immutable copy of
this with just the status field
changed. |
SymantecCodeSigningCertificate |
withSubject(String subject)
Returns an immutable copy of
this with just the subject field
changed. |
SymantecCodeSigningCertificate |
withSubjectName(String subjectName)
Returns an immutable copy of
this with just the subjectName
field changed. |
SymantecCodeSigningCertificate |
withUploadDateTime(OffsetDateTime uploadDateTime)
Returns an immutable copy of
this with just the uploadDateTime
field changed. |
protected byte[] content
protected CertificateStatus status
protected String password
protected String subjectName
protected String subject
protected String issuerName
protected String issuer
protected OffsetDateTime expirationDateTime
protected OffsetDateTime uploadDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SymantecCodeSigningCertificate.Builder builderSymantecCodeSigningCertificate()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<byte[]> getContent()
public SymantecCodeSigningCertificate withContent(byte[] content)
this with just the content field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The Windows Symantec Code-Signing Certificate in the raw data format.”
content - new value of content field (as defined in service metadata)this with just the content field changedpublic Optional<CertificateStatus> getStatus()
public SymantecCodeSigningCertificate withStatus(CertificateStatus status)
this with just the status field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The Cert Status Provisioned or not Provisioned.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<String> getPassword()
public SymantecCodeSigningCertificate withPassword(String password)
this with just the password field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The Password required for .pfx file.”
password - new value of password field (as defined in service metadata)this with just the password field changedpublic Optional<String> getSubjectName()
public SymantecCodeSigningCertificate withSubjectName(String subjectName)
this with just the subjectName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The Subject Name for the cert.”
subjectName - new value of subjectName field (as defined in service metadata)this with just the subjectName field changedpublic Optional<String> getSubject()
public SymantecCodeSigningCertificate withSubject(String subject)
this with just the subject field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The Subject value for the cert.”
subject - new value of subject field (as defined in service metadata)this with just the subject field changedpublic Optional<String> getIssuerName()
public SymantecCodeSigningCertificate withIssuerName(String issuerName)
this with just the issuerName field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The Issuer Name for the cert.”
issuerName - new value of issuerName field (as defined in service metadata)this with just the issuerName field changedpublic Optional<String> getIssuer()
public SymantecCodeSigningCertificate withIssuer(String issuer)
this with just the issuer field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The Issuer value for the cert.”
issuer - new value of issuer field (as defined in service metadata)this with just the issuer field changedpublic Optional<OffsetDateTime> getExpirationDateTime()
public SymantecCodeSigningCertificate withExpirationDateTime(OffsetDateTime expirationDateTime)
this with just the expirationDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The Cert Expiration Date.”
expirationDateTime - new value of expirationDateTime field (as defined in service metadata)this with just the expirationDateTime field changedpublic Optional<OffsetDateTime> getUploadDateTime()
public SymantecCodeSigningCertificate withUploadDateTime(OffsetDateTime uploadDateTime)
this with just the uploadDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The Type of the CodeSigning Cert as Symantec Cert.”
uploadDateTime - new value of uploadDateTime field (as defined in service metadata)this with just the uploadDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SymantecCodeSigningCertificate patch()
this with changed fields reset.public SymantecCodeSigningCertificate put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.