Class: TencentCloud::Iecp::V20210914::DracoNodeInfo

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

Overview

Draco 设备预录入信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sn = nil, name = nil, remark = nil) ⇒ DracoNodeInfo

Returns a new instance of DracoNodeInfo.



4010
4011
4012
4013
4014
# File 'lib/v20210914/models.rb', line 4010

def initialize(sn=nil, name=nil, remark=nil)
  @SN = sn
  @Name = name
  @Remark = remark
end

Instance Attribute Details

#NameObject

Parameters:

  • SN:

    设备SN。SN仅支持大写字母、数字,长度限制为1~32个字符

  • Name:

    节点名称。长度限制为1~63个字符,节点名称只支持小写英文、数字、中横线、英文句号

  • Remark:

    节点备注



4008
4009
4010
# File 'lib/v20210914/models.rb', line 4008

def Name
  @Name
end

#RemarkObject

Parameters:

  • SN:

    设备SN。SN仅支持大写字母、数字,长度限制为1~32个字符

  • Name:

    节点名称。长度限制为1~63个字符,节点名称只支持小写英文、数字、中横线、英文句号

  • Remark:

    节点备注



4008
4009
4010
# File 'lib/v20210914/models.rb', line 4008

def Remark
  @Remark
end

#SNObject

Parameters:

  • SN:

    设备SN。SN仅支持大写字母、数字,长度限制为1~32个字符

  • Name:

    节点名称。长度限制为1~63个字符,节点名称只支持小写英文、数字、中横线、英文句号

  • Remark:

    节点备注



4008
4009
4010
# File 'lib/v20210914/models.rb', line 4008

def SN
  @SN
end

Instance Method Details

#deserialize(params) ⇒ Object



4016
4017
4018
4019
4020
# File 'lib/v20210914/models.rb', line 4016

def deserialize(params)
  @SN = params['SN']
  @Name = params['Name']
  @Remark = params['Remark']
end