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
-
public final class MicrosoftGraphSite extends MicrosoftGraphBaseItemInner
site.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphSite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: site.MicrosoftGraphItemAnalyticsanalytics()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.StringdisplayName()Get the displayName property: The full title for the site.MicrosoftGraphDrivedrive()Get the drive property: drive.List<MicrosoftGraphDrive>drives()Get the drives property: The collection of drives (document libraries) under this site.MicrosoftGraphPublicErrorerror()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.MicrosoftGraphOnenoteonenote()Get the onenote property: onenote.Map<String,Object>root()Get the root property: root.MicrosoftGraphSharepointIdssharepointIds()Get the sharepointIds property: sharepointIds.MicrosoftGraphSiteCollectionsiteCollection()Get the siteCollection property: siteCollection.List<MicrosoftGraphSite>sites()Get the sites property: The collection of the sub-sites under this site.voidvalidate()Validates the instance.MicrosoftGraphSitewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: site.MicrosoftGraphSitewithAnalytics(MicrosoftGraphItemAnalytics analytics)Set the analytics property: itemAnalytics.MicrosoftGraphSitewithColumns(List<MicrosoftGraphColumnDefinition> columns)Set the columns property: The collection of column definitions reusable across lists under this site.MicrosoftGraphSitewithContentTypes(List<MicrosoftGraphContentType> contentTypes)Set the contentTypes property: The collection of content types defined for this site.MicrosoftGraphSitewithCreatedBy(MicrosoftGraphIdentitySet createdBy)Set the createdBy property: identitySet.MicrosoftGraphSitewithCreatedByUser(MicrosoftGraphUserInner createdByUser)Set the createdByUser property: Represents an Azure Active Directory user object.MicrosoftGraphSitewithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: Date and time of item creation.MicrosoftGraphSitewithDescription(String description)Set the description property: Provides a user-visible description of the item.MicrosoftGraphSitewithDisplayName(String displayName)Set the displayName property: The full title for the site.MicrosoftGraphSitewithDrive(MicrosoftGraphDrive drive)Set the drive property: drive.MicrosoftGraphSitewithDrives(List<MicrosoftGraphDrive> drives)Set the drives property: The collection of drives (document libraries) under this site.MicrosoftGraphSitewithError(MicrosoftGraphPublicError error)Set the error property: publicError.MicrosoftGraphSitewithEtag(String etag)Set the etag property: ETag for the item.MicrosoftGraphSitewithId(String id)Set the id property: Read-only.MicrosoftGraphSitewithItems(List<MicrosoftGraphBaseItemInner> items)Set the items property: Used to address any item contained in this site.MicrosoftGraphSitewithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphSitewithLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)Set the lastModifiedByUser property: Represents an Azure Active Directory user object.MicrosoftGraphSitewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: Date and time the item was last modified.MicrosoftGraphSitewithLists(List<MicrosoftGraphList> lists)Set the lists property: The collection of lists under this site.MicrosoftGraphSitewithName(String name)Set the name property: The name of the item.MicrosoftGraphSitewithOnenote(MicrosoftGraphOnenote onenote)Set the onenote property: onenote.MicrosoftGraphSitewithParentReference(MicrosoftGraphItemReference parentReference)Set the parentReference property: itemReference.MicrosoftGraphSitewithRoot(Map<String,Object> root)Set the root property: root.MicrosoftGraphSitewithSharepointIds(MicrosoftGraphSharepointIds sharepointIds)Set the sharepointIds property: sharepointIds.MicrosoftGraphSitewithSiteCollection(MicrosoftGraphSiteCollection siteCollection)Set the siteCollection property: siteCollection.MicrosoftGraphSitewithSites(List<MicrosoftGraphSite> sites)Set the sites property: The collection of the sub-sites under this site.MicrosoftGraphSitewithWebUrl(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, webUrl
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The full title for the site. Read-only.- Returns:
- the displayName value.
-
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.
-
error
public MicrosoftGraphPublicError error()
Get the error property: publicError.- Returns:
- the error value.
-
withError
public MicrosoftGraphSite withError(MicrosoftGraphPublicError error)
Set the error property: publicError.- Parameters:
error- the error value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
withRoot
public MicrosoftGraphSite withRoot(Map<String,Object> root)
Set the root property: root.- Parameters:
root- the root value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
sharepointIds
public MicrosoftGraphSharepointIds sharepointIds()
Get the sharepointIds property: sharepointIds.- Returns:
- the sharepointIds value.
-
withSharepointIds
public MicrosoftGraphSite withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepointIds property: sharepointIds.- Parameters:
sharepointIds- the sharepointIds value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
siteCollection
public MicrosoftGraphSiteCollection siteCollection()
Get the siteCollection property: siteCollection.- Returns:
- the siteCollection value.
-
withSiteCollection
public MicrosoftGraphSite withSiteCollection(MicrosoftGraphSiteCollection siteCollection)
Set the siteCollection property: siteCollection.- Parameters:
siteCollection- the siteCollection value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
analytics
public MicrosoftGraphItemAnalytics analytics()
Get the analytics property: itemAnalytics.- Returns:
- the analytics value.
-
withAnalytics
public MicrosoftGraphSite withAnalytics(MicrosoftGraphItemAnalytics analytics)
Set the analytics property: itemAnalytics.- Parameters:
analytics- the analytics value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
columns
public List<MicrosoftGraphColumnDefinition> columns()
Get the columns property: The collection of column definitions reusable across lists under this site.- Returns:
- the columns value.
-
withColumns
public MicrosoftGraphSite withColumns(List<MicrosoftGraphColumnDefinition> 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.
-
contentTypes
public List<MicrosoftGraphContentType> contentTypes()
Get the contentTypes property: The collection of content types defined for this site.- Returns:
- the contentTypes value.
-
withContentTypes
public MicrosoftGraphSite withContentTypes(List<MicrosoftGraphContentType> 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.
-
drive
public MicrosoftGraphDrive drive()
Get the drive property: drive.- Returns:
- the drive value.
-
withDrive
public MicrosoftGraphSite withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive.- Parameters:
drive- the drive value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
drives
public List<MicrosoftGraphDrive> drives()
Get the drives property: The collection of drives (document libraries) under this site.- Returns:
- the drives value.
-
withDrives
public MicrosoftGraphSite withDrives(List<MicrosoftGraphDrive> 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.
-
items
public List<MicrosoftGraphBaseItemInner> items()
Get the items property: Used to address any item contained in this site. This collection cannot be enumerated.- Returns:
- the items value.
-
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:
items- the items value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
lists
public List<MicrosoftGraphList> lists()
Get the lists property: The collection of lists under this site.- Returns:
- the lists value.
-
withLists
public MicrosoftGraphSite withLists(List<MicrosoftGraphList> lists)
Set the lists property: The collection of lists under this site.- Parameters:
lists- the lists value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
sites
public List<MicrosoftGraphSite> sites()
Get the sites property: The collection of the sub-sites under this site.- Returns:
- the sites value.
-
withSites
public MicrosoftGraphSite withSites(List<MicrosoftGraphSite> 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.
-
onenote
public MicrosoftGraphOnenote onenote()
Get the onenote property: onenote.- Returns:
- the onenote value.
-
withOnenote
public MicrosoftGraphSite withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote.- Parameters:
onenote- the onenote value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: site.- Overrides:
additionalPropertiesin classMicrosoftGraphBaseItemInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSite withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: site.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphBaseItemInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphSite object itself.
-
withCreatedBy
public MicrosoftGraphSite withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.- Overrides:
withCreatedByin classMicrosoftGraphBaseItemInner- Parameters:
createdBy- the createdBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withCreatedDateTime
public MicrosoftGraphSite withCreatedDateTime(OffsetDateTime createdDateTime)
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
public MicrosoftGraphSite withDescription(String description)
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
public MicrosoftGraphSite withEtag(String etag)
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
public MicrosoftGraphSite withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.- Overrides:
withLastModifiedByin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedDateTime
public MicrosoftGraphSite withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
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
public MicrosoftGraphSite withName(String name)
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
public MicrosoftGraphSite withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.- Overrides:
withParentReferencein classMicrosoftGraphBaseItemInner- Parameters:
parentReference- the parentReference value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withWebUrl
public MicrosoftGraphSite withWebUrl(String webUrl)
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
public MicrosoftGraphSite withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.- Overrides:
withCreatedByUserin classMicrosoftGraphBaseItemInner- Parameters:
createdByUser- the createdByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withLastModifiedByUser
public MicrosoftGraphSite withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.- Overrides:
withLastModifiedByUserin classMicrosoftGraphBaseItemInner- Parameters:
lastModifiedByUser- the lastModifiedByUser value to set.- Returns:
- the MicrosoftGraphBaseItemInner object itself.
-
withId
public MicrosoftGraphSite withId(String id)
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.
-
-