Package com.microsoft.graph.models
Class Site
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.Site
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Site
extends BaseItem
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SitecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the analytics property value.Gets the columns property value.Gets the contentTypes property value.Gets the displayName property value.getDrive()Gets the drive property value.Gets the drives property value.getError()Gets the error property value.Gets the externalColumns property value.The deserialization information for the current modelGets the isPersonalSite property value.getItems()Gets the items property value.getLists()Gets the lists property value.Gets the onenote property value.Gets the operations property value.getPages()Gets the pages property value.Gets the permissions property value.getRoot()Gets the root property value.Gets the sharepointIds property value.Gets the siteCollection property value.getSites()Gets the sites property value.Gets the termStore property value.Gets the termStores property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAnalytics(ItemAnalytics value) Sets the analytics property value.voidsetColumns(List<ColumnDefinition> value) Sets the columns property value.voidsetContentTypes(List<ContentType> value) Sets the contentTypes property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the drive property value.voidSets the drives property value.voidsetError(PublicError value) Sets the error property value.voidsetExternalColumns(List<ColumnDefinition> value) Sets the externalColumns property value.voidsetIsPersonalSite(Boolean value) Sets the isPersonalSite property value.voidSets the items property value.voidSets the lists property value.voidsetOnenote(Onenote value) Sets the onenote property value.voidSets the operations property value.voidsetPages(List<BaseSitePage> value) Sets the pages property value.voidsetPermissions(List<Permission> value) Sets the permissions property value.voidSets the root property value.voidsetSharepointIds(SharepointIds value) Sets the sharepointIds property value.voidsetSiteCollection(SiteCollection value) Sets the siteCollection property value.voidSets the sites property value.voidsetTermStore(Store value) Sets the termStore property value.voidsetTermStores(List<Store> value) Sets the termStores property value.Methods inherited from class com.microsoft.graph.models.BaseItem
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setCreatedBy, setCreatedByUser, setCreatedDateTime, setDescription, setETag, setLastModifiedBy, setLastModifiedByUser, setLastModifiedDateTime, setName, setParentReference, setWebUrlMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Site
public Site()Instantiates a newSiteand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Site createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
Site
-
getAnalytics
Gets the analytics property value. Analytics about the view activities that took place on this site.- Returns:
- a
ItemAnalytics
-
getColumns
Gets the columns property value. The collection of column definitions reusable across lists under this site.- Returns:
- a
List<ColumnDefinition>
-
getContentTypes
Gets the contentTypes property value. The collection of content types defined for this site.- Returns:
- a
List<ContentType>
-
getDisplayName
Gets the displayName property value. The full title for the site. Read-only.- Returns:
- a
String
-
getDrive
Gets the drive property value. The default drive (document library) for this site.- Returns:
- a
Drive
-
getDrives
Gets the drives property value. The collection of drives (document libraries) under this site. -
getError
Gets the error property value. The error property- Returns:
- a
PublicError
-
getExternalColumns
Gets the externalColumns property value. The externalColumns property- Returns:
- a
List<ColumnDefinition>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classBaseItem- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsPersonalSite
Gets the isPersonalSite property value. Identifies whether the site is personal or not. Read-only.- Returns:
- a
Boolean
-
getItems
Gets the items property value. Used to address any item contained in this site. This collection can't be enumerated. -
getLists
Gets the lists property value. The collection of lists under this site. -
getOnenote
Gets the onenote property value. Calls the OneNote service for notebook related operations.- Returns:
- a
Onenote
-
getOperations
Gets the operations property value. The collection of long-running operations on the site.- Returns:
- a
List<RichLongRunningOperation>
-
getPages
Gets the pages property value. The collection of pages in the baseSitePages list in this site.- Returns:
- a
List<BaseSitePage>
-
getPermissions
Gets the permissions property value. The permissions associated with the site. Nullable.- Returns:
- a
List<Permission>
-
getRoot
Gets the root property value. If present, provides the root site in the site collection. Read-only.- Returns:
- a
Root
-
getSiteCollection
Gets the siteCollection property value. Provides details about the site's site collection. Available only on the root site. Read-only.- Returns:
- a
SiteCollection
-
getSites
Gets the sites property value. The collection of the sub-sites under this site. -
getTermStore
Gets the termStore property value. The default termStore under this site.- Returns:
- a
Store
-
getTermStores
Gets the termStores property value. The collection of termStores under this site. -
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAnalytics
Sets the analytics property value. Analytics about the view activities that took place on this site.- Parameters:
value- Value to set for the analytics property.
-
setColumns
Sets the columns property value. The collection of column definitions reusable across lists under this site.- Parameters:
value- Value to set for the columns property.
-
setContentTypes
Sets the contentTypes property value. The collection of content types defined for this site.- Parameters:
value- Value to set for the contentTypes property.
-
setDisplayName
Sets the displayName property value. The full title for the site. Read-only.- Parameters:
value- Value to set for the displayName property.
-
setDrive
Sets the drive property value. The default drive (document library) for this site.- Parameters:
value- Value to set for the drive property.
-
setDrives
Sets the drives property value. The collection of drives (document libraries) under this site.- Parameters:
value- Value to set for the drives property.
-
setError
Sets the error property value. The error property- Parameters:
value- Value to set for the error property.
-
setExternalColumns
Sets the externalColumns property value. The externalColumns property- Parameters:
value- Value to set for the externalColumns property.
-
setIsPersonalSite
Sets the isPersonalSite property value. Identifies whether the site is personal or not. Read-only.- Parameters:
value- Value to set for the isPersonalSite property.
-
setItems
Sets the items property value. Used to address any item contained in this site. This collection can't be enumerated.- Parameters:
value- Value to set for the items property.
-
setLists
Sets the lists property value. The collection of lists under this site.- Parameters:
value- Value to set for the lists property.
-
setOnenote
Sets the onenote property value. Calls the OneNote service for notebook related operations.- Parameters:
value- Value to set for the onenote property.
-
setOperations
Sets the operations property value. The collection of long-running operations on the site.- Parameters:
value- Value to set for the operations property.
-
setPages
Sets the pages property value. The collection of pages in the baseSitePages list in this site.- Parameters:
value- Value to set for the pages property.
-
setPermissions
Sets the permissions property value. The permissions associated with the site. Nullable.- Parameters:
value- Value to set for the permissions property.
-
setRoot
Sets the root property value. If present, provides the root site in the site collection. Read-only.- Parameters:
value- Value to set for the root property.
-
setSiteCollection
Sets the siteCollection property value. Provides details about the site's site collection. Available only on the root site. Read-only.- Parameters:
value- Value to set for the siteCollection property.
-
setSites
Sets the sites property value. The collection of the sub-sites under this site.- Parameters:
value- Value to set for the sites property.
-
setTermStore
Sets the termStore property value. The default termStore under this site.- Parameters:
value- Value to set for the termStore property.
-
setTermStores
Sets the termStores property value. The collection of termStores under this site.- Parameters:
value- Value to set for the termStores property.
-