org.apache.camel.component.google.drive.DriveTeamdrivesEndpointConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camel-google-drive Show documentation
Show all versions of camel-google-drive Show documentation
Camel Component for GoogleDrive
/*
* Camel EndpointConfiguration generated by camel-api-component-maven-plugin
*/
package org.apache.camel.component.google.drive;
import org.apache.camel.spi.ApiMethod;
import org.apache.camel.spi.ApiParam;
import org.apache.camel.spi.ApiParams;
import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;
/**
* Camel endpoint configuration for {@link com.google.api.services.drive.Drive.Teamdrives}.
*/
@ApiParams(apiName = "drive-teamdrives",
description = "The teamdrives collection of methods",
apiMethods = {@ApiMethod(methodName = "create", description="Deprecated: Use drives", signatures={"com.google.api.services.drive.Drive$Teamdrives$Create create(String requestId, com.google.api.services.drive.model.TeamDrive content)"}), @ApiMethod(methodName = "delete", description="Deprecated: Use drives", signatures={"com.google.api.services.drive.Drive$Teamdrives$Delete delete(String teamDriveId)"}), @ApiMethod(methodName = "get", description="Deprecated: Use drives", signatures={"com.google.api.services.drive.Drive$Teamdrives$Get get(String teamDriveId)"}), @ApiMethod(methodName = "list", description="Deprecated: Use drives", signatures={"com.google.api.services.drive.Drive$Teamdrives$List list()"}), @ApiMethod(methodName = "update", description="Deprecated: Use drives", signatures={"com.google.api.services.drive.Drive$Teamdrives$Update update(String teamDriveId, com.google.api.services.drive.model.TeamDrive content)"})}, aliases = {})
@UriParams
@Configurer(extended = true)
public final class DriveTeamdrivesEndpointConfiguration extends GoogleDriveConfiguration {
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "create", description="The com.google.api.services.drive.model.TeamDrive"), @ApiMethod(methodName = "update", description="The com.google.api.services.drive.model.TeamDrive")})
private com.google.api.services.drive.model.TeamDrive content;
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "create", description="Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.")})
private String requestId;
@UriParam
@ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "delete", description="The ID of the Team Drive"), @ApiMethod(methodName = "get", description="The ID of the Team Drive"), @ApiMethod(methodName = "update", description="The ID of the Team Drive")})
private String teamDriveId;
public com.google.api.services.drive.model.TeamDrive getContent() {
return content;
}
public void setContent(com.google.api.services.drive.model.TeamDrive content) {
this.content = content;
}
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getTeamDriveId() {
return teamDriveId;
}
public void setTeamDriveId(String teamDriveId) {
this.teamDriveId = teamDriveId;
}
}