public class Site extends BaseItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Site.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected Root |
root |
protected SharepointIds |
sharepointIds |
protected SiteCollection |
siteCollection |
createdBy, createdDateTime, description, eTag, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrlchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Site() |
| Modifier and Type | Method and Description |
|---|---|
static Site.Builder |
builderSite()
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.CollectionPageNonEntityRequest<ItemActivityStat> |
getActivitiesByInterval(String startDateTime,
String endDateTime,
String interval) |
ItemAnalyticsRequest |
getAnalytics() |
com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<Site> |
getByPath(String path) |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
ColumnDefinitionCollectionRequest |
getColumns() |
ContentTypeCollectionRequest |
getContentTypes() |
Optional<String> |
getDisplayName() |
DriveRequest |
getDrive() |
DriveCollectionRequest |
getDrives() |
BaseItemCollectionRequest |
getItems() |
ListCollectionRequest |
getLists() |
OnenoteRequest |
getOnenote() |
SitePageCollectionRequest |
getPages() |
Optional<Root> |
getRoot() |
Optional<SharepointIds> |
getSharepointIds() |
Optional<SiteCollection> |
getSiteCollection() |
SiteCollectionRequest |
getSites() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Site |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Site |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Site |
withDisplayName(String displayName) |
Site |
withRoot(Root root) |
Site |
withSharepointIds(SharepointIds sharepointIds) |
Site |
withSiteCollection(SiteCollection siteCollection) |
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, withCreatedBy, withCreatedDateTime, withDescription, withETag, withLastModifiedBy, withLastModifiedDateTime, withName, withParentReference, withWebUrlprotected String displayName
protected Root root
protected SharepointIds sharepointIds
protected SiteCollection siteCollection
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class BaseItempublic static Site.Builder builderSite()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class BaseItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class BaseItempublic Optional<SharepointIds> getSharepointIds()
public Site withSharepointIds(SharepointIds sharepointIds)
public Optional<SiteCollection> getSiteCollection()
public Site withSiteCollection(SiteCollection siteCollection)
public ItemAnalyticsRequest getAnalytics()
public ColumnDefinitionCollectionRequest getColumns()
public ContentTypeCollectionRequest getContentTypes()
public DriveRequest getDrive()
public DriveCollectionRequest getDrives()
public BaseItemCollectionRequest getItems()
public ListCollectionRequest getLists()
public SitePageCollectionRequest getPages()
public SiteCollectionRequest getSites()
public OnenoteRequest getOnenote()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class BaseItempublic Site patch()
this with changed fields reset.public Site put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ItemActivityStat> getActivitiesByInterval(String startDateTime, String endDateTime, String interval)
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<Site> getByPath(String path)
Copyright © 2018–2020. All rights reserved.