com.tencentcloudapi.cynosdb.v20190107.models.BinlogItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.cynosdb.v20190107.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class BinlogItem extends AbstractModel {
/**
* Binlog filename
*/
@SerializedName("FileName")
@Expose
private String FileName;
/**
* File size in bytes
*/
@SerializedName("FileSize")
@Expose
private Long FileSize;
/**
* Transaction start time
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* Transaction end time
*/
@SerializedName("FinishTime")
@Expose
private String FinishTime;
/**
* Binlog file ID
*/
@SerializedName("BinlogId")
@Expose
private Long BinlogId;
/**
* Get Binlog filename
* @return FileName Binlog filename
*/
public String getFileName() {
return this.FileName;
}
/**
* Set Binlog filename
* @param FileName Binlog filename
*/
public void setFileName(String FileName) {
this.FileName = FileName;
}
/**
* Get File size in bytes
* @return FileSize File size in bytes
*/
public Long getFileSize() {
return this.FileSize;
}
/**
* Set File size in bytes
* @param FileSize File size in bytes
*/
public void setFileSize(Long FileSize) {
this.FileSize = FileSize;
}
/**
* Get Transaction start time
* @return StartTime Transaction start time
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set Transaction start time
* @param StartTime Transaction start time
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get Transaction end time
* @return FinishTime Transaction end time
*/
public String getFinishTime() {
return this.FinishTime;
}
/**
* Set Transaction end time
* @param FinishTime Transaction end time
*/
public void setFinishTime(String FinishTime) {
this.FinishTime = FinishTime;
}
/**
* Get Binlog file ID
* @return BinlogId Binlog file ID
*/
public Long getBinlogId() {
return this.BinlogId;
}
/**
* Set Binlog file ID
* @param BinlogId Binlog file ID
*/
public void setBinlogId(Long BinlogId) {
this.BinlogId = BinlogId;
}
public BinlogItem() {
}
/**
* 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 BinlogItem(BinlogItem source) {
if (source.FileName != null) {
this.FileName = new String(source.FileName);
}
if (source.FileSize != null) {
this.FileSize = new Long(source.FileSize);
}
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.FinishTime != null) {
this.FinishTime = new String(source.FinishTime);
}
if (source.BinlogId != null) {
this.BinlogId = new Long(source.BinlogId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "FileName", this.FileName);
this.setParamSimple(map, prefix + "FileSize", this.FileSize);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "FinishTime", this.FinishTime);
this.setParamSimple(map, prefix + "BinlogId", this.BinlogId);
}
}