Class: TencentCloud::Ess::V20201111::DescribeOrganizationSealsResponse

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

Overview

DescribeOrganizationSeals返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, seals = nil, requestid = nil) ⇒ DescribeOrganizationSealsResponse

Returns a new instance of DescribeOrganizationSealsResponse.



11374
11375
11376
11377
11378
# File 'lib/v20201111/models.rb', line 11374

def initialize(totalcount=nil, seals=nil, requestid=nil)
  @TotalCount = totalcount
  @Seals = seals
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    在设定了SealId时,返回值为0或1;若未设定SealId,则返回公司的总印章数量

  • Seals:

    查询到的印章结果数组

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11372
11373
11374
# File 'lib/v20201111/models.rb', line 11372

def RequestId
  @RequestId
end

#SealsObject

Parameters:

  • TotalCount:

    在设定了SealId时,返回值为0或1;若未设定SealId,则返回公司的总印章数量

  • Seals:

    查询到的印章结果数组

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11372
11373
11374
# File 'lib/v20201111/models.rb', line 11372

def Seals
  @Seals
end

#TotalCountObject

Parameters:

  • TotalCount:

    在设定了SealId时,返回值为0或1;若未设定SealId,则返回公司的总印章数量

  • Seals:

    查询到的印章结果数组

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11372
11373
11374
# File 'lib/v20201111/models.rb', line 11372

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
# File 'lib/v20201111/models.rb', line 11380

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Seals'].nil?
    @Seals = []
    params['Seals'].each do |i|
      occupiedseal_tmp = OccupiedSeal.new
      occupiedseal_tmp.deserialize(i)
      @Seals << occupiedseal_tmp
    end
  end
  @RequestId = params['RequestId']
end