All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.foilen.infra.api.model.machine.MachineSetup Maven / Gradle / Ivy

The newest version!
/*
    Foilen Infra API
    https://github.com/foilen/foilen-infra-api
    Copyright (c) 2017-2021 Foilen (https://foilen.com)

    The MIT License
    http://opensource.org/licenses/MIT

 */
package com.foilen.infra.api.model.machine;

import java.util.ArrayList;
import java.util.List;

import com.foilen.smalltools.restapi.model.AbstractApiBase;

public class MachineSetup extends AbstractApiBase {

    // UI service
    private String uiApiBaseUrl;
    private String uiApiCert;
    private String uiApiUserId;
    private String uiApiUserKey;
    private String machineName;

    // Redirector
    private int redirectorBridgePort = 11000;
    private List redirectorCaCerts = new ArrayList<>();
    private String redirectorNodeCert;
    private String redirectorNodeKey;

    // Unix Users
    private List unixUsers = new ArrayList<>();

    // Applications and cron jobs
    private List applications = new ArrayList<>();
    private List cronJobs = new ArrayList<>();

    public List getApplications() {
        return applications;
    }

    public List getCronJobs() {
        return cronJobs;
    }

    public String getMachineName() {
        return machineName;
    }

    public int getRedirectorBridgePort() {
        return redirectorBridgePort;
    }

    public List getRedirectorCaCerts() {
        return redirectorCaCerts;
    }

    public String getRedirectorNodeCert() {
        return redirectorNodeCert;
    }

    public String getRedirectorNodeKey() {
        return redirectorNodeKey;
    }

    public String getUiApiBaseUrl() {
        return uiApiBaseUrl;
    }

    public String getUiApiCert() {
        return uiApiCert;
    }

    public String getUiApiUserId() {
        return uiApiUserId;
    }

    public String getUiApiUserKey() {
        return uiApiUserKey;
    }

    public List getUnixUsers() {
        return unixUsers;
    }

    public void setApplications(List applications) {
        this.applications = applications;
    }

    public void setCronJobs(List cronJobs) {
        this.cronJobs = cronJobs;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }

    public void setRedirectorBridgePort(int redirectorBridgePort) {
        this.redirectorBridgePort = redirectorBridgePort;
    }

    public void setRedirectorCaCerts(List redirectorCaCerts) {
        this.redirectorCaCerts = redirectorCaCerts;
    }

    public void setRedirectorNodeCert(String redirectorNodeCert) {
        this.redirectorNodeCert = redirectorNodeCert;
    }

    public void setRedirectorNodeKey(String redirectorNodeKey) {
        this.redirectorNodeKey = redirectorNodeKey;
    }

    public void setUiApiBaseUrl(String uiApiBaseUrl) {
        this.uiApiBaseUrl = uiApiBaseUrl;
    }

    public void setUiApiCert(String uiApiCert) {
        this.uiApiCert = uiApiCert;
    }

    public void setUiApiUserId(String uiApiUserId) {
        this.uiApiUserId = uiApiUserId;
    }

    public void setUiApiUserKey(String uiApiUserKey) {
        this.uiApiUserKey = uiApiUserKey;
    }

    public void setUnixUsers(List unixUsers) {
        this.unixUsers = unixUsers;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy