Package odata.msgraph.client.beta.entity
Class ManagedAllDeviceCertificateState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedAllDeviceCertificateState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedAllDeviceCertificateState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedAllDeviceCertificateState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecertificateExpirationDateTimeprotected StringcertificateExtendedKeyUsagesprotected OffsetDateTimecertificateIssuanceDateTimeprotected StringcertificateIssuerNameprotected IntegercertificateKeyUsagesprotected CertificateRevocationStatuscertificateRevokeStatusprotected OffsetDateTimecertificateRevokeStatusLastChangeDateTimeprotected StringcertificateSerialNumberprotected StringcertificateSubjectNameprotected StringcertificateThumbprintprotected StringmanagedDeviceDisplayNameprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedAllDeviceCertificateState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedAllDeviceCertificateState.BuilderbuilderManagedAllDeviceCertificateState()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getCertificateExpirationDateTime()“Certificate expiry date”Optional<String>getCertificateExtendedKeyUsages()“Enhanced Key Usage”Optional<OffsetDateTime>getCertificateIssuanceDateTime()“Issuance date”Optional<String>getCertificateIssuerName()“Issuer”Optional<Integer>getCertificateKeyUsages()“Key Usage”Optional<CertificateRevocationStatus>getCertificateRevokeStatus()“Revoke status”Optional<OffsetDateTime>getCertificateRevokeStatusLastChangeDateTime()“The time the revoke status was last changed”Optional<String>getCertificateSerialNumber()“Serial number”Optional<String>getCertificateSubjectName()“Certificate subject name”Optional<String>getCertificateThumbprint()“Thumbprint”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getManagedDeviceDisplayName()“Device display name”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()“User principal name”StringodataTypeName()ManagedAllDeviceCertificateStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAllDeviceCertificateStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedAllDeviceCertificateStatewithCertificateExpirationDateTime(OffsetDateTime certificateExpirationDateTime)Returns an immutable copy ofthiswith just thecertificateExpirationDateTimefield changed.ManagedAllDeviceCertificateStatewithCertificateExtendedKeyUsages(String certificateExtendedKeyUsages)Returns an immutable copy ofthiswith just thecertificateExtendedKeyUsagesfield changed.ManagedAllDeviceCertificateStatewithCertificateIssuanceDateTime(OffsetDateTime certificateIssuanceDateTime)Returns an immutable copy ofthiswith just thecertificateIssuanceDateTimefield changed.ManagedAllDeviceCertificateStatewithCertificateIssuerName(String certificateIssuerName)Returns an immutable copy ofthiswith just thecertificateIssuerNamefield changed.ManagedAllDeviceCertificateStatewithCertificateKeyUsages(Integer certificateKeyUsages)Returns an immutable copy ofthiswith just thecertificateKeyUsagesfield changed.ManagedAllDeviceCertificateStatewithCertificateRevokeStatus(CertificateRevocationStatus certificateRevokeStatus)Returns an immutable copy ofthiswith just thecertificateRevokeStatusfield changed.ManagedAllDeviceCertificateStatewithCertificateRevokeStatusLastChangeDateTime(OffsetDateTime certificateRevokeStatusLastChangeDateTime)Returns an immutable copy ofthiswith just thecertificateRevokeStatusLastChangeDateTimefield changed.ManagedAllDeviceCertificateStatewithCertificateSerialNumber(String certificateSerialNumber)Returns an immutable copy ofthiswith just thecertificateSerialNumberfield changed.ManagedAllDeviceCertificateStatewithCertificateSubjectName(String certificateSubjectName)Returns an immutable copy ofthiswith just thecertificateSubjectNamefield changed.ManagedAllDeviceCertificateStatewithCertificateThumbprint(String certificateThumbprint)Returns an immutable copy ofthiswith just thecertificateThumbprintfield changed.ManagedAllDeviceCertificateStatewithManagedDeviceDisplayName(String managedDeviceDisplayName)Returns an immutable copy ofthiswith just themanagedDeviceDisplayNamefield changed.ManagedAllDeviceCertificateStatewithUnmappedField(String name, String value)ManagedAllDeviceCertificateStatewithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
certificateExpirationDateTime
protected OffsetDateTime certificateExpirationDateTime
-
certificateExtendedKeyUsages
protected String certificateExtendedKeyUsages
-
certificateIssuanceDateTime
protected OffsetDateTime certificateIssuanceDateTime
-
certificateIssuerName
protected String certificateIssuerName
-
certificateKeyUsages
protected Integer certificateKeyUsages
-
certificateRevokeStatus
protected CertificateRevocationStatus certificateRevokeStatus
-
certificateRevokeStatusLastChangeDateTime
protected OffsetDateTime certificateRevokeStatusLastChangeDateTime
-
certificateSerialNumber
protected String certificateSerialNumber
-
certificateSubjectName
protected String certificateSubjectName
-
certificateThumbprint
protected String certificateThumbprint
-
managedDeviceDisplayName
protected String managedDeviceDisplayName
-
userPrincipalName
protected String userPrincipalName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedAllDeviceCertificateState
public static ManagedAllDeviceCertificateState.Builder builderManagedAllDeviceCertificateState()
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
-
getCertificateExpirationDateTime
public Optional<OffsetDateTime> getCertificateExpirationDateTime()
“Certificate expiry date”- Returns:
- property certificateExpirationDateTime
-
withCertificateExpirationDateTime
public ManagedAllDeviceCertificateState withCertificateExpirationDateTime(OffsetDateTime certificateExpirationDateTime)
Returns an immutable copy ofthiswith just thecertificateExpirationDateTimefield 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.“Certificate expiry date”
- Parameters:
certificateExpirationDateTime- new value ofcertificateExpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateExpirationDateTimefield changed
-
getCertificateExtendedKeyUsages
public Optional<String> getCertificateExtendedKeyUsages()
“Enhanced Key Usage”- Returns:
- property certificateExtendedKeyUsages
-
withCertificateExtendedKeyUsages
public ManagedAllDeviceCertificateState withCertificateExtendedKeyUsages(String certificateExtendedKeyUsages)
Returns an immutable copy ofthiswith just thecertificateExtendedKeyUsagesfield 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.“Enhanced Key Usage”
- Parameters:
certificateExtendedKeyUsages- new value ofcertificateExtendedKeyUsagesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateExtendedKeyUsagesfield changed
-
getCertificateIssuanceDateTime
public Optional<OffsetDateTime> getCertificateIssuanceDateTime()
“Issuance date”- Returns:
- property certificateIssuanceDateTime
-
withCertificateIssuanceDateTime
public ManagedAllDeviceCertificateState withCertificateIssuanceDateTime(OffsetDateTime certificateIssuanceDateTime)
Returns an immutable copy ofthiswith just thecertificateIssuanceDateTimefield 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.“Issuance date”
- Parameters:
certificateIssuanceDateTime- new value ofcertificateIssuanceDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateIssuanceDateTimefield changed
-
getCertificateIssuerName
public Optional<String> getCertificateIssuerName()
“Issuer”- Returns:
- property certificateIssuerName
-
withCertificateIssuerName
public ManagedAllDeviceCertificateState withCertificateIssuerName(String certificateIssuerName)
Returns an immutable copy ofthiswith just thecertificateIssuerNamefield 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.“Issuer”
- Parameters:
certificateIssuerName- new value ofcertificateIssuerNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateIssuerNamefield changed
-
getCertificateKeyUsages
public Optional<Integer> getCertificateKeyUsages()
“Key Usage”- Returns:
- property certificateKeyUsages
-
withCertificateKeyUsages
public ManagedAllDeviceCertificateState withCertificateKeyUsages(Integer certificateKeyUsages)
Returns an immutable copy ofthiswith just thecertificateKeyUsagesfield 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.“Key Usage”
- Parameters:
certificateKeyUsages- new value ofcertificateKeyUsagesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateKeyUsagesfield changed
-
getCertificateRevokeStatus
public Optional<CertificateRevocationStatus> getCertificateRevokeStatus()
“Revoke status”- Returns:
- property certificateRevokeStatus
-
withCertificateRevokeStatus
public ManagedAllDeviceCertificateState withCertificateRevokeStatus(CertificateRevocationStatus certificateRevokeStatus)
Returns an immutable copy ofthiswith just thecertificateRevokeStatusfield 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.“Revoke status”
- Parameters:
certificateRevokeStatus- new value ofcertificateRevokeStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateRevokeStatusfield changed
-
getCertificateRevokeStatusLastChangeDateTime
public Optional<OffsetDateTime> getCertificateRevokeStatusLastChangeDateTime()
“The time the revoke status was last changed”- Returns:
- property certificateRevokeStatusLastChangeDateTime
-
withCertificateRevokeStatusLastChangeDateTime
public ManagedAllDeviceCertificateState withCertificateRevokeStatusLastChangeDateTime(OffsetDateTime certificateRevokeStatusLastChangeDateTime)
Returns an immutable copy ofthiswith just thecertificateRevokeStatusLastChangeDateTimefield 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 time the revoke status was last changed”
- Parameters:
certificateRevokeStatusLastChangeDateTime- new value ofcertificateRevokeStatusLastChangeDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateRevokeStatusLastChangeDateTimefield changed
-
getCertificateSerialNumber
public Optional<String> getCertificateSerialNumber()
“Serial number”- Returns:
- property certificateSerialNumber
-
withCertificateSerialNumber
public ManagedAllDeviceCertificateState withCertificateSerialNumber(String certificateSerialNumber)
Returns an immutable copy ofthiswith just thecertificateSerialNumberfield 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.“Serial number”
- Parameters:
certificateSerialNumber- new value ofcertificateSerialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSerialNumberfield changed
-
getCertificateSubjectName
public Optional<String> getCertificateSubjectName()
“Certificate subject name”- Returns:
- property certificateSubjectName
-
withCertificateSubjectName
public ManagedAllDeviceCertificateState withCertificateSubjectName(String certificateSubjectName)
Returns an immutable copy ofthiswith just thecertificateSubjectNamefield 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.“Certificate subject name”
- Parameters:
certificateSubjectName- new value ofcertificateSubjectNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSubjectNamefield changed
-
getCertificateThumbprint
public Optional<String> getCertificateThumbprint()
“Thumbprint”- Returns:
- property certificateThumbprint
-
withCertificateThumbprint
public ManagedAllDeviceCertificateState withCertificateThumbprint(String certificateThumbprint)
Returns an immutable copy ofthiswith just thecertificateThumbprintfield 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.“Thumbprint”
- Parameters:
certificateThumbprint- new value ofcertificateThumbprintfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateThumbprintfield changed
-
getManagedDeviceDisplayName
public Optional<String> getManagedDeviceDisplayName()
“Device display name”- Returns:
- property managedDeviceDisplayName
-
withManagedDeviceDisplayName
public ManagedAllDeviceCertificateState withManagedDeviceDisplayName(String managedDeviceDisplayName)
Returns an immutable copy ofthiswith just themanagedDeviceDisplayNamefield 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.“Device display name”
- Parameters:
managedDeviceDisplayName- new value ofmanagedDeviceDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDeviceDisplayNamefield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User principal name”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public ManagedAllDeviceCertificateState withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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.“User principal name”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public ManagedAllDeviceCertificateState 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 ManagedAllDeviceCertificateState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedAllDeviceCertificateState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-