Class: TencentCloud::Sslpod::V20190605::NoticeInfoResult

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

Overview

通知信息结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, noticetype = nil, limitinfos = nil) ⇒ NoticeInfoResult

Returns a new instance of NoticeInfoResult.



732
733
734
735
736
# File 'lib/v20190605/models.rb', line 732

def initialize(id=nil, noticetype=nil, limitinfos=nil)
  @Id = id
  @NoticeType = noticetype
  @LimitInfos = limitinfos
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    通知ID

  • NoticeType:

    通知开关信息;0:关闭;15开启

  • LimitInfos:

    额度信息



730
731
732
# File 'lib/v20190605/models.rb', line 730

def Id
  @Id
end

#LimitInfosObject

Parameters:

  • Id:

    通知ID

  • NoticeType:

    通知开关信息;0:关闭;15开启

  • LimitInfos:

    额度信息



730
731
732
# File 'lib/v20190605/models.rb', line 730

def LimitInfos
  @LimitInfos
end

#NoticeTypeObject

Parameters:

  • Id:

    通知ID

  • NoticeType:

    通知开关信息;0:关闭;15开启

  • LimitInfos:

    额度信息



730
731
732
# File 'lib/v20190605/models.rb', line 730

def NoticeType
  @NoticeType
end

Instance Method Details

#deserialize(params) ⇒ Object



738
739
740
741
742
743
744
745
746
747
748
749
# File 'lib/v20190605/models.rb', line 738

def deserialize(params)
  @Id = params['Id']
  @NoticeType = params['NoticeType']
  unless params['LimitInfos'].nil?
    @LimitInfos = []
    params['LimitInfos'].each do |i|
      limitinfo_tmp = LimitInfo.new
      limitinfo_tmp.deserialize(i)
      @LimitInfos << limitinfo_tmp
    end
  end
end