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

com.huaweicloud.visibility.entity.Contract 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.List;

/**
 * 契约信息
 *
 * @author zhp
 * @since 2022-11-30
 */
public class Contract extends BaseInfo {
    /**
     * 接口名称
     */
    private String interfaceName;

    /**
     * 服务注册的key
     */
    private String serviceKey;

    /**
     * 请求路径
     */
    private String url;

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

    /**
     * 方法集合
     */
    private List methodInfoList;

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List getMethodInfoList() {
        return methodInfoList;
    }

    public void setMethodInfoList(List methodInfoList) {
        this.methodInfoList = methodInfoList;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceKey() {
        return serviceKey;
    }

    public void setServiceKey(String serviceKey) {
        this.serviceKey = serviceKey;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy