Record Class FluviusSessionRequestModel

java.lang.Object
java.lang.Record
energy.eddie.regionconnector.be.fluvius.client.model.FluviusSessionRequestModel

public record FluviusSessionRequestModel(@Nullable String dataAccessContractNumber, @Nullable String referenceNumber, @Nullable String flow, @Nullable List<FluviusSessionRequestDataServiceModel> dataServices, Integer numberOfEans, @Nullable String returnUrlSuccess, @Nullable String returnUrlFailed, @Nullable Boolean sso, @Nullable String enterpriseNumber) extends Record
  • Constructor Details

    • FluviusSessionRequestModel

      public FluviusSessionRequestModel(@Nullable String dataAccessContractNumber, @Nullable String referenceNumber, @Nullable String flow, @Nullable List<FluviusSessionRequestDataServiceModel> dataServices, Integer numberOfEans, @Nullable String returnUrlSuccess, @Nullable String returnUrlFailed, @Nullable Boolean sso, @Nullable String enterpriseNumber)
      Creates an instance of a FluviusSessionRequestModel record class.
      Parameters:
      dataAccessContractNumber - the value for the dataAccessContractNumber record component
      referenceNumber - the value for the referenceNumber record component
      flow - the value for the flow record component
      dataServices - the value for the dataServices record component
      numberOfEans - the value for the numberOfEans record component
      returnUrlSuccess - the value for the returnUrlSuccess record component
      returnUrlFailed - the value for the returnUrlFailed record component
      sso - the value for the sso record component
      enterpriseNumber - the value for the enterpriseNumber record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • dataAccessContractNumber

      @Nullable public String dataAccessContractNumber()
      Returns the value of the dataAccessContractNumber record component.
      Returns:
      the value of the dataAccessContractNumber record component
    • referenceNumber

      @Nullable public String referenceNumber()
      Returns the value of the referenceNumber record component.
      Returns:
      the value of the referenceNumber record component
    • flow

      @Nullable public String flow()
      Returns the value of the flow record component.
      Returns:
      the value of the flow record component
    • dataServices

      @Nullable public List<FluviusSessionRequestDataServiceModel> dataServices()
      Returns the value of the dataServices record component.
      Returns:
      the value of the dataServices record component
    • numberOfEans

      public Integer numberOfEans()
      Returns the value of the numberOfEans record component.
      Returns:
      the value of the numberOfEans record component
    • returnUrlSuccess

      @Nullable public String returnUrlSuccess()
      Returns the value of the returnUrlSuccess record component.
      Returns:
      the value of the returnUrlSuccess record component
    • returnUrlFailed

      @Nullable public String returnUrlFailed()
      Returns the value of the returnUrlFailed record component.
      Returns:
      the value of the returnUrlFailed record component
    • sso

      @Nullable public Boolean sso()
      Returns the value of the sso record component.
      Returns:
      the value of the sso record component
    • enterpriseNumber

      @Nullable public String enterpriseNumber()
      Returns the value of the enterpriseNumber record component.
      Returns:
      the value of the enterpriseNumber record component