Package odata.msgraph.client.beta.entity
Class ManagedMobileLobApp
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileApp
-
- odata.msgraph.client.beta.entity.ManagedApp
-
- odata.msgraph.client.beta.entity.ManagedMobileLobApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
ManagedAndroidLobApp,ManagedIOSLobApp
public class ManagedMobileLobApp extends ManagedApp implements com.github.davidmoten.odata.client.ODataEntityType
“An abstract base class containing properties for all managed mobile line of business apps.”
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcommittedContentVersionprotected StringfileNameprotected Longsize-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedApp
appAvailability, version
-
Fields inherited from class odata.msgraph.client.beta.entity.MobileApp
createdDateTime, dependentAppCount, description, developer, displayName, informationUrl, isAssigned, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState, roleScopeTagIds, roleScopeTagIdsNextLink, supersededAppCount, supersedingAppCount, uploadState
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedMobileLobApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getCommittedContentVersion()“The internal committed content version.”MobileAppContentCollectionRequestgetContentVersions()“The list of content versions for this app.”Optional<String>getFileName()“The name of the main Lob application file.”Optional<Long>getSize()“The total size, including all uploaded files.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedMobileLobApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedMobileLobAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedMobileLobAppwithCommittedContentVersion(String committedContentVersion)Returns an immutable copy ofthiswith just thecommittedContentVersionfield changed.ManagedMobileLobAppwithFileName(String fileName)Returns an immutable copy ofthiswith just thefileNamefield changed.ManagedMobileLobAppwithSize(Long size)Returns an immutable copy ofthiswith just thesizefield changed.ManagedMobileLobAppwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedApp
getAppAvailability, getVersion, withAppAvailability, withVersion
-
Methods inherited from class odata.msgraph.client.beta.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDependentAppCount, getDescription, getDeveloper, getDeviceStatuses, getDisplayName, getInformationUrl, getInstallSummary, getIsAssigned, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, getRelatedAppStates, getRelationships, getRoleScopeTagIds, getRoleScopeTagIds, getSupersededAppCount, getSupersedingAppCount, getUploadState, getUserStatuses, updateRelationships, withCreatedDateTime, withDependentAppCount, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsAssigned, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState, withRoleScopeTagIds, withSupersededAppCount, withSupersedingAppCount, withUploadState
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedApp
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classManagedApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedApp
-
getCommittedContentVersion
public Optional<String> getCommittedContentVersion()
“The internal committed content version.”- Returns:
- property committedContentVersion
-
withCommittedContentVersion
public ManagedMobileLobApp withCommittedContentVersion(String committedContentVersion)
Returns an immutable copy ofthiswith just thecommittedContentVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The internal committed content version.”
- Parameters:
committedContentVersion- new value ofcommittedContentVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecommittedContentVersionfield changed
-
getFileName
public Optional<String> getFileName()
“The name of the main Lob application file.”- Returns:
- property fileName
-
withFileName
public ManagedMobileLobApp withFileName(String fileName)
Returns an immutable copy ofthiswith just thefileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The name of the main Lob application file.”
- Parameters:
fileName- new value offileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileNamefield changed
-
getSize
public Optional<Long> getSize()
“The total size, including all uploaded files.”- Returns:
- property size
-
withSize
public ManagedMobileLobApp withSize(Long size)
Returns an immutable copy ofthiswith just thesizefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The total size, including all uploaded files.”
- Parameters:
size- new value ofsizefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesizefield changed
-
withUnmappedField
public ManagedMobileLobApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagedApp
-
getContentVersions
public MobileAppContentCollectionRequest getContentVersions()
“The list of content versions for this app.”- Returns:
- navigational property contentVersions
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedApp
-
patch
public ManagedMobileLobApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedMobileLobApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classManagedApp
-
-