Package odata.msgraph.client.entity
Class ManagedIOSLobApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.ManagedApp
-
- odata.msgraph.client.entity.ManagedMobileLobApp
-
- odata.msgraph.client.entity.ManagedIOSLobApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedIOSLobApp extends ManagedMobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Managed iOS Line Of Business apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedIOSLobApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IosDeviceTypeapplicableDeviceTypeprotected StringbuildNumberprotected StringbundleIdprotected OffsetDateTimeexpirationDateTimeprotected IosMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringversionNumber-
Fields inherited from class odata.msgraph.client.entity.ManagedMobileLobApp
committedContentVersion, contentVersions, fileName, size
-
Fields inherited from class odata.msgraph.client.entity.ManagedApp
appAvailability, version
-
Fields inherited from class odata.msgraph.client.entity.MobileApp
assignments, createdDateTime, description, developer, displayName, informationUrl, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedIOSLobApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedIOSLobApp.BuilderbuilderManagedIOSLobApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<IosDeviceType>getApplicableDeviceType()“The iOS architecture for which this app can run on.”Optional<String>getBuildNumber()“The build number of managed iOS Line of Business (LoB) app.”Optional<String>getBundleId()“The Identity Name.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getExpirationDateTime()“The expiration time.”Optional<IosMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable operating system.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersionNumber()“The version number of managed iOS Line of Business (LoB) app.”StringodataTypeName()ManagedIOSLobApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedIOSLobAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedIOSLobAppwithApplicableDeviceType(IosDeviceType applicableDeviceType)Returns an immutable copy ofthiswith just theapplicableDeviceTypefield changed.ManagedIOSLobAppwithBuildNumber(String buildNumber)Returns an immutable copy ofthiswith just thebuildNumberfield changed.ManagedIOSLobAppwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.ManagedIOSLobAppwithExpirationDateTime(OffsetDateTime expirationDateTime)Returns an immutable copy ofthiswith just theexpirationDateTimefield changed.ManagedIOSLobAppwithMinimumSupportedOperatingSystem(IosMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.ManagedIOSLobAppwithUnmappedField(String name, Object value)ManagedIOSLobAppwithVersionNumber(String versionNumber)Returns an immutable copy ofthiswith just theversionNumberfield changed.-
Methods inherited from class odata.msgraph.client.entity.ManagedMobileLobApp
getCommittedContentVersion, getContentVersions, getFileName, getSize, withCommittedContentVersion, withContentVersions, withFileName, withSize
-
Methods inherited from class odata.msgraph.client.entity.ManagedApp
getAppAvailability, getVersion, withAppAvailability, withVersion
-
Methods inherited from class odata.msgraph.client.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDescription, getDeveloper, getDisplayName, getInformationUrl, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, withAssignments, withCreatedDateTime, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState
-
-
-
-
Field Detail
-
applicableDeviceType
protected IosDeviceType applicableDeviceType
-
buildNumber
protected String buildNumber
-
bundleId
protected String bundleId
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
minimumSupportedOperatingSystem
protected IosMinimumOperatingSystem minimumSupportedOperatingSystem
-
versionNumber
protected String versionNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedMobileLobApp
-
builderManagedIOSLobApp
public static ManagedIOSLobApp.Builder builderManagedIOSLobApp()
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classManagedMobileLobApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedMobileLobApp
-
getApplicableDeviceType
public Optional<IosDeviceType> getApplicableDeviceType()
“The iOS architecture for which this app can run on.”- Returns:
- property applicableDeviceType
-
withApplicableDeviceType
public ManagedIOSLobApp withApplicableDeviceType(IosDeviceType applicableDeviceType)
Returns an immutable copy ofthiswith just theapplicableDeviceTypefield 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 iOS architecture for which this app can run on.”
- Parameters:
applicableDeviceType- new value ofapplicableDeviceTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicableDeviceTypefield changed
-
getBuildNumber
public Optional<String> getBuildNumber()
“The build number of managed iOS Line of Business (LoB) app.”- Returns:
- property buildNumber
-
withBuildNumber
public ManagedIOSLobApp withBuildNumber(String buildNumber)
Returns an immutable copy ofthiswith just thebuildNumberfield 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 build number of managed iOS Line of Business (LoB) app.”
- Parameters:
buildNumber- new value ofbuildNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebuildNumberfield changed
-
withBundleId
public ManagedIOSLobApp withBundleId(String bundleId)
Returns an immutable copy ofthiswith just thebundleIdfield 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 Identity Name.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
“The expiration time.”- Returns:
- property expirationDateTime
-
withExpirationDateTime
public ManagedIOSLobApp withExpirationDateTime(OffsetDateTime expirationDateTime)
Returns an immutable copy ofthiswith just theexpirationDateTimefield 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 expiration time.”
- Parameters:
expirationDateTime- new value ofexpirationDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theexpirationDateTimefield changed
-
getMinimumSupportedOperatingSystem
public Optional<IosMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public ManagedIOSLobApp withMinimumSupportedOperatingSystem(IosMinimumOperatingSystem minimumSupportedOperatingSystem)
Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield 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 value for the minimum applicable operating system.”
- Parameters:
minimumSupportedOperatingSystem- new value ofminimumSupportedOperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumSupportedOperatingSystemfield changed
-
getVersionNumber
public Optional<String> getVersionNumber()
“The version number of managed iOS Line of Business (LoB) app.”- Returns:
- property versionNumber
-
withVersionNumber
public ManagedIOSLobApp withVersionNumber(String versionNumber)
Returns an immutable copy ofthiswith just theversionNumberfield 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 version number of managed iOS Line of Business (LoB) app.”
- Parameters:
versionNumber- new value ofversionNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionNumberfield changed
-
withUnmappedField
public ManagedIOSLobApp withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classManagedMobileLobApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedMobileLobApp
-
patch
public ManagedIOSLobApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedMobileLobApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedIOSLobApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedMobileLobApp- 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 classManagedMobileLobApp
-
-