Class SetOwnRegistrationStatus.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SetOwnRegistrationStatus.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SetOwnRegistrationStatus instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
registrationId
public RegistrationStatus
newStatus
public String
reason
-
Method Summary
Modifier and Type Method Description String
getRegistrationId()
Gets the value of the 'registrationId' field. SetOwnRegistrationStatus.Builder
setRegistrationId(String value)
Sets the value of the 'registrationId' field. RegistrationStatus
getNewStatus()
Gets the value of the 'newStatus' field. SetOwnRegistrationStatus.Builder
setNewStatus(RegistrationStatus value)
Sets the value of the 'newStatus' field. String
getReason()
Gets the value of the 'reason' field. SetOwnRegistrationStatus.Builder
setReason(String value)
Sets the value of the 'reason' field. boolean
hasRegistrationId()
Checks whether the 'registrationId' field has been set. SetOwnRegistrationStatus.Builder
clearRegistrationId()
Clears the value of the 'registrationId' field. boolean
hasNewStatus()
Checks whether the 'newStatus' field has been set. SetOwnRegistrationStatus.Builder
clearNewStatus()
Clears the value of the 'newStatus' field. boolean
hasReason()
Checks whether the 'reason' field has been set. SetOwnRegistrationStatus.Builder
clearReason()
Clears the value of the 'reason' field. SetOwnRegistrationStatus
build()
-
-
Method Detail
-
getRegistrationId
String getRegistrationId()
Gets the value of the 'registrationId' field. ID of the registration to set the status.
-
setRegistrationId
SetOwnRegistrationStatus.Builder setRegistrationId(String value)
Sets the value of the 'registrationId' field. ID of the registration to set the status.
- Parameters:
value
- The value of 'registrationId'.
-
getNewStatus
RegistrationStatus getNewStatus()
Gets the value of the 'newStatus' field. The new registration status.
-
setNewStatus
SetOwnRegistrationStatus.Builder setNewStatus(RegistrationStatus value)
Sets the value of the 'newStatus' field. The new registration status.
- Parameters:
value
- The value of 'newStatus'.
-
getReason
String getReason()
Gets the value of the 'reason' field. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.
-
setReason
SetOwnRegistrationStatus.Builder setReason(String value)
Sets the value of the 'reason' field. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.
- Parameters:
value
- The value of 'reason'.
-
hasRegistrationId
boolean hasRegistrationId()
Checks whether the 'registrationId' field has been set. ID of the registration to set the status.
-
clearRegistrationId
SetOwnRegistrationStatus.Builder clearRegistrationId()
Clears the value of the 'registrationId' field. ID of the registration to set the status.
-
hasNewStatus
boolean hasNewStatus()
Checks whether the 'newStatus' field has been set. The new registration status.
-
clearNewStatus
SetOwnRegistrationStatus.Builder clearNewStatus()
Clears the value of the 'newStatus' field. The new registration status.
-
hasReason
boolean hasReason()
Checks whether the 'reason' field has been set. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.
-
clearReason
SetOwnRegistrationStatus.Builder clearReason()
Clears the value of the 'reason' field. The reason the registration request was moved to this status. Mostly relevant for switches to negative statuses (e.g. declined) to provide further context to the user on the underlying reason.
-
build
SetOwnRegistrationStatus build()
-
-
-
-