Record Class HTTPSettings

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.HTTPSettings
Record Components:
port - the Port property
sessionTimeout - the SessionTimeout property
sessionMaxRequests - the SessionMaxRequests property
requestEntityMaxSizeInKB - the RequestEntityMaxSizeInKB property
originAllowList - the OriginAllowList property

@Generated("io.skipcheck.tm1.codegen") @Since("11.0.0") public record HTTPSettings(@Nullable Integer port, @Nullable Duration sessionTimeout, @Nullable Integer sessionMaxRequests, @Nullable Integer requestEntityMaxSizeInKB, @Nullable List<String> originAllowList) extends Record
The HTTPSettings complex type of the TM1 REST API.

Generated from $metadata. Every component is nullable: $select can leave any property out. Null components aren't sent.

  • Field Details

    • PORT

      public static final ODataProperty PORT
      Port, for queries: the Port property
    • SESSION_TIMEOUT

      public static final ODataProperty SESSION_TIMEOUT
      SessionTimeout, for queries: the SessionTimeout property
    • SESSION_MAX_REQUESTS

      public static final ODataProperty SESSION_MAX_REQUESTS
      SessionMaxRequests, for queries: the SessionMaxRequests property
    • REQUEST_ENTITY_MAX_SIZE_IN_KB

      public static final ODataProperty REQUEST_ENTITY_MAX_SIZE_IN_KB
      RequestEntityMaxSizeInKB, for queries: the RequestEntityMaxSizeInKB property
    • ORIGIN_ALLOW_LIST

      public static final ODataProperty ORIGIN_ALLOW_LIST
      OriginAllowList, for queries: the OriginAllowList property
  • Constructor Details

    • HTTPSettings

      public HTTPSettings(@Nullable Integer port, @Nullable Duration sessionTimeout, @Nullable Integer sessionMaxRequests, @Nullable Integer requestEntityMaxSizeInKB, @Nullable List<String> originAllowList)
      Creates an instance of a HTTPSettings record class.
      Parameters:
      port - the value for the port record component
      sessionTimeout - the value for the sessionTimeout record component
      sessionMaxRequests - the value for the sessionMaxRequests record component
      requestEntityMaxSizeInKB - the value for the requestEntityMaxSizeInKB record component
      originAllowList - the value for the originAllowList 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.
    • port

      public @Nullable Integer port()
      Returns the value of the port record component.
      Returns:
      the value of the port record component
    • sessionTimeout

      public @Nullable Duration sessionTimeout()
      Returns the value of the sessionTimeout record component.
      Returns:
      the value of the sessionTimeout record component
    • sessionMaxRequests

      public @Nullable Integer sessionMaxRequests()
      Returns the value of the sessionMaxRequests record component.
      Returns:
      the value of the sessionMaxRequests record component
    • requestEntityMaxSizeInKB

      public @Nullable Integer requestEntityMaxSizeInKB()
      Returns the value of the requestEntityMaxSizeInKB record component.
      Returns:
      the value of the requestEntityMaxSizeInKB record component
    • originAllowList

      public @Nullable List<String> originAllowList()
      Returns the value of the originAllowList record component.
      Returns:
      the value of the originAllowList record component