Class ExternalConnectionItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.external.connections.item.ExternalConnectionItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ExternalConnectionItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of an externalConnection object.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
ConstructorsConstructorDescriptionExternalConnectionItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExternalConnectionItemRequestBuilderand sets the default values.ExternalConnectionItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExternalConnectionItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes an externalConnection object.voiddelete(Consumer<ExternalConnectionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes an externalConnection object.get()Read the properties and relationships of an externalConnection object.get(Consumer<ExternalConnectionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an externalConnection object.groups()Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity.items()Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity.patch(ExternalConnection body) Update the properties of an externalConnection object.patch(ExternalConnection body, Consumer<ExternalConnectionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an externalConnection object.schema()Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity.com.microsoft.kiota.RequestInformationDeletes an externalConnection object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ExternalConnectionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes an externalConnection object.com.microsoft.kiota.RequestInformationRead the properties and relationships of an externalConnection object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ExternalConnectionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an externalConnection object.com.microsoft.kiota.RequestInformationUpdate the properties of an externalConnection object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(ExternalConnection body, Consumer<ExternalConnectionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an externalConnection object.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ExternalConnectionItemRequestBuilder
public ExternalConnectionItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExternalConnectionItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ExternalConnectionItemRequestBuilder
public ExternalConnectionItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExternalConnectionItemRequestBuilderand 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
-
groups
Provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity.- Returns:
- a
GroupsRequestBuilder
-
items
Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.- Returns:
- a
ItemsRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity.- Returns:
- a
OperationsRequestBuilder
-
schema
Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity.- Returns:
- a
SchemaRequestBuilder
-
delete
public void delete()Deletes an externalConnection object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<ExternalConnectionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes an externalConnection object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Read the properties and relationships of an externalConnection object.- Returns:
- a
ExternalConnection - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public ExternalConnection get(@Nullable Consumer<ExternalConnectionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an externalConnection object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ExternalConnection - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of an externalConnection object.- Parameters:
body- The request body- Returns:
- a
ExternalConnection - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public ExternalConnection patch(@Nonnull ExternalConnection body, @Nullable Consumer<ExternalConnectionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an externalConnection object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ExternalConnection - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Deletes an externalConnection object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ExternalConnectionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes an externalConnection object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read the properties and relationships of an externalConnection object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ExternalConnectionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an externalConnection object.- 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 ExternalConnection body) Update the properties of an externalConnection object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ExternalConnection body, @Nullable Consumer<ExternalConnectionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an externalConnection object.- 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
ExternalConnectionItemRequestBuilder
-