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.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: Represents an Azure Active Directory user object.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: Represents an Azure Active Directory user object.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 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:
additionalProperties
in classMicrosoftGraphBaseItemInner
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphSite withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: site.- Overrides:
withAdditionalProperties
in 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:
withCreatedBy
in 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:
withCreatedDateTime
in 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:
withDescription
in 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:
withEtag
in 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:
withLastModifiedBy
in 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:
withLastModifiedDateTime
in 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:
withName
in 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:
withParentReference
in 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:
withWebUrl
in 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:
withCreatedByUser
in 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:
withLastModifiedByUser
in 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:
withId
in classMicrosoftGraphBaseItemInner
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphBaseItemInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-