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

com.tencentcloudapi.vod.v20180717.models.AccelerateAreaInfo 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.vod.v20180717.models;

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

public class AccelerateAreaInfo extends AbstractModel{

    /**
    * Acceleration region. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • */ @SerializedName("Area") @Expose private String Area; /** * Reason why acceleration is disabled by Tencent Cloud. Valid values:
  • ForLegalReasons: legal reasons
  • ForOverdueBills: overdue payment
  • */ @SerializedName("TencentDisableReason") @Expose private String TencentDisableReason; /** * CNAME of the acceleration domain name */ @SerializedName("TencentEdgeDomain") @Expose private String TencentEdgeDomain; /** * Get Acceleration region. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • * @return Area Acceleration region. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • */ public String getArea() { return this.Area; } /** * Set Acceleration region. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • * @param Area Acceleration region. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • */ public void setArea(String Area) { this.Area = Area; } /** * Get Reason why acceleration is disabled by Tencent Cloud. Valid values:
  • ForLegalReasons: legal reasons
  • ForOverdueBills: overdue payment
  • * @return TencentDisableReason Reason why acceleration is disabled by Tencent Cloud. Valid values:
  • ForLegalReasons: legal reasons
  • ForOverdueBills: overdue payment
  • */ public String getTencentDisableReason() { return this.TencentDisableReason; } /** * Set Reason why acceleration is disabled by Tencent Cloud. Valid values:
  • ForLegalReasons: legal reasons
  • ForOverdueBills: overdue payment
  • * @param TencentDisableReason Reason why acceleration is disabled by Tencent Cloud. Valid values:
  • ForLegalReasons: legal reasons
  • ForOverdueBills: overdue payment
  • */ public void setTencentDisableReason(String TencentDisableReason) { this.TencentDisableReason = TencentDisableReason; } /** * Get CNAME of the acceleration domain name * @return TencentEdgeDomain CNAME of the acceleration domain name */ public String getTencentEdgeDomain() { return this.TencentEdgeDomain; } /** * Set CNAME of the acceleration domain name * @param TencentEdgeDomain CNAME of the acceleration domain name */ public void setTencentEdgeDomain(String TencentEdgeDomain) { this.TencentEdgeDomain = TencentEdgeDomain; } public AccelerateAreaInfo() { } /** * 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 AccelerateAreaInfo(AccelerateAreaInfo source) { if (source.Area != null) { this.Area = new String(source.Area); } if (source.TencentDisableReason != null) { this.TencentDisableReason = new String(source.TencentDisableReason); } if (source.TencentEdgeDomain != null) { this.TencentEdgeDomain = new String(source.TencentEdgeDomain); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Area", this.Area); this.setParamSimple(map, prefix + "TencentDisableReason", this.TencentDisableReason); this.setParamSimple(map, prefix + "TencentEdgeDomain", this.TencentEdgeDomain); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy