Package odata.msgraph.client.beta.entity
Class ComplianceManagementPartner
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ComplianceManagementPartner
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ComplianceManagementPartner extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Compliance management partner for all platforms”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplianceManagementPartner.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<ComplianceManagementPartnerAssignment>androidEnrollmentAssignmentsprotected StringandroidEnrollmentAssignmentsNextLinkprotected BooleanandroidOnboardedprotected StringdisplayNameprotected List<ComplianceManagementPartnerAssignment>iosEnrollmentAssignmentsprotected StringiosEnrollmentAssignmentsNextLinkprotected BooleaniosOnboardedprotected OffsetDateTimelastHeartbeatDateTimeprotected List<ComplianceManagementPartnerAssignment>macOsEnrollmentAssignmentsprotected StringmacOsEnrollmentAssignmentsNextLinkprotected BooleanmacOsOnboardedprotected DeviceManagementPartnerTenantStatepartnerStateprotected List<ComplianceManagementPartnerAssignment>windowsEnrollmentAssignmentsprotected StringwindowsEnrollmentAssignmentsNextLinkprotected BooleanwindowsOnboarded-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedComplianceManagementPartner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComplianceManagementPartner.BuilderbuilderComplianceManagementPartner()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.CollectionPage<ComplianceManagementPartnerAssignment>getAndroidEnrollmentAssignments()“User groups which enroll Android devices through partner.”com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getAndroidEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)“User groups which enroll Android devices through partner.”Optional<Boolean>getAndroidOnboarded()“Partner onboarded for Android devices.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()“Partner display name”com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getIosEnrollmentAssignments()“User groups which enroll ios devices through partner.”com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getIosEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)“User groups which enroll ios devices through partner.”Optional<Boolean>getIosOnboarded()“Partner onboarded for ios devices.”Optional<OffsetDateTime>getLastHeartbeatDateTime()“Timestamp of last heartbeat after admin onboarded to the compliance management partner”com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getMacOsEnrollmentAssignments()“User groups which enroll Mac devices through partner.”com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getMacOsEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)“User groups which enroll Mac devices through partner.”Optional<Boolean>getMacOsOnboarded()“Partner onboarded for Mac devices.”Optional<DeviceManagementPartnerTenantState>getPartnerState()“Partner state of this tenant”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getWindowsEnrollmentAssignments()“User groups which enroll Windows devices through partner.”com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment>getWindowsEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)“User groups which enroll Windows devices through partner.”Optional<Boolean>getWindowsOnboarded()“Partner onboarded for Windows devices.”StringodataTypeName()ComplianceManagementPartnerpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ComplianceManagementPartnerput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ComplianceManagementPartnerwithAndroidEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> androidEnrollmentAssignments)Returns an immutable copy ofthiswith just theandroidEnrollmentAssignmentsfield changed.ComplianceManagementPartnerwithAndroidOnboarded(Boolean androidOnboarded)Returns an immutable copy ofthiswith just theandroidOnboardedfield changed.ComplianceManagementPartnerwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.ComplianceManagementPartnerwithIosEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> iosEnrollmentAssignments)Returns an immutable copy ofthiswith just theiosEnrollmentAssignmentsfield changed.ComplianceManagementPartnerwithIosOnboarded(Boolean iosOnboarded)Returns an immutable copy ofthiswith just theiosOnboardedfield changed.ComplianceManagementPartnerwithLastHeartbeatDateTime(OffsetDateTime lastHeartbeatDateTime)Returns an immutable copy ofthiswith just thelastHeartbeatDateTimefield changed.ComplianceManagementPartnerwithMacOsEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> macOsEnrollmentAssignments)Returns an immutable copy ofthiswith just themacOsEnrollmentAssignmentsfield changed.ComplianceManagementPartnerwithMacOsOnboarded(Boolean macOsOnboarded)Returns an immutable copy ofthiswith just themacOsOnboardedfield changed.ComplianceManagementPartnerwithPartnerState(DeviceManagementPartnerTenantState partnerState)Returns an immutable copy ofthiswith just thepartnerStatefield changed.ComplianceManagementPartnerwithUnmappedField(String name, String value)ComplianceManagementPartnerwithWindowsEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> windowsEnrollmentAssignments)Returns an immutable copy ofthiswith just thewindowsEnrollmentAssignmentsfield changed.ComplianceManagementPartnerwithWindowsOnboarded(Boolean windowsOnboarded)Returns an immutable copy ofthiswith just thewindowsOnboardedfield changed.
-
-
-
Field Detail
-
androidEnrollmentAssignments
protected List<ComplianceManagementPartnerAssignment> androidEnrollmentAssignments
-
androidEnrollmentAssignmentsNextLink
protected String androidEnrollmentAssignmentsNextLink
-
androidOnboarded
protected Boolean androidOnboarded
-
displayName
protected String displayName
-
iosEnrollmentAssignments
protected List<ComplianceManagementPartnerAssignment> iosEnrollmentAssignments
-
iosEnrollmentAssignmentsNextLink
protected String iosEnrollmentAssignmentsNextLink
-
iosOnboarded
protected Boolean iosOnboarded
-
lastHeartbeatDateTime
protected OffsetDateTime lastHeartbeatDateTime
-
macOsEnrollmentAssignments
protected List<ComplianceManagementPartnerAssignment> macOsEnrollmentAssignments
-
macOsEnrollmentAssignmentsNextLink
protected String macOsEnrollmentAssignmentsNextLink
-
macOsOnboarded
protected Boolean macOsOnboarded
-
partnerState
protected DeviceManagementPartnerTenantState partnerState
-
windowsEnrollmentAssignments
protected List<ComplianceManagementPartnerAssignment> windowsEnrollmentAssignments
-
windowsEnrollmentAssignmentsNextLink
protected String windowsEnrollmentAssignmentsNextLink
-
windowsOnboarded
protected Boolean windowsOnboarded
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderComplianceManagementPartner
public static ComplianceManagementPartner.Builder builderComplianceManagementPartner()
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
-
getAndroidEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getAndroidEnrollmentAssignments()
“User groups which enroll Android devices through partner.”- Returns:
- property androidEnrollmentAssignments
-
withAndroidEnrollmentAssignments
public ComplianceManagementPartner withAndroidEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> androidEnrollmentAssignments)
Returns an immutable copy ofthiswith just theandroidEnrollmentAssignmentsfield 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 groups which enroll Android devices through partner.”
- Parameters:
androidEnrollmentAssignments- new value ofandroidEnrollmentAssignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidEnrollmentAssignmentsfield changed
-
getAndroidEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getAndroidEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups which enroll Android devices through partner.”- Parameters:
options- specify connect and read timeouts- Returns:
- property androidEnrollmentAssignments
-
getAndroidOnboarded
public Optional<Boolean> getAndroidOnboarded()
“Partner onboarded for Android devices.”- Returns:
- property androidOnboarded
-
withAndroidOnboarded
public ComplianceManagementPartner withAndroidOnboarded(Boolean androidOnboarded)
Returns an immutable copy ofthiswith just theandroidOnboardedfield 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.“Partner onboarded for Android devices.”
- Parameters:
androidOnboarded- new value ofandroidOnboardedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidOnboardedfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Partner display name”- Returns:
- property displayName
-
withDisplayName
public ComplianceManagementPartner withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Partner display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getIosEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getIosEnrollmentAssignments()
“User groups which enroll ios devices through partner.”- Returns:
- property iosEnrollmentAssignments
-
withIosEnrollmentAssignments
public ComplianceManagementPartner withIosEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> iosEnrollmentAssignments)
Returns an immutable copy ofthiswith just theiosEnrollmentAssignmentsfield 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 groups which enroll ios devices through partner.”
- Parameters:
iosEnrollmentAssignments- new value ofiosEnrollmentAssignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiosEnrollmentAssignmentsfield changed
-
getIosEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getIosEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups which enroll ios devices through partner.”- Parameters:
options- specify connect and read timeouts- Returns:
- property iosEnrollmentAssignments
-
getIosOnboarded
public Optional<Boolean> getIosOnboarded()
“Partner onboarded for ios devices.”- Returns:
- property iosOnboarded
-
withIosOnboarded
public ComplianceManagementPartner withIosOnboarded(Boolean iosOnboarded)
Returns an immutable copy ofthiswith just theiosOnboardedfield 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.“Partner onboarded for ios devices.”
- Parameters:
iosOnboarded- new value ofiosOnboardedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theiosOnboardedfield changed
-
getLastHeartbeatDateTime
public Optional<OffsetDateTime> getLastHeartbeatDateTime()
“Timestamp of last heartbeat after admin onboarded to the compliance management partner”- Returns:
- property lastHeartbeatDateTime
-
withLastHeartbeatDateTime
public ComplianceManagementPartner withLastHeartbeatDateTime(OffsetDateTime lastHeartbeatDateTime)
Returns an immutable copy ofthiswith just thelastHeartbeatDateTimefield 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.“Timestamp of last heartbeat after admin onboarded to the compliance management partner”
- Parameters:
lastHeartbeatDateTime- new value oflastHeartbeatDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastHeartbeatDateTimefield changed
-
getMacOsEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getMacOsEnrollmentAssignments()
“User groups which enroll Mac devices through partner.”- Returns:
- property macOsEnrollmentAssignments
-
withMacOsEnrollmentAssignments
public ComplianceManagementPartner withMacOsEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> macOsEnrollmentAssignments)
Returns an immutable copy ofthiswith just themacOsEnrollmentAssignmentsfield 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 groups which enroll Mac devices through partner.”
- Parameters:
macOsEnrollmentAssignments- new value ofmacOsEnrollmentAssignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themacOsEnrollmentAssignmentsfield changed
-
getMacOsEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getMacOsEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups which enroll Mac devices through partner.”- Parameters:
options- specify connect and read timeouts- Returns:
- property macOsEnrollmentAssignments
-
getMacOsOnboarded
public Optional<Boolean> getMacOsOnboarded()
“Partner onboarded for Mac devices.”- Returns:
- property macOsOnboarded
-
withMacOsOnboarded
public ComplianceManagementPartner withMacOsOnboarded(Boolean macOsOnboarded)
Returns an immutable copy ofthiswith just themacOsOnboardedfield 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.“Partner onboarded for Mac devices.”
- Parameters:
macOsOnboarded- new value ofmacOsOnboardedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themacOsOnboardedfield changed
-
getPartnerState
public Optional<DeviceManagementPartnerTenantState> getPartnerState()
“Partner state of this tenant”- Returns:
- property partnerState
-
withPartnerState
public ComplianceManagementPartner withPartnerState(DeviceManagementPartnerTenantState partnerState)
Returns an immutable copy ofthiswith just thepartnerStatefield 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.“Partner state of this tenant”
- Parameters:
partnerState- new value ofpartnerStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepartnerStatefield changed
-
getWindowsEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getWindowsEnrollmentAssignments()
“User groups which enroll Windows devices through partner.”- Returns:
- property windowsEnrollmentAssignments
-
withWindowsEnrollmentAssignments
public ComplianceManagementPartner withWindowsEnrollmentAssignments(List<ComplianceManagementPartnerAssignment> windowsEnrollmentAssignments)
Returns an immutable copy ofthiswith just thewindowsEnrollmentAssignmentsfield 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 groups which enroll Windows devices through partner.”
- Parameters:
windowsEnrollmentAssignments- new value ofwindowsEnrollmentAssignmentsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsEnrollmentAssignmentsfield changed
-
getWindowsEnrollmentAssignments
public com.github.davidmoten.odata.client.CollectionPage<ComplianceManagementPartnerAssignment> getWindowsEnrollmentAssignments(com.github.davidmoten.odata.client.HttpRequestOptions options)
“User groups which enroll Windows devices through partner.”- Parameters:
options- specify connect and read timeouts- Returns:
- property windowsEnrollmentAssignments
-
getWindowsOnboarded
public Optional<Boolean> getWindowsOnboarded()
“Partner onboarded for Windows devices.”- Returns:
- property windowsOnboarded
-
withWindowsOnboarded
public ComplianceManagementPartner withWindowsOnboarded(Boolean windowsOnboarded)
Returns an immutable copy ofthiswith just thewindowsOnboardedfield 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.“Partner onboarded for Windows devices.”
- Parameters:
windowsOnboarded- new value ofwindowsOnboardedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsOnboardedfield changed
-
withUnmappedField
public ComplianceManagementPartner 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 ComplianceManagementPartner patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ComplianceManagementPartner put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-