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

com.huaweicloud.sdk.meeting.v1.model.MeetingFileBase Maven / Gradle / Ivy

package com.huaweicloud.sdk.meeting.v1.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Objects;

/** 会议纪要文件基类 */
public class MeetingFileBase {

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "fileCode")

    private String fileCode;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "topic")

    private String topic;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "fileId")

    private String fileId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "fileName")

    private String fileName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "fileSize")

    private Long fileSize;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "thumbnailFileId")

    private String thumbnailFileId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "thumbnailFileName")

    private String thumbnailFileName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "thumbnailFileSize")

    private Long thumbnailFileSize;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "pdfFileId")

    private String pdfFileId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "pdfFileName")

    private String pdfFileName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "pdfFileSize")

    private Long pdfFileSize;

    public MeetingFileBase withFileCode(String fileCode) {
        this.fileCode = fileCode;
        return this;
    }

    /** 会议纪要文件码
     * 
     * @return fileCode */
    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public MeetingFileBase withTopic(String topic) {
        this.topic = topic;
        return this;
    }

    /** 文件主题
     * 
     * @return topic */
    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public MeetingFileBase withFileId(String fileId) {
        this.fileId = fileId;
        return this;
    }

    /** 文件Id
     * 
     * @return fileId */
    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public MeetingFileBase withFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    /** 文件名
     * 
     * @return fileName */
    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public MeetingFileBase withFileSize(Long fileSize) {
        this.fileSize = fileSize;
        return this;
    }

    /** 文件大小,单位字节
     * 
     * @return fileSize */
    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public MeetingFileBase withThumbnailFileId(String thumbnailFileId) {
        this.thumbnailFileId = thumbnailFileId;
        return this;
    }

    /** 缩略图文件Id
     * 
     * @return thumbnailFileId */
    public String getThumbnailFileId() {
        return thumbnailFileId;
    }

    public void setThumbnailFileId(String thumbnailFileId) {
        this.thumbnailFileId = thumbnailFileId;
    }

    public MeetingFileBase withThumbnailFileName(String thumbnailFileName) {
        this.thumbnailFileName = thumbnailFileName;
        return this;
    }

    /** 缩略图文件名
     * 
     * @return thumbnailFileName */
    public String getThumbnailFileName() {
        return thumbnailFileName;
    }

    public void setThumbnailFileName(String thumbnailFileName) {
        this.thumbnailFileName = thumbnailFileName;
    }

    public MeetingFileBase withThumbnailFileSize(Long thumbnailFileSize) {
        this.thumbnailFileSize = thumbnailFileSize;
        return this;
    }

    /** 缩略图文件大小,单位字节
     * 
     * @return thumbnailFileSize */
    public Long getThumbnailFileSize() {
        return thumbnailFileSize;
    }

    public void setThumbnailFileSize(Long thumbnailFileSize) {
        this.thumbnailFileSize = thumbnailFileSize;
    }

    public MeetingFileBase withPdfFileId(String pdfFileId) {
        this.pdfFileId = pdfFileId;
        return this;
    }

    /** pdf文件Id
     * 
     * @return pdfFileId */
    public String getPdfFileId() {
        return pdfFileId;
    }

    public void setPdfFileId(String pdfFileId) {
        this.pdfFileId = pdfFileId;
    }

    public MeetingFileBase withPdfFileName(String pdfFileName) {
        this.pdfFileName = pdfFileName;
        return this;
    }

    /** pdf文件名
     * 
     * @return pdfFileName */
    public String getPdfFileName() {
        return pdfFileName;
    }

    public void setPdfFileName(String pdfFileName) {
        this.pdfFileName = pdfFileName;
    }

    public MeetingFileBase withPdfFileSize(Long pdfFileSize) {
        this.pdfFileSize = pdfFileSize;
        return this;
    }

    /** pdf文件大小,单位字节
     * 
     * @return pdfFileSize */
    public Long getPdfFileSize() {
        return pdfFileSize;
    }

    public void setPdfFileSize(Long pdfFileSize) {
        this.pdfFileSize = pdfFileSize;
    }

    @Override
    public boolean equals(java.lang.Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        MeetingFileBase meetingFileBase = (MeetingFileBase) o;
        return Objects.equals(this.fileCode, meetingFileBase.fileCode)
            && Objects.equals(this.topic, meetingFileBase.topic) && Objects.equals(this.fileId, meetingFileBase.fileId)
            && Objects.equals(this.fileName, meetingFileBase.fileName)
            && Objects.equals(this.fileSize, meetingFileBase.fileSize)
            && Objects.equals(this.thumbnailFileId, meetingFileBase.thumbnailFileId)
            && Objects.equals(this.thumbnailFileName, meetingFileBase.thumbnailFileName)
            && Objects.equals(this.thumbnailFileSize, meetingFileBase.thumbnailFileSize)
            && Objects.equals(this.pdfFileId, meetingFileBase.pdfFileId)
            && Objects.equals(this.pdfFileName, meetingFileBase.pdfFileName)
            && Objects.equals(this.pdfFileSize, meetingFileBase.pdfFileSize);
    }

    @Override
    public int hashCode() {
        return Objects.hash(fileCode,
            topic,
            fileId,
            fileName,
            fileSize,
            thumbnailFileId,
            thumbnailFileName,
            thumbnailFileSize,
            pdfFileId,
            pdfFileName,
            pdfFileSize);
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class MeetingFileBase {\n");
        sb.append("    fileCode: ").append(toIndentedString(fileCode)).append("\n");
        sb.append("    topic: ").append(toIndentedString(topic)).append("\n");
        sb.append("    fileId: ").append(toIndentedString(fileId)).append("\n");
        sb.append("    fileName: ").append(toIndentedString(fileName)).append("\n");
        sb.append("    fileSize: ").append(toIndentedString(fileSize)).append("\n");
        sb.append("    thumbnailFileId: ").append(toIndentedString(thumbnailFileId)).append("\n");
        sb.append("    thumbnailFileName: ").append(toIndentedString(thumbnailFileName)).append("\n");
        sb.append("    thumbnailFileSize: ").append(toIndentedString(thumbnailFileSize)).append("\n");
        sb.append("    pdfFileId: ").append(toIndentedString(pdfFileId)).append("\n");
        sb.append("    pdfFileName: ").append(toIndentedString(pdfFileName)).append("\n");
        sb.append("    pdfFileSize: ").append(toIndentedString(pdfFileSize)).append("\n");
        sb.append("}");
        return sb.toString();
    }

    /** Convert the given object to string with each line indented by 4 spaces (except the first line). */
    private String toIndentedString(java.lang.Object o) {
        if (o == null) {
            return "null";
        }
        return o.toString().replace("\n", "\n    ");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy