Package odata.msgraph.client.entity
Class WebApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.WebApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WebApp extends MobileApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for web apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappUrlprotected BooleanuseManagedBrowser-
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 protectedWebApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebApp.BuilderbuilderWebApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppUrl()“The web app URL.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseManagedBrowser()“Whether or not to use managed browser.StringodataTypeName()WebApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WebAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WebAppwithAppUrl(String appUrl)Returns an immutable copy ofthiswith just theappUrlfield changed.WebAppwithUnmappedField(String name, Object value)WebAppwithUseManagedBrowser(Boolean useManagedBrowser)Returns an immutable copy ofthiswith just theuseManagedBrowserfield changed.-
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
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileApp
-
builderWebApp
public static WebApp.Builder builderWebApp()
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 classMobileApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileApp
-
getAppUrl
public Optional<String> getAppUrl()
“The web app URL. This property cannot be PATCHed.”- Returns:
- property appUrl
-
withAppUrl
public WebApp withAppUrl(String appUrl)
Returns an immutable copy ofthiswith just theappUrlfield 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 web app URL. This property cannot be PATCHed.”
- Parameters:
appUrl- new value ofappUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappUrlfield changed
-
getUseManagedBrowser
public Optional<Boolean> getUseManagedBrowser()
“Whether or not to use managed browser. This property is only applicable for Android and IOS.”- Returns:
- property useManagedBrowser
-
withUseManagedBrowser
public WebApp withUseManagedBrowser(Boolean useManagedBrowser)
Returns an immutable copy ofthiswith just theuseManagedBrowserfield 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.“Whether or not to use managed browser. This property is only applicable for Android and IOS.”
- Parameters:
useManagedBrowser- new value ofuseManagedBrowserfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuseManagedBrowserfield changed
-
withUnmappedField
public WebApp withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMobileApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileApp
-
patch
public WebApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WebApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-