package com.aip.gateway.api.model.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
//@Data
@Getter
@Setter
@ToString
//@Builder
@ApiModel("RequestStream(STREAM 요청")
public class RequestStream extends RequestBase {

    @ApiModelProperty("File 이름")  // Y BLOB
    private String dispFileName;
    @ApiModelProperty("File Stream Data")  // Y BLOB
    @JsonProperty("fileData")
    private String fileData;

    public RequestStream(String apiKey, String email, String apiGuid, String decryptKey, String dispFileName, String fileData) {
        super(apiKey, email, apiGuid, decryptKey);
        this.dispFileName = dispFileName;
        this.fileData = fileData;
    }
}
