Package odata.msgraph.client.entity
Class ManagedMobileApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedMobileApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedMobileApp extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“The identifier for the deployment an app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedMobileApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected MobileAppIdentifiermobileAppIdentifierprotected Stringversion-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedMobileApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedMobileApp.BuilderbuilderManagedMobileApp()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<MobileAppIdentifier>getMobileAppIdentifier()“The identifier for an app with it's operating system type.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersion()“Version of the entity.”StringodataTypeName()ManagedMobileApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedMobileAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedMobileAppwithMobileAppIdentifier(MobileAppIdentifier mobileAppIdentifier)Returns an immutable copy ofthiswith just themobileAppIdentifierfield changed.ManagedMobileAppwithUnmappedField(String name, Object value)ManagedMobileAppwithVersion(String version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
mobileAppIdentifier
protected MobileAppIdentifier mobileAppIdentifier
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderManagedMobileApp
public static ManagedMobileApp.Builder builderManagedMobileApp()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getMobileAppIdentifier
public Optional<MobileAppIdentifier> getMobileAppIdentifier()
“The identifier for an app with it's operating system type.”- Returns:
- property mobileAppIdentifier
-
withMobileAppIdentifier
public ManagedMobileApp withMobileAppIdentifier(MobileAppIdentifier mobileAppIdentifier)
Returns an immutable copy ofthiswith just themobileAppIdentifierfield 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 with it's operating system type.”
- Parameters:
mobileAppIdentifier- new value ofmobileAppIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileAppIdentifierfield changed
-
withVersion
public ManagedMobileApp withVersion(String version)
Returns an immutable copy ofthiswith just theversionfield 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.“Version of the entity.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public ManagedMobileApp withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ManagedMobileApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ManagedMobileApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-