Record Class OperationParameterSchema.OperationSpec
java.lang.Object
java.lang.Record
zeroecho.pki.server.schema.OperationParameterSchema.OperationSpec
- Record Components:
operationId- canonical operation identitypermissionAction- permission action constantpermissionResourceType- permission resource-type constantfields- ordered argument definitions
- Enclosing class:
OperationParameterSchema
-
Constructor Summary
ConstructorsConstructorDescriptionOperationSpec(String operationId, String permissionAction, String permissionResourceType, List<OperationParameterSchema.FieldSpec> fields) Snapshots the field list. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationIdrecord component.Returns the value of thepermissionActionrecord component.Returns the value of thepermissionResourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OperationSpec
public OperationSpec(String operationId, String permissionAction, String permissionResourceType, List<OperationParameterSchema.FieldSpec> fields) Snapshots the field list.
-
-
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). -
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
permissionAction
Returns the value of thepermissionActionrecord component.- Returns:
- the value of the
permissionActionrecord component
-
permissionResourceType
Returns the value of thepermissionResourceTyperecord component.- Returns:
- the value of the
permissionResourceTyperecord component
-
fields
-