Пример #1
0
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DeleteScriptResponse response = new DeleteScriptResponse();


            return(response);
        }
        public static DeleteScriptResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DeleteScriptResponse deleteScriptResponse = new DeleteScriptResponse();

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

            return(deleteScriptResponse);
        }