Class TeamsAppDefinitionItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.appcatalogs.teamsapps.item.appdefinitions.item.TeamsAppDefinitionItemRequestBuilder
@Generated("com.microsoft.kiota")
public class TeamsAppDefinitionItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe details for each version of the app.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
ConstructorsConstructorDescriptionTeamsAppDefinitionItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsAppDefinitionItemRequestBuilderand sets the default values.TeamsAppDefinitionItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsAppDefinitionItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbot()Provides operations to manage the bot property of the microsoft.graph.teamsAppDefinition entity.voiddelete()Delete navigation property appDefinitions for appCatalogsvoiddelete(Consumer<TeamsAppDefinitionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property appDefinitions for appCatalogsget()The details for each version of the app.get(Consumer<TeamsAppDefinitionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The details for each version of the app.patch(TeamsAppDefinition body) Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization.patch(TeamsAppDefinition body, Consumer<TeamsAppDefinitionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization.com.microsoft.kiota.RequestInformationDelete navigation property appDefinitions for appCatalogscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<TeamsAppDefinitionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property appDefinitions for appCatalogscom.microsoft.kiota.RequestInformationThe details for each version of the app.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<TeamsAppDefinitionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The details for each version of the app.com.microsoft.kiota.RequestInformationPublish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(TeamsAppDefinition body, Consumer<TeamsAppDefinitionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
TeamsAppDefinitionItemRequestBuilder
public TeamsAppDefinitionItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsAppDefinitionItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
TeamsAppDefinitionItemRequestBuilder
public TeamsAppDefinitionItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTeamsAppDefinitionItemRequestBuilderand 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
-
bot
Provides operations to manage the bot property of the microsoft.graph.teamsAppDefinition entity.- Returns:
- a
BotRequestBuilder
-
delete
public void delete()Delete navigation property appDefinitions for appCatalogs- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<TeamsAppDefinitionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property appDefinitions for appCatalogs- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
The details for each version of the app.- Returns:
- a
TeamsAppDefinition - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public TeamsAppDefinition get(@Nullable Consumer<TeamsAppDefinitionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The details for each version of the app.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
TeamsAppDefinition - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.- Parameters:
body- The request body- Returns:
- a
TeamsAppDefinition - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public TeamsAppDefinition patch(@Nonnull TeamsAppDefinition body, @Nullable Consumer<TeamsAppDefinitionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
TeamsAppDefinition - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property appDefinitions for appCatalogs- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<TeamsAppDefinitionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property appDefinitions for appCatalogs- 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()The details for each version of the app.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<TeamsAppDefinitionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The details for each version of the app.- 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 TeamsAppDefinition body) Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull TeamsAppDefinition body, @Nullable Consumer<TeamsAppDefinitionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.- 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
TeamsAppDefinitionItemRequestBuilder
-