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

com.jdcloud.sdk.service.dbaudit.model.DescribeAuditLogListResult Maven / Gradle / Ivy

/*
 * Copyright 2018 JDCLOUD.COM
 *
 * 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.
 *
 * Audit Log Interface
 * Audit Log Interface
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package com.jdcloud.sdk.service.dbaudit.model;

import java.util.List;
import java.util.ArrayList;
import com.jdcloud.sdk.service.dbaudit.model.AuditLogAbstract;
import com.jdcloud.sdk.service.JdcloudResult;

/**
 * 获取审计日志列表
时间范围[0-180天]

 */
public class DescribeAuditLogListResult extends JdcloudResult implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 总数
     */
    private Integer totalCount;

    /**
     * list
     */
    private List list;


    /**
     * get 总数
     *
     * @return
     */
    public Integer getTotalCount() {
        return totalCount;
    }

    /**
     * set 总数
     *
     * @param totalCount
     */
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    /**
     * get list
     *
     * @return
     */
    public List getList() {
        return list;
    }

    /**
     * set list
     *
     * @param list
     */
    public void setList(List list) {
        this.list = list;
    }


    /**
     * set 总数
     *
     * @param totalCount
     */
    public DescribeAuditLogListResult totalCount(Integer totalCount) {
        this.totalCount = totalCount;
        return this;
    }

    /**
     * set list
     *
     * @param list
     */
    public DescribeAuditLogListResult list(List list) {
        this.list = list;
        return this;
    }


    /**
     * add item to list
     *
     * @param list
     */
    public void addList(AuditLogAbstract list) {
        if (this.list == null) {
            this.list = new ArrayList<>();
        }
        this.list.add(list);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy