Class: TencentCloud::Mna::V20210119::UpdateNetInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::UpdateNetInfo
- Defined in:
- lib/v20210119/models.rb
Overview
更新设备网络状态信息
Instance Attribute Summary collapse
-
#DataEnable ⇒ Object
0:数据 1:Wi-Fi.
-
#DownloadLimit ⇒ Object
0:数据 1:Wi-Fi.
-
#NetInfoName ⇒ Object
0:数据 1:Wi-Fi.
-
#Type ⇒ Object
0:数据 1:Wi-Fi.
-
#UploadLimit ⇒ Object
0:数据 1:Wi-Fi.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, dataenable = nil, uploadlimit = nil, downloadlimit = nil, netinfoname = nil) ⇒ UpdateNetInfo
constructor
A new instance of UpdateNetInfo.
Constructor Details
#initialize(type = nil, dataenable = nil, uploadlimit = nil, downloadlimit = nil, netinfoname = nil) ⇒ UpdateNetInfo
Returns a new instance of UpdateNetInfo.
2899 2900 2901 2902 2903 2904 2905 |
# File 'lib/v20210119/models.rb', line 2899 def initialize(type=nil, dataenable=nil, uploadlimit=nil, downloadlimit=nil, netinfoname=nil) @Type = type @DataEnable = dataenable @UploadLimit = uploadlimit @DownloadLimit = downloadlimit @NetInfoName = netinfoname end |
Instance Attribute Details
#DataEnable ⇒ Object
0:数据1:Wi-Fi
2897 2898 2899 |
# File 'lib/v20210119/models.rb', line 2897 def DataEnable @DataEnable end |
#DownloadLimit ⇒ Object
0:数据1:Wi-Fi
2897 2898 2899 |
# File 'lib/v20210119/models.rb', line 2897 def DownloadLimit @DownloadLimit end |
#NetInfoName ⇒ Object
0:数据1:Wi-Fi
2897 2898 2899 |
# File 'lib/v20210119/models.rb', line 2897 def NetInfoName @NetInfoName end |
#Type ⇒ Object
0:数据1:Wi-Fi
2897 2898 2899 |
# File 'lib/v20210119/models.rb', line 2897 def Type @Type end |
#UploadLimit ⇒ Object
0:数据1:Wi-Fi
2897 2898 2899 |
# File 'lib/v20210119/models.rb', line 2897 def UploadLimit @UploadLimit end |
Instance Method Details
#deserialize(params) ⇒ Object
2907 2908 2909 2910 2911 2912 2913 |
# File 'lib/v20210119/models.rb', line 2907 def deserialize(params) @Type = params['Type'] @DataEnable = params['DataEnable'] @UploadLimit = params['UploadLimit'] @DownloadLimit = params['DownloadLimit'] @NetInfoName = params['NetInfoName'] end |