/*
* 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.Cdb.V20170320.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class BinlogInfo : AbstractModel
{
///
/// binlog 日志备份文件名
///
[JsonProperty("Name")]
public string Name{ get; set; }
///
/// 备份文件大小,单位:Byte
///
[JsonProperty("Size")]
public long? Size{ get; set; }
///
/// 文件存储时间,时间格式:2016-03-17 02:10:37
///
[JsonProperty("Date")]
public string Date{ get; set; }
///
/// 内网下载地址
///
[JsonProperty("IntranetUrl")]
public string IntranetUrl{ get; set; }
///
/// 外网下载地址
///
[JsonProperty("InternetUrl")]
public string InternetUrl{ get; set; }
///
/// 日志具体类型,可能的值有:binlog - 二进制日志
///
[JsonProperty("Type")]
public string Type{ get; set; }
///
/// binlog 文件起始时间
///
[JsonProperty("BinlogStartTime")]
public string BinlogStartTime{ get; set; }
///
/// binlog 文件截止时间
///
[JsonProperty("BinlogFinishTime")]
public string BinlogFinishTime{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "Size", this.Size);
this.SetParamSimple(map, prefix + "Date", this.Date);
this.SetParamSimple(map, prefix + "IntranetUrl", this.IntranetUrl);
this.SetParamSimple(map, prefix + "InternetUrl", this.InternetUrl);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "BinlogStartTime", this.BinlogStartTime);
this.SetParamSimple(map, prefix + "BinlogFinishTime", this.BinlogFinishTime);
}
}
}