Skip to content

Commit

Permalink
Adding recording kind to the recording state which is missed in the g…
Browse files Browse the repository at this point in the history
…a3 checkin
  • Loading branch information
v-vdharmaraj committed Jul 1, 2024
1 parent d36a387 commit 7f50607
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public final class RecordingStateResult {
*/
private final String recordingId;

private final RecordingKind recordingKind;

private final RecordingState recordingState;

/**
Expand All @@ -29,6 +31,15 @@ public String getRecordingId() {
return this.recordingId;
}

/**
* Get the RecordingState property: The recording kind status of the recording.
*
* @return the recordingKind value.
*/
public RecordingKind getRecordingKind() {
return this.recordingKind;
}

/**
* Get the RecordingState property: The recording status of the recording.
*
Expand All @@ -44,6 +55,7 @@ public RecordingState getRecordingState() {
*/
public RecordingStateResult() {
this.recordingId = null;
this.recordingKind = null;
this.recordingState = null;
}

Expand All @@ -54,6 +66,7 @@ public RecordingStateResult() {
*/
RecordingStateResult(RecordingStateResponseInternal recordingStateResponseInternal) {
this.recordingId = recordingStateResponseInternal.getRecordingId();
this.recordingKind = RecordingKind.fromString(recordingStateResponseInternal.getRecordingKind().toString());
this.recordingState = RecordingState.fromString(recordingStateResponseInternal.getRecordingState().toString());
}
}

0 comments on commit 7f50607

Please sign in to comment.