Class: TencentCloud::Ivld::V20210903::UpdateCustomPersonRequest

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

Overview

UpdateCustomPerson请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(personid = nil, name = nil, basicinfo = nil, categoryid = nil) ⇒ UpdateCustomPersonRequest

Returns a new instance of UpdateCustomPersonRequest.



2996
2997
2998
2999
3000
3001
# File 'lib/v20210903/models.rb', line 2996

def initialize(personid=nil, name=nil, basicinfo=nil, categoryid=nil)
  @PersonId = personid
  @Name = name
  @BasicInfo = basicinfo
  @CategoryId = categoryid
end

Instance Attribute Details

#BasicInfoObject

Parameters:

  • PersonId:

    待更新的自定义人物Id

  • Name:

    更新后的自定义人物名称,如为空则不更新

  • BasicInfo:

    更新后的自定义人物简介,如为空则不更新

  • CategoryId:

    更新后的分类信息,如为空则不更新



2994
2995
2996
# File 'lib/v20210903/models.rb', line 2994

def BasicInfo
  @BasicInfo
end

#CategoryIdObject

Parameters:

  • PersonId:

    待更新的自定义人物Id

  • Name:

    更新后的自定义人物名称,如为空则不更新

  • BasicInfo:

    更新后的自定义人物简介,如为空则不更新

  • CategoryId:

    更新后的分类信息,如为空则不更新



2994
2995
2996
# File 'lib/v20210903/models.rb', line 2994

def CategoryId
  @CategoryId
end

#NameObject

Parameters:

  • PersonId:

    待更新的自定义人物Id

  • Name:

    更新后的自定义人物名称,如为空则不更新

  • BasicInfo:

    更新后的自定义人物简介,如为空则不更新

  • CategoryId:

    更新后的分类信息,如为空则不更新



2994
2995
2996
# File 'lib/v20210903/models.rb', line 2994

def Name
  @Name
end

#PersonIdObject

Parameters:

  • PersonId:

    待更新的自定义人物Id

  • Name:

    更新后的自定义人物名称,如为空则不更新

  • BasicInfo:

    更新后的自定义人物简介,如为空则不更新

  • CategoryId:

    更新后的分类信息,如为空则不更新



2994
2995
2996
# File 'lib/v20210903/models.rb', line 2994

def PersonId
  @PersonId
end

Instance Method Details

#deserialize(params) ⇒ Object



3003
3004
3005
3006
3007
3008
# File 'lib/v20210903/models.rb', line 3003

def deserialize(params)
  @PersonId = params['PersonId']
  @Name = params['Name']
  @BasicInfo = params['BasicInfo']
  @CategoryId = params['CategoryId']
end