MicrosoftGraphSite Class

public final class MicrosoftGraphSite
extends MicrosoftGraphBaseItemInner

site.

Constructor Summary

Constructor Description
MicrosoftGraphSite()

Creates an instance of MicrosoftGraphSite class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: site.

MicrosoftGraphItemAnalytics analytics()

Get the analytics property: itemAnalytics.

List<MicrosoftGraphColumnDefinition> columns()

Get the columns property: The collection of column definitions reusable across lists under this site.

List<MicrosoftGraphContentType> contentTypes()

Get the contentTypes property: The collection of content types defined for this site.

String displayName()

Get the displayName property: The full title for the site.

MicrosoftGraphDrive drive()

Get the drive property: drive.

List<MicrosoftGraphDrive> drives()

Get the drives property: The collection of drives (document libraries) under this site.

MicrosoftGraphPublicError error()

Get the error property: publicError.

List<MicrosoftGraphBaseItemInner> items()

Get the items property: Used to address any item contained in this site.

List<MicrosoftGraphList> lists()

Get the lists property: The collection of lists under this site.

MicrosoftGraphOnenote onenote()

Get the onenote property: onenote.

Map<String,Object> root()

Get the root property: root.

MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

MicrosoftGraphSiteCollection siteCollection()

Get the siteCollection property: siteCollection.

List<MicrosoftGraphSite> sites()

Get the sites property: The collection of the sub-sites under this site.

void validate()

Validates the instance.

MicrosoftGraphSite withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: site.

MicrosoftGraphSite withAnalytics(MicrosoftGraphItemAnalytics analytics)

Set the analytics property: itemAnalytics.

MicrosoftGraphSite withColumns(List<MicrosoftGraphColumnDefinition> columns)

Set the columns property: The collection of column definitions reusable across lists under this site.

MicrosoftGraphSite withContentTypes(List<MicrosoftGraphContentType> contentTypes)

Set the contentTypes property: The collection of content types defined for this site.

MicrosoftGraphSite withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphSite withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Set the createdByUser property: user

MicrosoftGraphSite withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of item creation.

MicrosoftGraphSite withDescription(String description)

Set the description property: Provides a user-visible description of the item.

MicrosoftGraphSite withDisplayName(String displayName)

Set the displayName property: The full title for the site.

MicrosoftGraphSite withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

MicrosoftGraphSite withDrives(List<MicrosoftGraphDrive> drives)

Set the drives property: The collection of drives (document libraries) under this site.

MicrosoftGraphSite withError(MicrosoftGraphPublicError error)

Set the error property: publicError.

MicrosoftGraphSite withEtag(String etag)

Set the etag property: ETag for the item.

MicrosoftGraphSite withId(String id)

Set the id property: Read-only.

MicrosoftGraphSite withItems(List<MicrosoftGraphBaseItemInner> items)

Set the items property: Used to address any item contained in this site.

MicrosoftGraphSite withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphSite withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Set the lastModifiedByUser property: user

MicrosoftGraphSite withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the item was last modified.

MicrosoftGraphSite withLists(List<MicrosoftGraphList> lists)

Set the lists property: The collection of lists under this site.

MicrosoftGraphSite withName(String name)

Set the name property: The name of the item.

MicrosoftGraphSite withOnenote(MicrosoftGraphOnenote onenote)

Set the onenote property: onenote.

MicrosoftGraphSite withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

MicrosoftGraphSite withRoot(Map<String,Object> root)

Set the root property: root.

MicrosoftGraphSite withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

MicrosoftGraphSite withSiteCollection(MicrosoftGraphSiteCollection siteCollection)

Set the siteCollection property: siteCollection.

MicrosoftGraphSite withSites(List<MicrosoftGraphSite> sites)

Set the sites property: The collection of the sub-sites under this site.

MicrosoftGraphSite withWebUrl(String webUrl)

Set the webUrl property: URL that displays the resource in the browser.

Methods inherited from MicrosoftGraphBaseItemInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSite

public MicrosoftGraphSite()

Creates an instance of MicrosoftGraphSite class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: site.

Overrides:

MicrosoftGraphSite.additionalProperties()

Returns:

the additionalProperties value.

analytics

public MicrosoftGraphItemAnalytics analytics()

Get the analytics property: itemAnalytics.

Returns:

the analytics value.

columns

public List columns()

Get the columns property: The collection of column definitions reusable across lists under this site.

Returns:

the columns value.

contentTypes

public List contentTypes()

Get the contentTypes property: The collection of content types defined for this site.

Returns:

the contentTypes value.

displayName

public String displayName()

Get the displayName property: The full title for the site. Read-only.

Returns:

the displayName value.

drive

public MicrosoftGraphDrive drive()

Get the drive property: drive.

Returns:

the drive value.

drives

public List drives()

Get the drives property: The collection of drives (document libraries) under this site.

Returns:

the drives value.

error

public MicrosoftGraphPublicError error()

Get the error property: publicError.

Returns:

the error value.

items

public List items()

Get the items property: Used to address any item contained in this site. This collection cannot be enumerated.

Returns:

the items value.

lists

public List lists()

Get the lists property: The collection of lists under this site.

Returns:

the lists value.

onenote

public MicrosoftGraphOnenote onenote()

Get the onenote property: onenote.

Returns:

the onenote value.

root

public Map root()

Get the root property: root.

Returns:

the root value.

sharepointIds

public MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

Returns:

the sharepointIds value.

siteCollection

