Record Class UsersJsonResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.authentication.resources.UsersJsonResource
- Record Components:
users
- A list of users available for this profile.roles
- A list of roles available for this profile.
public record UsersJsonResource(List<InternalUserResource> users, List<InternalRoleResource> roles)
extends Record
Represents the data that gets stored in the users.json file for each internal user source profile.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUsersJsonResource
(List<InternalUserResource> users, List<InternalRoleResource> roles) Creates an instance of aUsersJsonResource
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.roles()
Returns the value of theroles
record component.final String
toString()
Returns a string representation of this record class.users()
Returns the value of theusers
record component.
-
Field Details
-
USERS_JSON
The name of the users.json file.- See Also:
-
-
Constructor Details
-
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)
. -
users
Returns the value of theusers
record component.- Returns:
- the value of the
users
record component
-
roles
Returns the value of theroles
record component.- Returns:
- the value of the
roles
record component
-