/* * Copyright (c) 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. */ namespace TencentCloud.Ms.V20180408.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CreateCosSecKeyInstanceResponse : AbstractModel { /// /// COS密钥对应的AppId /// [JsonProperty("CosAppid")] public ulong? CosAppid{ get; set; } /// /// COS密钥对应的存储桶名 /// [JsonProperty("CosBucket")] public string CosBucket{ get; set; } /// /// 存储桶对应的地域 /// [JsonProperty("CosRegion")] public string CosRegion{ get; set; } /// /// 密钥过期时间 /// [JsonProperty("ExpireTime")] public ulong? ExpireTime{ get; set; } /// /// 密钥ID信息 /// [JsonProperty("CosId")] public string CosId{ get; set; } /// /// 密钥KEY信息 /// [JsonProperty("CosKey")] public string CosKey{ get; set; } /// /// 密钥TOCKEN信息 /// [JsonProperty("CosTocken")] public string CosTocken{ get; set; } /// /// 密钥可访问的文件前缀人。例如:CosPrefix=test/123/666,则该密钥只能操作test/123/666为前缀的文件,例如test/123/666/1.txt /// [JsonProperty("CosPrefix")] public string CosPrefix{ get; set; } /// /// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 /// [JsonProperty("RequestId")] public string RequestId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "CosAppid", this.CosAppid); this.SetParamSimple(map, prefix + "CosBucket", this.CosBucket); this.SetParamSimple(map, prefix + "CosRegion", this.CosRegion); this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime); this.SetParamSimple(map, prefix + "CosId", this.CosId); this.SetParamSimple(map, prefix + "CosKey", this.CosKey); this.SetParamSimple(map, prefix + "CosTocken", this.CosTocken); this.SetParamSimple(map, prefix + "CosPrefix", this.CosPrefix); this.SetParamSimple(map, prefix + "RequestId", this.RequestId); } } }