Skip to content

Commit

Permalink
param name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Abinaya-Shunmugavel committed Jan 18, 2024
1 parent e194544 commit 6b2b634
Showing 1 changed file with 50 additions and 50 deletions.
100 changes: 50 additions & 50 deletions multipartycall.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,56 +21,56 @@ type MPCUpdateResponse struct {
}

type MultiPartyCallAddParticipantParams struct {
Role string `json:"role,omitempty" url:"role,omitempty"`
From string `json:"from,omitempty" url:"from,omitempty"`
To string `json:"to,omitempty" url:"to,omitempty"`
CallUuid string `json:"call_uuid,omitempty" url:"call_uuid,omitempty"`
CallerName string `json:"caller_name,omitempty" url:"caller_name,omitempty"`
CallStatusCallbackUrl string `json:"call_status_callback_url,omitempty" url:"call_status_callback_url,omitempty"`
CallStatusCallbackMethod string `json:"call_status_callback_method,omitempty" url:"call_status_callback_method,omitempty"`
SipHeaders string `json:"sip_headers,omitempty" url:"sip_headers,omitempty"`
ConfirmKey string `json:"confirm_key,omitempty" url:"confirm_key,omitempty"`
ConfirmKeySoundUrl string `json:"confirm_key_sound_url,omitempty" url:"confirm_key_sound_url,omitempty"`
ConfirmKeySoundMethod string `json:"confirm_key_sound_method,omitempty" url:"confirm_key_sound_method,omitempty"`
DialMusic string `json:"dial_music,omitempty" url:"dial_music,omitempty"`
RingTimeout interface{} `json:"ring_timeout,omitempty" url:"ring_timeout,omitempty"`
DelayDial interface{} `json:"delay_dial,omitempty" uril:"caller_name,omitempty"`
MaxDuration int64 `json:"max_duration,omitempty" url:"max_duration,omitempty"`
MaxParticipants int64 `json:"max_participants,omitempty" url:"max_participants,omitempty"`
WaitMusicUrl string `json:"wait_music_url,omitempty" url:"wait_music_url,omitempty"`
WaitMusicMethod string `json:"wait_music_method,omitempty" url:"wait_music_method,omitempty"`
AgentHoldMusicUrl string `json:"agent_hold_music_url,omitempty" url:"agent_hold_music_url,omitempty"`
AgentHoldMusicMethod string `json:"agent_hold_music_method,omitempty" url:"agent_hold_music_method,omitempty"`
CustomerHoldMusicUrl string `json:"customer_hold_music_url,omitempty" url:"customer_hold_music_url,omitempty"`
CustomerHoldMusicMethod string `json:"customer_hold_music_method,omitempty" url:"customer_hold_music_method,omitempty"`
RecordingCallbackUrl string `json:"recording_callback_url,omitempty" url:"recording_callback_url,omitempty"`
RecordingCallbackMethod string `json:"recording_callback_method,omitempty" url:"recording_callback_method,omitempty"`
StatusCallbackUrl string `json:"status_callback_url,omitempty" url:"status_callback_url,omitempty"`
StatusCallbackMethod string `json:"status_callback_method,omitempty" url:"status_callback_method,omitempty"`
OnExitActionUrl string `json:"on_exit_action_url,omitempty" url:"on_exit_action_url,omitempty"`
OnExitActionMethod string `json:"on_exit_action_method,omitempty" url:"on_exit_action_method,omitempty"`
Record bool `json:"record,omitempty" url:"record,omitempty"`
RecordFileFormat string `json:"record_file_format,omitempty" url:"record_file_format,omitempty"`
StatusCallbackEvents string `json:"status_callback_events,omitempty" url:"status_callback_events,omitempty"`
StayAlone bool `json:"stay_alone,omitempty" url:"stay_alone,omitempty"`
CoachMode bool `json:"coach_mode,omitempty" url:"coach_mode,omitempty"`
Mute bool `json:"mute,omitempty" url:"mute,omitempty"`
Hold bool `json:"hold,omitempty" url:"hold,omitempty"`
StartMpcOnEnter *bool `json:"start_mpc_on_enter,omitempty" url:"start_mpc_on_enter,omitempty"`
EndMpcOnExit bool `json:"end_mpc_on_exit,omitempty" url:"end_mpc_on_exit,omitempty"`
RelayDtmfInputs bool `json:"relay_dtmf_inputs,omitempty" url:"relay_dtmf_inputs,omitempty"`
EnterSound string `json:"enter_sound,omitempty" url:"enter_sound,omitempty"`
EnterSoundMethod string `json:"enter_sound_method,omitempty" url:"enter_sound_method,omitempty"`
ExitSound string `json:"exit_sound,omitempty" url:"exit_sound,omitempty"`
ExitSoundMethod string `json:"exit_sound_method,omitempty" url:"exit_sound_method,omitempty"`
StartRecordingAudio string `json:"start_recording_audio,omitempty" url:"start_recording_audio,omitempty"`
StartRecordingAudioMethod string `json:"start_recording_audio_method,omitempty" url:"start_recording_audio_method,omitempty"`
StopRecordingAudio string `json:"stop_recording_audio,omitempty" url:"stop_recording_audio,omitempty"`
StopRecordingAudioMethod string `json:"stop_recording_audio_method,omitempty" url:"stop_recording_audio_method,omitempty"`
RecordMinMemberCount int64 `json:"record_min_member_count,omitempty" url:"record_min_member_count,omitempty"`
AgentHoldMusic string `json:"agent_hold_music,omitempty" url:"agent_hold_music,omitempty"`
CustomerHoldMusic string `json:"customer_hold_music,omitempty" url:"customer_hold_music,omitempty"`
CreateMPCIfAlone *bool `json:"create_mpc_if_alone,omitempty" url:"create_mpc_if_alone,omitempty"`
Role string `json:"role,omitempty" url:"role,omitempty"`
From string `json:"from,omitempty" url:"from,omitempty"`
To string `json:"to,omitempty" url:"to,omitempty"`
CallUuid string `json:"call_uuid,omitempty" url:"call_uuid,omitempty"`
CallerName string `json:"caller_name,omitempty" url:"caller_name,omitempty"`
CallStatusCallbackUrl string `json:"call_status_callback_url,omitempty" url:"call_status_callback_url,omitempty"`
CallStatusCallbackMethod string `json:"call_status_callback_method,omitempty" url:"call_status_callback_method,omitempty"`
SipHeaders string `json:"sip_headers,omitempty" url:"sip_headers,omitempty"`
ConfirmKey string `json:"confirm_key,omitempty" url:"confirm_key,omitempty"`
ConfirmKeySoundUrl string `json:"confirm_key_sound_url,omitempty" url:"confirm_key_sound_url,omitempty"`
ConfirmKeySoundMethod string `json:"confirm_key_sound_method,omitempty" url:"confirm_key_sound_method,omitempty"`
DialMusic string `json:"dial_music,omitempty" url:"dial_music,omitempty"`
RingTimeout interface{} `json:"ring_timeout,omitempty" url:"ring_timeout,omitempty"`
DelayDial interface{} `json:"delay_dial,omitempty" uril:"caller_name,omitempty"`
MaxDuration int64 `json:"max_duration,omitempty" url:"max_duration,omitempty"`
MaxParticipants int64 `json:"max_participants,omitempty" url:"max_participants,omitempty"`
WaitMusicUrl string `json:"wait_music_url,omitempty" url:"wait_music_url,omitempty"`
WaitMusicMethod string `json:"wait_music_method,omitempty" url:"wait_music_method,omitempty"`
AgentHoldMusicUrl string `json:"agent_hold_music_url,omitempty" url:"agent_hold_music_url,omitempty"`
AgentHoldMusicMethod string `json:"agent_hold_music_method,omitempty" url:"agent_hold_music_method,omitempty"`
CustomerHoldMusicUrl string `json:"customer_hold_music_url,omitempty" url:"customer_hold_music_url,omitempty"`
CustomerHoldMusicMethod string `json:"customer_hold_music_method,omitempty" url:"customer_hold_music_method,omitempty"`
RecordingCallbackUrl string `json:"recording_callback_url,omitempty" url:"recording_callback_url,omitempty"`
RecordingCallbackMethod string `json:"recording_callback_method,omitempty" url:"recording_callback_method,omitempty"`
StatusCallbackUrl string `json:"status_callback_url,omitempty" url:"status_callback_url,omitempty"`
StatusCallbackMethod string `json:"status_callback_method,omitempty" url:"status_callback_method,omitempty"`
OnExitActionUrl string `json:"on_exit_action_url,omitempty" url:"on_exit_action_url,omitempty"`
OnExitActionMethod string `json:"on_exit_action_method,omitempty" url:"on_exit_action_method,omitempty"`
Record bool `json:"record,omitempty" url:"record,omitempty"`
RecordFileFormat string `json:"record_file_format,omitempty" url:"record_file_format,omitempty"`
StatusCallbackEvents string `json:"status_callback_events,omitempty" url:"status_callback_events,omitempty"`
StayAlone bool `json:"stay_alone,omitempty" url:"stay_alone,omitempty"`
CoachMode bool `json:"coach_mode,omitempty" url:"coach_mode,omitempty"`
Mute bool `json:"mute,omitempty" url:"mute,omitempty"`
Hold bool `json:"hold,omitempty" url:"hold,omitempty"`
StartMpcOnEnter *bool `json:"start_mpc_on_enter,omitempty" url:"start_mpc_on_enter,omitempty"`
EndMpcOnExit bool `json:"end_mpc_on_exit,omitempty" url:"end_mpc_on_exit,omitempty"`
RelayDtmfInputs bool `json:"relay_dtmf_inputs,omitempty" url:"relay_dtmf_inputs,omitempty"`
EnterSound string `json:"enter_sound,omitempty" url:"enter_sound,omitempty"`
EnterSoundMethod string `json:"enter_sound_method,omitempty" url:"enter_sound_method,omitempty"`
ExitSound string `json:"exit_sound,omitempty" url:"exit_sound,omitempty"`
ExitSoundMethod string `json:"exit_sound_method,omitempty" url:"exit_sound_method,omitempty"`
StartRecordingAudio string `json:"start_recording_audio,omitempty" url:"start_recording_audio,omitempty"`
StartRecordingAudioMethod string `json:"start_recording_audio_method,omitempty" url:"start_recording_audio_method,omitempty"`
StopRecordingAudio string `json:"stop_recording_audio,omitempty" url:"stop_recording_audio,omitempty"`
StopRecordingAudioMethod string `json:"stop_recording_audio_method,omitempty" url:"stop_recording_audio_method,omitempty"`
RecordMinMemberCount int64 `json:"record_min_member_count,omitempty" url:"record_min_member_count,omitempty"`
AgentHoldMusic string `json:"agent_hold_music,omitempty" url:"agent_hold_music,omitempty"`
CustomerHoldMusic string `json:"customer_hold_music,omitempty" url:"customer_hold_music,omitempty"`
StartMpcWithSingleParticipant *bool `json:"start_mpc_with_single_participant,omitempty" url:"start_mpc_with_single_participant,omitempty"`
}

type MultiPartyCallListParams struct {
Expand Down

0 comments on commit 6b2b634

Please sign in to comment.