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

com.tencentcloudapi.teo.v20220106.models.L7OfflineLog Maven / Gradle / Ivy

There is a newer version: 3.0.1076
Show newest version
/*
 * 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.v20220106.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 {

    /**
    * Start time of the log packaging
Note: This field may return `null`, indicating that no valid value can be obtained.
    */
    @SerializedName("LogTime")
    @Expose
    private Long LogTime;

    /**
    * Subdomain name
Note: This field may return `null`, indicating that no valid value can be obtained.
    */
    @SerializedName("Domain")
    @Expose
    private String Domain;

    /**
    * Log size, in bytes
Note: This field may return `null`, indicating that no valid value can be obtained.
    */
    @SerializedName("Size")
    @Expose
    private Long Size;

    /**
    * Download address
Note: This field may return `null`, indicating that no valid value can be obtained.
    */
    @SerializedName("Url")
    @Expose
    private String Url;

    /**
    * Log package name
Note: This field may return `null`, indicating that no valid value can be obtained.
    */
    @SerializedName("LogPacketName")
    @Expose
    private String LogPacketName;

    /**
     * Get Start time of the log packaging
Note: This field may return `null`, indicating that no valid value can be obtained. 
     * @return LogTime Start time of the log packaging
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public Long getLogTime() {
        return this.LogTime;
    }

    /**
     * Set Start time of the log packaging
Note: This field may return `null`, indicating that no valid value can be obtained.
     * @param LogTime Start time of the log packaging
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public void setLogTime(Long LogTime) {
        this.LogTime = LogTime;
    }

    /**
     * Get Subdomain name
Note: This field may return `null`, indicating that no valid value can be obtained. 
     * @return Domain Subdomain name
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public String getDomain() {
        return this.Domain;
    }

    /**
     * Set Subdomain name
Note: This field may return `null`, indicating that no valid value can be obtained.
     * @param Domain Subdomain name
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public void setDomain(String Domain) {
        this.Domain = Domain;
    }

    /**
     * Get Log size, in bytes
Note: This field may return `null`, indicating that no valid value can be obtained. 
     * @return Size Log size, in bytes
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public Long getSize() {
        return this.Size;
    }

    /**
     * Set Log size, in bytes
Note: This field may return `null`, indicating that no valid value can be obtained.
     * @param Size Log size, in bytes
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public void setSize(Long Size) {
        this.Size = Size;
    }

    /**
     * Get Download address
Note: This field may return `null`, indicating that no valid value can be obtained. 
     * @return Url Download address
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public String getUrl() {
        return this.Url;
    }

    /**
     * Set Download address
Note: This field may return `null`, indicating that no valid value can be obtained.
     * @param Url Download address
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public void setUrl(String Url) {
        this.Url = Url;
    }

    /**
     * Get Log package name
Note: This field may return `null`, indicating that no valid value can be obtained. 
     * @return LogPacketName Log package name
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public String getLogPacketName() {
        return this.LogPacketName;
    }

    /**
     * Set Log package name
Note: This field may return `null`, indicating that no valid value can be obtained.
     * @param LogPacketName Log package name
Note: This field may return `null`, indicating that no valid value can be obtained.
     */
    public void setLogPacketName(String LogPacketName) {
        this.LogPacketName = LogPacketName;
    }

    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.LogTime != null) {
            this.LogTime = new Long(source.LogTime);
        }
        if (source.Domain != null) {
            this.Domain = new String(source.Domain);
        }
        if (source.Size != null) {
            this.Size = new Long(source.Size);
        }
        if (source.Url != null) {
            this.Url = new String(source.Url);
        }
        if (source.LogPacketName != null) {
            this.LogPacketName = new String(source.LogPacketName);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "LogTime", this.LogTime);
        this.setParamSimple(map, prefix + "Domain", this.Domain);
        this.setParamSimple(map, prefix + "Size", this.Size);
        this.setParamSimple(map, prefix + "Url", this.Url);
        this.setParamSimple(map, prefix + "LogPacketName", this.LogPacketName);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy