com.aliyuncs.eflo.model.v20220530.GetFabricTopologyRequest Maven / Gradle / Ivy
/*
* 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.aliyuncs.eflo.model.v20220530;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetFabricTopologyRequest extends RpcAcsRequest {
private String vpdId;
private List lniIdss;
private List nodeIdss;
public GetFabricTopologyRequest() {
super("eflo", "2022-05-30", "GetFabricTopology", "eflo");
setMethod(MethodType.POST);
}
public String getVpdId() {
return this.vpdId;
}
public void setVpdId(String vpdId) {
this.vpdId = vpdId;
if(vpdId != null){
putBodyParameter("VpdId", vpdId);
}
}
public List getLniIdss() {
return this.lniIdss;
}
public void setLniIdss(List lniIdss) {
this.lniIdss = lniIdss;
if (lniIdss != null) {
for (int i = 0; i < lniIdss.size(); i++) {
putBodyParameter("LniIds." + (i + 1) , lniIdss.get(i));
}
}
}
public List getNodeIdss() {
return this.nodeIdss;
}
public void setNodeIdss(List nodeIdss) {
this.nodeIdss = nodeIdss;
if (nodeIdss != null) {
for (int i = 0; i < nodeIdss.size(); i++) {
putBodyParameter("NodeIds." + (i + 1) , nodeIdss.get(i));
}
}
}
@Override
public Class getResponseClass() {
return GetFabricTopologyResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy