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

com.tencentcloudapi.batch.v20170312.models.Externals Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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.tencentcloudapi.batch.v20170312.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class Externals extends AbstractModel{

    /**
    * Release address
Note: This field may return null, indicating that no valid value is found.
    */
    @SerializedName("ReleaseAddress")
    @Expose
    private Boolean ReleaseAddress;

    /**
    * Not supported network. Value: 
  • BASIC: classic network
  • VPC1.0: VPC1.0 Note: This field may return null, indicating that no valid value was found. */ @SerializedName("UnsupportNetworks") @Expose private String [] UnsupportNetworks; /** * Attributes of local HDD storage Note: This field may return null, indicating that no valid value is found. */ @SerializedName("StorageBlockAttr") @Expose private StorageBlock StorageBlockAttr; /** * Get Release address Note: This field may return null, indicating that no valid value is found. * @return ReleaseAddress Release address Note: This field may return null, indicating that no valid value is found. */ public Boolean getReleaseAddress() { return this.ReleaseAddress; } /** * Set Release address Note: This field may return null, indicating that no valid value is found. * @param ReleaseAddress Release address Note: This field may return null, indicating that no valid value is found. */ public void setReleaseAddress(Boolean ReleaseAddress) { this.ReleaseAddress = ReleaseAddress; } /** * Get Not supported network. Value:
  • BASIC: classic network
  • VPC1.0: VPC1.0 Note: This field may return null, indicating that no valid value was found. * @return UnsupportNetworks Not supported network. Value:
  • BASIC: classic network
  • VPC1.0: VPC1.0 Note: This field may return null, indicating that no valid value was found. */ public String [] getUnsupportNetworks() { return this.UnsupportNetworks; } /** * Set Not supported network. Value:
  • BASIC: classic network
  • VPC1.0: VPC1.0 Note: This field may return null, indicating that no valid value was found. * @param UnsupportNetworks Not supported network. Value:
  • BASIC: classic network
  • VPC1.0: VPC1.0 Note: This field may return null, indicating that no valid value was found. */ public void setUnsupportNetworks(String [] UnsupportNetworks) { this.UnsupportNetworks = UnsupportNetworks; } /** * Get Attributes of local HDD storage Note: This field may return null, indicating that no valid value is found. * @return StorageBlockAttr Attributes of local HDD storage Note: This field may return null, indicating that no valid value is found. */ public StorageBlock getStorageBlockAttr() { return this.StorageBlockAttr; } /** * Set Attributes of local HDD storage Note: This field may return null, indicating that no valid value is found. * @param StorageBlockAttr Attributes of local HDD storage Note: This field may return null, indicating that no valid value is found. */ public void setStorageBlockAttr(StorageBlock StorageBlockAttr) { this.StorageBlockAttr = StorageBlockAttr; } public Externals() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public Externals(Externals source) { if (source.ReleaseAddress != null) { this.ReleaseAddress = new Boolean(source.ReleaseAddress); } if (source.UnsupportNetworks != null) { this.UnsupportNetworks = new String[source.UnsupportNetworks.length]; for (int i = 0; i < source.UnsupportNetworks.length; i++) { this.UnsupportNetworks[i] = new String(source.UnsupportNetworks[i]); } } if (source.StorageBlockAttr != null) { this.StorageBlockAttr = new StorageBlock(source.StorageBlockAttr); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "ReleaseAddress", this.ReleaseAddress); this.setParamArraySimple(map, prefix + "UnsupportNetworks.", this.UnsupportNetworks); this.setParamObj(map, prefix + "StorageBlockAttr.", this.StorageBlockAttr); } }




  • © 2015 - 2025 Weber Informatics LLC | Privacy Policy