Class: TencentCloud::Tse::V20201207::DescribeConfigFilesRequest

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

Overview

DescribeConfigFiles请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace = nil, instanceid = nil, group = nil, name = nil, tags = nil, limit = nil, offset = nil, id = nil) ⇒ DescribeConfigFilesRequest

Returns a new instance of DescribeConfigFilesRequest.



5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
# File 'lib/v20201207/models.rb', line 5809

def initialize(namespace=nil, instanceid=nil, group=nil, name=nil, tags=nil, limit=nil, offset=nil, id=nil)
  @Namespace = namespace
  @InstanceId = instanceid
  @Group = group
  @Name = name
  @Tags = tags
  @Limit = limit
  @Offset = offset
  @Id = id
end

Instance Attribute Details

#GroupObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Group
  @Group
end

#IdObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Id
  @Id
end

#InstanceIdObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Limit
  @Limit
end

#NameObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Name
  @Name
end

#NamespaceObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Namespace
  @Namespace
end

#OffsetObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Offset
  @Offset
end

#TagsObject

Parameters:

  • Namespace:

    命名空间名称

  • InstanceId:

    TSE实例id

  • Group:

    组名

  • Name:

    配置文件名称

  • Tags:

    标签列表

  • Limit:

    返回数量,默认为20,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Id:

    配置文件ID



5807
5808
5809
# File 'lib/v20201207/models.rb', line 5807

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
# File 'lib/v20201207/models.rb', line 5820

def deserialize(params)
  @Namespace = params['Namespace']
  @InstanceId = params['InstanceId']
  @Group = params['Group']
  @Name = params['Name']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      configfiletag_tmp = ConfigFileTag.new
      configfiletag_tmp.deserialize(i)
      @Tags << configfiletag_tmp
    end
  end
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Id = params['Id']
end