Class AsyncBrandsClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.brands.AsyncBrandsClient
-
public class AsyncBrandsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncBrandsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<BrandList>listBrands()Retrieves all brands for the workspace, including the default brand.java.util.concurrent.CompletableFuture<BrandList>listBrands(RequestOptions requestOptions)Retrieves all brands for the workspace, including the default brand.java.util.concurrent.CompletableFuture<Brand>retrieveBrand(RetrieveBrandRequest request)Fetches a specific brand by its unique identifierjava.util.concurrent.CompletableFuture<Brand>retrieveBrand(RetrieveBrandRequest request, RequestOptions requestOptions)Fetches a specific brand by its unique identifierAsyncRawBrandsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncBrandsClient
public AsyncBrandsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawBrandsClient withRawResponse()
Get responses with HTTP metadata like headers
-
listBrands
public java.util.concurrent.CompletableFuture<BrandList> listBrands()
Retrieves all brands for the workspace, including the default brand. The default brand id always matches the workspace
-
listBrands
public java.util.concurrent.CompletableFuture<BrandList> listBrands(RequestOptions requestOptions)
Retrieves all brands for the workspace, including the default brand. The default brand id always matches the workspace
-
retrieveBrand
public java.util.concurrent.CompletableFuture<Brand> retrieveBrand(RetrieveBrandRequest request)
Fetches a specific brand by its unique identifier
-
retrieveBrand
public java.util.concurrent.CompletableFuture<Brand> retrieveBrand(RetrieveBrandRequest request, RequestOptions requestOptions)
Fetches a specific brand by its unique identifier
-
-