【7.1.6】【scanner】优化资源汇报pojo

pull/25/head
fengshuonan 2022-01-11 14:13:32 +08:00
parent d24c624464
commit 2226ace776
1 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,66 @@
/*
* Copyright [2020-2030] [https://www.stylefeng.cn]
*
* 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.
*
* GunsAPACHE LICENSE 2.0使
*
* 1.LICENSE
* 2.Guns
* 3.
* 4. https://gitee.com/stylefeng/guns
* 5. https://gitee.com/stylefeng/guns
* 6.
*/
package cn.stylefeng.roses.kernel.scanner.api.pojo.resource;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Map;
/**
* DevOps
*
* @author fengshuonan
* @date 2022/1/11 14:05
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class DevOpsReportResourceParam extends BaseRequest {
/**
* DevOps
*/
private String projectUniqueCode;
/**
* DevOps
*/
private String interactionToken;
/**
* key线Controller
* <p>
* key
*/
private Map<String, Map<String, ResourceDefinition>> resourceDefinitions;
public DevOpsReportResourceParam(String projectUniqueCode, String interactionToken, Map<String, Map<String, ResourceDefinition>> resourceDefinitions) {
this.projectUniqueCode = projectUniqueCode;
this.interactionToken = interactionToken;
this.resourceDefinitions = resourceDefinitions;
}
}