Package odata.msgraph.client.beta.entity
Class MobileAppRelationship
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileAppRelationship
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
MobileAppDependency,MobileAppSupersedence
public class MobileAppRelationship extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Describes a relationship between two mobile apps.”
-
-
Field Summary
Fields Modifier and Type Field Description protected StringtargetDisplayNameprotected StringtargetDisplayVersionprotected StringtargetIdprotected StringtargetPublisherprotected MobileAppRelationshipTypetargetType-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMobileAppRelationship()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getTargetDisplayName()“The target mobile app's display name.”Optional<String>getTargetDisplayVersion()“The target mobile app's display version.”Optional<String>getTargetId()“The target mobile app's app id.”Optional<String>getTargetPublisher()“The target mobile app's publisher.”Optional<MobileAppRelationshipType>getTargetType()“The type of relationship indicating whether the target is a parent or child.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MobileAppRelationshippatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MobileAppRelationshipput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MobileAppRelationshipwithTargetDisplayName(String targetDisplayName)Returns an immutable copy ofthiswith just thetargetDisplayNamefield changed.MobileAppRelationshipwithTargetDisplayVersion(String targetDisplayVersion)Returns an immutable copy ofthiswith just thetargetDisplayVersionfield changed.MobileAppRelationshipwithTargetId(String targetId)Returns an immutable copy ofthiswith just thetargetIdfield changed.MobileAppRelationshipwithTargetPublisher(String targetPublisher)Returns an immutable copy ofthiswith just thetargetPublisherfield changed.MobileAppRelationshipwithTargetType(MobileAppRelationshipType targetType)Returns an immutable copy ofthiswith just thetargetTypefield changed.MobileAppRelationshipwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
targetDisplayName
protected String targetDisplayName
-
targetDisplayVersion
protected String targetDisplayVersion
-
targetId
protected String targetId
-
targetPublisher
protected String targetPublisher
-
targetType
protected MobileAppRelationshipType targetType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getTargetDisplayName
public Optional<String> getTargetDisplayName()
“The target mobile app's display name.”- Returns:
- property targetDisplayName
-
withTargetDisplayName
public MobileAppRelationship withTargetDisplayName(String targetDisplayName)
Returns an immutable copy ofthiswith just thetargetDisplayNamefield 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 target mobile app's display name.”
- Parameters:
targetDisplayName- new value oftargetDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetDisplayNamefield changed
-
getTargetDisplayVersion
public Optional<String> getTargetDisplayVersion()
“The target mobile app's display version.”- Returns:
- property targetDisplayVersion
-
withTargetDisplayVersion
public MobileAppRelationship withTargetDisplayVersion(String targetDisplayVersion)
Returns an immutable copy ofthiswith just thetargetDisplayVersionfield 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 target mobile app's display version.”
- Parameters:
targetDisplayVersion- new value oftargetDisplayVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetDisplayVersionfield changed
-
getTargetId
public Optional<String> getTargetId()
“The target mobile app's app id.”- Returns:
- property targetId
-
withTargetId
public MobileAppRelationship withTargetId(String targetId)
Returns an immutable copy ofthiswith just thetargetIdfield 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 target mobile app's app id.”
- Parameters:
targetId- new value oftargetIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetIdfield changed
-
getTargetPublisher
public Optional<String> getTargetPublisher()
“The target mobile app's publisher.”- Returns:
- property targetPublisher
-
withTargetPublisher
public MobileAppRelationship withTargetPublisher(String targetPublisher)
Returns an immutable copy ofthiswith just thetargetPublisherfield 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 target mobile app's publisher.”
- Parameters:
targetPublisher- new value oftargetPublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetPublisherfield changed
-
getTargetType
public Optional<MobileAppRelationshipType> getTargetType()
“The type of relationship indicating whether the target is a parent or child.”- Returns:
- property targetType
-
withTargetType
public MobileAppRelationship withTargetType(MobileAppRelationshipType targetType)
Returns an immutable copy ofthiswith just thetargetTypefield 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 type of relationship indicating whether the target is a parent or child.”
- Parameters:
targetType- new value oftargetTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetTypefield changed
-
withUnmappedField
public MobileAppRelationship withUnmappedField(String name, String 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 MobileAppRelationship patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MobileAppRelationship put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-