public static SendEmailResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new SendEmailResultUnmarshaller();
            }

            return(instance);
        }
        public SendEmailResponse Unmarshall(UnmarshallerContext context)
        {
            SendEmailResponse response = new SendEmailResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("SendEmailResult", 2))
                    {
                        response.SendEmailResult = SendEmailResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }