Class DefaultApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2021-01-10T13:02:45.197345+01:00[Europe/Berlin]")
    public class DefaultApi
    extends Object
    • Constructor Detail

      • DefaultApi

        public DefaultApi()
      • DefaultApi

        public DefaultApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • listSites

        public Sites listSites()
                        throws ApiException
        Lists all sites of the authenticated user
        Returns:
        a Sites
        Throws:
        ApiException - if fails to make API call
      • listWlanConfig

        public WlanConfs listWlanConfig​(String site,
                                        String confId)
                                 throws ApiException
        Lists the specified WLAN configuation
        Parameters:
        site - Name of the site (required)
        confId - Id of the WLAN configuration (required)
        Returns:
        a WlanConfs
        Throws:
        ApiException - if fails to make API call
      • listWlanConfigs

        public WlanConfs listWlanConfigs​(String site)
                                  throws ApiException
        Lists all WLAN configurations
        Parameters:
        site - Name of the site (required)
        Returns:
        a WlanConfs
        Throws:
        ApiException - if fails to make API call
      • listWlanGroups

        public WlanGroups listWlanGroups​(String site)
                                  throws ApiException
        List all WLAN group
        Parameters:
        site - Name of the site (required)
        Returns:
        a WlanGroups
        Throws:
        ApiException - if fails to make API call
      • login

        public LoginResponse login​(Login login)
                            throws ApiException
        Login to controller
        Parameters:
        login - Username and password to authenticate. Returns auth cookie (optional)
        Returns:
        a LoginResponse
        Throws:
        ApiException - if fails to make API call
      • updateWlanConfig

        public WlanConfs updateWlanConfig​(String site,
                                          String confId,
                                          WlanConf wlanConf)
                                   throws ApiException
        Update the specified WLAN configuration
        Parameters:
        site - Name of the site (required)
        confId - Id of the WLAN configuration (required)
        wlanConf - WLAN configuration (required)
        Returns:
        a WlanConfs
        Throws:
        ApiException - if fails to make API call