Package odata.msgraph.client.beta.entity
Class ApplePushNotificationCertificate
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ApplePushNotificationCertificate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ApplePushNotificationCertificate extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Apple push notification certificate.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplePushNotificationCertificate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappleIdentifierprotected Stringcertificateprotected StringcertificateSerialNumberprotected StringcertificateUploadFailureReasonprotected StringcertificateUploadStatusprotected OffsetDateTimeexpirationDateTimeprotected OffsetDateTimelastModifiedDateTimeprotected StringtopicIdentifier-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplePushNotificationCertificate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplePushNotificationCertificate.BuilderbuilderApplePushNotificationCertificate()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.FunctionRequestReturningNonCollection<String>downloadApplePushNotificationCertificateSigningRequest()com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String>generateApplePushNotificationCertificateSigningRequest()Optional<String>getAppleIdentifier()“Apple Id of the account used to create the MDM push certificate.”Optional<String>getCertificate()Optional<String>getCertificateSerialNumber()“Certificate serial number.Optional<String>getCertificateUploadFailureReason()“The reason the certificate upload failed.”Optional<String>getCertificateUploadStatus()“The certificate upload status.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getExpirationDateTime()“The expiration date and time for Apple push notification certificate.”Optional<OffsetDateTime>getLastModifiedDateTime()“Last modified date and time for Apple push notification certificate.”Optional<String>getTopicIdentifier()“Topic Id.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ApplePushNotificationCertificatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ApplePushNotificationCertificateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ApplePushNotificationCertificatewithAppleIdentifier(String appleIdentifier)Returns an immutable copy ofthiswith just theappleIdentifierfield changed.ApplePushNotificationCertificatewithCertificate(String certificate)ApplePushNotificationCertificatewithCertificateSerialNumber(String certificateSerialNumber)Returns an immutable copy ofthiswith just thecertificateSerialNumberfield changed.ApplePushNotificationCertificatewithCertificateUploadFailureReason(String certificateUploadFailureReason)Returns an immutable copy ofthiswith just thecertificateUploadFailureReasonfield changed.ApplePushNotificationCertificatewithCertificateUploadStatus(String certificateUploadStatus)Returns an immutable copy ofthiswith just thecertificateUploadStatusfield changed.ApplePushNotificationCertificatewithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.ApplePushNotificationCertificatewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.ApplePushNotificationCertificatewithTopicIdentifier(String topicIdentifier)Returns an immutable copy ofthiswith just thetopicIdentifierfield changed.ApplePushNotificationCertificatewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
appleIdentifier
protected String appleIdentifier
-
certificate
protected String certificate
-
certificateSerialNumber
protected String certificateSerialNumber
-
certificateUploadFailureReason
protected String certificateUploadFailureReason
-
certificateUploadStatus
protected String certificateUploadStatus
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
topicIdentifier
protected String topicIdentifier
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderApplePushNotificationCertificate
public static ApplePushNotificationCertificate.Builder builderApplePushNotificationCertificate()
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
-
getAppleIdentifier
public Optional<String> getAppleIdentifier()
“Apple Id of the account used to create the MDM push certificate.”- Returns:
- property appleIdentifier
-
withAppleIdentifier
public ApplePushNotificationCertificate withAppleIdentifier(String appleIdentifier)
Returns an immutable copy ofthiswith just theappleIdentifierfield 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.“Apple Id of the account used to create the MDM push certificate.”
- Parameters:
appleIdentifier- new value ofappleIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappleIdentifierfield changed
-
withCertificate
public ApplePushNotificationCertificate withCertificate(String certificate)
-
getCertificateSerialNumber
public Optional<String> getCertificateSerialNumber()
“Certificate serial number. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property certificateSerialNumber
-
withCertificateSerialNumber
public ApplePushNotificationCertificate 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.“Certificate serial number. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
certificateSerialNumber- new value ofcertificateSerialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateSerialNumberfield changed
-
getCertificateUploadFailureReason
public Optional<String> getCertificateUploadFailureReason()
“The reason the certificate upload failed.”- Returns:
- property certificateUploadFailureReason
-
withCertificateUploadFailureReason
public ApplePushNotificationCertificate withCertificateUploadFailureReason(String certificateUploadFailureReason)
Returns an immutable copy ofthiswith just thecertificateUploadFailureReasonfield 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 reason the certificate upload failed.”
- Parameters:
certificateUploadFailureReason- new value ofcertificateUploadFailureReasonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateUploadFailureReasonfield changed
-
getCertificateUploadStatus
public Optional<String> getCertificateUploadStatus()
“The certificate upload status.”- Returns:
- property certificateUploadStatus
-
withCertificateUploadStatus
public ApplePushNotificationCertificate withCertificateUploadStatus(String certificateUploadStatus)
Returns an immutable copy ofthiswith just thecertificateUploadStatusfield 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 certificate upload status.”
- Parameters:
certificateUploadStatus- new value ofcertificateUploadStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecertificateUploadStatusfield changed
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“The expiration date and time for Apple push notification certificate.”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public ApplePushNotificationCertificate 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 expiration date and time for Apple push notification certificate.”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“Last modified date and time for Apple push notification certificate.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public ApplePushNotificationCertificate withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield 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.“Last modified date and time for Apple push notification certificate.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getTopicIdentifier
public Optional<String> getTopicIdentifier()
“Topic Id.”- Returns:
- property topicIdentifier
-
withTopicIdentifier
public ApplePushNotificationCertificate withTopicIdentifier(String topicIdentifier)
Returns an immutable copy ofthiswith just thetopicIdentifierfield 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.“Topic Id.”
- Parameters:
topicIdentifier- new value oftopicIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetopicIdentifierfield changed
-
withUnmappedField
public ApplePushNotificationCertificate 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 ApplePushNotificationCertificate patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ApplePushNotificationCertificate put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
generateApplePushNotificationCertificateSigningRequest
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> generateApplePushNotificationCertificateSigningRequest()
-
downloadApplePushNotificationCertificateSigningRequest
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> downloadApplePushNotificationCertificateSigningRequest()
-
-