//
//  TrroGateway.h
//  TrroIOS
//
//  Created by Robin on 2024/9/19.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TrroGateway : NSObject
/// 请求结果码，0代表成功
@property (nonatomic, assign) NSInteger ret;
/// 返回信息
@property (nonatomic, strong) NSString *msg;
/// 设备ID
@property (nonatomic, copy) NSString *deviceID;
/// 网关名称
@property (nonatomic, copy) NSString *name;
/// 网关类型
@property (nonatomic, copy) NSString *type;
/// 网关状态
@property (nonatomic, copy) NSString *status;
/// 流数
@property (nonatomic, assign) NSInteger streams;
/// 时间戳
@property (nonatomic, assign) long long timestamp;
/// 版本号
@property (nonatomic, copy) NSString *version;
/// 网关SDK模式
@property (nonatomic, copy) NSString *sdk_mode;
/// 网关能力
@property (nonatomic, assign) NSInteger ability;
/// 网关license过期时间
@property (nonatomic, assign) long long licenseExpire;
@end

@interface TrroGatewayList : NSObject
// 请求结果码，0代表成功
@property (nonatomic, assign) NSInteger ret;
@property (nonatomic, copy) NSString *msg;
@property (nonatomic, copy) NSArray<TrroGateway *> *gateways;
@end

NS_ASSUME_NONNULL_END
