Package io.codef.api.dto
Record Class EasyCodefRequest
java.lang.Object
java.lang.Record
io.codef.api.dto.EasyCodefRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringHeader Format Constantsstatic final Stringstatic final Stringstatic final StringHeader Format Constantsstatic final StringPath Format Constantsstatic final Stringstatic final StringRequest Body Key Constantstatic final StringRequest Body Value Constantstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionEasyCodefRequest(String path, HashMap<String, Object> requestBody) Creates an instance of aEasyCodefRequestrecord class. -
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.path()Returns the value of thepathrecord component.Returns the value of therequestBodyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ACCESS_TOKEN
Header Format Constants- See Also:
-
SSO_ID
Request Body Key Constant- See Also:
-
IS_TWO_WAY
- See Also:
-
SIMPLE_AUTH
- See Also:
-
TWO_WAY_INFO
- See Also:
-
TRUE
Request Body Value Constant- See Also:
-
ORGANIZATION
Header Format Constants- See Also:
-
EASY_CODEF_JAVA_FLAG
- See Also:
-
PATH_PREFIX
Path Format Constants- See Also:
-
-
Constructor Details
-
EasyCodefRequest
Creates an instance of aEasyCodefRequestrecord class.- Parameters:
path- the value for thepathrecord componentrequestBody- the value for therequestBodyrecord 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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
requestBody
Returns the value of therequestBodyrecord component.- Returns:
- the value of the
requestBodyrecord component
-