Class 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”
    • Constructor Detail

      • ComplianceManagementPartner

        protected ComplianceManagementPartner()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • 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 of this with just the androidEnrollmentAssignments 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.

        “User groups which enroll Android devices through partner.”

        Parameters:
        androidEnrollmentAssignments - new value of androidEnrollmentAssignments field (as defined in service metadata)
        Returns:
        immutable copy of this with just the androidEnrollmentAssignments field 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 of this with just the androidOnboarded 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.

        “Partner onboarded for Android devices.”

        Parameters:
        androidOnboarded - new value of androidOnboarded field (as defined in service metadata)
        Returns:
        immutable copy of this with just the androidOnboarded field changed
      • getDisplayName

        public Optional<String> getDisplayName()
        “Partner display name”
        Returns:
        property displayName
      • withDisplayName

        public ComplianceManagementPartner withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “Partner display name”

        Parameters:
        displayName - new value of displayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the displayName field 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 of this with just the iosEnrollmentAssignments 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.

        “User groups which enroll ios devices through partner.”

        Parameters:
        iosEnrollmentAssignments - new value of iosEnrollmentAssignments field (as defined in service metadata)
        Returns:
        immutable copy of this with just the iosEnrollmentAssignments field 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 of this with just the iosOnboarded 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.

        “Partner onboarded for ios devices.”

        Parameters:
        iosOnboarded - new value of iosOnboarded field (as defined in service metadata)
        Returns:
        immutable copy of this with just the iosOnboarded field 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 of this with just the lastHeartbeatDateTime 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.

        “Timestamp of last heartbeat after admin onboarded to the compliance management partner”

        Parameters:
        lastHeartbeatDateTime - new value of lastHeartbeatDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastHeartbeatDateTime field 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 of this with just the macOsEnrollmentAssignments 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.

        “User groups which enroll Mac devices through partner.”

        Parameters:
        macOsEnrollmentAssignments - new value of macOsEnrollmentAssignments field (as defined in service metadata)
        Returns:
        immutable copy of this with just the macOsEnrollmentAssignments field 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 of this with just the macOsOnboarded 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.

        “Partner onboarded for Mac devices.”

        Parameters:
        macOsOnboarded - new value of macOsOnboarded field (as defined in service metadata)
        Returns:
        immutable copy of this with just the macOsOnboarded field changed
      • withPartnerState

        public ComplianceManagementPartner withPartnerState​(DeviceManagementPartnerTenantState partnerState)
        Returns an immutable copy of this with just the partnerState 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.

        “Partner state of this tenant”

        Parameters:
        partnerState - new value of partnerState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the partnerState field 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 of this with just the windowsEnrollmentAssignments 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.

        “User groups which enroll Windows devices through partner.”

        Parameters:
        windowsEnrollmentAssignments - new value of windowsEnrollmentAssignments field (as defined in service metadata)
        Returns:
        immutable copy of this with just the windowsEnrollmentAssignments field 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 of this with just the windowsOnboarded 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.

        “Partner onboarded for Windows devices.”

        Parameters:
        windowsOnboarded - new value of windowsOnboarded field (as defined in service metadata)
        Returns:
        immutable copy of this with just the windowsOnboarded field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public ComplianceManagementPartner patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public ComplianceManagementPartner put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected