예제 #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)
        {
            DeleteIntentResponse response = new DeleteIntentResponse();


            return(response);
        }
        public static DeleteIntentResponse Unmarshall(UnmarshallerContext context)
        {
            DeleteIntentResponse deleteIntentResponse = new DeleteIntentResponse();

            deleteIntentResponse.HttpResponse = context.HttpResponse;
            deleteIntentResponse.RequestId    = context.StringValue("DeleteIntent.RequestId");
            deleteIntentResponse.IntentId     = context.StringValue("DeleteIntent.IntentId");

            return(deleteIntentResponse);
        }
예제 #3
0
        public static DeleteIntentResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DeleteIntentResponse deleteIntentResponse = new DeleteIntentResponse();

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

            return(deleteIntentResponse);
        }