Class VerificationRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class VerificationRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for VerificationRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
registrationId
public KeyValuePairList
payload
public KeyValuePairList.Builder
payloadBuilder
-
Method Summary
Modifier and Type Method Description String
getRegistrationId()
Gets the value of the 'registrationId' field. VerificationRequest.Builder
setRegistrationId(String value)
Sets the value of the 'registrationId' field. KeyValuePairList
getPayload()
Gets the value of the 'payload' field. VerificationRequest.Builder
setPayload(KeyValuePairList value)
Sets the value of the 'payload' field. KeyValuePairList.Builder
getPayloadBuilder()
Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet. VerificationRequest.Builder
setPayloadBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'payload' field Request's payload. boolean
hasRegistrationId()
Checks whether the 'registrationId' field has been set. VerificationRequest.Builder
clearRegistrationId()
Clears the value of the 'registrationId' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. boolean
hasPayloadBuilder()
Checks whether the 'payload' field has an active Builder instance Request's payload. VerificationRequest.Builder
clearPayload()
Clears the value of the 'payload' field. VerificationRequest
build()
-
-
Method Detail
-
getRegistrationId
String getRegistrationId()
Gets the value of the 'registrationId' field. ID of the registration we can associate the verification request with.
-
setRegistrationId
VerificationRequest.Builder setRegistrationId(String value)
Sets the value of the 'registrationId' field. ID of the registration we can associate the verification request with.
- Parameters:
value
- The value of 'registrationId'.
-
getPayload
KeyValuePairList getPayload()
Gets the value of the 'payload' field. Request's payload.
-
setPayload
VerificationRequest.Builder setPayload(KeyValuePairList value)
Sets the value of the 'payload' field. Request's payload.
- Parameters:
value
- The value of 'payload'.
-
getPayloadBuilder
KeyValuePairList.Builder getPayloadBuilder()
Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet. Request's payload.
-
setPayloadBuilder
VerificationRequest.Builder setPayloadBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'payload' field Request's payload.
- Parameters:
value
- The builder instance that must be set.
-
hasRegistrationId
boolean hasRegistrationId()
Checks whether the 'registrationId' field has been set. ID of the registration we can associate the verification request with.
-
clearRegistrationId
VerificationRequest.Builder clearRegistrationId()
Clears the value of the 'registrationId' field. ID of the registration we can associate the verification request with.
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set. Request's payload.
-
hasPayloadBuilder
boolean hasPayloadBuilder()
Checks whether the 'payload' field has an active Builder instance Request's payload.
-
clearPayload
VerificationRequest.Builder clearPayload()
Clears the value of the 'payload' field. Request's payload.
-
build
VerificationRequest build()
-
-
-
-