Class MicrosoftGraphSite
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemInner
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSite
site.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: site.Get the analytics property: itemAnalytics.columns()Get the columns property: The collection of column definitions reusable across lists under this site.Get the contentTypes property: The collection of content types defined for this site.Get the displayName property: The full title for the site.drive()Get the drive property: drive.drives()Get the drives property: The collection of drives (document libraries) under this site.error()Get the error property: publicError.items()Get the items property: Used to address any item contained in this site.lists()Get the lists property: The collection of lists under this site.onenote()Get the onenote property: onenote.root()Get the root property: root.Get the sharepointIds property: sharepointIds.Get the siteCollection property: siteCollection.sites()Get the sites property: The collection of the sub-sites under this site.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: site.withAnalytics(MicrosoftGraphItemAnalytics analytics) Set the analytics property: itemAnalytics.withColumns(List<MicrosoftGraphColumnDefinition> columns) Set the columns property: The collection of column definitions reusable across lists under this site.withContentTypes(List<MicrosoftGraphContentType> contentTypes) Set the contentTypes property: The collection of content types defined for this site.withCreatedBy(MicrosoftGraphIdentitySet createdBy) Set the createdBy property: identitySet.withCreatedByUser(MicrosoftGraphUserInner createdByUser) Set the createdByUser property: userwithCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Date and time of item creation.withDescription(String description) Set the description property: Provides a user-visible description of the item.withDisplayName(String displayName) Set the displayName property: The full title for the site.withDrive(MicrosoftGraphDrive drive) Set the drive property: drive.withDrives(List<MicrosoftGraphDrive> drives) Set the drives property: The collection of drives (document libraries) under this site.Set the error property: publicError.Set the etag property: ETag for the item.Set the id property: Read-only.withItems(List<MicrosoftGraphBaseItemInner> items) Set the items property: Used to address any item contained in this site.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser) Set the lastModifiedByUser property: userwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: Date and time the item was last modified.withLists(List<MicrosoftGraphList> lists) Set the lists property: The collection of lists under this site.Set the name property: The name of the item.withOnenote(MicrosoftGraphOnenote onenote) Set the onenote property: onenote.withParentReference(MicrosoftGraphItemReference parentReference) Set the parentReference property: itemReference.Set the root property: root.withSharepointIds(MicrosoftGraphSharepointIds sharepointIds) Set the sharepointIds property: sharepointIds.withSiteCollection(MicrosoftGraphSiteCollection siteCollection) Set the siteCollection property: siteCollection.withSites(List<MicrosoftGraphSite> sites) Set the sites property: The collection of the sub-sites under this site.withWebUrl(String webUrl) Set the webUrl property: URL that displays the resource in the browser.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemInner
createdBy, createdByUser, createdDateTime, description, etag, lastModifiedBy, lastModifiedByUser, lastModifiedDateTime, name, parentReference, webUrlMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphSite
public MicrosoftGraphSite()Creates an instance of MicrosoftGraphSite class.
-
-
Method Details
-
displayName
Get the displayName property: The full title for the site. Read-only.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The full title for the site. Read-only.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
error
Get the error property: publicError.- Returns:
- the error value.
-
withError
Set the error property: publicError.- Parameters:
error- the error value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
root
Get the root property: root.- Returns:
- the root value.
-
withRoot
Set the root property: root.- Parameters:
root- the root value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
siteCollection
Get the siteCollection property: siteCollection.- Returns:
- the siteCollection value.
-
withSiteCollection
Set the siteCollection property: siteCollection.- Parameters:
siteCollection- the siteCollection value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
analytics
Get the analytics property: itemAnalytics.- Returns:
- the analytics value.
-
withAnalytics
Set the analytics property: itemAnalytics.- Parameters:
analytics- the analytics value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
columns
Get the columns property: The collection of column definitions reusable across lists under this site.- Returns:
- the columns value.
-
withColumns
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.
-
contentTypes
Get the contentTypes property: The collection of content types defined for this site.- Returns:
- the contentTypes value.
-
withContentTypes
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.
-
drive
Get the drive property: drive.- Returns:
- the drive value.
-
withDrive
Set the drive property: drive.- Parameters:
drive- the drive value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
drives
Get the drives property: The collection of drives (document libraries) under this site.- Returns:
- the drives value.
-
withDrives
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.
-
items
Get the items property: Used to address any item contained in this site. This collection cannot be enumerated.- Returns:
- the items value.
-
withItems
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.
-
lists
Get the lists property: The collection of lists under this site.- Returns:
- the lists value.
-
withLists
Set the lists property: The collection of lists under this site.- Parameters:
lists- the lists value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
sites
Get the sites property: The collection of the sub-sites under this site.- Returns:
- the sites value.
-
withSites
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.
-
onenote
Get the onenote property: onenote.- Returns:
- the onenote value.
-
withOnenote
Set the onenote property: onenote.- Parameters:
onenote- the onenote value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
additionalProperties
Get the additionalProperties property: site.- Overrides:
additionalPropertiesin classMicrosoftGraphBaseItemInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: site.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphBaseItemInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
withCreatedBy
Set the createdBy property: identitySet.- Overrides:
withCreatedByin classMicrosoftGraphBaseItemInner- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withCreatedDateTime
Set the createdDateTime property: Date and time of item creation. Read-only.- Overrides:
withCreatedDateTimein classMicrosoftGraphBaseItemInner- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withDescription
Set the description property: Provides a user-visible description of the item. Optional.- Overrides:
withDescriptionin classMicrosoftGraphBaseItemInner- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withEtag
Set the etag property: ETag for the item. Read-only.- Overrides:
withEtagin classMicrosoftGraphBaseItemInner- Parameters:
etag- the etag value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedBy
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.- Overrides:
withLastModifiedDateTimein classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withName
Set the name property: The name of the item. Read-write.- Overrides:
withNamein classMicrosoftGraphBaseItemInner- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withParentReference
Set the parentReference property: itemReference.- Overrides:
withParentReferencein classMicrosoftGraphBaseItemInner- Parameters:
parentReference- the parentReference value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withWebUrl
Set the webUrl property: URL that displays the resource in the browser. Read-only.- Overrides:
withWebUrlin classMicrosoftGraphBaseItemInner- Parameters:
webUrl- the webUrl value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withCreatedByUser
Set the createdByUser property: userRepresents an Azure Active Directory user object.
- Overrides:
withCreatedByUserin classMicrosoftGraphBaseItemInner- Parameters:
createdByUser- the createdByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedByUser
Set the lastModifiedByUser property: userRepresents an Azure Active Directory user object.
- Overrides:
withLastModifiedByUserin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedByUser- the lastModifiedByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphBaseItemInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphBaseItemInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-