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

ru.cwcode.tkach.httpWrapper.BaseResponse Maven / Gradle / Ivy

The newest version!
package ru.cwcode.tkach.httpWrapper;

import lombok.AccessLevel;
import lombok.Getter;

import java.util.Map;

public class BaseResponse> {
  protected final R r = (R) this;
  
  @Getter
  boolean success;
  @Getter
  int code;
  @Getter(AccessLevel.PROTECTED)
  Map response;
  @Getter
  BaseRequest request;
  
  public BaseResponse(boolean success, int code, BaseRequest request, Map response) {
    this.success = success;
    this.code = code;
    this.request = request;
    this.response = response;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy