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

com.huaweicloud.visibility.entity.ServerInfo Maven / Gradle / Ivy

/*
 * Copyright (C) 2021-2022 Huawei Technologies Co., Ltd. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.huaweicloud.visibility.entity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 服务基本信息
 *
 * @author zhp
 * @since 2022-11-30
 */
public class ServerInfo extends BaseInfo {
    /**
     * 区域
     */
    private String zone;

    /**
     * 命名空间
     */
    private String project;

    /**
     * 环境
     */
    private String environment;

    /**
     * 服务名称
     */
    private String serviceName;

    /**
     * 操作类型
     */
    private String operateType;

    /**
     * 应用名称
     */
    private String applicationName;

    /**
     * 分组名称
     */
    private String groupName;

    /**
     * 版本号
     */
    private String version;

    /**
     * 血缘关系信息
     */
    private List consanguinityList;

    /**
     * 契约信息
     */
    private List contractList;

    /**
     * 注册信息
     */
    private Map registryInfo;

    /**
     * 服务ID
     */
    private String instanceId;

    /**
     * 有效期
     */
    private Date validateDate;

    /**
     * 实例ID集合
     */
    private List instanceIds;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List getConsanguinityList() {
        return consanguinityList;
    }

    public void setConsanguinityList(List consanguinityList) {
        this.consanguinityList = consanguinityList;
    }

    public List getContractList() {
        return contractList;
    }

    public void setContractList(List contractList) {
        this.contractList = contractList;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getEnvironment() {
        return environment;
    }

    public void setEnvironment(String environment) {
        this.environment = environment;
    }

    public Map getRegistryInfo() {
        return registryInfo;
    }

    public void setRegistryInfo(Map registryInfo) {
        this.registryInfo = registryInfo;
    }

    public Date getValidateDate() {
        return validateDate;
    }

    public void setValidateDate(Date validateDate) {
        this.validateDate = validateDate;
    }

    public List getInstanceIds() {
        return instanceIds;
    }

    public void setInstanceIds(List instanceIds) {
        this.instanceIds = instanceIds;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy