@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class CustomizationApi extends Object
Constructor and Description |
---|
CustomizationApi() |
CustomizationApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Brand |
createBrand(List<String> expand,
String after,
Integer limit,
String q,
CreateBrandRequest createBrandRequest)
Create a Brand
Creates a new brand in your org
|
Brand |
createBrand(List<String> expand,
String after,
Integer limit,
String q,
CreateBrandRequest createBrandRequest,
Map<String,String> additionalHeaders)
Create a Brand
Creates a new brand in your org
|
EmailCustomization |
createEmailCustomization(String brandId,
String templateName,
EmailCustomization instance)
Create an Email Customization
Creates a new email customization
|
EmailCustomization |
createEmailCustomization(String brandId,
String templateName,
EmailCustomization instance,
Map<String,String> additionalHeaders)
Create an Email Customization
Creates a new email customization
|
void |
deleteAllCustomizations(String brandId,
String templateName)
Delete all Email Customizations
Deletes all customizations for an email template
|
void |
deleteAllCustomizations(String brandId,
String templateName,
Map<String,String> additionalHeaders)
Delete all Email Customizations
Deletes all customizations for an email template
|
void |
deleteBrand(String brandId,
List<String> expand)
Delete a brand
Deletes a brand by `brandId`
|
void |
deleteBrand(String brandId,
List<String> expand,
Map<String,String> additionalHeaders)
Delete a brand
Deletes a brand by `brandId`
|
void |
deleteBrandThemeBackgroundImage(String brandId,
String themeId)
Delete the Background Image
Deletes a Theme background image
|
void |
deleteBrandThemeBackgroundImage(String brandId,
String themeId,
Map<String,String> additionalHeaders)
Delete the Background Image
Deletes a Theme background image
|
void |
deleteBrandThemeFavicon(String brandId,
String themeId)
Delete the Favicon
Deletes a Theme favicon.
|
void |
deleteBrandThemeFavicon(String brandId,
String themeId,
Map<String,String> additionalHeaders)
Delete the Favicon
Deletes a Theme favicon.
|
void |
deleteBrandThemeLogo(String brandId,
String themeId)
Delete the Logo
Deletes a Theme logo.
|
void |
deleteBrandThemeLogo(String brandId,
String themeId,
Map<String,String> additionalHeaders)
Delete the Logo
Deletes a Theme logo.
|
void |
deleteCustomizedErrorPage(String brandId)
Delete the Customized Error Page
Deletes the customized error page.
|
void |
deleteCustomizedErrorPage(String brandId,
Map<String,String> additionalHeaders)
Delete the Customized Error Page
Deletes the customized error page.
|
void |
deleteCustomizedSignInPage(String brandId)
Delete the Customized Sign-in Page
Deletes the customized sign-in page.
|
void |
deleteCustomizedSignInPage(String brandId,
Map<String,String> additionalHeaders)
Delete the Customized Sign-in Page
Deletes the customized sign-in page.
|
void |
deleteEmailCustomization(String brandId,
String templateName,
String customizationId)
Delete an Email Customization
Deletes an email customization by its unique identifier
|
void |
deleteEmailCustomization(String brandId,
String templateName,
String customizationId,
Map<String,String> additionalHeaders)
Delete an Email Customization
Deletes an email customization by its unique identifier
|
void |
deletePreviewErrorPage(String brandId)
Delete the Preview Error Page
Deletes the preview error page.
|
void |
deletePreviewErrorPage(String brandId,
Map<String,String> additionalHeaders)
Delete the Preview Error Page
Deletes the preview error page.
|
void |
deletePreviewSignInPage(String brandId)
Delete the Preview Sign-in Page
Deletes the preview sign-in page.
|
void |
deletePreviewSignInPage(String brandId,
Map<String,String> additionalHeaders)
Delete the Preview Sign-in Page
Deletes the preview sign-in page.
|
ApiClient |
getApiClient() |
BrandWithEmbedded |
getBrand(String brandId,
List<String> expand)
Retrieve a Brand
Retrieves a brand by `brandId`
|
BrandWithEmbedded |
getBrand(String brandId,
List<String> expand,
Map<String,String> additionalHeaders)
Retrieve a Brand
Retrieves a brand by `brandId`
|
ThemeResponse |
getBrandTheme(String brandId,
String themeId)
Retrieve a Theme
Retrieves a theme for a brand
|
ThemeResponse |
getBrandTheme(String brandId,
String themeId,
Map<String,String> additionalHeaders)
Retrieve a Theme
Retrieves a theme for a brand
|
EmailPreview |
getCustomizationPreview(String brandId,
String templateName,
String customizationId)
Retrieve a Preview of an Email Customization
Retrieves a preview of an email customization.
|
EmailPreview |
getCustomizationPreview(String brandId,
String templateName,
String customizationId,
Map<String,String> additionalHeaders)
Retrieve a Preview of an Email Customization
Retrieves a preview of an email customization.
|
ErrorPage |
getCustomizedErrorPage(String brandId)
Retrieve the Customized Error Page
Retrieves the customized error page.
|
ErrorPage |
getCustomizedErrorPage(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Customized Error Page
Retrieves the customized error page.
|
SignInPage |
getCustomizedSignInPage(String brandId)
Retrieve the Customized Sign-in Page
Retrieves the customized sign-in page.
|
SignInPage |
getCustomizedSignInPage(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Customized Sign-in Page
Retrieves the customized sign-in page.
|
ErrorPage |
getDefaultErrorPage(String brandId)
Retrieve the Default Error Page
Retrieves the default error page.
|
ErrorPage |
getDefaultErrorPage(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Default Error Page
Retrieves the default error page.
|
SignInPage |
getDefaultSignInPage(String brandId)
Retrieve the Default Sign-in Page
Retrieves the default sign-in page.
|
SignInPage |
getDefaultSignInPage(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Default Sign-in Page
Retrieves the default sign-in page.
|
EmailCustomization |
getEmailCustomization(String brandId,
String templateName,
String customizationId)
Retrieve an Email Customization
Retrieves an email customization by its unique identifier
|
EmailCustomization |
getEmailCustomization(String brandId,
String templateName,
String customizationId,
Map<String,String> additionalHeaders)
Retrieve an Email Customization
Retrieves an email customization by its unique identifier
|
EmailDefaultContent |
getEmailDefaultContent(String brandId,
String templateName,
String language)
Retrieve an Email Template Default Content
Retrieves an email template's default content
|
EmailDefaultContent |
getEmailDefaultContent(String brandId,
String templateName,
String language,
Map<String,String> additionalHeaders)
Retrieve an Email Template Default Content
Retrieves an email template's default content
|
EmailPreview |
getEmailDefaultPreview(String brandId,
String templateName,
String language)
Retrieve a Preview of the Email Template Default Content
Retrieves a preview of an email template's default content.
|
EmailPreview |
getEmailDefaultPreview(String brandId,
String templateName,
String language,
Map<String,String> additionalHeaders)
Retrieve a Preview of the Email Template Default Content
Retrieves a preview of an email template's default content.
|
EmailSettings |
getEmailSettings(String brandId,
String templateName)
Retrieve the Email Template Settings
Retrieves an email template's settings
|
EmailSettings |
getEmailSettings(String brandId,
String templateName,
Map<String,String> additionalHeaders)
Retrieve the Email Template Settings
Retrieves an email template's settings
|
EmailTemplate |
getEmailTemplate(String brandId,
String templateName,
List<String> expand)
Retrieve an Email Template
Retrieves the details of an email template by name
|
EmailTemplate |
getEmailTemplate(String brandId,
String templateName,
List<String> expand,
Map<String,String> additionalHeaders)
Retrieve an Email Template
Retrieves the details of an email template by name
|
PageRoot |
getErrorPage(String brandId,
List<String> expand)
Retrieve the Error Page Sub-Resources
Retrieves the error page sub-resources.
|
PageRoot |
getErrorPage(String brandId,
List<String> expand,
Map<String,String> additionalHeaders)
Retrieve the Error Page Sub-Resources
Retrieves the error page sub-resources.
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
ErrorPage |
getPreviewErrorPage(String brandId)
Retrieve the Preview Error Page Preview
Retrieves the preview error page.
|
ErrorPage |
getPreviewErrorPage(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Preview Error Page Preview
Retrieves the preview error page.
|
SignInPage |
getPreviewSignInPage(String brandId)
Retrieve the Preview Sign-in Page Preview
Retrieves the preview sign-in page.
|
SignInPage |
getPreviewSignInPage(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Preview Sign-in Page Preview
Retrieves the preview sign-in page.
|
PageRoot |
getSignInPage(String brandId,
List<String> expand)
Retrieve the Sign-in Page Sub-Resources
Retrieves the sign-in page sub-resources.
|
PageRoot |
getSignInPage(String brandId,
List<String> expand,
Map<String,String> additionalHeaders)
Retrieve the Sign-in Page Sub-Resources
Retrieves the sign-in page sub-resources.
|
HostedPage |
getSignOutPageSettings(String brandId)
Retrieve the Sign-out Page Settings
Retrieves the sign-out page settings
|
HostedPage |
getSignOutPageSettings(String brandId,
Map<String,String> additionalHeaders)
Retrieve the Sign-out Page Settings
Retrieves the sign-out page settings
|
List<String> |
listAllSignInWidgetVersions(String brandId)
List all Sign-in Widget Versions
Lists all sign-in widget versions supported by the current org
|
List<String> |
listAllSignInWidgetVersions(String brandId,
Map<String,String> additionalHeaders)
List all Sign-in Widget Versions
Lists all sign-in widget versions supported by the current org
|
List<DomainResponse> |
listBrandDomains(String brandId)
List all Domains associated with a Brand
Lists all domains associated with a brand by `brandId`
|
List<DomainResponse> |
listBrandDomains(String brandId,
Map<String,String> additionalHeaders)
List all Domains associated with a Brand
Lists all domains associated with a brand by `brandId`
|
List<BrandWithEmbedded> |
listBrands(List<String> expand,
String after,
Integer limit,
String q)
List all Brands
Lists all the brands in your org
|
List<BrandWithEmbedded> |
listBrands(List<String> expand,
String after,
Integer limit,
String q,
Map<String,String> additionalHeaders)
List all Brands
Lists all the brands in your org
|
List<ThemeResponse> |
listBrandThemes(String brandId)
List all Themes
Lists all the themes in your brand
|
List<ThemeResponse> |
listBrandThemes(String brandId,
Map<String,String> additionalHeaders)
List all Themes
Lists all the themes in your brand
|
List<EmailCustomization> |
listEmailCustomizations(String brandId,
String templateName,
String after,
Integer limit)
List all Email Customizations
Lists all customizations of an email template
|
List<EmailCustomization> |
listEmailCustomizations(String brandId,
String templateName,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Email Customizations
Lists all customizations of an email template
|
List<EmailTemplate> |
listEmailTemplates(String brandId,
String after,
Integer limit,
List<String> expand)
List all Email Templates
Lists all email templates
|
List<EmailTemplate> |
listEmailTemplates(String brandId,
String after,
Integer limit,
List<String> expand,
Map<String,String> additionalHeaders)
List all Email Templates
Lists all email templates
|
Brand |
replaceBrand(String brandId,
BrandRequest brand,
List<String> expand)
Replace a Brand
Replaces a brand by `brandId`
|
Brand |
replaceBrand(String brandId,
BrandRequest brand,
List<String> expand,
Map<String,String> additionalHeaders)
Replace a Brand
Replaces a brand by `brandId`
|
ThemeResponse |
replaceBrandTheme(String brandId,
String themeId,
Theme theme)
Replace a Theme
Replaces a theme for a brand
|
ThemeResponse |
replaceBrandTheme(String brandId,
String themeId,
Theme theme,
Map<String,String> additionalHeaders)
Replace a Theme
Replaces a theme for a brand
|
ErrorPage |
replaceCustomizedErrorPage(String brandId,
ErrorPage errorPage)
Replace the Customized Error Page
Replaces the customized error page.
|
ErrorPage |
replaceCustomizedErrorPage(String brandId,
ErrorPage errorPage,
Map<String,String> additionalHeaders)
Replace the Customized Error Page
Replaces the customized error page.
|
SignInPage |
replaceCustomizedSignInPage(String brandId,
SignInPage signInPage)
Replace the Customized Sign-in Page
Replaces the customized sign-in page.
|
SignInPage |
replaceCustomizedSignInPage(String brandId,
SignInPage signInPage,
Map<String,String> additionalHeaders)
Replace the Customized Sign-in Page
Replaces the customized sign-in page.
|
EmailCustomization |
replaceEmailCustomization(String brandId,
String templateName,
String customizationId,
EmailCustomization instance)
Replace an Email Customization
Replaces an existing email customization using the property values provided
|
EmailCustomization |
replaceEmailCustomization(String brandId,
String templateName,
String customizationId,
EmailCustomization instance,
Map<String,String> additionalHeaders)
Replace an Email Customization
Replaces an existing email customization using the property values provided
|
void |
replaceEmailSettings(String brandId,
String templateName,
EmailSettings emailSettings)
Replace the Email Template Settings
Replaces an email template's settings
|
void |
replaceEmailSettings(String brandId,
String templateName,
EmailSettings emailSettings,
Map<String,String> additionalHeaders)
Replace the Email Template Settings
Replaces an email template's settings
|
ErrorPage |
replacePreviewErrorPage(String brandId,
ErrorPage errorPage)
Replace the Preview Error Page
Replaces the preview error page.
|
ErrorPage |
replacePreviewErrorPage(String brandId,
ErrorPage errorPage,
Map<String,String> additionalHeaders)
Replace the Preview Error Page
Replaces the preview error page.
|
SignInPage |
replacePreviewSignInPage(String brandId,
SignInPage signInPage)
Replace the Preview Sign-in Page
Replaces the preview sign-in page.
|
SignInPage |
replacePreviewSignInPage(String brandId,
SignInPage signInPage,
Map<String,String> additionalHeaders)
Replace the Preview Sign-in Page
Replaces the preview sign-in page.
|
HostedPage |
replaceSignOutPageSettings(String brandId,
HostedPage hostedPage)
Replace the Sign-out Page Settings
Replaces the sign-out page settings
|
HostedPage |
replaceSignOutPageSettings(String brandId,
HostedPage hostedPage,
Map<String,String> additionalHeaders)
Replace the Sign-out Page Settings
Replaces the sign-out page settings
|
void |
sendTestEmail(String brandId,
String templateName,
String language)
Send a Test Email
Sends a test email to the current user’s primary and secondary email addresses.
|
void |
sendTestEmail(String brandId,
String templateName,
String language,
Map<String,String> additionalHeaders)
Send a Test Email
Sends a test email to the current user’s primary and secondary email addresses.
|
void |
setApiClient(ApiClient apiClient) |
ImageUploadResponse |
uploadBrandThemeBackgroundImage(String brandId,
String themeId,
File _file)
Upload the Background Image
Uploads and replaces the background image for the theme.
|
ImageUploadResponse |
uploadBrandThemeBackgroundImage(String brandId,
String themeId,
File _file,
Map<String,String> additionalHeaders)
Upload the Background Image
Uploads and replaces the background image for the theme.
|
ImageUploadResponse |
uploadBrandThemeFavicon(String brandId,
String themeId,
File _file)
Upload the Favicon
Uploads and replaces the favicon for the theme
|
ImageUploadResponse |
uploadBrandThemeFavicon(String brandId,
String themeId,
File _file,
Map<String,String> additionalHeaders)
Upload the Favicon
Uploads and replaces the favicon for the theme
|
ImageUploadResponse |
uploadBrandThemeLogo(String brandId,
String themeId,
File _file)
Upload the Logo
Uploads and replaces the logo for the theme.
|
ImageUploadResponse |
uploadBrandThemeLogo(String brandId,
String themeId,
File _file,
Map<String,String> additionalHeaders)
Upload the Logo
Uploads and replaces the logo for the theme.
|
public CustomizationApi()
public CustomizationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Brand createBrand(List<String> expand, String after, Integer limit, String q, CreateBrandRequest createBrandRequest) throws ApiException
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)createBrandRequest
- (optional)ApiException
- if fails to make API callpublic Brand createBrand(List<String> expand, String after, Integer limit, String q, CreateBrandRequest createBrandRequest, Map<String,String> additionalHeaders) throws ApiException
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)createBrandRequest
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailCustomization createEmailCustomization(String brandId, String templateName, EmailCustomization instance) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)instance
- (optional)ApiException
- if fails to make API callpublic EmailCustomization createEmailCustomization(String brandId, String templateName, EmailCustomization instance, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)instance
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteAllCustomizations(String brandId, String templateName) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)ApiException
- if fails to make API callpublic void deleteAllCustomizations(String brandId, String templateName, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteBrand(String brandId, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic void deleteBrand(String brandId, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteBrandThemeBackgroundImage(String brandId, String themeId) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)ApiException
- if fails to make API callpublic void deleteBrandThemeBackgroundImage(String brandId, String themeId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteBrandThemeFavicon(String brandId, String themeId) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)ApiException
- if fails to make API callpublic void deleteBrandThemeFavicon(String brandId, String themeId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteBrandThemeLogo(String brandId, String themeId) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)ApiException
- if fails to make API callpublic void deleteBrandThemeLogo(String brandId, String themeId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteCustomizedErrorPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic void deleteCustomizedErrorPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteCustomizedSignInPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic void deleteCustomizedSignInPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteEmailCustomization(String brandId, String templateName, String customizationId) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)ApiException
- if fails to make API callpublic void deleteEmailCustomization(String brandId, String templateName, String customizationId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deletePreviewErrorPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic void deletePreviewErrorPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deletePreviewSignInPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic void deletePreviewSignInPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic BrandWithEmbedded getBrand(String brandId, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic BrandWithEmbedded getBrand(String brandId, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ThemeResponse getBrandTheme(String brandId, String themeId) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)ApiException
- if fails to make API callpublic ThemeResponse getBrandTheme(String brandId, String themeId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailPreview getCustomizationPreview(String brandId, String templateName, String customizationId) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)ApiException
- if fails to make API callpublic EmailPreview getCustomizationPreview(String brandId, String templateName, String customizationId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ErrorPage getCustomizedErrorPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic ErrorPage getCustomizedErrorPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic SignInPage getCustomizedSignInPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic SignInPage getCustomizedSignInPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ErrorPage getDefaultErrorPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic ErrorPage getDefaultErrorPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic SignInPage getDefaultSignInPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic SignInPage getDefaultSignInPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailCustomization getEmailCustomization(String brandId, String templateName, String customizationId) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)ApiException
- if fails to make API callpublic EmailCustomization getEmailCustomization(String brandId, String templateName, String customizationId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailDefaultContent getEmailDefaultContent(String brandId, String templateName, String language) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)ApiException
- if fails to make API callpublic EmailDefaultContent getEmailDefaultContent(String brandId, String templateName, String language, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailPreview getEmailDefaultPreview(String brandId, String templateName, String language) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)ApiException
- if fails to make API callpublic EmailPreview getEmailDefaultPreview(String brandId, String templateName, String language, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailSettings getEmailSettings(String brandId, String templateName) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)ApiException
- if fails to make API callpublic EmailSettings getEmailSettings(String brandId, String templateName, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailTemplate getEmailTemplate(String brandId, String templateName, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic EmailTemplate getEmailTemplate(String brandId, String templateName, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic PageRoot getErrorPage(String brandId, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic PageRoot getErrorPage(String brandId, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ErrorPage getPreviewErrorPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic ErrorPage getPreviewErrorPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic SignInPage getPreviewSignInPage(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic SignInPage getPreviewSignInPage(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic PageRoot getSignInPage(String brandId, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic PageRoot getSignInPage(String brandId, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic HostedPage getSignOutPageSettings(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic HostedPage getSignOutPageSettings(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<String> listAllSignInWidgetVersions(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic List<String> listAllSignInWidgetVersions(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<DomainResponse> listBrandDomains(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic List<DomainResponse> listBrandDomains(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<ThemeResponse> listBrandThemes(String brandId) throws ApiException
brandId
- The ID of the brand (required)ApiException
- if fails to make API callpublic List<ThemeResponse> listBrandThemes(String brandId, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<BrandWithEmbedded> listBrands(List<String> expand, String after, Integer limit, String q) throws ApiException
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)ApiException
- if fails to make API callpublic List<BrandWithEmbedded> listBrands(List<String> expand, String after, Integer limit, String q, Map<String,String> additionalHeaders) throws ApiException
expand
- Specifies additional metadata to be included in the response (optionalafter
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)q
- Searches the records for matching value (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<EmailCustomization> listEmailCustomizations(String brandId, String templateName, String after, Integer limit) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)ApiException
- if fails to make API callpublic List<EmailCustomization> listEmailCustomizations(String brandId, String templateName, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<EmailTemplate> listEmailTemplates(String brandId, String after, Integer limit, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic List<EmailTemplate> listEmailTemplates(String brandId, String after, Integer limit, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return (optional, default to 20)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic Brand replaceBrand(String brandId, BrandRequest brand, List<String> expand) throws ApiException
brandId
- The ID of the brand (required)brand
- (required)expand
- Specifies additional metadata to be included in the response (optionalApiException
- if fails to make API callpublic Brand replaceBrand(String brandId, BrandRequest brand, List<String> expand, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)brand
- (required)expand
- Specifies additional metadata to be included in the response (optionaladditionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ThemeResponse replaceBrandTheme(String brandId, String themeId, Theme theme) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)theme
- (required)ApiException
- if fails to make API callpublic ThemeResponse replaceBrandTheme(String brandId, String themeId, Theme theme, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)theme
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ErrorPage replaceCustomizedErrorPage(String brandId, ErrorPage errorPage) throws ApiException
brandId
- The ID of the brand (required)errorPage
- (required)ApiException
- if fails to make API callpublic ErrorPage replaceCustomizedErrorPage(String brandId, ErrorPage errorPage, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)errorPage
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic SignInPage replaceCustomizedSignInPage(String brandId, SignInPage signInPage) throws ApiException
brandId
- The ID of the brand (required)signInPage
- (required)ApiException
- if fails to make API callpublic SignInPage replaceCustomizedSignInPage(String brandId, SignInPage signInPage, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)signInPage
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic EmailCustomization replaceEmailCustomization(String brandId, String templateName, String customizationId, EmailCustomization instance) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)instance
- Request (optional)ApiException
- if fails to make API callpublic EmailCustomization replaceEmailCustomization(String brandId, String templateName, String customizationId, EmailCustomization instance, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)customizationId
- The ID of the email customization (required)instance
- Request (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void replaceEmailSettings(String brandId, String templateName, EmailSettings emailSettings) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)emailSettings
- (optional)ApiException
- if fails to make API callpublic void replaceEmailSettings(String brandId, String templateName, EmailSettings emailSettings, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)emailSettings
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ErrorPage replacePreviewErrorPage(String brandId, ErrorPage errorPage) throws ApiException
brandId
- The ID of the brand (required)errorPage
- (required)ApiException
- if fails to make API callpublic ErrorPage replacePreviewErrorPage(String brandId, ErrorPage errorPage, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)errorPage
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic SignInPage replacePreviewSignInPage(String brandId, SignInPage signInPage) throws ApiException
brandId
- The ID of the brand (required)signInPage
- (required)ApiException
- if fails to make API callpublic SignInPage replacePreviewSignInPage(String brandId, SignInPage signInPage, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)signInPage
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic HostedPage replaceSignOutPageSettings(String brandId, HostedPage hostedPage) throws ApiException
brandId
- The ID of the brand (required)hostedPage
- (required)ApiException
- if fails to make API callpublic HostedPage replaceSignOutPageSettings(String brandId, HostedPage hostedPage, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)hostedPage
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void sendTestEmail(String brandId, String templateName, String language) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)ApiException
- if fails to make API callpublic void sendTestEmail(String brandId, String templateName, String language, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)templateName
- The name of the email template (required)language
- The language to use for the email. Defaults to the current user's language if unspecified. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ImageUploadResponse uploadBrandThemeBackgroundImage(String brandId, String themeId, File _file) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)ApiException
- if fails to make API callpublic ImageUploadResponse uploadBrandThemeBackgroundImage(String brandId, String themeId, File _file, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ImageUploadResponse uploadBrandThemeFavicon(String brandId, String themeId, File _file) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)ApiException
- if fails to make API callpublic ImageUploadResponse uploadBrandThemeFavicon(String brandId, String themeId, File _file, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ImageUploadResponse uploadBrandThemeLogo(String brandId, String themeId, File _file) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (required)ApiException
- if fails to make API callpublic ImageUploadResponse uploadBrandThemeLogo(String brandId, String themeId, File _file, Map<String,String> additionalHeaders) throws ApiException
brandId
- The ID of the brand (required)themeId
- The ID of the theme (required)_file
- (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.