com.sinch.sdk.domains.verification.models.VerificationReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.verification.models;
/** Verification reference related to a Verification request */
public class VerificationReference {
private final String reference;
private VerificationReference(String reference) {
this.reference = reference;
}
/** {@inheritDoc} */
@Override
public String toString() {
return "VerificationReference{" + "reference='" + reference + '\'' + '}';
}
/**
* Get the verification reference value
*
* @return reference Value
* @since 1.0
*/
public String getReference() {
return reference;
}
/**
* Create a new verification reference from a String
*
* @param reference The id value
* @return The newly created VerificationReference instance
* @since 1.0
*/
public static VerificationReference valueOf(String reference) {
return new VerificationReference(reference);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy