Exemple #1
0
        public static SetDevicePropertyResponse Unmarshall(UnmarshallerContext context)
        {
            SetDevicePropertyResponse setDevicePropertyResponse = new SetDevicePropertyResponse();

            setDevicePropertyResponse.HttpResponse = context.HttpResponse;
            setDevicePropertyResponse.RequestId    = context.StringValue("SetDeviceProperty.RequestId");
            setDevicePropertyResponse.Success      = context.BooleanValue("SetDeviceProperty.Success");
            setDevicePropertyResponse.ErrorMessage = context.StringValue("SetDeviceProperty.ErrorMessage");

            return(setDevicePropertyResponse);
        }
        public static SetDevicePropertyResponse Unmarshall(UnmarshallerContext _ctx)
        {
            SetDevicePropertyResponse setDevicePropertyResponse = new SetDevicePropertyResponse();

            setDevicePropertyResponse.HttpResponse = _ctx.HttpResponse;
            setDevicePropertyResponse.RequestId    = _ctx.StringValue("SetDeviceProperty.RequestId");
            setDevicePropertyResponse.Success      = _ctx.BooleanValue("SetDeviceProperty.Success");
            setDevicePropertyResponse.ErrorMessage = _ctx.StringValue("SetDeviceProperty.ErrorMessage");
            setDevicePropertyResponse.Code         = _ctx.StringValue("SetDeviceProperty.Code");

            SetDevicePropertyResponse.SetDeviceProperty_Data data = new SetDevicePropertyResponse.SetDeviceProperty_Data();
            data.MessageId = _ctx.StringValue("SetDeviceProperty.Data.MessageId");
            setDevicePropertyResponse.Data = data;

            return(setDevicePropertyResponse);
        }