package com.ss.android.ugc.aweme.im.sdk.chat.data.model;

import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.im.sdk.chat.data.model.SystemContent;
import java.io.Serializable;

public class BaseExtra implements Serializable {
    @c(LIZ = "status_code")
    public int statusCode;
    @c(LIZ = "status_msg")
    public StatusMessage statusMsg;

    static {
        Covode.recordClassIndex(84078);
    }

    public static class MessageContent {
        @c(LIZ = "template")
        public SystemContent.Key[] template;
        @c(LIZ = "tips")
        public String tips;

        static {
            Covode.recordClassIndex(84079);
        }

        public SystemContent.Key[] getTemplate() {
            return this.template;
        }

        public String getTips() {
            return this.tips;
        }

        public void setTemplate(SystemContent.Key[] keyArr) {
            this.template = keyArr;
        }

        public void setTips(String str) {
            this.tips = str;
        }

        public static SystemContent toSystemContent(MessageContent messageContent) {
            SystemContent systemContent = new SystemContent();
            systemContent.setType(100);
            systemContent.tips = messageContent.tips;
            systemContent.template = messageContent.template;
            return systemContent;
        }
    }

    public static class StatusMessage {
        @c(LIZ = "msg_content")
        public MessageContent msgContent;
        @c(LIZ = "msg_type")
        public int msgType;

        static {
            Covode.recordClassIndex(84080);
        }

        public MessageContent getMsgContent() {
            return this.msgContent;
        }

        public int getMsgType() {
            return this.msgType;
        }

        public void setMsgContent(MessageContent messageContent) {
            this.msgContent = messageContent;
        }

        public void setMsgType(int i) {
            this.msgType = i;
        }
    }

    public int getStatusCode() {
        return this.statusCode;
    }

    public StatusMessage getStatusMsg() {
        return this.statusMsg;
    }

    public void setStatusCode(int i) {
        this.statusCode = i;
    }

    public void setStatusMsg(StatusMessage statusMessage) {
        this.statusMsg = statusMessage;
    }
}
