Class BaseRequest

java.lang.Object
com.rubensgomes.reqresp.BaseRequest

@Generated("jsonschema2pojo") public class BaseRequest extends Object
Base Request Object

A base type that should be part of all microservice requests.

  • Constructor Details

    • BaseRequest

      public BaseRequest()
      No args constructor for use in serialization
    • BaseRequest

      public BaseRequest(String clientId, String transactionId, BaseRequest.ProfileType profileType)
      Parameters:
      clientId - The client who made the initial originating request.
      profileType - The environment the request is running under.
      transactionId - Unique text used to correlate requests and responses.
  • Method Details

    • builder

      public static BaseRequest.BaseRequestBuilderBase builder()
    • getClientId

      public String getClientId()
      The client who made the initial originating request. (Required)
    • setClientId

      public void setClientId(String clientId)
      The client who made the initial originating request. (Required)
    • getTransactionId

      public String getTransactionId()
      Unique text used to correlate requests and responses. (Required)
    • setTransactionId

      public void setTransactionId(String transactionId)
      Unique text used to correlate requests and responses. (Required)
    • getProfileType

      public BaseRequest.ProfileType getProfileType()
      The environment the request is running under. (Required)
    • setProfileType

      public void setProfileType(BaseRequest.ProfileType profileType)
      The environment the request is running under. (Required)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object