Panel Map

mail@pastecode.io avatar
unknown
java
a year ago
1.7 kB
1
Indexable
Never
public class SmmPanel {
    private String baseUrl;
    private String apiKey;
}


public static Map<Integer, SmmPanel> getPanelMap() {
        Map<Integer, SmmPanel> panelMap = new HashMap<>();
        panelMap.put(
                AppConstants.PANEL.HONEST_SMM_ANKUSH2015,
                new SmmPanel(AppConstants.PANEL.HONEST_SMM_BASE_URL, AppConstants.PANEL.HONEST_SMM_ANKUSH2015_API_KEY)
        );
        panelMap.put(
                AppConstants.PANEL.REALSITE_ANKUSH2015,
                new SmmPanel(AppConstants.PANEL.REALSITE_BASE_URL, AppConstants.PANEL.REALSITE_ANKUSH2015_API_KEY)
        );
        panelMap.put(
                AppConstants.PANEL.HONEST_SMM_ANKUSH2015TEST,
                new SmmPanel(AppConstants.PANEL.HONEST_SMM_BASE_URL, AppConstants.PANEL.HONEST_SMM_ANKUSH2015TEST_API_KEY)
        );
        panelMap.put(
                AppConstants.PANEL.HONEST_SMM_TUBEBOOST,
                new SmmPanel(AppConstants.PANEL.HONEST_SMM_BASE_URL, AppConstants.PANEL.HONEST_SMM_TUBEBOOST_API_KEY)
        );
        panelMap.put(
                AppConstants.PANEL.SMM_SURGE_TUBEBOOST,
                new SmmPanel(AppConstants.PANEL.SMM_SURGE_BASE_URL, AppConstants.PANEL.SMM_SURGE_TUBEBOOST_API_KEY)
        );
        panelMap.put(
                AppConstants.PANEL.SMM_BIRLA_TUBEBOOST,
                new SmmPanel(AppConstants.PANEL.SMM_BIRLA_BASE_URL, AppConstants.PANEL.SMM_BIRLA_TUBEBOOST_API_KEY)
        );
        panelMap.put(
                AppConstants.PANEL.SMM_OWL_TUBEBOOST,
                new SmmPanel(AppConstants.PANEL.SMM_OWL_BASE_URL, AppConstants.PANEL.SMM_OWL_TUBEBOOST_API_KEY)
        );
        return panelMap;
}