Class: TencentCloud::Vod::V20180717::AiSampleTagOperation

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

Overview

AI 样本管理,标签操作。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, tags = nil) ⇒ AiSampleTagOperation

Returns a new instance of AiSampleTagOperation.



3933
3934
3935
3936
# File 'lib/v20180717/models.rb', line 3933

def initialize(type=nil, tags=nil)
  @Type = type
  @Tags = tags
end

Instance Attribute Details

#TagsObject

Parameters:

  • Type:

    操作类型,可选值:add(添加)、delete(删除)、reset(重置)。

  • Tags:

    标签,长度限制:128 个字符。



3931
3932
3933
# File 'lib/v20180717/models.rb', line 3931

def Tags
  @Tags
end

#TypeObject

Parameters:

  • Type:

    操作类型,可选值:add(添加)、delete(删除)、reset(重置)。

  • Tags:

    标签,长度限制:128 个字符。



3931
3932
3933
# File 'lib/v20180717/models.rb', line 3931

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3938
3939
3940
3941
# File 'lib/v20180717/models.rb', line 3938

def deserialize(params)
  @Type = params['Type']
  @Tags = params['Tags']
end