@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ApplicationLogosApi extends Object
Constructor and Description |
---|
ApplicationLogosApi() |
ApplicationLogosApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
void |
setApiClient(ApiClient apiClient) |
void |
uploadApplicationLogo(String appId,
File _file)
Upload an application Logo
Uploads a logo for the app instance.
|
void |
uploadApplicationLogo(String appId,
File _file,
Map<String,String> additionalHeaders)
Upload an application Logo
Uploads a logo for the app instance.
|
public ApplicationLogosApi()
public ApplicationLogosApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void uploadApplicationLogo(String appId, File _file) throws ApiException
appId
- ID of the Application (required)_file
- The image file containing the logo. The file must be in PNG, JPG, SVG, or GIF format, and less than one MB in size. For best results, use an image with a transparent background and a square dimension of 200 x 200 pixels to prevent upscaling. (required)ApiException
- if fails to make API callpublic void uploadApplicationLogo(String appId, File _file, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)_file
- The image file containing the logo. The file must be in PNG, JPG, SVG, or GIF format, and less than one MB in size. For best results, use an image with a transparent background and a square dimension of 200 x 200 pixels to prevent upscaling. (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.