Record Class ProxyRulesResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.gan.ProxyRulesResource
public record ProxyRulesResource(LinkedHashSet<com.inductiveautomation.metro.impl.ProxyRule> proxyRules)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceTypeMeta<ProxyRulesResource>
static final Consumer<SchemaUtil.Builder>
static final String
static final String
static final ResourceType
-
Constructor Summary
ConstructorsConstructorDescriptionProxyRulesResource
(LinkedHashSet<com.inductiveautomation.metro.impl.ProxyRule> proxyRules) Creates an instance of aProxyRulesResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.LinkedHashSet<com.inductiveautomation.metro.impl.ProxyRule>
Returns the value of theproxyRules
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
PROXY_RULES_RESOURCE
- See Also:
-
PROXY_RULES
- See Also:
-
OPENAPI_SCHEMA
-
RESOURCE_TYPE
-
META
-
-
Constructor Details
-
ProxyRulesResource
Creates an instance of aProxyRulesResource
record class.- Parameters:
proxyRules
- the value for theproxyRules
record component
-
-
Method Details
-
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. -
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. -
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)
. -
proxyRules
Returns the value of theproxyRules
record component.- Returns:
- the value of the
proxyRules
record component
-