Aliyun.Acs.Iot.Transform.V20160530.DeviceGrantResponseUnmarshaller.Unmarshall C# (CSharp) Method

Unmarshall() public static method

public static Unmarshall ( UnmarshallerContext context ) : DeviceGrantResponse
context UnmarshallerContext
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;
        }
DeviceGrantResponseUnmarshaller