com.tencentcloudapi.teo.v20220901.models.L7OfflineLog 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.teo.v20220901.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 L7OfflineLog extends AbstractModel {
/**
* Log domain name.
*/
@SerializedName("Domain")
@Expose
private String Domain;
/**
* Log query area. Valid values:
`mainland`: Chinese mainland;
`overseas`: Global (outside the Chinese mainland).
*/
@SerializedName("Area")
@Expose
private String Area;
/**
* Log packet name.
*/
@SerializedName("LogPacketName")
@Expose
private String LogPacketName;
/**
* Log download address.
*/
@SerializedName("Url")
@Expose
private String Url;
/**
* (Disused) Log packaging time.
*/
@SerializedName("LogTime")
@Expose
private Long LogTime;
/**
* Start time of log packaging.
*/
@SerializedName("LogStartTime")
@Expose
private String LogStartTime;
/**
* End time of the log package.
*/
@SerializedName("LogEndTime")
@Expose
private String LogEndTime;
/**
* Original log size (in bytes).
*/
@SerializedName("Size")
@Expose
private Long Size;
/**
* Get Log domain name.
* @return Domain Log domain name.
*/
public String getDomain() {
return this.Domain;
}
/**
* Set Log domain name.
* @param Domain Log domain name.
*/
public void setDomain(String Domain) {
this.Domain = Domain;
}
/**
* Get Log query area. Valid values:
`mainland`: Chinese mainland;
`overseas`: Global (outside the Chinese mainland).
* @return Area Log query area. Valid values:
`mainland`: Chinese mainland;
`overseas`: Global (outside the Chinese mainland).
*/
public String getArea() {
return this.Area;
}
/**
* Set Log query area. Valid values:
`mainland`: Chinese mainland;
`overseas`: Global (outside the Chinese mainland).
* @param Area Log query area. Valid values:
`mainland`: Chinese mainland;
`overseas`: Global (outside the Chinese mainland).
*/
public void setArea(String Area) {
this.Area = Area;
}
/**
* Get Log packet name.
* @return LogPacketName Log packet name.
*/
public String getLogPacketName() {
return this.LogPacketName;
}
/**
* Set Log packet name.
* @param LogPacketName Log packet name.
*/
public void setLogPacketName(String LogPacketName) {
this.LogPacketName = LogPacketName;
}
/**
* Get Log download address.
* @return Url Log download address.
*/
public String getUrl() {
return this.Url;
}
/**
* Set Log download address.
* @param Url Log download address.
*/
public void setUrl(String Url) {
this.Url = Url;
}
/**
* Get (Disused) Log packaging time.
* @return LogTime (Disused) Log packaging time.
*/
public Long getLogTime() {
return this.LogTime;
}
/**
* Set (Disused) Log packaging time.
* @param LogTime (Disused) Log packaging time.
*/
public void setLogTime(Long LogTime) {
this.LogTime = LogTime;
}
/**
* Get Start time of log packaging.
* @return LogStartTime Start time of log packaging.
*/
public String getLogStartTime() {
return this.LogStartTime;
}
/**
* Set Start time of log packaging.
* @param LogStartTime Start time of log packaging.
*/
public void setLogStartTime(String LogStartTime) {
this.LogStartTime = LogStartTime;
}
/**
* Get End time of the log package.
* @return LogEndTime End time of the log package.
*/
public String getLogEndTime() {
return this.LogEndTime;
}
/**
* Set End time of the log package.
* @param LogEndTime End time of the log package.
*/
public void setLogEndTime(String LogEndTime) {
this.LogEndTime = LogEndTime;
}
/**
* Get Original log size (in bytes).
* @return Size Original log size (in bytes).
*/
public Long getSize() {
return this.Size;
}
/**
* Set Original log size (in bytes).
* @param Size Original log size (in bytes).
*/
public void setSize(Long Size) {
this.Size = Size;
}
public L7OfflineLog() {
}
/**
* 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 L7OfflineLog(L7OfflineLog source) {
if (source.Domain != null) {
this.Domain = new String(source.Domain);
}
if (source.Area != null) {
this.Area = new String(source.Area);
}
if (source.LogPacketName != null) {
this.LogPacketName = new String(source.LogPacketName);
}
if (source.Url != null) {
this.Url = new String(source.Url);
}
if (source.LogTime != null) {
this.LogTime = new Long(source.LogTime);
}
if (source.LogStartTime != null) {
this.LogStartTime = new String(source.LogStartTime);
}
if (source.LogEndTime != null) {
this.LogEndTime = new String(source.LogEndTime);
}
if (source.Size != null) {
this.Size = new Long(source.Size);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Domain", this.Domain);
this.setParamSimple(map, prefix + "Area", this.Area);
this.setParamSimple(map, prefix + "LogPacketName", this.LogPacketName);
this.setParamSimple(map, prefix + "Url", this.Url);
this.setParamSimple(map, prefix + "LogTime", this.LogTime);
this.setParamSimple(map, prefix + "LogStartTime", this.LogStartTime);
this.setParamSimple(map, prefix + "LogEndTime", this.LogEndTime);
this.setParamSimple(map, prefix + "Size", this.Size);
}
}