public class DepOnboardingSetting extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DepOnboardingSetting.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appleIdentifier |
protected Boolean |
dataSharingConsentGranted |
protected OffsetDateTime |
lastModifiedDateTime |
protected OffsetDateTime |
lastSuccessfulSyncDateTime |
protected Integer |
lastSyncErrorCode |
protected OffsetDateTime |
lastSyncTriggeredDateTime |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected Boolean |
shareTokenWithSchoolDataSyncService |
protected Integer |
syncedDeviceCount |
protected OffsetDateTime |
tokenExpirationDateTime |
protected String |
tokenName |
protected DepTokenType |
tokenType |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DepOnboardingSetting() |
| Modifier and Type | Method and Description |
|---|---|
static DepOnboardingSetting.Builder |
builderDepOnboardingSetting()
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.ActionRequestReturningNonCollection<String> |
generateEncryptionPublicKey() |
Optional<String> |
getAppleIdentifier()
“The Apple ID used to obtain the current token.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDataSharingConsentGranted()
“Consent granted for data sharing with Apple Dep Service”
|
DepIOSEnrollmentProfileRequest |
getDefaultIosEnrollmentProfile()
“Default iOS Enrollment Profile”
|
DepMacOSEnrollmentProfileRequest |
getDefaultMacOsEnrollmentProfile()
“Default MacOs Enrollment Profile”
|
com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> |
getEncryptionPublicKey() |
EnrollmentProfileCollectionRequest |
getEnrollmentProfiles()
“The enrollment profiles.”
|
ImportedAppleDeviceIdentityCollectionRequest |
getImportedAppleDeviceIdentities()
“The imported Apple device identities.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“When the service was onboarded.”
|
Optional<OffsetDateTime> |
getLastSuccessfulSyncDateTime()
“When the service last syned with Intune”
|
Optional<Integer> |
getLastSyncErrorCode()
“Error code reported by Apple during last dep sync.”
|
Optional<OffsetDateTime> |
getLastSyncTriggeredDateTime()
“When Intune last requested a sync.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”
|
Optional<Boolean> |
getShareTokenWithSchoolDataSyncService()
“Whether or not the Dep token sharing is enabled with the School Data Sync
service.”
|
Optional<Integer> |
getSyncedDeviceCount()
“Gets synced device count”
|
Optional<OffsetDateTime> |
getTokenExpirationDateTime()
“When the token will expire.”
|
Optional<String> |
getTokenName()
“Friendly Name for Dep Token”
|
Optional<DepTokenType> |
getTokenType()
“Gets or sets the Dep Token Type.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DepOnboardingSetting |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DepOnboardingSetting |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
shareForSchoolDataSyncService() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
syncWithAppleDeviceEnrollmentProgram() |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
unshareForSchoolDataSyncService() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
uploadDepToken(String appleId,
String depToken) |
DepOnboardingSetting |
withAppleIdentifier(String appleIdentifier)
Returns an immutable copy of
this with just the appleIdentifier
field changed. |
DepOnboardingSetting |
withDataSharingConsentGranted(Boolean dataSharingConsentGranted)
Returns an immutable copy of
this with just the dataSharingConsentGranted field changed. |
DepOnboardingSetting |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
DepOnboardingSetting |
withLastSuccessfulSyncDateTime(OffsetDateTime lastSuccessfulSyncDateTime)
Returns an immutable copy of
this with just the lastSuccessfulSyncDateTime field changed. |
DepOnboardingSetting |
withLastSyncErrorCode(Integer lastSyncErrorCode)
Returns an immutable copy of
this with just the lastSyncErrorCode
field changed. |
DepOnboardingSetting |
withLastSyncTriggeredDateTime(OffsetDateTime lastSyncTriggeredDateTime)
Returns an immutable copy of
this with just the lastSyncTriggeredDateTime field changed. |
DepOnboardingSetting |
withShareTokenWithSchoolDataSyncService(Boolean shareTokenWithSchoolDataSyncService)
Returns an immutable copy of
this with just the shareTokenWithSchoolDataSyncService field changed. |
DepOnboardingSetting |
withSyncedDeviceCount(Integer syncedDeviceCount)
Returns an immutable copy of
this with just the syncedDeviceCount
field changed. |
DepOnboardingSetting |
withTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)
Returns an immutable copy of
this with just the tokenExpirationDateTime field changed. |
DepOnboardingSetting |
withTokenName(String tokenName)
Returns an immutable copy of
this with just the tokenName field
changed. |
DepOnboardingSetting |
withTokenType(DepTokenType tokenType)
Returns an immutable copy of
this with just the tokenType field
changed. |
protected String appleIdentifier
protected OffsetDateTime tokenExpirationDateTime
protected OffsetDateTime lastModifiedDateTime
protected OffsetDateTime lastSuccessfulSyncDateTime
protected OffsetDateTime lastSyncTriggeredDateTime
protected Boolean shareTokenWithSchoolDataSyncService
protected Integer lastSyncErrorCode
protected DepTokenType tokenType
protected String tokenName
protected Integer syncedDeviceCount
protected Boolean dataSharingConsentGranted
protected String roleScopeTagIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DepOnboardingSetting.Builder builderDepOnboardingSetting()
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<String> getAppleIdentifier()
public DepOnboardingSetting withAppleIdentifier(String appleIdentifier)
this with just the appleIdentifier
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 Apple ID used to obtain the current token.”
appleIdentifier - new value of appleIdentifier field (as defined in service metadata)this with just the appleIdentifier field changedpublic Optional<OffsetDateTime> getTokenExpirationDateTime()
public DepOnboardingSetting withTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)
this with just the tokenExpirationDateTime 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.
“When the token will expire.”
tokenExpirationDateTime - new value of tokenExpirationDateTime field (as defined in service metadata)this with just the tokenExpirationDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public DepOnboardingSetting withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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.
“When the service was onboarded.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<OffsetDateTime> getLastSuccessfulSyncDateTime()
public DepOnboardingSetting withLastSuccessfulSyncDateTime(OffsetDateTime lastSuccessfulSyncDateTime)
this with just the lastSuccessfulSyncDateTime 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.
“When the service last syned with Intune”
lastSuccessfulSyncDateTime - new value of lastSuccessfulSyncDateTime field (as defined in service metadata)this with just the lastSuccessfulSyncDateTime field changedpublic Optional<OffsetDateTime> getLastSyncTriggeredDateTime()
public DepOnboardingSetting withLastSyncTriggeredDateTime(OffsetDateTime lastSyncTriggeredDateTime)
this with just the lastSyncTriggeredDateTime 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.
“When Intune last requested a sync.”
lastSyncTriggeredDateTime - new value of lastSyncTriggeredDateTime field (as defined in service metadata)this with just the lastSyncTriggeredDateTime field changedpublic Optional<Boolean> getShareTokenWithSchoolDataSyncService()
public DepOnboardingSetting withShareTokenWithSchoolDataSyncService(Boolean shareTokenWithSchoolDataSyncService)
this with just the shareTokenWithSchoolDataSyncService 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.
“Whether or not the Dep token sharing is enabled with the School Data Sync service.”
shareTokenWithSchoolDataSyncService - new value of shareTokenWithSchoolDataSyncService field (as defined in service metadata)this with just the shareTokenWithSchoolDataSyncService field changedpublic Optional<Integer> getLastSyncErrorCode()
public DepOnboardingSetting withLastSyncErrorCode(Integer lastSyncErrorCode)
this with just the lastSyncErrorCode
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.
“Error code reported by Apple during last dep sync.”
lastSyncErrorCode - new value of lastSyncErrorCode field (as defined in service metadata)this with just the lastSyncErrorCode field changedpublic Optional<DepTokenType> getTokenType()
public DepOnboardingSetting withTokenType(DepTokenType tokenType)
this with just the tokenType 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.
“Gets or sets the Dep Token Type.”
tokenType - new value of tokenType field (as defined in service metadata)this with just the tokenType field changedpublic Optional<String> getTokenName()
public DepOnboardingSetting withTokenName(String tokenName)
this with just the tokenName 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.
“Friendly Name for Dep Token”
tokenName - new value of tokenName field (as defined in service metadata)this with just the tokenName field changedpublic Optional<Integer> getSyncedDeviceCount()
public DepOnboardingSetting withSyncedDeviceCount(Integer syncedDeviceCount)
this with just the syncedDeviceCount
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.
“Gets synced device count”
syncedDeviceCount - new value of syncedDeviceCount field (as defined in service metadata)this with just the syncedDeviceCount field changedpublic Optional<Boolean> getDataSharingConsentGranted()
public DepOnboardingSetting withDataSharingConsentGranted(Boolean dataSharingConsentGranted)
this with just the dataSharingConsentGranted 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.
“Consent granted for data sharing with Apple Dep Service”
dataSharingConsentGranted - new value of dataSharingConsentGranted field (as defined in service metadata)this with just the dataSharingConsentGranted field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public DepIOSEnrollmentProfileRequest getDefaultIosEnrollmentProfile()
public DepMacOSEnrollmentProfileRequest getDefaultMacOsEnrollmentProfile()
public EnrollmentProfileCollectionRequest getEnrollmentProfiles()
public ImportedAppleDeviceIdentityCollectionRequest getImportedAppleDeviceIdentities()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DepOnboardingSetting patch()
this with changed fields reset.public DepOnboardingSetting put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> generateEncryptionPublicKey()
public com.github.davidmoten.odata.client.ActionRequestNoReturn uploadDepToken(String appleId, String depToken)
public com.github.davidmoten.odata.client.ActionRequestNoReturn syncWithAppleDeviceEnrollmentProgram()
public com.github.davidmoten.odata.client.ActionRequestNoReturn shareForSchoolDataSyncService()
public com.github.davidmoten.odata.client.ActionRequestNoReturn unshareForSchoolDataSyncService()
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> getEncryptionPublicKey()
Copyright © 2018–2020. All rights reserved.