package com.banesco.common.domain.model;

import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
import java.util.Map;

@Getter
@Builder
@ToString
public class HttpRequest {
    private String url;
    private HttpMethod method;
    private Object body;
    private Map<String, String> pathParams;
    private Map<String, String> queryParams;
    private Map<String, String> headers;
    private Class<?> responseType;
    private int connectTimeout;
    private int readTimeout;

    public enum HttpMethod {
        GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
    }
}
