Class: TencentCloud::Essbasic::V20201222::Seal

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

Overview

此结构体 (Seal) 用于描述电子印章的信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sealid = nil, sealname = nil, sealtype = nil, sealsource = nil, creator = nil, createdon = nil, userid = nil, fileurl = nil, defaultseal = nil) ⇒ Seal

Returns a new instance of Seal.



3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
# File 'lib/v20201222/models.rb', line 3635

def initialize(sealid=nil, sealname=nil, sealtype=nil, sealsource=nil, creator=nil, createdon=nil, userid=nil, fileurl=nil, defaultseal=nil)
  @SealId = sealid
  @SealName = sealname
  @SealType = sealtype
  @SealSource = sealsource
  @Creator = creator
  @CreatedOn = createdon
  @UserId = userid
  @FileUrl = fileurl
  @DefaultSeal = defaultseal
end

Instance Attribute Details

#CreatedOnObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def CreatedOn
  @CreatedOn
end

#CreatorObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def Creator
  @Creator
end

#DefaultSealObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def DefaultSeal
  @DefaultSeal
end

#FileUrlObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def FileUrl
  @FileUrl
end

#SealIdObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def SealId
  @SealId
end

#SealNameObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def SealName
  @SealName
end

#SealSourceObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def SealSource
  @SealSource
end

#SealTypeObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def SealType
  @SealType
end

#UserIdObject

CREATE - 通过图片上传 GENERATE - 通过文字生成

Parameters:

  • SealId:

    电子印章ID

  • SealName:

    电子印章名称

  • SealType:

    电子印章类型

  • SealSource:

    电子印章来源:

  • Creator:

    电子印章创建者

  • CreatedOn:

    电子印章创建时间戳

  • UserId:

    电子印章所有人

  • FileUrl:

    电子印章URL

  • DefaultSeal:

    是否为默认印章,false-非默认,true-默认



3633
3634
3635
# File 'lib/v20201222/models.rb', line 3633

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
# File 'lib/v20201222/models.rb', line 3647

def deserialize(params)
  @SealId = params['SealId']
  @SealName = params['SealName']
  @SealType = params['SealType']
  @SealSource = params['SealSource']
  unless params['Creator'].nil?
    @Creator = Caller.new
    @Creator.deserialize(params['Creator'])
  end
  @CreatedOn = params['CreatedOn']
  @UserId = params['UserId']
  unless params['FileUrl'].nil?
    @FileUrl = FileUrl.new
    @FileUrl.deserialize(params['FileUrl'])
  end
  @DefaultSeal = params['DefaultSeal']
end