public static DeviceGrantResponse Unmarshall(UnmarshallerContext context)
        {
            DeviceGrantResponse deviceGrantResponse = new DeviceGrantResponse();

            deviceGrantResponse.HttpResponse = context.HttpResponse;
            deviceGrantResponse.RequestId    = context.StringValue("DeviceGrant.RequestId");
            deviceGrantResponse.Success      = context.BooleanValue("DeviceGrant.Success");
            deviceGrantResponse.ErrorMessage = context.StringValue("DeviceGrant.ErrorMessage");

            return(deviceGrantResponse);
        }
コード例 #2
0
        public static DeviceGrantResponse Unmarshall(UnmarshallerContext context)
        {
            DeviceGrantResponse deviceGrantResponse = new DeviceGrantResponse();

            deviceGrantResponse.HttpResponse = context.HttpResponse;
            deviceGrantResponse.RequestId = context.StringValue("DeviceGrant.RequestId");
            deviceGrantResponse.Success = context.BooleanValue("DeviceGrant.Success");
            deviceGrantResponse.Id = context.LongValue("DeviceGrant.Id");
            deviceGrantResponse.ErrorMessage = context.StringValue("DeviceGrant.ErrorMessage");

            return deviceGrantResponse;
        }