Record Class HTTPSettings
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.HTTPSettings
- Record Components:
port- thePortpropertysessionTimeout- theSessionTimeoutpropertysessionMaxRequests- theSessionMaxRequestspropertyrequestEntityMaxSizeInKB- theRequestEntityMaxSizeInKBpropertyoriginAllowList- theOriginAllowListproperty
@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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyOriginAllowList, for queries: theOriginAllowListpropertystatic final ODataPropertyPort, for queries: thePortpropertystatic final ODataPropertyRequestEntityMaxSizeInKB, for queries: theRequestEntityMaxSizeInKBpropertystatic final ODataPropertySessionMaxRequests, for queries: theSessionMaxRequestspropertystatic final ODataPropertySessionTimeout, for queries: theSessionTimeoutproperty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoriginAllowListrecord component.@Nullable Integerport()Returns the value of theportrecord component.@Nullable IntegerReturns the value of therequestEntityMaxSizeInKBrecord component.@Nullable IntegerReturns the value of thesessionMaxRequestsrecord component.@Nullable DurationReturns the value of thesessionTimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
PORT
Port, for queries: thePortproperty -
SESSION_TIMEOUT
SessionTimeout, for queries: theSessionTimeoutproperty -
SESSION_MAX_REQUESTS
SessionMaxRequests, for queries: theSessionMaxRequestsproperty -
REQUEST_ENTITY_MAX_SIZE_IN_KB
RequestEntityMaxSizeInKB, for queries: theRequestEntityMaxSizeInKBproperty -
ORIGIN_ALLOW_LIST
OriginAllowList, for queries: theOriginAllowListproperty
-
-
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 aHTTPSettingsrecord class.- Parameters:
port- the value for theportrecord componentsessionTimeout- the value for thesessionTimeoutrecord componentsessionMaxRequests- the value for thesessionMaxRequestsrecord componentrequestEntityMaxSizeInKB- the value for therequestEntityMaxSizeInKBrecord componentoriginAllowList- the value for theoriginAllowListrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
port
-
sessionTimeout
Returns the value of thesessionTimeoutrecord component.- Returns:
- the value of the
sessionTimeoutrecord component
-
sessionMaxRequests
Returns the value of thesessionMaxRequestsrecord component.- Returns:
- the value of the
sessionMaxRequestsrecord component
-
requestEntityMaxSizeInKB
Returns the value of therequestEntityMaxSizeInKBrecord component.- Returns:
- the value of the
requestEntityMaxSizeInKBrecord component
-
originAllowList
Returns the value of theoriginAllowListrecord component.- Returns:
- the value of the
originAllowListrecord component
-