Class: TencentCloud::Yunjing::V20180228::DescribeComponentsRequest

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

Overview

DescribeComponents请求参数结构体

Instance Attribute Summary collapse

  • #Filters ⇒ Object
  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .
  • #Limit ⇒ Object
  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .
  • #Offset ⇒ Object
  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .
  • #Uuid ⇒ Object
  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(uuid = nil, componentid = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeComponentsRequest

    Returns a new instance of DescribeComponentsRequest.

    
    
    2070
    2071
    2072
    2073
    2074
    2075
    2076
    # File 'lib/v20180228/models.rb', line 2070
    
    def initialize(uuid=nil, componentid=nil, limit=nil, offset=nil, filters=nil)
      @Uuid = uuid
      @ComponentId = componentid
      @Limit = limit
      @Offset = offset
      @Filters = filters
    end

    Instance Attribute Details

    #ComponentIdObject

  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • 云镜客户端唯一Uuid。Uuid和ComponentId必填其一,使用Uuid表示,查询该主机列表信息。

    • 组件ID。Uuid和ComponentId必填其一,使用ComponentId表示,查询该组件列表信息。

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

    • 偏移量,默认为0。

    • 过滤条件。

    
    
    2068
    2069
    2070
    # File 'lib/v20180228/models.rb', line 2068
    
    def ComponentId
      @ComponentId
    end

    #FiltersObject

  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • 云镜客户端唯一Uuid。Uuid和ComponentId必填其一,使用Uuid表示,查询该主机列表信息。

    • 组件ID。Uuid和ComponentId必填其一,使用ComponentId表示,查询该组件列表信息。

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

    • 偏移量,默认为0。

    • 过滤条件。

    
    
    2068
    2069
    2070
    # File 'lib/v20180228/models.rb', line 2068
    
    def Filters
      @Filters
    end

    #LimitObject

  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • 云镜客户端唯一Uuid。Uuid和ComponentId必填其一,使用Uuid表示,查询该主机列表信息。

    • 组件ID。Uuid和ComponentId必填其一,使用ComponentId表示,查询该组件列表信息。

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

    • 偏移量,默认为0。

    • 过滤条件。

    
    
    2068
    2069
    2070
    # File 'lib/v20180228/models.rb', line 2068
    
    def Limit
      @Limit
    end

    #OffsetObject

  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • 云镜客户端唯一Uuid。Uuid和ComponentId必填其一,使用Uuid表示,查询该主机列表信息。

    • 组件ID。Uuid和ComponentId必填其一,使用ComponentId表示,查询该组件列表信息。

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

    • 偏移量,默认为0。

    • 过滤条件。

    
    
    2068
    2069
    2070
    # File 'lib/v20180228/models.rb', line 2068
    
    def Offset
      @Offset
    end

    #UuidObject

  • ComponentVersion - String - 是否必填:否 - 组件版本号
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • 云镜客户端唯一Uuid。Uuid和ComponentId必填其一,使用Uuid表示,查询该主机列表信息。

    • 组件ID。Uuid和ComponentId必填其一,使用ComponentId表示,查询该组件列表信息。

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

    • 偏移量,默认为0。

    • 过滤条件。

    
    
    2068
    2069
    2070
    # File 'lib/v20180228/models.rb', line 2068
    
    def Uuid
      @Uuid
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2078
    2079
    2080
    2081
    2082
    2083
    2084
    2085
    2086
    2087
    2088
    2089
    2090
    2091
    # File 'lib/v20180228/models.rb', line 2078
    
    def deserialize(params)
      @Uuid = params['Uuid']
      @ComponentId = params['ComponentId']
      @Limit = params['Limit']
      @Offset = params['Offset']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
    end