public MicrosoftGraphSiteCollection siteCollection()

Get the siteCollection property: siteCollection.

Returns:

the siteCollection value.

sites

public List sites()

Get the sites property: The collection of the sub-sites under this site.

Returns:

the sites value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphSite.validate()

withAdditionalProperties

public MicrosoftGraphSite withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: site.

Overrides:

MicrosoftGraphSite.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSite object itself.

withAnalytics

public MicrosoftGraphSite withAnalytics(MicrosoftGraphItemAnalytics analytics)

Set the analytics property: itemAnalytics.

Parameters:

analytics - the analytics value to set.

Returns:

the MicrosoftGraphSite object itself.

withColumns

public MicrosoftGraphSite withColumns(List columns)

Set the columns property: The collection of column definitions reusable across lists under this site.

Parameters:

columns - the columns value to set.

Returns:

the MicrosoftGraphSite object itself.

withContentTypes

public MicrosoftGraphSite withContentTypes(List contentTypes)

Set the contentTypes property: The collection of content types defined for this site.

Parameters:

contentTypes - the contentTypes value to set.

Returns:

the MicrosoftGraphSite object itself.

withCreatedBy

public MicrosoftGraphSite withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Overrides:

MicrosoftGraphSite.withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Parameters:

createdBy

withCreatedByUser

public MicrosoftGraphSite withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Set the createdByUser property: user

Represents an Azure Active Directory user object.

Overrides:

MicrosoftGraphSite.withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Parameters:

createdByUser

withCreatedDateTime

public MicrosoftGraphSite withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of item creation. Read-only.

Overrides:

MicrosoftGraphSite.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDescription

public MicrosoftGraphSite withDescription(String description)

Set the description property: Provides a user-visible description of the item. Optional.

Overrides:

MicrosoftGraphSite.withDescription(String description)

Parameters:

description

withDisplayName

public MicrosoftGraphSite withDisplayName(String displayName)

Set the displayName property: The full title for the site. Read-only.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphSite object itself.

withDrive

public MicrosoftGraphSite withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

Parameters:

drive - the drive value to set.

Returns:

the MicrosoftGraphSite object itself.

withDrives

public MicrosoftGraphSite withDrives(List drives)

Set the drives property: The collection of drives (document libraries) under this site.

Parameters:

drives - the drives value to set.

Returns:

the MicrosoftGraphSite object itself.

withError

public MicrosoftGraphSite withError(MicrosoftGraphPublicError error)

Set the error property: publicError.

Parameters:

error - the error value to set.

Returns:

the MicrosoftGraphSite object itself.

withEtag

public MicrosoftGraphSite withEtag(String etag)

Set the etag property: ETag for the item. Read-only.

Overrides:

MicrosoftGraphSite.withEtag(String etag)

Parameters:

etag

withId

public MicrosoftGraphSite withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphSite.withId(String id)

Parameters:

id

withItems

public MicrosoftGraphSite withItems(List items)

Set the items property: Used to address any item contained in this site. This collection cannot be enumerated.

Parameters:

items - the items value to set.

Returns:

the MicrosoftGraphSite object itself.

withLastModifiedBy

public MicrosoftGraphSite withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphSite.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedByUser

public MicrosoftGraphSite withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Set the lastModifiedByUser property: user

Represents an Azure Active Directory user object.

Overrides:

MicrosoftGraphSite.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Parameters:

lastModifiedByUser

withLastModifiedDateTime

public MicrosoftGraphSite withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.

Overrides:

MicrosoftGraphSite.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withLists

public MicrosoftGraphSite withLists(List lists)

Set the lists property: The collection of lists under this site.

Parameters:

lists - the lists value to set.

Returns:

the MicrosoftGraphSite object itself.

withName

public MicrosoftGraphSite withName(String name)

Set the name property: The name of the item. Read-write.

Overrides:

MicrosoftGraphSite.withName(String name)

Parameters:

name

withOnenote

public MicrosoftGraphSite withOnenote(MicrosoftGraphOnenote onenote)

Set the onenote property: onenote.

Parameters:

onenote - the onenote value to set.

Returns:

the MicrosoftGraphSite object itself.

withParentReference

public MicrosoftGraphSite withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

Overrides:

MicrosoftGraphSite.withParentReference(MicrosoftGraphItemReference parentReference)

Parameters:

parentReference

withRoot

public MicrosoftGraphSite withRoot(Map root)

Set the root property: root.

Parameters:

root - the root value to set.

Returns:

the MicrosoftGraphSite object itself.

withSharepointIds

public MicrosoftGraphSite withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

Parameters:

sharepointIds - the sharepointIds value to set.

Returns:

the MicrosoftGraphSite object itself.

withSiteCollection

public MicrosoftGraphSite withSiteCollection(MicrosoftGraphSiteCollection siteCollection)

Set the siteCollection property: siteCollection.

Parameters:

siteCollection - the siteCollection value to set.

Returns:

the MicrosoftGraphSite object itself.

withSites

public MicrosoftGraphSite withSites(List sites)

Set the sites property: The collection of the sub-sites under this site.

Parameters:

sites - the sites value to set.

Returns:

the MicrosoftGraphSite object itself.

withWebUrl

public MicrosoftGraphSite withWebUrl(String webUrl)

Set the webUrl property: URL that displays the resource in the browser. Read-only.

Overrides:

MicrosoftGraphSite.withWebUrl(String webUrl)

Parameters:

webUrl

Applies to