Package odata.msgraph.client.entity
Class LinkedResource
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.LinkedResource
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class LinkedResource extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkedResource.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationNameprotected StringdisplayNameprotected StringexternalIdprotected StringwebUrl-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLinkedResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkedResource.BuilderbuilderLinkedResource()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getApplicationName()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()Optional<String>getExternalId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebUrl()StringodataTypeName()LinkedResourcepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)LinkedResourceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()LinkedResourcewithApplicationName(String applicationName)LinkedResourcewithDisplayName(String displayName)LinkedResourcewithExternalId(String externalId)LinkedResourcewithUnmappedField(String name, String value)LinkedResourcewithWebUrl(String webUrl)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderLinkedResource
public static LinkedResource.Builder builderLinkedResource()
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
-
withApplicationName
public LinkedResource withApplicationName(String applicationName)
-
withDisplayName
public LinkedResource withDisplayName(String displayName)
-
withExternalId
public LinkedResource withExternalId(String externalId)
-
withWebUrl
public LinkedResource withWebUrl(String webUrl)
-
withUnmappedField
public LinkedResource 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 LinkedResource patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public LinkedResource put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-