Package odata.msgraph.client.beta.entity
Class SymantecCodeSigningCertificate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SymantecCodeSigningCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SymantecCodeSigningCertificate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSymantecCodeSigningCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]contentprotected OffsetDateTimeexpirationDateTimeprotected Stringissuerprotected StringissuerNameprotected Stringpasswordprotected CertificateStatusstatusprotected Stringsubjectprotected StringsubjectNameprotected OffsetDateTimeuploadDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSymantecCodeSigningCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SymantecCodeSigningCertificate.BuilderbuilderSymantecCodeSigningCertificate()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()Optional<OffsetDateTime>getUploadDateTime()“The Type of the CodeSigning Cert as Symantec Cert.”StringodataTypeName()SymantecCodeSigningCertificatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SymantecCodeSigningCertificateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SymantecCodeSigningCertificatewithContent(byte[] content)Returns an immutable copy ofthiswith just thecontentfield changed.SymantecCodeSigningCertificatewithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.SymantecCodeSigningCertificatewithIssuer(String issuer)Returns an immutable copy ofthiswith just theissuerfield changed.SymantecCodeSigningCertificatewithIssuerName(String issuerName)Returns an immutable copy ofthiswith just theissuerNamefield changed.SymantecCodeSigningCertificatewithPassword(String password)Returns an immutable copy ofthiswith just thepasswordfield changed.SymantecCodeSigningCertificatewithStatus(CertificateStatus status)Returns an immutable copy ofthiswith just thestatusfield changed.SymantecCodeSigningCertificatewithSubject(String subject)Returns an immutable copy ofthiswith just thesubjectfield changed.SymantecCodeSigningCertificatewithSubjectName(String subjectName)Returns an immutable copy ofthiswith just thesubjectNamefield changed.SymantecCodeSigningCertificatewithUnmappedField(String name, String value)SymantecCodeSigningCertificatewithUploadDateTime(OffsetDateTime uploadDateTime)Returns an immutable copy ofthiswith just theuploadDateTimefield changed.
-
-
-
Field Detail
-
content
protected byte[] content
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
issuer
protected String issuer
-
issuerName
protected String issuerName
-
password
protected String password
-
status
protected CertificateStatus status
-
subject
protected String subject
-
subjectName
protected String subjectName
-
uploadDateTime
protected OffsetDateTime uploadDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSymantecCodeSigningCertificate
public static SymantecCodeSigningCertificate.Builder builderSymantecCodeSigningCertificate()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getContent
public Optional<byte[]> getContent()
“The Windows Symantec Code-Signing Certificate in the raw data format.”- Returns:
- property content
-
withContent
public SymantecCodeSigningCertificate withContent(byte[] content)
Returns an immutable copy ofthiswith just thecontentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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.”
- Parameters:
content- new value ofcontentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontentfield changed
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“The Cert Expiration Date.”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public SymantecCodeSigningCertificate withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy ofthiswith just theexpirationDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Cert Expiration Date.”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getIssuer
public Optional<String> getIssuer()
“The Issuer value for the cert.”- Returns:
- property issuer
-
withIssuer
public SymantecCodeSigningCertificate withIssuer(String issuer)
Returns an immutable copy ofthiswith just theissuerfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Issuer value for the cert.”
- Parameters:
issuer- new value ofissuerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissuerfield changed
-
getIssuerName
public Optional<String> getIssuerName()
“The Issuer Name for the cert.”- Returns:
- property issuerName
-
withIssuerName
public SymantecCodeSigningCertificate withIssuerName(String issuerName)
Returns an immutable copy ofthiswith just theissuerNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Issuer Name for the cert.”
- Parameters:
issuerName- new value ofissuerNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theissuerNamefield changed
-
getPassword
public Optional<String> getPassword()
“The Password required for .pfx file.”- Returns:
- property password
-
withPassword
public SymantecCodeSigningCertificate withPassword(String password)
Returns an immutable copy ofthiswith just thepasswordfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Password required for .pfx file.”
- Parameters:
password- new value ofpasswordfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordfield changed
-
getStatus
public Optional<CertificateStatus> getStatus()
“The Cert Status Provisioned or not Provisioned.”- Returns:
- property status
-
withStatus
public SymantecCodeSigningCertificate withStatus(CertificateStatus status)
Returns an immutable copy ofthiswith just thestatusfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Cert Status Provisioned or not Provisioned.”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
getSubject
public Optional<String> getSubject()
“The Subject value for the cert.”- Returns:
- property subject
-
withSubject
public SymantecCodeSigningCertificate withSubject(String subject)
Returns an immutable copy ofthiswith just thesubjectfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The Subject value for the cert.”
- Parameters:
subject- new value ofsubjectfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectfield changed
-
getSubjectName
public Optional<String> getSubjectName()
“The Subject Name for the cert.”- Returns:
- property subjectName
-
withSubjectName
public SymantecCodeSigningCertificate withSubjectName(String subjectName)
Returns an immutable copy ofthiswith just thesubjectNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The Subject Name for the cert.”
- Parameters:
subjectName- new value ofsubjectNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesubjectNamefield changed
-
getUploadDateTime
public Optional<OffsetDateTime> getUploadDateTime()
“The Type of the CodeSigning Cert as Symantec Cert.”- Returns:
- property uploadDateTime
-
withUploadDateTime
public SymantecCodeSigningCertificate withUploadDateTime(OffsetDateTime uploadDateTime)
Returns an immutable copy ofthiswith just theuploadDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The Type of the CodeSigning Cert as Symantec Cert.”
- Parameters:
uploadDateTime- new value ofuploadDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuploadDateTimefield changed
-
withUnmappedField
public SymantecCodeSigningCertificate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SymantecCodeSigningCertificate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SymantecCodeSigningCertificate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-