Class AppVulnerabilityMobileApp

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

    public class AppVulnerabilityMobileApp
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “An app vulnerability mobile app.”
    • Field Detail

      • displayName

        protected String displayName
      • mobileAppId

        protected String mobileAppId
      • mobileAppType

        protected String mobileAppType
      • version

        protected String version
    • Constructor Detail

      • AppVulnerabilityMobileApp

        protected AppVulnerabilityMobileApp()
    • Method Detail

      • odataTypeName

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

        public static AppVulnerabilityMobileApp.Builder builderAppVulnerabilityMobileApp()
        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()
        “The created date.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

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

        “The created date.”

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

        public Optional<String> getDisplayName()
        “The device name.”
        Returns:
        property displayName
      • withDisplayName

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

        “The device name.”

        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()
        “The last modified date.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

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

        “The last modified date.”

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

        public Optional<String> getMobileAppId()
        “The Intune mobile app ID.”
        Returns:
        property mobileAppId
      • withMobileAppId

        public AppVulnerabilityMobileApp withMobileAppId​(String mobileAppId)
        Returns an immutable copy of this with just the mobileAppId 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 Intune mobile app ID.”

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

        public Optional<String> getMobileAppType()
        “The app type.”
        Returns:
        property mobileAppType
      • withMobileAppType

        public AppVulnerabilityMobileApp withMobileAppType​(String mobileAppType)
        Returns an immutable copy of this with just the mobileAppType 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 app type.”

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

        public Optional<String> getVersion()
        “The app version.”
        Returns:
        property version
      • withVersion

        public AppVulnerabilityMobileApp withVersion​(String version)
        Returns an immutable copy of this with just the version 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 app version.”

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