Class DeviceAndAppManagementAssignmentFilter

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    PayloadCompatibleAssignmentFilter

    public class DeviceAndAppManagementAssignmentFilter
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “A class containing the properties used for Assignment Filter.”
    • Constructor Detail

      • DeviceAndAppManagementAssignmentFilter

        protected DeviceAndAppManagementAssignmentFilter()
    • Method Detail

      • odataTypeName

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

        public static DeviceAndAppManagementAssignmentFilter.Builder builderDeviceAndAppManagementAssignmentFilter()
        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
      • getCreatedDateTime

        public Optional<OffsetDateTime> getCreatedDateTime()
        “Creation time of the Assignment Filter.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public DeviceAndAppManagementAssignmentFilter withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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.

        “Creation time of the Assignment Filter.”

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

        public Optional<String> getDescription()
        “Description of the Assignment Filter.”
        Returns:
        property description
      • withDescription

        public DeviceAndAppManagementAssignmentFilter withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “Description of the Assignment Filter.”

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

        public Optional<String> getDisplayName()
        “DisplayName of the Assignment Filter.”
        Returns:
        property displayName
      • withDisplayName

        public DeviceAndAppManagementAssignmentFilter 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.

        “DisplayName of the Assignment Filter.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “Last modified time of the Assignment Filter.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public DeviceAndAppManagementAssignmentFilter withLastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        Returns an immutable copy of this with just the lastModifiedDateTime 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.

        “Last modified time of the Assignment Filter.”

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

        public Optional<DevicePlatformType> getPlatform()
        “Platform type of the devices on which the Assignment Filter will be applicable.”
        Returns:
        property platform
      • withPlatform

        public DeviceAndAppManagementAssignmentFilter withPlatform​(DevicePlatformType platform)
        Returns an immutable copy of this with just the platform 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.

        “Platform type of the devices on which the Assignment Filter will be applicable.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTags()
        “RoleScopeTags of the Assignment Filter.”
        Returns:
        property roleScopeTags
      • withRoleScopeTags

        public DeviceAndAppManagementAssignmentFilter withRoleScopeTags​(List<String> roleScopeTags)
        Returns an immutable copy of this with just the roleScopeTags 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.

        “RoleScopeTags of the Assignment Filter.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTags​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “RoleScopeTags of the Assignment Filter.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTags
      • getRule

        public Optional<String> getRule()
        “Rule definition of the Assignment Filter.”
        Returns:
        property rule
      • withRule

        public DeviceAndAppManagementAssignmentFilter withRule​(String rule)
        Returns an immutable copy of this with just the rule 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.

        “Rule definition of the Assignment Filter.”

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