/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { SetTerminationProtectionResponse response = new SetTerminationProtectionResponse(); return(response); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { SetTerminationProtectionResponse response = new SetTerminationProtectionResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }