|
| 1 | +// Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | +// Licensed under the MIT License. |
| 3 | +// Code generated by Microsoft (R) AutoRest Code Generator. |
| 4 | + |
| 5 | +package com.azure.communication.callautomation.implementation.models; |
| 6 | + |
| 7 | +import com.azure.core.annotation.Fluent; |
| 8 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 9 | + |
| 10 | +/** The failed to remove participant event. */ |
| 11 | +@Fluent |
| 12 | +public final class RemoveParticipantFailed { |
| 13 | + /* |
| 14 | + * Call connection ID. |
| 15 | + */ |
| 16 | + @JsonProperty(value = "callConnectionId") |
| 17 | + private String callConnectionId; |
| 18 | + |
| 19 | + /* |
| 20 | + * Server call ID. |
| 21 | + */ |
| 22 | + @JsonProperty(value = "serverCallId") |
| 23 | + private String serverCallId; |
| 24 | + |
| 25 | + /* |
| 26 | + * Correlation ID for event to call correlation. Also called ChainId for |
| 27 | + * skype chain ID. |
| 28 | + */ |
| 29 | + @JsonProperty(value = "correlationId") |
| 30 | + private String correlationId; |
| 31 | + |
| 32 | + /* |
| 33 | + * Used by customers when calling mid-call actions to correlate the request |
| 34 | + * to the response event. |
| 35 | + */ |
| 36 | + @JsonProperty(value = "operationContext") |
| 37 | + private String operationContext; |
| 38 | + |
| 39 | + /* |
| 40 | + * Contains the resulting SIP code/sub-code and message from NGC services. |
| 41 | + */ |
| 42 | + @JsonProperty(value = "resultInformation") |
| 43 | + private ResultInformation resultInformation; |
| 44 | + |
| 45 | + /* |
| 46 | + * Participant |
| 47 | + */ |
| 48 | + @JsonProperty(value = "participant") |
| 49 | + private CommunicationIdentifierModel participant; |
| 50 | + |
| 51 | + /** |
| 52 | + * Get the callConnectionId property: Call connection ID. |
| 53 | + * |
| 54 | + * @return the callConnectionId value. |
| 55 | + */ |
| 56 | + public String getCallConnectionId() { |
| 57 | + return this.callConnectionId; |
| 58 | + } |
| 59 | + |
| 60 | + /** |
| 61 | + * Set the callConnectionId property: Call connection ID. |
| 62 | + * |
| 63 | + * @param callConnectionId the callConnectionId value to set. |
| 64 | + * @return the RemoveParticipantFailed object itself. |
| 65 | + */ |
| 66 | + public RemoveParticipantFailed setCallConnectionId(String callConnectionId) { |
| 67 | + this.callConnectionId = callConnectionId; |
| 68 | + return this; |
| 69 | + } |
| 70 | + |
| 71 | + /** |
| 72 | + * Get the serverCallId property: Server call ID. |
| 73 | + * |
| 74 | + * @return the serverCallId value. |
| 75 | + */ |
| 76 | + public String getServerCallId() { |
| 77 | + return this.serverCallId; |
| 78 | + } |
| 79 | + |
| 80 | + /** |
| 81 | + * Set the serverCallId property: Server call ID. |
| 82 | + * |
| 83 | + * @param serverCallId the serverCallId value to set. |
| 84 | + * @return the RemoveParticipantFailed object itself. |
| 85 | + */ |
| 86 | + public RemoveParticipantFailed setServerCallId(String serverCallId) { |
| 87 | + this.serverCallId = serverCallId; |
| 88 | + return this; |
| 89 | + } |
| 90 | + |
| 91 | + /** |
| 92 | + * Get the correlationId property: Correlation ID for event to call correlation. Also called ChainId for skype chain |
| 93 | + * ID. |
| 94 | + * |
| 95 | + * @return the correlationId value. |
| 96 | + */ |
| 97 | + public String getCorrelationId() { |
| 98 | + return this.correlationId; |
| 99 | + } |
| 100 | + |
| 101 | + /** |
| 102 | + * Set the correlationId property: Correlation ID for event to call correlation. Also called ChainId for skype chain |
| 103 | + * ID. |
| 104 | + * |
| 105 | + * @param correlationId the correlationId value to set. |
| 106 | + * @return the RemoveParticipantFailed object itself. |
| 107 | + */ |
| 108 | + public RemoveParticipantFailed setCorrelationId(String correlationId) { |
| 109 | + this.correlationId = correlationId; |
| 110 | + return this; |
| 111 | + } |
| 112 | + |
| 113 | + /** |
| 114 | + * Get the operationContext property: Used by customers when calling mid-call actions to correlate the request to |
| 115 | + * the response event. |
| 116 | + * |
| 117 | + * @return the operationContext value. |
| 118 | + */ |
| 119 | + public String getOperationContext() { |
| 120 | + return this.operationContext; |
| 121 | + } |
| 122 | + |
| 123 | + /** |
| 124 | + * Set the operationContext property: Used by customers when calling mid-call actions to correlate the request to |
| 125 | + * the response event. |
| 126 | + * |
| 127 | + * @param operationContext the operationContext value to set. |
| 128 | + * @return the RemoveParticipantFailed object itself. |
| 129 | + */ |
| 130 | + public RemoveParticipantFailed setOperationContext(String operationContext) { |
| 131 | + this.operationContext = operationContext; |
| 132 | + return this; |
| 133 | + } |
| 134 | + |
| 135 | + /** |
| 136 | + * Get the resultInformation property: Contains the resulting SIP code/sub-code and message from NGC services. |
| 137 | + * |
| 138 | + * @return the resultInformation value. |
| 139 | + */ |
| 140 | + public ResultInformation getResultInformation() { |
| 141 | + return this.resultInformation; |
| 142 | + } |
| 143 | + |
| 144 | + /** |
| 145 | + * Set the resultInformation property: Contains the resulting SIP code/sub-code and message from NGC services. |
| 146 | + * |
| 147 | + * @param resultInformation the resultInformation value to set. |
| 148 | + * @return the RemoveParticipantFailed object itself. |
| 149 | + */ |
| 150 | + public RemoveParticipantFailed setResultInformation(ResultInformation resultInformation) { |
| 151 | + this.resultInformation = resultInformation; |
| 152 | + return this; |
| 153 | + } |
| 154 | + |
| 155 | + /** |
| 156 | + * Get the participant property: Participant. |
| 157 | + * |
| 158 | + * @return the participant value. |
| 159 | + */ |
| 160 | + public CommunicationIdentifierModel getParticipant() { |
| 161 | + return this.participant; |
| 162 | + } |
| 163 | + |
| 164 | + /** |
| 165 | + * Set the participant property: Participant. |
| 166 | + * |
| 167 | + * @param participant the participant value to set. |
| 168 | + * @return the RemoveParticipantFailed object itself. |
| 169 | + */ |
| 170 | + public RemoveParticipantFailed setParticipant(CommunicationIdentifierModel participant) { |
| 171 | + this.participant = participant; |
| 172 | + return this; |
| 173 | + } |
| 174 | +} |
0 commit comments