Class CustomersResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.CustomersResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.CustomersResource
public class CustomersResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.CustomersResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.CustomersResource
DELETE_LLM_SETTINGS_PATH, DELETE_LLM_SETTINGS_SUMMARY, GET_CLU_SETTINGS_PATH, GET_CLU_SETTINGS_SUMMARY, GET_CURRENT_PATH, GET_CURRENT_SUMMARY, GET_LLM_SETTINGS_PATH, GET_LLM_SETTINGS_SUMMARY, GET_PATH, GET_SUMMARY, PATH, POST_LLM_SETTINGS_PATH, POST_LLM_SETTINGS_SUMMARY, POST_SWITCH_PATH, POST_SWITCH_SUMMARY, PUT_CLU_SETTINGS_PATH, PUT_CLU_SETTINGS_SUMMARY, PUT_LLM_SETTINGS_PATH, PUT_LLM_SETTINGS_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description CustomersResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artisol.teneo.studio.api.models.LLMSettings
createLLMSettings(UUID accountId, com.artisol.teneo.studio.api.models.LLMSettings llmSettings)
void
deleteLLMSettings(UUID accountId, UUID settingsId)
com.artisol.teneo.studio.api.models.CLUSettings
getCLUSettings(UUID accountId)
com.artisol.teneo.studio.api.models.Customer
getCurrentCustomer()
List<com.artisol.teneo.studio.api.models.Customer>
getCustomers()
List<com.artisol.teneo.studio.api.models.LLMSettings>
getLLMSettings(UUID accountId)
void
switchCustomer(UUID customerId)
com.artisol.teneo.studio.api.models.CLUSettings
updateCLUSettings(UUID accountId, com.artisol.teneo.studio.api.models.CLUSettings settings)
com.artisol.teneo.studio.api.models.LLMSettings
updateLLMSettings(UUID accountId, UUID settingsId, com.artisol.teneo.studio.api.models.LLMSettings llmSettings)
-
-
-
Method Detail
-
getCustomers
public List<com.artisol.teneo.studio.api.models.Customer> getCustomers() throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getCustomers
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getCurrentCustomer
public com.artisol.teneo.studio.api.models.Customer getCurrentCustomer() throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getCurrentCustomer
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
switchCustomer
public void switchCustomer(UUID customerId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
switchCustomer
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateCLUSettings
public com.artisol.teneo.studio.api.models.CLUSettings updateCLUSettings(UUID accountId, com.artisol.teneo.studio.api.models.CLUSettings settings) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updateCLUSettings
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getCLUSettings
public com.artisol.teneo.studio.api.models.CLUSettings getCLUSettings(UUID accountId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getCLUSettings
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
createLLMSettings
public com.artisol.teneo.studio.api.models.LLMSettings createLLMSettings(UUID accountId, com.artisol.teneo.studio.api.models.LLMSettings llmSettings) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createLLMSettings
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateLLMSettings
public com.artisol.teneo.studio.api.models.LLMSettings updateLLMSettings(UUID accountId, UUID settingsId, com.artisol.teneo.studio.api.models.LLMSettings llmSettings) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updateLLMSettings
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deleteLLMSettings
public void deleteLLMSettings(UUID accountId, UUID settingsId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deleteLLMSettings
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getLLMSettings
public List<com.artisol.teneo.studio.api.models.LLMSettings> getLLMSettings(UUID accountId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getLLMSettings
in interfacecom.artisol.teneo.studio.api.resources.CustomersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-