Class: TencentCloud::Mps::V20190612::AiSampleTagOperation

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/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.



4862
4863
4864
4865
# File 'lib/v20190612/models.rb', line 4862

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

Instance Attribute Details

#TagsObject

Parameters:

  • Type:

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

  • Tags:

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



4860
4861
4862
# File 'lib/v20190612/models.rb', line 4860

def Tags
  @Tags
end

#TypeObject

Parameters:

  • Type:

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

  • Tags:

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



4860
4861
4862
# File 'lib/v20190612/models.rb', line 4860

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4867
4868
4869
4870
# File 'lib/v20190612/models.rb', line 4867

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