Package com.microsoft.graph.requests
Class ContentTypeRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<ContentType>
com.microsoft.graph.requests.ContentTypeRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class ContentTypeRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<ContentType>
The class for the Content Type Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionContentTypeRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the ContentType -
Method Summary
Modifier and TypeMethodDescriptionGets a builder to execute the methodbase()Gets the request builder for ContentTypeGets a request builder for the ContentType collectionGets a request builder for the ContentType itembuildRequest(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionsGets a request builder for the ColumnLink collectioncolumnLinks(String id) Gets a request builder for the ColumnLink itemGets a request builder for the ColumnDefinition collectionGets a request builder for the ColumnDefinition itemcolumns()Gets a request builder for the ColumnDefinition collectionGets a request builder for the ColumnDefinition itemGets a builder to execute the methodGets a builder to execute the methodpublish()Gets a builder to execute the methodGets a builder to execute the methodMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
ContentTypeRequestBuilder
public ContentTypeRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the ContentType- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public ContentTypeRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the ContentTypeRequest instance
-
buildRequest
@Nonnull public ContentTypeRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions- the options for this request- Returns:
- the ContentTypeRequest instance
-
base
Gets the request builder for ContentType- Returns:
- the ContentTypeWithReferenceRequestBuilder instance
-
baseTypes
Gets a request builder for the ContentType collection- Returns:
- the collection request builder
-
baseTypes
Gets a request builder for the ContentType item- Parameters:
id- the item identifier- Returns:
- the request builder
-
columnLinks
Gets a request builder for the ColumnLink collection- Returns:
- the collection request builder
-
columnLinks
Gets a request builder for the ColumnLink item- Parameters:
id- the item identifier- Returns:
- the request builder
-
columnPositions
Gets a request builder for the ColumnDefinition collection- Returns:
- the collection request builder
-
columnPositions
Gets a request builder for the ColumnDefinition item- Parameters:
id- the item identifier- Returns:
- the request builder
-
columns
Gets a request builder for the ColumnDefinition collection- Returns:
- the collection request builder
-
columns
Gets a request builder for the ColumnDefinition item- Parameters:
id- the item identifier- Returns:
- the request builder
-
publish
Gets a builder to execute the method- Returns:
- the request builder
-
unpublish
Gets a builder to execute the method- Returns:
- the request builder
-
associateWithHubSites
@Nonnull public ContentTypeAssociateWithHubSitesRequestBuilder associateWithHubSites(@Nonnull ContentTypeAssociateWithHubSitesParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
copyToDefaultContentLocation
@Nonnull public ContentTypeCopyToDefaultContentLocationRequestBuilder copyToDefaultContentLocation(@Nonnull ContentTypeCopyToDefaultContentLocationParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
isPublished
Gets a builder to execute the method- Returns:
- the request builder
-