class TencentCloud::Tcbr::V20220217::DescribeCloudRunServerDetailResponse
DescribeCloudRunServerDetail返回参数结构体
def deserialize(params)
def deserialize(params) unless params['BaseInfo'].nil? @BaseInfo = ServerBaseInfo.new @BaseInfo.deserialize(params['BaseInfo']) end unless params['ServerConfig'].nil? @ServerConfig = ServerBaseConfig.new @ServerConfig.deserialize(params['ServerConfig']) end unless params['OnlineVersionInfos'].nil? @OnlineVersionInfos = [] params['OnlineVersionInfos'].each do |i| onlineversioninfo_tmp = OnlineVersionInfo.new onlineversioninfo_tmp.deserialize(i) @OnlineVersionInfos << onlineversioninfo_tmp end end @RequestId = params['RequestId'] end
def initialize(baseinfo=nil, serverconfig=nil, onlineversioninfos=nil, requestid=nil)
def initialize(baseinfo=nil, serverconfig=nil, onlineversioninfos=nil, requestid=nil) @BaseInfo = baseinfo @ServerConfig = serverconfig @OnlineVersionInfos = onlineversioninfos @RequestId = requestid end