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

            return(instance);
        }
Ejemplo n.º 2
0
        public CreateAccessKeyResponse Unmarshall(UnmarshallerContext context)
        {
            CreateAccessKeyResponse response = new CreateAccessKeyResponse();

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

            return(response);
        }