Package odata.msgraph.client.beta.entity
Class DepOnboardingSetting
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DepOnboardingSetting
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DepOnboardingSetting extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The depOnboardingSetting represents an instance of the Apple DEP service being onboarded to Intune. The onboarded service instance manages an Apple Token used to synchronize data between Apple and Intune.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDepOnboardingSetting.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappleIdentifierprotected BooleandataSharingConsentGrantedprotected OffsetDateTimelastModifiedDateTimeprotected OffsetDateTimelastSuccessfulSyncDateTimeprotected IntegerlastSyncErrorCodeprotected OffsetDateTimelastSyncTriggeredDateTimeprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected BooleanshareTokenWithSchoolDataSyncServiceprotected IntegersyncedDeviceCountprotected OffsetDateTimetokenExpirationDateTimeprotected StringtokenNameprotected DepTokenTypetokenType-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDepOnboardingSetting()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DepOnboardingSetting.BuilderbuilderDepOnboardingSetting()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.ChangedFieldsgetChangedFields()Optional<Boolean>getDataSharingConsentGranted()“Consent granted for data sharing with Apple Dep Service”DepIOSEnrollmentProfileRequestgetDefaultIosEnrollmentProfile()“Default iOS Enrollment Profile”DepMacOSEnrollmentProfileRequestgetDefaultMacOsEnrollmentProfile()“Default MacOs Enrollment Profile”com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String>getEncryptionPublicKey()EnrollmentProfileCollectionRequestgetEnrollmentProfiles()“The enrollment profiles.”ImportedAppleDeviceIdentityCollectionRequestgetImportedAppleDeviceIdentities()“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.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DepOnboardingSettingpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DepOnboardingSettingput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnshareForSchoolDataSyncService()com.github.davidmoten.odata.client.ActionRequestNoReturnsyncWithAppleDeviceEnrollmentProgram()StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnunshareForSchoolDataSyncService()com.github.davidmoten.odata.client.ActionRequestNoReturnuploadDepToken(String appleId, String depToken)DepOnboardingSettingwithAppleIdentifier(String appleIdentifier)Returns an immutable copy ofthiswith just theappleIdentifierfield changed.DepOnboardingSettingwithDataSharingConsentGranted(Boolean dataSharingConsentGranted)Returns an immutable copy ofthiswith just thedataSharingConsentGrantedfield changed.DepOnboardingSettingwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.DepOnboardingSettingwithLastSuccessfulSyncDateTime(OffsetDateTime lastSuccessfulSyncDateTime)Returns an immutable copy ofthiswith just thelastSuccessfulSyncDateTimefield changed.DepOnboardingSettingwithLastSyncErrorCode(Integer lastSyncErrorCode)Returns an immutable copy ofthiswith just thelastSyncErrorCodefield changed.DepOnboardingSettingwithLastSyncTriggeredDateTime(OffsetDateTime lastSyncTriggeredDateTime)Returns an immutable copy ofthiswith just thelastSyncTriggeredDateTimefield changed.DepOnboardingSettingwithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.DepOnboardingSettingwithShareTokenWithSchoolDataSyncService(Boolean shareTokenWithSchoolDataSyncService)Returns an immutable copy ofthiswith just theshareTokenWithSchoolDataSyncServicefield changed.DepOnboardingSettingwithSyncedDeviceCount(Integer syncedDeviceCount)Returns an immutable copy ofthiswith just thesyncedDeviceCountfield changed.DepOnboardingSettingwithTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)Returns an immutable copy ofthiswith just thetokenExpirationDateTimefield changed.DepOnboardingSettingwithTokenName(String tokenName)Returns an immutable copy ofthiswith just thetokenNamefield changed.DepOnboardingSettingwithTokenType(DepTokenType tokenType)Returns an immutable copy ofthiswith just thetokenTypefield changed.DepOnboardingSettingwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
appleIdentifier
protected String appleIdentifier
-
dataSharingConsentGranted
protected Boolean dataSharingConsentGranted
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
lastSuccessfulSyncDateTime
protected OffsetDateTime lastSuccessfulSyncDateTime
-
lastSyncErrorCode
protected Integer lastSyncErrorCode
-
lastSyncTriggeredDateTime
protected OffsetDateTime lastSyncTriggeredDateTime
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
shareTokenWithSchoolDataSyncService
protected Boolean shareTokenWithSchoolDataSyncService
-
syncedDeviceCount
protected Integer syncedDeviceCount
-
tokenExpirationDateTime
protected OffsetDateTime tokenExpirationDateTime
-
tokenName
protected String tokenName
-
tokenType
protected DepTokenType tokenType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDepOnboardingSetting
public static DepOnboardingSetting.Builder builderDepOnboardingSetting()
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()
“The Apple ID used to obtain the current token.”- Returns:
- property appleIdentifier
-
withAppleIdentifier
public DepOnboardingSetting 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.“The Apple ID used to obtain the current token.”
- Parameters:
appleIdentifier- new value ofappleIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappleIdentifierfield changed
-
getDataSharingConsentGranted
public Optional<Boolean> getDataSharingConsentGranted()
“Consent granted for data sharing with Apple Dep Service”- Returns:
- property dataSharingConsentGranted
-
withDataSharingConsentGranted
public DepOnboardingSetting withDataSharingConsentGranted(Boolean dataSharingConsentGranted)
Returns an immutable copy ofthiswith just thedataSharingConsentGrantedfield 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.“Consent granted for data sharing with Apple Dep Service”
- Parameters:
dataSharingConsentGranted- new value ofdataSharingConsentGrantedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedataSharingConsentGrantedfield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“When the service was onboarded.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public DepOnboardingSetting 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.“When the service was onboarded.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getLastSuccessfulSyncDateTime
public Optional<OffsetDateTime> getLastSuccessfulSyncDateTime()
“When the service last syned with Intune”- Returns:
- property lastSuccessfulSyncDateTime
-
withLastSuccessfulSyncDateTime
public DepOnboardingSetting withLastSuccessfulSyncDateTime(OffsetDateTime lastSuccessfulSyncDateTime)
Returns an immutable copy ofthiswith just thelastSuccessfulSyncDateTimefield 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.“When the service last syned with Intune”
- Parameters:
lastSuccessfulSyncDateTime- new value oflastSuccessfulSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSuccessfulSyncDateTimefield changed
-
getLastSyncErrorCode
public Optional<Integer> getLastSyncErrorCode()
“Error code reported by Apple during last dep sync.”- Returns:
- property lastSyncErrorCode
-
withLastSyncErrorCode
public DepOnboardingSetting withLastSyncErrorCode(Integer lastSyncErrorCode)
Returns an immutable copy ofthiswith just thelastSyncErrorCodefield 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.“Error code reported by Apple during last dep sync.”
- Parameters:
lastSyncErrorCode- new value oflastSyncErrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncErrorCodefield changed
-
getLastSyncTriggeredDateTime
public Optional<OffsetDateTime> getLastSyncTriggeredDateTime()
“When Intune last requested a sync.”- Returns:
- property lastSyncTriggeredDateTime
-
withLastSyncTriggeredDateTime
public DepOnboardingSetting withLastSyncTriggeredDateTime(OffsetDateTime lastSyncTriggeredDateTime)
Returns an immutable copy ofthiswith just thelastSyncTriggeredDateTimefield 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.“When Intune last requested a sync.”
- Parameters:
lastSyncTriggeredDateTime- new value oflastSyncTriggeredDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncTriggeredDateTimefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public DepOnboardingSetting withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“List of Scope Tags for this Entity instance.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getShareTokenWithSchoolDataSyncService
public Optional<Boolean> getShareTokenWithSchoolDataSyncService()
“Whether or not the Dep token sharing is enabled with the School Data Sync service.”- Returns:
- property shareTokenWithSchoolDataSyncService
-
withShareTokenWithSchoolDataSyncService
public DepOnboardingSetting withShareTokenWithSchoolDataSyncService(Boolean shareTokenWithSchoolDataSyncService)
Returns an immutable copy ofthiswith just theshareTokenWithSchoolDataSyncServicefield 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.“Whether or not the Dep token sharing is enabled with the School Data Sync service.”
- Parameters:
shareTokenWithSchoolDataSyncService- new value ofshareTokenWithSchoolDataSyncServicefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theshareTokenWithSchoolDataSyncServicefield changed
-
getSyncedDeviceCount
public Optional<Integer> getSyncedDeviceCount()
“Gets synced device count”- Returns:
- property syncedDeviceCount
-
withSyncedDeviceCount
public DepOnboardingSetting withSyncedDeviceCount(Integer syncedDeviceCount)
Returns an immutable copy ofthiswith just thesyncedDeviceCountfield 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.“Gets synced device count”
- Parameters:
syncedDeviceCount- new value ofsyncedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesyncedDeviceCountfield changed
-
getTokenExpirationDateTime
public Optional<OffsetDateTime> getTokenExpirationDateTime()
“When the token will expire.”- Returns:
- property tokenExpirationDateTime
-
withTokenExpirationDateTime
public DepOnboardingSetting withTokenExpirationDateTime(OffsetDateTime tokenExpirationDateTime)
Returns an immutable copy ofthiswith just thetokenExpirationDateTimefield 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.“When the token will expire.”
- Parameters:
tokenExpirationDateTime- new value oftokenExpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetokenExpirationDateTimefield changed
-
getTokenName
public Optional<String> getTokenName()
“Friendly Name for Dep Token”- Returns:
- property tokenName
-
withTokenName
public DepOnboardingSetting withTokenName(String tokenName)
Returns an immutable copy ofthiswith just thetokenNamefield 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.“Friendly Name for Dep Token”
- Parameters:
tokenName- new value oftokenNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetokenNamefield changed
-
getTokenType
public Optional<DepTokenType> getTokenType()
“Gets or sets the Dep Token Type.”- Returns:
- property tokenType
-
withTokenType
public DepOnboardingSetting withTokenType(DepTokenType tokenType)
Returns an immutable copy ofthiswith just thetokenTypefield 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.“Gets or sets the Dep Token Type.”
- Parameters:
tokenType- new value oftokenTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetokenTypefield changed
-
withUnmappedField
public DepOnboardingSetting withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getDefaultIosEnrollmentProfile
public DepIOSEnrollmentProfileRequest getDefaultIosEnrollmentProfile()
“Default iOS Enrollment Profile”- Returns:
- navigational property defaultIosEnrollmentProfile
-
getDefaultMacOsEnrollmentProfile
public DepMacOSEnrollmentProfileRequest getDefaultMacOsEnrollmentProfile()
“Default MacOs Enrollment Profile”- Returns:
- navigational property defaultMacOsEnrollmentProfile
-
getEnrollmentProfiles
public EnrollmentProfileCollectionRequest getEnrollmentProfiles()
“The enrollment profiles.”- Returns:
- navigational property enrollmentProfiles
-
getImportedAppleDeviceIdentities
public ImportedAppleDeviceIdentityCollectionRequest getImportedAppleDeviceIdentities()
“The imported Apple device identities.”- Returns:
- navigational property importedAppleDeviceIdentities
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DepOnboardingSetting patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DepOnboardingSetting put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
generateEncryptionPublicKey
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> generateEncryptionPublicKey()
-
shareForSchoolDataSyncService
public com.github.davidmoten.odata.client.ActionRequestNoReturn shareForSchoolDataSyncService()
-
syncWithAppleDeviceEnrollmentProgram
public com.github.davidmoten.odata.client.ActionRequestNoReturn syncWithAppleDeviceEnrollmentProgram()
-
unshareForSchoolDataSyncService
public com.github.davidmoten.odata.client.ActionRequestNoReturn unshareForSchoolDataSyncService()
-
uploadDepToken
public com.github.davidmoten.odata.client.ActionRequestNoReturn uploadDepToken(String appleId, String depToken)
-
getEncryptionPublicKey
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<String> getEncryptionPublicKey()
-
-