Class MobileApp

    • Field Detail

      • dependentAppCount

        protected Integer dependentAppCount
      • description

        protected String description
      • developer

        protected String developer
      • displayName

        protected String displayName
      • informationUrl

        protected String informationUrl
      • isAssigned

        protected Boolean isAssigned
      • isFeatured

        protected Boolean isFeatured
      • notes

        protected String notes
      • owner

        protected String owner
      • privacyInformationUrl

        protected String privacyInformationUrl
      • publisher

        protected String publisher
      • roleScopeTagIds

        protected List<String> roleScopeTagIds
      • roleScopeTagIdsNextLink

        protected String roleScopeTagIdsNextLink
      • supersededAppCount

        protected Integer supersededAppCount
      • supersedingAppCount

        protected Integer supersedingAppCount
      • uploadState

        protected Integer uploadState
    • Constructor Detail

      • MobileApp

        protected MobileApp()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • 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 date and time the app was created.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public MobileApp 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 date and time the app was created.”

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

        public Optional<Integer> getDependentAppCount()
        “The total number of dependencies the child app has.”
        Returns:
        property dependentAppCount
      • withDependentAppCount

        public MobileApp withDependentAppCount​(Integer dependentAppCount)
        Returns an immutable copy of this with just the dependentAppCount 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 total number of dependencies the child app has.”

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

        public Optional<String> getDescription()
        “The description of the app.”
        Returns:
        property description
      • withDescription

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

        “The description of the app.”

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

        public Optional<String> getDeveloper()
        “The developer of the app.”
        Returns:
        property developer
      • withDeveloper

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

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

        public Optional<String> getDisplayName()
        “The admin provided or imported title of the app.”
        Returns:
        property displayName
      • withDisplayName

        public MobileApp 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 admin provided or imported title of the app.”

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

        public Optional<String> getInformationUrl()
        “The more information Url.”
        Returns:
        property informationUrl
      • withInformationUrl

        public MobileApp withInformationUrl​(String informationUrl)
        Returns an immutable copy of this with just the informationUrl 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 more information Url.”

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

        public Optional<Boolean> getIsAssigned()
        “The value indicating whether the app is assigned to at least one group.”
        Returns:
        property isAssigned
      • withIsAssigned

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

        “The value indicating whether the app is assigned to at least one group.”

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

        public Optional<Boolean> getIsFeatured()
        “The value indicating whether the app is marked as featured by the admin.”
        Returns:
        property isFeatured
      • withIsFeatured

        public MobileApp withIsFeatured​(Boolean isFeatured)
        Returns an immutable copy of this with just the isFeatured 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 value indicating whether the app is marked as featured by the admin.”

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

        public Optional<MimeContent> getLargeIcon()
        “The large icon, to be displayed in the app details and used for upload of the icon.”
        Returns:
        property largeIcon
      • withLargeIcon

        public MobileApp withLargeIcon​(MimeContent largeIcon)
        Returns an immutable copy of this with just the largeIcon 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 large icon, to be displayed in the app details and used for upload of the icon.”

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

        public Optional<OffsetDateTime> getLastModifiedDateTime()
        “The date and time the app was last modified.”
        Returns:
        property lastModifiedDateTime
      • withLastModifiedDateTime

        public MobileApp 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 date and time the app was last modified.”

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

        public Optional<String> getNotes()
        “Notes for the app.”
        Returns:
        property notes
      • withNotes

        public MobileApp withNotes​(String notes)
        Returns an immutable copy of this with just the notes 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.

        “Notes for the app.”

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

        public Optional<String> getOwner()
        “The owner of the app.”
        Returns:
        property owner
      • withOwner

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

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

        public Optional<String> getPrivacyInformationUrl()
        “The privacy statement Url.”
        Returns:
        property privacyInformationUrl
      • withPrivacyInformationUrl

        public MobileApp withPrivacyInformationUrl​(String privacyInformationUrl)
        Returns an immutable copy of this with just the privacyInformationUrl 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 privacy statement Url.”

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

        public Optional<String> getPublisher()
        “The publisher of the app.”
        Returns:
        property publisher
      • withPublisher

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

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

        public Optional<MobileAppPublishingState> getPublishingState()
        “The publishing state for the app. The app cannot be assigned unless the app is published.”
        Returns:
        property publishingState
      • withPublishingState

        public MobileApp withPublishingState​(MobileAppPublishingState publishingState)
        Returns an immutable copy of this with just the publishingState 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 publishing state for the app. The app cannot be assigned unless the app is published.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
        “List of scope tag ids for this mobile app.”
        Returns:
        property roleScopeTagIds
      • withRoleScopeTagIds

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

        “List of scope tag ids for this mobile app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of scope tag ids for this mobile app.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • getSupersededAppCount

        public Optional<Integer> getSupersededAppCount()
        “The total number of apps this app is directly or indirectly superseded by.”
        Returns:
        property supersededAppCount
      • withSupersededAppCount

        public MobileApp withSupersededAppCount​(Integer supersededAppCount)
        Returns an immutable copy of this with just the supersededAppCount 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 total number of apps this app is directly or indirectly superseded by.”

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

        public Optional<Integer> getSupersedingAppCount()
        “The total number of apps this app directly or indirectly supersedes.”
        Returns:
        property supersedingAppCount
      • withSupersedingAppCount

        public MobileApp withSupersedingAppCount​(Integer supersedingAppCount)
        Returns an immutable copy of this with just the supersedingAppCount 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 total number of apps this app directly or indirectly supersedes.”

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

        public Optional<Integer> getUploadState()
        “The upload state. Possible values are: 0 - `Not Ready`, 1 - `Ready`, 2 - ` Processing`.”
        Returns:
        property uploadState
      • withUploadState

        public MobileApp withUploadState​(Integer uploadState)
        Returns an immutable copy of this with just the uploadState 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 upload state. Possible values are: 0 - `Not Ready`, 1 - `Ready`, 2 - ` Processing`.”

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

        public MobileAppInstallSummaryRequest getInstallSummary()
        “Mobile App Install Summary.”
        Returns:
        navigational property installSummary
      • getUserStatuses

        public UserAppInstallStatusCollectionRequest getUserStatuses()
        “The list of installation states for this mobile app.”
        Returns:
        navigational property userStatuses
      • 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 MobileApp 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 MobileApp 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
      • assign

        public com.github.davidmoten.odata.client.ActionRequestNoReturn assign​(List<MobileAppAssignment> mobileAppAssignments)
      • updateRelationships

        public com.github.davidmoten.odata.client.ActionRequestNoReturn updateRelationships​(List<MobileAppRelationship> relationships)
      • getRelatedAppStates

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MobileAppRelationshipState> getRelatedAppStates​(String userPrincipalName,
                                                                                                                                 String deviceId)