public static GetSessionTokenResultUnmarshaller GetInstance() { if (instance == null) { instance = new GetSessionTokenResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { GetSessionTokenResponse response = new GetSessionTokenResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("GetSessionTokenResult", 2)) { response.GetSessionTokenResult = GetSessionTokenResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }