content: package com.github.ship.common.model;
  
  import java.io.Serializable;
  import java.util.HashMap;
  import java.util.Map;
  
  /**
   * @author 2YSP
   * @date 2020/7/25 21:02
   */
  public class RpcRequest implements Serializable {
  
      private String requestId;
      /**
       * 请求的服务名
       */
      private String serviceName;
      /**
       * 请求调用的方法
       */
      private String method;
  
      private Map<String, String> headers = new HashMap<>();
  
      private String[] parameterTypeNames;
  
      private Object[] parameters;
  
      private Boolean generic;
  
      public Boolean getGeneric() {
          return generic;
      }
  
      public void setGeneric(Boolean generic) {
          this.generic = generic;
      }
  
      public String getRequestId() {
          return requestId;
      }
  
      public void setRequestId(String requestId) {
          this.requestId = requestId;
      }
  
      public String getServiceName() {
          return serviceName;
      }
  
      public void setServiceName(String serviceName) {
          this.serviceName = serviceName;
      }
  
      public String getMethod() {
          return method;
      }
  
      public void setMethod(String method) {
          this.method = method;
      }
  
      public Map<String, String> getHeaders() {
          return headers;
      }
  
      public void setHeaders(Map<String, String> headers) {
          this.headers = headers;
      }
  
  
      public Object[] getParameters() {
          return parameters;
      }
  
      public void setParameters(Object[] parameters) {
          this.parameters = parameters;
      }
  
  
      public String[] getParameterTypeNames() {
          return parameterTypeNames;
      }
  
      public void setParameterTypeNames(String[] parameterTypeNames) {
          this.parameterTypeNames = parameterTypeNames;
      }
  }
  