QNServerUserConfig.h 600 B

1234567891011121314151617181920212223242526
  1. //
  2. // QNServerUserConfig.h
  3. // QiniuSDK
  4. //
  5. // Created by yangsen on 2021/8/30.
  6. // Copyright © 2021 Qiniu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface QNServerUserConfig : NSObject
  11. @property(nonatomic, assign, readonly)BOOL isValid;
  12. @property(nonatomic, assign, readonly)long ttl;
  13. @property(nonatomic, strong, readonly)NSNumber *http3Enable;
  14. @property(nonatomic, strong, readonly)NSNumber *networkCheckEnable;
  15. @property(nonatomic, strong, readonly)NSDictionary *info;
  16. + (instancetype)config:(NSDictionary *)info;
  17. @end
  18. NS_ASSUME_NONNULL_END