//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.bwie.common.utils;

import com.aliyun.dysmsapi20170525.models.SendSmsResponseBody;
import com.aliyun.tea.NameInMap;
import com.aliyun.tea.TeaModel;
import com.aliyun.tea.Validation;

import java.util.Map;

public class SendSmsResponse extends TeaModel {
    @NameInMap("headers")
    @Validation(
            required = true
    )
    public Map<String, String> headers;
    @NameInMap("body")
    @Validation(
            required = true
    )
    public SendSmsResponseBody body;

    public SendSmsResponse() {
    }

    public static SendSmsResponse build(Map<String, ?> map) throws Exception {
        SendSmsResponse self = new SendSmsResponse();
        return (SendSmsResponse)TeaModel.build(map, self);
    }

    public SendSmsResponse setHeaders(Map<String, String> headers) {
        this.headers = headers;
        return this;
    }

    public Map<String, String> getHeaders() {
        return this.headers;
    }

    public SendSmsResponse setBody(SendSmsResponseBody body) {
        this.body = body;
        return this;
    }

    public SendSmsResponseBody getBody() {
        return this.body;
    }
}
