Package odata.msgraph.client.complex
Class ItemReference
- java.lang.Object
-
- odata.msgraph.client.complex.ItemReference
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ItemReference extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classItemReference.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdriveIdprotected StringdriveTypeprotected Stringidprotected Stringnameprotected StringodataTypeprotected Stringpathprotected StringshareIdprotected SharepointIdssharepointIdsprotected StringsiteIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedItemReference()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
driveId
protected String driveId
-
driveType
protected String driveType
-
id
protected String id
-
name
protected String name
-
path
protected String path
-
shareId
protected String shareId
-
sharepointIds
protected SharepointIds sharepointIds
-
siteId
protected String siteId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withDriveId
public ItemReference withDriveId(String driveId)
-
withDriveType
public ItemReference withDriveType(String driveType)
-
withId
public ItemReference withId(String id)
-
withName
public ItemReference withName(String name)
-
withPath
public ItemReference withPath(String path)
-
withShareId
public ItemReference withShareId(String shareId)
-
getSharepointIds
public Optional<SharepointIds> getSharepointIds()
-
withSharepointIds
public ItemReference withSharepointIds(SharepointIds sharepointIds)
-
withSiteId
public ItemReference withSiteId(String siteId)
-
withUnmappedField
public ItemReference withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ItemReference.Builder builder()
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
-
-