Class: TencentCloud::Tse::V20201207::ConfigFile
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::ConfigFile
- Defined in:
- lib/v20201207/models.rb
Overview
配置文件
Instance Attribute Summary collapse
- #Comment ⇒ Object
- #ConfigFilePersistent ⇒ Object
- #ConfigFileSupportedClient ⇒ Object
- #Content ⇒ Object
- #CreateBy ⇒ Object
- #CreateTime ⇒ Object
- #EncryptAlgo ⇒ Object
- #Encrypted ⇒ Object
- #Format ⇒ Object
- #Group ⇒ Object
- #Id ⇒ Object
- #ModifyBy ⇒ Object
- #ModifyTime ⇒ Object
- #Name ⇒ Object
- #Namespace ⇒ Object
- #ReleaseBy ⇒ Object
- #ReleaseTime ⇒ Object
- #Status ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, namespace = nil, group = nil, content = nil, format = nil, comment = nil, status = nil, tags = nil, createtime = nil, createby = nil, modifytime = nil, modifyby = nil, releasetime = nil, releaseby = nil, configfilesupportedclient = nil, configfilepersistent = nil, encrypted = nil, encryptalgo = nil) ⇒ ConfigFile
constructor
A new instance of ConfigFile.
Constructor Details
#initialize(id = nil, name = nil, namespace = nil, group = nil, content = nil, format = nil, comment = nil, status = nil, tags = nil, createtime = nil, createby = nil, modifytime = nil, modifyby = nil, releasetime = nil, releaseby = nil, configfilesupportedclient = nil, configfilepersistent = nil, encrypted = nil, encryptalgo = nil) ⇒ ConfigFile
Returns a new instance of ConfigFile.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'lib/v20201207/models.rb', line 1146 def initialize(id=nil, name=nil, namespace=nil, group=nil, content=nil, format=nil, comment=nil, status=nil, =nil, createtime=nil, createby=nil, modifytime=nil, modifyby=nil, releasetime=nil, releaseby=nil, configfilesupportedclient=nil, configfilepersistent=nil, encrypted=nil, encryptalgo=nil) @Id = id @Name = name @Namespace = namespace @Group = group @Content = content @Format = format @Comment = comment @Status = status @Tags = @CreateTime = createtime @CreateBy = createby @ModifyTime = modifytime @ModifyBy = modifyby @ReleaseTime = releasetime @ReleaseBy = releaseby @ConfigFileSupportedClient = configfilesupportedclient @ConfigFilePersistent = configfilepersistent @Encrypted = encrypted @EncryptAlgo = encryptalgo end |
Instance Attribute Details
#Comment ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Comment @Comment end |
#ConfigFilePersistent ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def ConfigFilePersistent @ConfigFilePersistent end |
#ConfigFileSupportedClient ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def ConfigFileSupportedClient @ConfigFileSupportedClient end |
#Content ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Content @Content end |
#CreateBy ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def CreateBy @CreateBy end |
#CreateTime ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def CreateTime @CreateTime end |
#EncryptAlgo ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def EncryptAlgo @EncryptAlgo end |
#Encrypted ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Encrypted @Encrypted end |
#Format ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Format @Format end |
#Group ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Group @Group end |
#Id ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Id @Id end |
#ModifyBy ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def ModifyBy @ModifyBy end |
#ModifyTime ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def ModifyTime @ModifyTime end |
#Name ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Name @Name end |
#Namespace ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Namespace @Namespace end |
#ReleaseBy ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def ReleaseBy @ReleaseBy end |
#ReleaseTime ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def ReleaseTime @ReleaseTime end |
#Status ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Status @Status end |
#Tags ⇒ Object
1144 1145 1146 |
# File 'lib/v20201207/models.rb', line 1144 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'lib/v20201207/models.rb', line 1168 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @Namespace = params['Namespace'] @Group = params['Group'] @Content = params['Content'] @Format = params['Format'] @Comment = params['Comment'] @Status = params['Status'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| configfiletag_tmp = ConfigFileTag.new configfiletag_tmp.deserialize(i) @Tags << configfiletag_tmp end end @CreateTime = params['CreateTime'] @CreateBy = params['CreateBy'] @ModifyTime = params['ModifyTime'] @ModifyBy = params['ModifyBy'] @ReleaseTime = params['ReleaseTime'] @ReleaseBy = params['ReleaseBy'] @ConfigFileSupportedClient = params['ConfigFileSupportedClient'] unless params['ConfigFilePersistent'].nil? @ConfigFilePersistent = ConfigFilePersistent.new @ConfigFilePersistent.deserialize(params['ConfigFilePersistent']) end @Encrypted = params['Encrypted'] @EncryptAlgo = params['EncryptAlgo'] end |