public class EnterpriseCodeSigningCertificate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EnterpriseCodeSigningCertificate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
content |
protected OffsetDateTime |
expirationDateTime |
protected String |
issuer |
protected String |
issuerName |
protected CertificateStatus |
status |
protected String |
subject |
protected String |
subjectName |
protected OffsetDateTime |
uploadDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EnterpriseCodeSigningCertificate() |
| Modifier and Type | Method and Description |
|---|---|
static EnterpriseCodeSigningCertificate.Builder |
builderEnterpriseCodeSigningCertificate()
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 Enterprise 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<CertificateStatus> |
getStatus()
“The Certificate 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 date time of CodeSigning Cert when it is uploaded.”
|
String |
odataTypeName() |
EnterpriseCodeSigningCertificate |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EnterpriseCodeSigningCertificate |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
EnterpriseCodeSigningCertificate |
withContent(byte[] content)
Returns an immutable copy of
this with just the content field
changed. |
EnterpriseCodeSigningCertificate |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy of
this with just the expirationDateTime field changed. |
EnterpriseCodeSigningCertificate |
withIssuer(String issuer)
Returns an immutable copy of
this with just the issuer field
changed. |
EnterpriseCodeSigningCertificate |
withIssuerName(String issuerName)
Returns an immutable copy of
this with just the issuerName field
changed. |
EnterpriseCodeSigningCertificate |
withStatus(CertificateStatus status)
Returns an immutable copy of
this with just the status field
changed. |
EnterpriseCodeSigningCertificate |
withSubject(String subject)
Returns an immutable copy of
this with just the subject field
changed. |
EnterpriseCodeSigningCertificate |
withSubjectName(String subjectName)
Returns an immutable copy of
this with just the subjectName
field changed. |
EnterpriseCodeSigningCertificate |
withUploadDateTime(OffsetDateTime uploadDateTime)
Returns an immutable copy of
this with just the uploadDateTime
field changed. |
protected byte[] content
protected CertificateStatus status
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 EnterpriseCodeSigningCertificate.Builder builderEnterpriseCodeSigningCertificate()
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 EnterpriseCodeSigningCertificate 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 Enterprise 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 EnterpriseCodeSigningCertificate 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 Certificate 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> getSubjectName()
public EnterpriseCodeSigningCertificate 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 EnterpriseCodeSigningCertificate 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 EnterpriseCodeSigningCertificate 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 EnterpriseCodeSigningCertificate 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 EnterpriseCodeSigningCertificate 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 EnterpriseCodeSigningCertificate 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 date time of CodeSigning Cert when it is uploaded.”
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 EnterpriseCodeSigningCertificate patch()
this with changed fields reset.public EnterpriseCodeSigningCertificate put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.