Class DeviceConfigurationConflictSummary

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

    public class DeviceConfigurationConflictSummary
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Conflict summary for a set of device configuration policies.”
    • Field Detail

      • conflictingDeviceConfigurations

        protected List<SettingSource> conflictingDeviceConfigurations
      • conflictingDeviceConfigurationsNextLink

        protected String conflictingDeviceConfigurationsNextLink
      • contributingSettings

        protected List<String> contributingSettings
      • contributingSettingsNextLink

        protected String contributingSettingsNextLink
      • deviceCheckinsImpacted

        protected Integer deviceCheckinsImpacted
    • Constructor Detail

      • DeviceConfigurationConflictSummary

        protected DeviceConfigurationConflictSummary()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderDeviceConfigurationConflictSummary

        public static DeviceConfigurationConflictSummary.Builder builderDeviceConfigurationConflictSummary()
        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
      • getConflictingDeviceConfigurations

        public com.github.davidmoten.odata.client.CollectionPage<SettingSource> getConflictingDeviceConfigurations()
        “The set of policies in conflict with the given setting”
        Returns:
        property conflictingDeviceConfigurations
      • withConflictingDeviceConfigurations

        public DeviceConfigurationConflictSummary withConflictingDeviceConfigurations​(List<SettingSource> conflictingDeviceConfigurations)
        Returns an immutable copy of this with just the conflictingDeviceConfigurations 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 set of policies in conflict with the given setting”

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

        public com.github.davidmoten.odata.client.CollectionPage<SettingSource> getConflictingDeviceConfigurations​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The set of policies in conflict with the given setting”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property conflictingDeviceConfigurations
      • getContributingSettings

        public com.github.davidmoten.odata.client.CollectionPage<String> getContributingSettings()
        “The set of settings in conflict with the given policies”
        Returns:
        property contributingSettings
      • withContributingSettings

        public DeviceConfigurationConflictSummary withContributingSettings​(List<String> contributingSettings)
        Returns an immutable copy of this with just the contributingSettings 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 set of settings in conflict with the given policies”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getContributingSettings​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The set of settings in conflict with the given policies”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property contributingSettings
      • getDeviceCheckinsImpacted

        public Optional<Integer> getDeviceCheckinsImpacted()
        “The count of checkins impacted by the conflicting policies and settings”
        Returns:
        property deviceCheckinsImpacted
      • withDeviceCheckinsImpacted

        public DeviceConfigurationConflictSummary withDeviceCheckinsImpacted​(Integer deviceCheckinsImpacted)
        Returns an immutable copy of this with just the deviceCheckinsImpacted 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 count of checkins impacted by the conflicting policies and settings”

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