Package odata.msgraph.client.complex
Class AndroidMobileAppIdentifier
- java.lang.Object
-
- odata.msgraph.client.complex.MobileAppIdentifier
-
- odata.msgraph.client.complex.AndroidMobileAppIdentifier
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AndroidMobileAppIdentifier extends MobileAppIdentifier implements com.github.davidmoten.odata.client.ODataType
“The identifier for an Android app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidMobileAppIdentifier.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringpackageId-
Fields inherited from class odata.msgraph.client.complex.MobileAppIdentifier
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidMobileAppIdentifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidMobileAppIdentifier.BuilderbuilderAndroidMobileAppIdentifier()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getPackageId()“The identifier for an app, as specified in the play store.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AndroidMobileAppIdentifierwithPackageId(String packageId)Returns an immutable copy ofthiswith just thepackageIdfield changed.AndroidMobileAppIdentifierwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
packageId
protected String packageId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileAppIdentifier
-
getPackageId
public Optional<String> getPackageId()
“The identifier for an app, as specified in the play store.”- Returns:
- property packageId
-
withPackageId
public AndroidMobileAppIdentifier withPackageId(String packageId)
Returns an immutable copy ofthiswith just thepackageIdfield 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 play store.”
- Parameters:
packageId- new value ofpackageIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepackageIdfield changed
-
withUnmappedField
public AndroidMobileAppIdentifier 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
-
builderAndroidMobileAppIdentifier
public static AndroidMobileAppIdentifier.Builder builderAndroidMobileAppIdentifier()
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
-
-