Package com.microsoft.graph.sites.item
Class SiteItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.sites.item.SiteItemRequestBuilder
@Generated("com.microsoft.kiota")
public class SiteItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of site entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRetrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionSiteItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSiteItemRequestBuilderand sets the default values.SiteItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSiteItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the analytics property of the microsoft.graph.site entity.columns()Provides operations to manage the columns property of the microsoft.graph.site entity.Provides operations to manage the contentTypes property of the microsoft.graph.site entity.Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.drive()Provides operations to manage the drive property of the microsoft.graph.site entity.drives()Provides operations to manage the drives property of the microsoft.graph.site entity.Provides operations to manage the externalColumns property of the microsoft.graph.site entity.get()Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.get(Consumer<SiteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.Provides operations to call the getActivitiesByInterval method.getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(String endDateTime, String interval, String startDateTime) Provides operations to call the getActivitiesByInterval method.Provides operations to call the getApplicableContentTypesForList method.getByPathWithPath(String path) Provides operations to call the getByPath method.items()Provides operations to manage the items property of the microsoft.graph.site entity.Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.lists()Provides operations to manage the lists property of the microsoft.graph.site entity.onenote()Provides operations to manage the onenote property of the microsoft.graph.site entity.Provides operations to manage the operations property of the microsoft.graph.site entity.pages()Provides operations to manage the pages property of the microsoft.graph.site entity.Update entity in sitespatch(Site body, Consumer<SiteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in sitesProvides operations to manage the permissions property of the microsoft.graph.site entity.sites()Provides operations to manage the sites property of the microsoft.graph.site entity.Provides operations to manage the termStore property of the microsoft.graph.site entity.Provides operations to manage the termStores property of the microsoft.graph.site entity.com.microsoft.kiota.RequestInformationRetrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SiteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.com.microsoft.kiota.RequestInformationUpdate entity in sitescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Site body, Consumer<SiteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in sitesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SiteItemRequestBuilder
public SiteItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSiteItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SiteItemRequestBuilder
public SiteItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSiteItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
analytics
Provides operations to manage the analytics property of the microsoft.graph.site entity.- Returns:
- a
AnalyticsRequestBuilder
-
columns
Provides operations to manage the columns property of the microsoft.graph.site entity.- Returns:
- a
ColumnsRequestBuilder
-
contentTypes
Provides operations to manage the contentTypes property of the microsoft.graph.site entity.- Returns:
- a
ContentTypesRequestBuilder
-
createdByUser
Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
CreatedByUserRequestBuilder
-
drive
Provides operations to manage the drive property of the microsoft.graph.site entity.- Returns:
- a
DriveRequestBuilder
-
drives
Provides operations to manage the drives property of the microsoft.graph.site entity.- Returns:
- a
DrivesRequestBuilder
-
externalColumns
Provides operations to manage the externalColumns property of the microsoft.graph.site entity.- Returns:
- a
ExternalColumnsRequestBuilder
-
getActivitiesByInterval
Provides operations to call the getActivitiesByInterval method.- Returns:
- a
GetActivitiesByIntervalRequestBuilder
-
items
Provides operations to manage the items property of the microsoft.graph.site entity.- Returns:
- a
ItemsRequestBuilder
-
lastModifiedByUser
Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity.- Returns:
- a
LastModifiedByUserRequestBuilder
-
lists
Provides operations to manage the lists property of the microsoft.graph.site entity.- Returns:
- a
ListsRequestBuilder
-
onenote
Provides operations to manage the onenote property of the microsoft.graph.site entity.- Returns:
- a
OnenoteRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.site entity.- Returns:
- a
OperationsRequestBuilder
-
pages
Provides operations to manage the pages property of the microsoft.graph.site entity.- Returns:
- a
PagesRequestBuilder
-
permissions
Provides operations to manage the permissions property of the microsoft.graph.site entity.- Returns:
- a
PermissionsRequestBuilder
-
sites
Provides operations to manage the sites property of the microsoft.graph.site entity.- Returns:
- a
SitesRequestBuilder
-
termStore
Provides operations to manage the termStore property of the microsoft.graph.site entity.- Returns:
- a
TermStoreRequestBuilder
-
termStores
Provides operations to manage the termStores property of the microsoft.graph.site entity.- Returns:
- a
TermStoresRequestBuilder
-
get
Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.- Returns:
- a
Site - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Site get(@Nullable Consumer<SiteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Site - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval
@Nonnull public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval(@Nonnull String endDateTime, @Nonnull String interval, @Nonnull String startDateTime) Provides operations to call the getActivitiesByInterval method.- Parameters:
endDateTime- Usage: endDateTime='{endDateTime}'interval- Usage: interval='{interval}'startDateTime- Usage: startDateTime='{startDateTime}'- Returns:
- a
GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder
-
getApplicableContentTypesForListWithListId
@Nonnull public GetApplicableContentTypesForListWithListIdRequestBuilder getApplicableContentTypesForListWithListId(@Nonnull String listId) Provides operations to call the getApplicableContentTypesForList method.- Parameters:
listId- Usage: listId='{listId}'- Returns:
- a
GetApplicableContentTypesForListWithListIdRequestBuilder
-
getByPathWithPath
Provides operations to call the getByPath method.- Parameters:
path- Usage: path='{path}'- Returns:
- a
GetByPathWithPathRequestBuilder
-
patch
Update entity in sites- Parameters:
body- The request body- Returns:
- a
Site - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Site patch(@Nonnull Site body, @Nullable Consumer<SiteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in sites- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Site - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SiteItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Site body) Update entity in sites- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Site body, @Nullable Consumer<SiteItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update entity in sites- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
SiteItemRequestBuilder
-