|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | + * you may not use this file except in compliance with the License. |
| 4 | + * You may obtain a copy of the License at |
| 5 | + * |
| 6 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + * |
| 8 | + * Unless required by applicable law or agreed to in writing, software |
| 9 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | + * See the License for the specific language governing permissions and |
| 12 | + * limitations under the License. |
| 13 | + */ |
| 14 | + |
| 15 | +package com.aliyuncs.eflo.model.v20220530; |
| 16 | + |
| 17 | +import com.aliyuncs.RpcAcsRequest; |
| 18 | +import com.aliyuncs.http.MethodType; |
| 19 | + |
| 20 | +/** |
| 21 | + * @author auto create |
| 22 | + * @version |
| 23 | + */ |
| 24 | +public class AttachElasticNetworkInterfaceRequest extends RpcAcsRequest<AttachElasticNetworkInterfaceResponse> { |
| 25 | + |
| 26 | + |
| 27 | + private String nodeId; |
| 28 | + |
| 29 | + private String elasticNetworkInterfaceId; |
| 30 | + public AttachElasticNetworkInterfaceRequest() { |
| 31 | + super("eflo", "2022-05-30", "AttachElasticNetworkInterface", "eflo"); |
| 32 | + setMethod(MethodType.POST); |
| 33 | + } |
| 34 | + |
| 35 | + public String getNodeId() { |
| 36 | + return this.nodeId; |
| 37 | + } |
| 38 | + |
| 39 | + public void setNodeId(String nodeId) { |
| 40 | + this.nodeId = nodeId; |
| 41 | + if(nodeId != null){ |
| 42 | + putBodyParameter("NodeId", nodeId); |
| 43 | + } |
| 44 | + } |
| 45 | + |
| 46 | + public String getElasticNetworkInterfaceId() { |
| 47 | + return this.elasticNetworkInterfaceId; |
| 48 | + } |
| 49 | + |
| 50 | + public void setElasticNetworkInterfaceId(String elasticNetworkInterfaceId) { |
| 51 | + this.elasticNetworkInterfaceId = elasticNetworkInterfaceId; |
| 52 | + if(elasticNetworkInterfaceId != null){ |
| 53 | + putBodyParameter("ElasticNetworkInterfaceId", elasticNetworkInterfaceId); |
| 54 | + } |
| 55 | + } |
| 56 | + |
| 57 | + @Override |
| 58 | + public Class<AttachElasticNetworkInterfaceResponse> getResponseClass() { |
| 59 | + return AttachElasticNetworkInterfaceResponse.class; |
| 60 | + } |
| 61 | + |
| 62 | +} |
0 commit comments