MicrosoftGraphSite Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphBaseItemInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphSite
- com.
- com.
- com.
public final class MicrosoftGraphSite
extends MicrosoftGraphBaseItemInner
Represents a site.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphSite() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
Microsoft |
analytics()
Get the analytics property: item |
|
List<Microsoft |
columns()
Get the columns property: The collection of column definitions reusable across lists under this site. |
|
List<Microsoft |
contentTypes()
Get the content |
| String |
displayName()
Get the display |
|
Microsoft |
drive()
Get the drive property: drive. |
|
List<Microsoft |
drives()
Get the drives property: The collection of drives (document libraries) under this site. |
|
Microsoft |
error()
Get the error property: public |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
|
List<Microsoft |
items()
Get the items property: Used to address any item contained in this site. |
|
List<Microsoft |
lists()
Get the lists property: The collection of lists under this site. |
|
Microsoft |
onenote()
Get the onenote property: onenote. |
| Map<String,Object> |
root()
Get the root property: root. |
|
Microsoft |
sharepointIds()
Get the sharepoint |
|
Microsoft |
siteCollection()
Get the site |
|
List<Microsoft |
sites()
Get the sites property: The collection of the sub-sites under this site. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withAnalytics(MicrosoftGraphItemAnalytics analytics)
Set the analytics property: item |
|
Microsoft |
withColumns(List<MicrosoftGraphColumnDefinition> columns)
Set the columns property: The collection of column definitions reusable across lists under this site. |
|
Microsoft |
withContentTypes(List<MicrosoftGraphContentType> contentTypes)
Set the content |
|
Microsoft |
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the created |
|
Microsoft |
withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the created |
|
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
|
Microsoft |
withDescription(String description)
Set the description property: Provides a user-visible description of the item. |
|
Microsoft |
withDisplayName(String displayName)
Set the display |
|
Microsoft |
withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive. |
|
Microsoft |
withDrives(List<MicrosoftGraphDrive> drives)
Set the drives property: The collection of drives (document libraries) under this site. |
|
Microsoft |
withError(MicrosoftGraphPublicError error)
Set the error property: public |
|
Microsoft |
withEtag(String etag)
Set the etag property: ETag for the item. |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withItems(List<MicrosoftGraphBaseItemInner> items)
Set the items property: Used to address any item contained in this site. |
|
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
|
Microsoft |
withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the last |
|
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
|
Microsoft |
withLists(List<MicrosoftGraphList> lists)
Set the lists property: The collection of lists under this site. |
|
Microsoft |
withName(String name)
Set the name property: The name of the item. |
|
Microsoft |
withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote. |
|
Microsoft |
withParentReference(MicrosoftGraphItemReference parentReference)
Set the parent |
|
Microsoft |
withRoot(Map<String,Object> root)
Set the root property: root. |
|
Microsoft |
withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepoint |
|
Microsoft |
withSiteCollection(MicrosoftGraphSiteCollection siteCollection)
Set the site |
|
Microsoft |
withSites(List<MicrosoftGraphSite> sites)
Set the sites property: The collection of the sub-sites under this site. |
|
Microsoft |
withWebUrl(String webUrl)
Set the web |
Methods inherited from MicrosoftGraphBaseItemInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphSite
public MicrosoftGraphSite()
Creates an instance of MicrosoftGraphSite class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: site.
Overrides:
MicrosoftGraphSite.additionalProperties()Returns:
analytics
public MicrosoftGraphItemAnalytics analytics()
Get the analytics property: itemAnalytics.
Returns:
columns
public List<MicrosoftGraphColumnDefinition> columns()
Get the columns property: The collection of column definitions reusable across lists under this site.
Returns:
contentTypes
public List<MicrosoftGraphContentType> contentTypes()
Get the contentTypes property: The collection of content types defined for this site.
Returns:
displayName
public String displayName()
Get the displayName property: The full title for the site. Read-only.
Returns:
drive
public MicrosoftGraphDrive drive()
Get the drive property: drive.
Returns:
drives
public List<MicrosoftGraphDrive> drives()
Get the drives property: The collection of drives (document libraries) under this site.
Returns:
error
public MicrosoftGraphPublicError error()
Get the error property: publicError.
Returns:
fromJson
public static MicrosoftGraphSite fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphSite from the JsonReader.
Parameters:
Returns:
Throws:
items
public List<MicrosoftGraphBaseItemInner> items()
Get the items property: Used to address any item contained in this site. This collection cannot be enumerated.
Returns:
lists
public List<MicrosoftGraphList> lists()
Get the lists property: The collection of lists under this site.
Returns:
onenote
public MicrosoftGraphOnenote onenote()
Get the onenote property: onenote.
Returns:
root
public Map<String,Object> root()
Get the root property: root.
Returns:
sharepointIds
public MicrosoftGraphSharepointIds sharepointIds()
Get the sharepointIds property: sharepointIds.
Returns:
siteCollection
public MicrosoftGraphSiteCollection siteCollection()
Get the siteCollection property: siteCollection.
Returns:
sites
public List<MicrosoftGraphSite> sites()
Get the sites property: The collection of the sub-sites under this site.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphSite.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphSite.validate()withAdditionalProperties
public MicrosoftGraphSite withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: site.
Overrides:
MicrosoftGraphSite.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAnalytics
public MicrosoftGraphSite withAnalytics(MicrosoftGraphItemAnalytics analytics)
Set the analytics property: itemAnalytics.
Parameters:
Returns:
withColumns
public MicrosoftGraphSite withColumns(List<MicrosoftGraphColumnDefinition> columns)
Set the columns property: The collection of column definitions reusable across lists under this site.
Parameters:
Returns:
withContentTypes
public MicrosoftGraphSite withContentTypes(List<MicrosoftGraphContentType> contentTypes)
Set the contentTypes property: The collection of content types defined for this site.
Parameters:
Returns:
withCreatedBy
public MicrosoftGraphSite withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Overrides:
MicrosoftGraphSite.withCreatedBy(MicrosoftGraphIdentitySet createdBy)Parameters:
withCreatedByUser
public MicrosoftGraphSite withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.
Overrides:
MicrosoftGraphSite.withCreatedByUser(MicrosoftGraphUserInner createdByUser)Parameters:
withCreatedDateTime
public MicrosoftGraphSite withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Date and time of item creation. Read-only.
Overrides:
MicrosoftGraphSite.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
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:
withDisplayName
public MicrosoftGraphSite withDisplayName(String displayName)
Set the displayName property: The full title for the site. Read-only.
Parameters:
Returns:
withDrive
public MicrosoftGraphSite withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive.
Parameters:
Returns:
withDrives
public MicrosoftGraphSite withDrives(List<MicrosoftGraphDrive> drives)
Set the drives property: The collection of drives (document libraries) under this site.
Parameters:
Returns:
withError
public MicrosoftGraphSite withError(MicrosoftGraphPublicError error)
Set the error property: publicError.
Parameters:
Returns:
withEtag
public MicrosoftGraphSite withEtag(String etag)
Set the etag property: ETag for the item. Read-only.
Overrides:
MicrosoftGraphSite.withEtag(String etag)Parameters:
withId
public MicrosoftGraphSite withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphSite.withId(String id)Parameters:
withItems
public MicrosoftGraphSite withItems(List<MicrosoftGraphBaseItemInner> items)
Set the items property: Used to address any item contained in this site. This collection cannot be enumerated.
Parameters:
Returns:
withLastModifiedBy
public MicrosoftGraphSite withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphSite.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedByUser
public MicrosoftGraphSite withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.
Overrides:
MicrosoftGraphSite.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)Parameters:
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:
withLists
public MicrosoftGraphSite withLists(List<MicrosoftGraphList> lists)
Set the lists property: The collection of lists under this site.
Parameters:
Returns:
withName
public MicrosoftGraphSite withName(String name)
Set the name property: The name of the item. Read-write.
Overrides:
MicrosoftGraphSite.withName(String name)Parameters:
withOnenote
public MicrosoftGraphSite withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote.
Parameters:
Returns:
withParentReference
public MicrosoftGraphSite withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.
Overrides:
MicrosoftGraphSite.withParentReference(MicrosoftGraphItemReference parentReference)Parameters:
withRoot
public MicrosoftGraphSite withRoot(Map<String,Object> root)
Set the root property: root.
Parameters:
Returns:
withSharepointIds
public MicrosoftGraphSite withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepointIds property: sharepointIds.
Parameters:
Returns:
withSiteCollection
public MicrosoftGraphSite withSiteCollection(MicrosoftGraphSiteCollection siteCollection)
Set the siteCollection property: siteCollection.
Parameters:
Returns:
withSites
public MicrosoftGraphSite withSites(List<MicrosoftGraphSite> sites)
Set the sites property: The collection of the sub-sites under this site.
Parameters:
Returns:
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: