Record Class MijnAansluitingConfiguration

java.lang.Object
java.lang.Record
energy.eddie.regionconnector.nl.mijn.aansluiting.config.MijnAansluitingConfiguration

@ConfigurationProperties("region-connector.nl.mijn.aansluiting") public record MijnAansluitingConfiguration(String continuousKeyId, String issuerUrl, com.nimbusds.oauth2.sdk.id.ClientID continuousClientId, com.nimbusds.oauth2.sdk.Scope continuousScope, URI codeboekApi, String codeboekApiToken, URI redirectUrl) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    MijnAansluitingConfiguration(String continuousKeyId, String issuerUrl, com.nimbusds.oauth2.sdk.id.ClientID continuousClientId, com.nimbusds.oauth2.sdk.Scope continuousScope, URI codeboekApi, String codeboekApiToken, URI redirectUrl)
    Creates an instance of a MijnAansluitingConfiguration record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the codeboekApi record component.
    Returns the value of the codeboekApiToken record component.
    com.nimbusds.oauth2.sdk.id.ClientID
    Returns the value of the continuousClientId record component.
    Returns the value of the continuousKeyId record component.
    com.nimbusds.oauth2.sdk.Scope
    Returns the value of the continuousScope record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the issuerUrl record component.
    Returns the value of the redirectUrl record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MijnAansluitingConfiguration

      public MijnAansluitingConfiguration(String continuousKeyId, String issuerUrl, com.nimbusds.oauth2.sdk.id.ClientID continuousClientId, com.nimbusds.oauth2.sdk.Scope continuousScope, URI codeboekApi, String codeboekApiToken, URI redirectUrl)
      Creates an instance of a MijnAansluitingConfiguration record class.
      Parameters:
      continuousKeyId - the value for the continuousKeyId record component
      issuerUrl - the value for the issuerUrl record component
      continuousClientId - the value for the continuousClientId record component
      continuousScope - the value for the continuousScope record component
      codeboekApi - the value for the codeboekApi record component
      codeboekApiToken - the value for the codeboekApiToken record component
      redirectUrl - the value for the redirectUrl 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.
    • continuousKeyId

      public String continuousKeyId()
      Returns the value of the continuousKeyId record component.
      Returns:
      the value of the continuousKeyId record component
    • issuerUrl

      public String issuerUrl()
      Returns the value of the issuerUrl record component.
      Returns:
      the value of the issuerUrl record component
    • continuousClientId

      public com.nimbusds.oauth2.sdk.id.ClientID continuousClientId()
      Returns the value of the continuousClientId record component.
      Returns:
      the value of the continuousClientId record component
    • continuousScope

      public com.nimbusds.oauth2.sdk.Scope continuousScope()
      Returns the value of the continuousScope record component.
      Returns:
      the value of the continuousScope record component
    • codeboekApi

      public URI codeboekApi()
      Returns the value of the codeboekApi record component.
      Returns:
      the value of the codeboekApi record component
    • codeboekApiToken

      public String codeboekApiToken()
      Returns the value of the codeboekApiToken record component.
      Returns:
      the value of the codeboekApiToken record component
    • redirectUrl

      public URI redirectUrl()
      Returns the value of the redirectUrl record component.
      Returns:
      the value of the redirectUrl record component