Class WindowsAppIdentifier
- java.lang.Object
-
- odata.msgraph.client.beta.complex.MobileAppIdentifier
-
- odata.msgraph.client.beta.complex.WindowsAppIdentifier
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsAppIdentifier extends MobileAppIdentifier implements com.github.davidmoten.odata.client.ODataType
“The identifier for a Windows app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsAppIdentifier.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringwindowsAppId-
Fields inherited from class odata.msgraph.client.beta.complex.MobileAppIdentifier
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsAppIdentifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsAppIdentifier.BuilderbuilderWindowsAppIdentifier()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.UnmappedFieldsgetUnmappedFields()Optional<String>getWindowsAppId()“The identifier for an app, as specified in the app store.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsAppIdentifierwithUnmappedField(String name, String value)WindowsAppIdentifierwithWindowsAppId(String windowsAppId)Returns an immutable copy ofthiswith just thewindowsAppIdfield changed.
-
-
-
Field Detail
-
windowsAppId
protected String windowsAppId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppIdentifier
-
getWindowsAppId
public Optional<String> getWindowsAppId()
“The identifier for an app, as specified in the app store.”- Returns:
- property windowsAppId
-
withWindowsAppId
public WindowsAppIdentifier withWindowsAppId(String windowsAppId)
Returns an immutable copy ofthiswith just thewindowsAppIdfield 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 identifier for an app, as specified in the app store.”
- Parameters:
windowsAppId- new value ofwindowsAppIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsAppIdfield changed
-
withUnmappedField
public WindowsAppIdentifier withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classMobileAppIdentifier
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileAppIdentifier
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileAppIdentifier
-
builderWindowsAppIdentifier
public static WindowsAppIdentifier.Builder builderWindowsAppIdentifier()
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
-
toString
public String toString()
- Overrides:
toStringin classMobileAppIdentifier
-
-