@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ProfileMappingApi extends Object
Constructor and Description |
---|
ProfileMappingApi() |
ProfileMappingApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
ProfileMapping |
getProfileMapping(String mappingId)
Retrieve a Profile Mapping
Retrieves a single Profile Mapping referenced by its ID
|
ProfileMapping |
getProfileMapping(String mappingId,
Map<String,String> additionalHeaders)
Retrieve a Profile Mapping
Retrieves a single Profile Mapping referenced by its ID
|
List<ListProfileMappings> |
listProfileMappings(String after,
Integer limit,
String sourceId,
String targetId)
List all Profile Mappings
Lists all profile mappings in your organization with [pagination](https://developer.okta.com/docs/api/#pagination).
|
List<ListProfileMappings> |
listProfileMappings(String after,
Integer limit,
String sourceId,
String targetId,
Map<String,String> additionalHeaders)
List all Profile Mappings
Lists all profile mappings in your organization with [pagination](https://developer.okta.com/docs/api/#pagination).
|
void |
setApiClient(ApiClient apiClient) |
ProfileMapping |
updateProfileMapping(String mappingId,
ProfileMappingRequest profileMapping)
Update a Profile Mapping
Updates an existing profile mapping by adding, updating, or removing one or many property mappings
|
ProfileMapping |
updateProfileMapping(String mappingId,
ProfileMappingRequest profileMapping,
Map<String,String> additionalHeaders)
Update a Profile Mapping
Updates an existing profile mapping by adding, updating, or removing one or many property mappings
|
public ProfileMappingApi()
public ProfileMappingApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ProfileMapping getProfileMapping(String mappingId) throws ApiException
mappingId
- `id` of the Mapping (required)ApiException
- if fails to make API callpublic ProfileMapping getProfileMapping(String mappingId, Map<String,String> additionalHeaders) throws ApiException
mappingId
- `id` of the Mapping (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<ListProfileMappings> listProfileMappings(String after, Integer limit, String sourceId, String targetId) throws ApiException
after
- Mapping `id` that specifies the pagination cursor for the next page of mappings (optional)limit
- Specifies the number of results per page (maximum 200) (optional, default to 20)sourceId
- The UserType or App Instance `id` that acts as the source of expressions in a mapping. If this parameter is included, all returned mappings have this as their `source.id`. (optional)targetId
- The UserType or App Instance `id` that acts as the target of expressions in a mapping. If this parameter is included, all returned mappings have this as their `target.id`. (optional)ApiException
- if fails to make API callpublic List<ListProfileMappings> listProfileMappings(String after, Integer limit, String sourceId, String targetId, Map<String,String> additionalHeaders) throws ApiException
after
- Mapping `id` that specifies the pagination cursor for the next page of mappings (optional)limit
- Specifies the number of results per page (maximum 200) (optional, default to 20)sourceId
- The UserType or App Instance `id` that acts as the source of expressions in a mapping. If this parameter is included, all returned mappings have this as their `source.id`. (optional)targetId
- The UserType or App Instance `id` that acts as the target of expressions in a mapping. If this parameter is included, all returned mappings have this as their `target.id`. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ProfileMapping updateProfileMapping(String mappingId, ProfileMappingRequest profileMapping) throws ApiException
mappingId
- `id` of the Mapping (required)profileMapping
- (required)ApiException
- if fails to make API callpublic ProfileMapping updateProfileMapping(String mappingId, ProfileMappingRequest profileMapping, Map<String,String> additionalHeaders) throws ApiException
mappingId
- `id` of the Mapping (required)profileMapping
- (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.