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

com.jelastic.api.system.persistence.HardwareNode Maven / Gradle / Ivy

The newest version!
/*Server class MD5: 3f022df89ac67e9037412398bb8de2a1*/
package com.jelastic.api.system.persistence;

import com.jelastic.api.common.annotation.Transform;
import com.jelastic.api.common.data.po.HnUsageType;
import com.jelastic.api.core.utils.ArrayUtils;
import com.jelastic.api.core.utils.CommonJSONUtils;
import com.jelastic.api.core.utils.StringUtils;
import com.jelastic.api.core.utils.UsageUtils;
import com.jelastic.api.data.HardwareNodeStatus;
import com.jelastic.api.development.response.interfaces.ArrayItem;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.*;

/**
 * @name Jelastic API Client
 * @version 8.11.2
 * @copyright Jelastic, Inc.
 */
public class HardwareNode extends ArrayItem implements Comparable {

    public static final String ID = "id";

    public static final String HARDWARE_NODE_COLUMN = "hardwareNode";

    public static final String IS_DELETED_FILTER = "isDeletedFilter";

    public static final String IS_DELETED_FILTER_PARAM = "isDeleted";

    public static final String STATUS = "status";

    public static final String L2_IP = "l2Ip";

    public static final String L2_ENABLED = "l2Enabled";

    public static final String L2_READY = "l2Ready";

    public static final String LABELS = "labels";

    public static final String ZONE_LABEL_NAME = "zone";

    public static final String HOST_NAME = "hostname";

    public static final String IP_ADDRESS = "ipAddress";

    public static final String HW_TYPE = "hwType";

    public static final String OS_TYPE = "osType";

    public static final String LOAD_MARK_OFFSET = "loadMarkOffset";

    public static final String DOCKER_CACHE_LOCATION_TYPE = "dockerCacheLocationType";

    public static final String EXTERNAL_IP = "externalIp";

    public static final String REAL_EXTERNAL_IP = "realExternalIp";

    public static final String VIRTUAL_NET_IP = "virtualNetIp";

    public static final String IPSEC_KEY = "ipsecKey";

    public static final String REGION_GATE_NUMBER = "regionGateNumber";

    public static final String HARDWARE_NODE_GROUP = "hardwareNodeGroup";

    public static final String VIRTUAL_NETWORK_HOST_IDS = "virtualNetworkHostIds";

    public static final String OS_TEMPLATES = "osTemplates";

    @Transform(required = true)
    private String ipAddress;

    private String previousIpAddress;

    @Transform(required = true)
    private int soapPort;

    @Transform(required = true)
    private String soapProtocol;

    private HardwareNodeStatus status;

    private HWType hwType;

    @Transform(required = true)
    private String hostname;

    @Transform(required = true)
    private Credential soapCredential;

    @Transform(required = true)
    private int tcpPort;

    private int power = 0;

    private int cpuNumber = 0;

    private int cpuFreq = 0;

    private int sshPort = 22;

    @Transform(required = true)
    private Credential sshCredential;

    private VSVersions vsVersion;

    @Transform(skip = true)
    private HnUsageType hnUsageType;

    private Long totalRam;

    private String licenceKey;

    private boolean isDeleted;

    private String tcpProtocol;

    private int vzType;

    private Set hardwareNodeClusters = new HashSet<>();

    private HardwareNodeGroup hardwareNodeGroup;

    @Transform(skip = true)
    private String hardwareNodeGroupUniqueName;

    private String data;

    private OSType osType;

    private String gateway;

    private boolean vzInstall;

    private int physCpuNumber = 0;

    private VZLicense vzLicense;

    private HardwareNodeStatus prevStatus;

    private String vzDirectory;

    private String l2Ip;

    private String previousL2Ip;

    private Boolean l2Enabled;

    private Boolean l2Ready;

    private Boolean previousL2Enabled;

    private Set




© 2015 - 2025 Weber Informatics LLC | Privacy Policy