@Generated public class ConsumerInstallationsAPI extends Object
Constructor and Description |
---|
ConsumerInstallationsAPI(ApiClient apiClient)
Regular-use constructor
|
ConsumerInstallationsAPI(ConsumerInstallationsService mock)
Constructor for mocks
|
Modifier and Type | Method and Description |
---|---|
Installation |
create(CreateInstallationRequest request)
Install from a listing.
|
Installation |
create(String listingId) |
void |
delete(DeleteInstallationRequest request)
Uninstall from a listing.
|
void |
delete(String listingId,
String installationId) |
ConsumerInstallationsService |
impl() |
Iterable<InstallationDetail> |
list(ListAllInstallationsRequest request)
List all installations.
|
Iterable<InstallationDetail> |
listListingInstallations(ListInstallationsRequest request)
List installations for a listing.
|
Iterable<InstallationDetail> |
listListingInstallations(String listingId) |
UpdateInstallationResponse |
update(String listingId,
String installationId,
InstallationDetail installation) |
UpdateInstallationResponse |
update(UpdateInstallationRequest request)
Update an installation.
|
public ConsumerInstallationsAPI(ApiClient apiClient)
public ConsumerInstallationsAPI(ConsumerInstallationsService mock)
public Installation create(String listingId)
public Installation create(CreateInstallationRequest request)
Install payload associated with a Databricks Marketplace listing.
public void delete(DeleteInstallationRequest request)
Uninstall an installation associated with a Databricks Marketplace listing.
public Iterable<InstallationDetail> list(ListAllInstallationsRequest request)
List all installations across all listings.
public Iterable<InstallationDetail> listListingInstallations(String listingId)
public Iterable<InstallationDetail> listListingInstallations(ListInstallationsRequest request)
List all installations for a particular listing.
public UpdateInstallationResponse update(String listingId, String installationId, InstallationDetail installation)
public UpdateInstallationResponse update(UpdateInstallationRequest request)
This is a update API that will update the part of the fields defined in the installation table as well as interact with external services according to the fields not included in the installation table 1. the token will be rotate if the rotateToken flag is true 2. the token will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty
public ConsumerInstallationsService impl()
Copyright © 2024. All rights reserved.