public class GmailusersthreadsuntrashOperation
extends com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
| Constructor and Description |
|---|
GmailusersthreadsuntrashOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
gmailusersthreadsuntrash(com.mulesoft.connectivity.rest.commons.api.configuration.RestConfiguration config,
com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection,
String userIdUriParam,
String idUriParam,
com.mulesoft.connectivity.rest.commons.api.operation.NonEntityRequestParameters parameters,
com.mulesoft.connectivity.rest.commons.api.operation.ConfigurationOverrides overrides,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseAttributes> callback)
Removes the specified thread from the trash.
|
addParameterToBindingContext, doRequest, doVoidRequest, getDefaultResponseMediaType, getExpressionLanguage, getRequestBindings, getRequestBodyDataType, getRequestBuilderWithBindings, getResponseBindings, resolveDefaultResponseMediaType, withMultipart@Throws(value=com.mulesoft.connectivity.rest.commons.api.error.RequestErrorTypeProvider.class) @DisplayName(value="Untrash Thread") @Summary(value="Removes the specified thread from the trash.") @MediaType(value="application/json") @OutputResolver(output=GmailusersthreadsuntrashOutputMetadataResolver.class) public void gmailusersthreadsuntrash(@Config com.mulesoft.connectivity.rest.commons.api.configuration.RestConfiguration config, @Connection com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection, @DisplayName(value="User Id") @Summary(value="The user\'s email address. The special value `me` can be used to indicate the authenticated user.") String userIdUriParam, @DisplayName(value="Thread Id") @Summary(value="The ID of the thread to remove from Trash.") String idUriParam, @ParameterGroup(name="Request Parameters") com.mulesoft.connectivity.rest.commons.api.operation.NonEntityRequestParameters parameters, @ParameterGroup(name="Connector Overrides") com.mulesoft.connectivity.rest.commons.api.operation.ConfigurationOverrides overrides, org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseAttributes> callback)
This operation makes an HTTP POST request to the /gmail/v1/users/{userId}/threads/{id}/untrash endpoint
config - the configuration to useconnection - the connection to useuserIdUriParam - The user's email address. The special value `me` can be used to indicate
the authenticated user.idUriParam - The ID of the thread to remove from Trash.parameters - the NonEntityRequestParametersoverrides - the ConfigurationOverridesstreamingHelper - the StreamingHelpercallback - the operation's CompletionCallbackCopyright © 2023 MuleSoft, Inc.. All rights reserved.