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); }
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; }