Class 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)  
    • Constructor Detail

      • CustomersResourceImpl

        public CustomersResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.artisol.teneo.studio.api.resources.CustomersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException