Class: TencentCloud::Tem::V20210701::ConfigData

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

Overview

配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, createtime = nil, relatedapplications = nil, data = nil) ⇒ ConfigData

Returns a new instance of ConfigData.



104
105
106
107
108
109
# File 'lib/v20210701/models.rb', line 104

def initialize(name=nil, createtime=nil, relatedapplications=nil, data=nil)
  @Name = name
  @CreateTime = createtime
  @RelatedApplications = relatedapplications
  @Data = data
end

Instance Attribute Details

#CreateTimeObject

Parameters:

  • Name:

    配置名称

  • CreateTime:

    创建时间

  • RelatedApplications:

    关联的服务列表

  • Data:

    配置条目



102
103
104
# File 'lib/v20210701/models.rb', line 102

def CreateTime
  @CreateTime
end

#DataObject

Parameters:

  • Name:

    配置名称

  • CreateTime:

    创建时间

  • RelatedApplications:

    关联的服务列表

  • Data:

    配置条目



102
103
104
# File 'lib/v20210701/models.rb', line 102

def Data
  @Data
end

#NameObject

Parameters:

  • Name:

    配置名称

  • CreateTime:

    创建时间

  • RelatedApplications:

    关联的服务列表

  • Data:

    配置条目



102
103
104
# File 'lib/v20210701/models.rb', line 102

def Name
  @Name
end

#RelatedApplicationsObject

Parameters:

  • Name:

    配置名称

  • CreateTime:

    创建时间

  • RelatedApplications:

    关联的服务列表

  • Data:

    配置条目



102
103
104
# File 'lib/v20210701/models.rb', line 102

def RelatedApplications
  @RelatedApplications
end

Instance Method Details

#deserialize(params) ⇒ Object



111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'lib/v20210701/models.rb', line 111

def deserialize(params)
  @Name = params['Name']
  @CreateTime = params['CreateTime']
  unless params['RelatedApplications'].nil?
    @RelatedApplications = []
    params['RelatedApplications'].each do |i|
      temservice_tmp = TemService.new
      temservice_tmp.deserialize(i)
      @RelatedApplications << temservice_tmp
    end
  end
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      pair_tmp = Pair.new
      pair_tmp.deserialize(i)
      @Data << pair_tmp
    end
  end
end