Class: TencentCloud::Mna::V20210119::UpdateNetInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210119/models.rb

Overview

更新设备网络状态信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataEnableObject

0:数据1:Wi-Fi

Parameters:

  • Type:

    网络类型:

  • DataEnable:

    启用/禁用

  • UploadLimit:

    上行限速:bit

  • DownloadLimit:

    下行限速:bit

  • NetInfoName:

    网卡名



2897
2898
2899
# File 'lib/v20210119/models.rb', line 2897

def DataEnable
  @DataEnable
end

#DownloadLimitObject

0:数据1:Wi-Fi

Parameters:

  • Type:

    网络类型:

  • DataEnable:

    启用/禁用

  • UploadLimit:

    上行限速:bit

  • DownloadLimit:

    下行限速:bit

  • NetInfoName:

    网卡名



2897
2898
2899
# File 'lib/v20210119/models.rb', line 2897

def DownloadLimit
  @DownloadLimit
end

#NetInfoNameObject

0:数据1:Wi-Fi

Parameters:

  • Type:

    网络类型:

  • DataEnable:

    启用/禁用

  • UploadLimit:

    上行限速:bit

  • DownloadLimit:

    下行限速:bit

  • NetInfoName:

    网卡名



2897
2898
2899
# File 'lib/v20210119/models.rb', line 2897

def NetInfoName
  @NetInfoName
end

#TypeObject

0:数据1:Wi-Fi

Parameters:

  • Type:

    网络类型:

  • DataEnable:

    启用/禁用

  • UploadLimit:

    上行限速:bit

  • DownloadLimit:

    下行限速:bit

  • NetInfoName:

    网卡名



2897
2898
2899
# File 'lib/v20210119/models.rb', line 2897

def Type
  @Type
end

#UploadLimitObject

0:数据1:Wi-Fi

Parameters:

  • Type:

    网络类型:

  • DataEnable:

    启用/禁用

  • UploadLimit:

    上行限速:bit

  • DownloadLimit:

    下行限速:bit

  • NetInfoName:

    网卡名



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