Package odata.msgraph.client.entity
Class WindowsMicrosoftEdgeApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.WindowsMicrosoftEdgeApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsMicrosoftEdgeApp extends MobileApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for the Microsoft Edge app on Windows.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsMicrosoftEdgeApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected MicrosoftEdgeChannelchannelprotected StringdisplayLanguageLocale-
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 protectedWindowsMicrosoftEdgeApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsMicrosoftEdgeApp.BuilderbuilderWindowsMicrosoftEdgeApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<MicrosoftEdgeChannel>getChannel()“The channel to install on target devices.Optional<String>getDisplayLanguageLocale()“The language locale to use when the Edge app displays text to the user.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsMicrosoftEdgeApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsMicrosoftEdgeAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsMicrosoftEdgeAppwithChannel(MicrosoftEdgeChannel channel)Returns an immutable copy ofthiswith just thechannelfield changed.WindowsMicrosoftEdgeAppwithDisplayLanguageLocale(String displayLanguageLocale)Returns an immutable copy ofthiswith just thedisplayLanguageLocalefield changed.WindowsMicrosoftEdgeAppwithUnmappedField(String name, Object value)-
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
-
channel
protected MicrosoftEdgeChannel channel
-
displayLanguageLocale
protected String displayLanguageLocale
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileApp
-
builderWindowsMicrosoftEdgeApp
public static WindowsMicrosoftEdgeApp.Builder builderWindowsMicrosoftEdgeApp()
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
-
getChannel
public Optional<MicrosoftEdgeChannel> getChannel()
“The channel to install on target devices. The possible values are dev, beta, and stable. By default, this property is set to dev.”- Returns:
- property channel
-
withChannel
public WindowsMicrosoftEdgeApp withChannel(MicrosoftEdgeChannel channel)
Returns an immutable copy ofthiswith just thechannelfield 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 channel to install on target devices. The possible values are dev, beta, and stable. By default, this property is set to dev.”
- Parameters:
channel- new value ofchannelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thechannelfield changed
-
getDisplayLanguageLocale
public Optional<String> getDisplayLanguageLocale()
“The language locale to use when the Edge app displays text to the user.”- Returns:
- property displayLanguageLocale
-
withDisplayLanguageLocale
public WindowsMicrosoftEdgeApp withDisplayLanguageLocale(String displayLanguageLocale)
Returns an immutable copy ofthiswith just thedisplayLanguageLocalefield 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 language locale to use when the Edge app displays text to the user.”
- Parameters:
displayLanguageLocale- new value ofdisplayLanguageLocalefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayLanguageLocalefield changed
-
withUnmappedField
public WindowsMicrosoftEdgeApp 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 WindowsMicrosoftEdgeApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsMicrosoftEdgeApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-