@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class UserTypeApi extends Object
Constructor and Description |
---|
UserTypeApi() |
UserTypeApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
UserType |
createUserType(UserType userType)
Create a User Type
Creates a new User Type.
|
UserType |
createUserType(UserType userType,
Map<String,String> additionalHeaders)
Create a User Type
Creates a new User Type.
|
void |
deleteUserType(String typeId)
Delete a User Type
Deletes a User Type permanently.
|
void |
deleteUserType(String typeId,
Map<String,String> additionalHeaders)
Delete a User Type
Deletes a User Type permanently.
|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
UserType |
getUserType(String typeId)
Retrieve a User Type
Retrieves a User Type by ID.
|
UserType |
getUserType(String typeId,
Map<String,String> additionalHeaders)
Retrieve a User Type
Retrieves a User Type by ID.
|
List<UserType> |
listUserTypes()
List all User Types
Lists all User Types in your org
|
List<UserType> |
listUserTypes(Map<String,String> additionalHeaders)
List all User Types
Lists all User Types in your org
|
UserType |
replaceUserType(String typeId,
UserTypePutRequest userType)
Replace a User Type
Replaces an existing User Type.
|
UserType |
replaceUserType(String typeId,
UserTypePutRequest userType,
Map<String,String> additionalHeaders)
Replace a User Type
Replaces an existing User Type.
|
void |
setApiClient(ApiClient apiClient) |
UserType |
updateUserType(String typeId,
UserTypePostRequest userType)
Update a User Type
Updates an existing User Type.
|
UserType |
updateUserType(String typeId,
UserTypePostRequest userType,
Map<String,String> additionalHeaders)
Update a User Type
Updates an existing User Type.
|
public UserTypeApi()
public UserTypeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public UserType createUserType(UserType userType) throws ApiException
userType
- (required)ApiException
- if fails to make API callpublic UserType createUserType(UserType userType, Map<String,String> additionalHeaders) throws ApiException
userType
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteUserType(String typeId) throws ApiException
typeId
- (required)ApiException
- if fails to make API callpublic void deleteUserType(String typeId, Map<String,String> additionalHeaders) throws ApiException
typeId
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic UserType getUserType(String typeId) throws ApiException
typeId
- (required)ApiException
- if fails to make API callpublic UserType getUserType(String typeId, Map<String,String> additionalHeaders) throws ApiException
typeId
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<UserType> listUserTypes() throws ApiException
ApiException
- if fails to make API callpublic List<UserType> listUserTypes(Map<String,String> additionalHeaders) throws ApiException
additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic UserType replaceUserType(String typeId, UserTypePutRequest userType) throws ApiException
typeId
- (required)userType
- (optional)ApiException
- if fails to make API callpublic UserType replaceUserType(String typeId, UserTypePutRequest userType, Map<String,String> additionalHeaders) throws ApiException
typeId
- (required)userType
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic UserType updateUserType(String typeId, UserTypePostRequest userType) throws ApiException
typeId
- (required)userType
- (required)ApiException
- if fails to make API callpublic UserType updateUserType(String typeId, UserTypePostRequest userType, Map<String,String> additionalHeaders) throws ApiException
typeId
- (required)userType
- (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.