Returns information about the CreateVault response and response metadata.
Inheritance: CreateVaultResult
        private static void UnmarshallResult(JsonUnmarshallerContext context,CreateVaultResponse response)
        {
          

            if (context.ResponseData.GetHeaderValue("Location") != null)
                response.Location = context.ResponseData.GetHeaderValue("Location");            
            return;
        }                        
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>  
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CreateVaultResponse response = new CreateVaultResponse();

            if (context.ResponseData.IsHeaderPresent("Location"))
                response.Location = context.ResponseData.GetHeaderValue("Location");

            return response;
        }
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   CreateVaultResponse response = new CreateVaultResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
Exemplo n.º 4
0
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            CreateVaultResponse response = new CreateVaultResponse();

              context.Read();

              response.CreateVaultResult = CreateVaultResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }