Class TargetedManagedAppConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class TargetedManagedAppConfiguration
    extends ManagedAppConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Configuration used to deliver a set of custom settings as-is to all users in the targeted security group”
    • Constructor Detail

      • TargetedManagedAppConfiguration

        protected TargetedManagedAppConfiguration()
    • Method Detail

      • builderTargetedManagedAppConfiguration

        public static TargetedManagedAppConfiguration.Builder builderTargetedManagedAppConfiguration()
        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 ManagedAppConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class ManagedAppConfiguration
      • withAppGroupType

        public TargetedManagedAppConfiguration withAppGroupType​(TargetedManagedAppGroupType appGroupType)
        Returns an immutable copy of this with just the appGroupType 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.

        “Public Apps selection: group or individual”

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

        public Optional<Integer> getDeployedAppCount()
        “Count of apps to which the current policy is deployed.”
        Returns:
        property deployedAppCount
      • withDeployedAppCount

        public TargetedManagedAppConfiguration withDeployedAppCount​(Integer deployedAppCount)
        Returns an immutable copy of this with just the deployedAppCount 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.

        “Count of apps to which the current policy is deployed.”

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

        public Optional<Boolean> getIsAssigned()
        “Indicates if the policy is deployed to any inclusion groups or not.”
        Returns:
        property isAssigned
      • withIsAssigned

        public TargetedManagedAppConfiguration withIsAssigned​(Boolean isAssigned)
        Returns an immutable copy of this with just the isAssigned 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.

        “Indicates if the policy is deployed to any inclusion groups or not.”

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

        public ManagedAppPolicyDeploymentSummaryRequest getDeploymentSummary()
        “Navigation property to deployment summary of the configuration.”
        Returns:
        navigational property deploymentSummary
      • getUnmappedFields

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

        public TargetedManagedAppConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class ManagedAppConfiguration
        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 TargetedManagedAppConfiguration 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 ManagedAppConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected