Package odata.msgraph.client.beta.entity
Class LinkedResource_v2
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.LinkedResource_v2
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class LinkedResource_v2 extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkedResource_v2.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationNameprotected StringdisplayNameprotected StringexternalIdprotected StringwebUrl-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLinkedResource_v2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkedResource_v2.BuilderbuilderLinkedResource_v2()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()LinkedResource_v2patch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)LinkedResource_v2put()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()LinkedResource_v2withApplicationName(String applicationName)LinkedResource_v2withDisplayName(String displayName)LinkedResource_v2withExternalId(String externalId)LinkedResource_v2withUnmappedField(String name, String value)LinkedResource_v2withWebUrl(String webUrl)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderLinkedResource_v2
public static LinkedResource_v2.Builder builderLinkedResource_v2()
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_v2 withApplicationName(String applicationName)
-
withDisplayName
public LinkedResource_v2 withDisplayName(String displayName)
-
withExternalId
public LinkedResource_v2 withExternalId(String externalId)
-
withWebUrl
public LinkedResource_v2 withWebUrl(String webUrl)
-
withUnmappedField
public LinkedResource_v2 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_v2 patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public LinkedResource_v2 put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-