Class Qualification

    • Method Detail

      • qualificationTypeId

        public final String qualificationTypeId()

        The ID of the Qualification type for the Qualification.

        Returns:
        The ID of the Qualification type for the Qualification.
      • workerId

        public final String workerId()

        The ID of the Worker who possesses the Qualification.

        Returns:
        The ID of the Worker who possesses the Qualification.
      • grantTime

        public final Instant grantTime()

        The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.

        Returns:
        The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.
      • integerValue

        public final Integer integerValue()

        The value (score) of the Qualification, if the Qualification has an integer value.

        Returns:
        The value (score) of the Qualification, if the Qualification has an integer value.
      • localeValue

        public final Locale localeValue()
        Returns the value of the LocaleValue property for this object.
        Returns:
        The value of the LocaleValue property for this object.
      • statusAsString

        public final String statusAsString()

        The status of the Qualification. Valid values are Granted | Revoked.

        If the service returns an enum value that is not available in the current SDK version, status will return QualificationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of the Qualification. Valid values are Granted | Revoked.
        See Also:
        QualificationStatus
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)