Beispiel #1
0
        public static DownloadRecordingResponse Unmarshall(UnmarshallerContext context)
        {
            DownloadRecordingResponse downloadRecordingResponse = new DownloadRecordingResponse();

            downloadRecordingResponse.HttpResponse   = context.HttpResponse;
            downloadRecordingResponse.RequestId      = context.StringValue("DownloadRecording.RequestId");
            downloadRecordingResponse.Success        = context.BooleanValue("DownloadRecording.Success");
            downloadRecordingResponse.Code           = context.StringValue("DownloadRecording.Code");
            downloadRecordingResponse.Message        = context.StringValue("DownloadRecording.Message");
            downloadRecordingResponse.HttpStatusCode = context.IntegerValue("DownloadRecording.HttpStatusCode");

            DownloadRecordingResponse.DownloadRecording_DownloadParams downloadParams = new DownloadRecordingResponse.DownloadRecording_DownloadParams();
            downloadParams.SignatureUrl = context.StringValue("DownloadRecording.DownloadParams.SignatureUrl");
            downloadParams.FileName     = context.StringValue("DownloadRecording.DownloadParams.FileName");
            downloadRecordingResponse.DownloadParams = downloadParams;

            return(downloadRecordingResponse);
        }
Beispiel #2
0
        public static DownloadRecordingResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DownloadRecordingResponse downloadRecordingResponse = new DownloadRecordingResponse();

            downloadRecordingResponse.HttpResponse   = _ctx.HttpResponse;
            downloadRecordingResponse.RequestId      = _ctx.StringValue("DownloadRecording.RequestId");
            downloadRecordingResponse.Success        = _ctx.BooleanValue("DownloadRecording.Success");
            downloadRecordingResponse.Code           = _ctx.StringValue("DownloadRecording.Code");
            downloadRecordingResponse.Message        = _ctx.StringValue("DownloadRecording.Message");
            downloadRecordingResponse.HttpStatusCode = _ctx.IntegerValue("DownloadRecording.HttpStatusCode");

            DownloadRecordingResponse.DownloadRecording_MediaDownloadParam mediaDownloadParam = new DownloadRecordingResponse.DownloadRecording_MediaDownloadParam();
            mediaDownloadParam.SignatureUrl = _ctx.StringValue("DownloadRecording.MediaDownloadParam.SignatureUrl");
            mediaDownloadParam.FileName     = _ctx.StringValue("DownloadRecording.MediaDownloadParam.FileName");
            downloadRecordingResponse.MediaDownloadParam = mediaDownloadParam;

            return(downloadRecordingResponse);
        }