![JAR search and dependency download from the Maven repository](/logo.png)
com.bandwidth.multifactorauth.models.TwoFactorVoiceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-sdk Show documentation
Show all versions of bandwidth-sdk Show documentation
The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
/*
* BandwidthLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
package com.bandwidth.multifactorauth.models;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonSetter;
/**
* This is a model class for TwoFactorVoiceResponse type.
*/
public class TwoFactorVoiceResponse {
@JsonInclude(JsonInclude.Include.NON_NULL)
private String callId;
/**
* Default constructor.
*/
public TwoFactorVoiceResponse() {
}
/**
* Initialization constructor.
* @param callId String value for callId.
*/
public TwoFactorVoiceResponse(
String callId) {
this.callId = callId;
}
/**
* Getter for CallId.
* @return Returns the String
*/
@JsonGetter("callId")
public String getCallId() {
return callId;
}
/**
* Setter for CallId.
* @param callId Value for String
*/
@JsonSetter("callId")
public void setCallId(String callId) {
this.callId = callId;
}
/**
* Converts this TwoFactorVoiceResponse into string format.
* @return String representation of this class
*/
@Override
public String toString() {
return "TwoFactorVoiceResponse [" + "callId=" + callId + "]";
}
/**
* Builds a new {@link TwoFactorVoiceResponse.Builder} object.
* Creates the instance with the state of the current model.
* @return a new {@link TwoFactorVoiceResponse.Builder} object
*/
public Builder toBuilder() {
Builder builder = new Builder()
.callId(getCallId());
return builder;
}
/**
* Class to build instances of {@link TwoFactorVoiceResponse}.
*/
public static class Builder {
private String callId;
/**
* Setter for callId.
* @param callId String value for callId.
* @return Builder
*/
public Builder callId(String callId) {
this.callId = callId;
return this;
}
/**
* Builds a new {@link TwoFactorVoiceResponse} object using the set fields.
* @return {@link TwoFactorVoiceResponse}
*/
public TwoFactorVoiceResponse build() {
return new TwoFactorVoiceResponse(callId);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy