Class: TencentCloud::Essbasic::V20210526::ResourceUrlInfo

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

Overview

资源链接信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url = nil, name = nil, type = nil) ⇒ ResourceUrlInfo

Returns a new instance of ResourceUrlInfo.



12317
12318
12319
12320
12321
# File 'lib/v20210526/models.rb', line 12317

def initialize(url=nil, name=nil, type=nil)
  @Url = url
  @Name = name
  @Type = type
end

Instance Attribute Details

#NameObject

Parameters:

  • Url:

    资源链接地址,过期时间5分钟

  • Name:

    资源名称

  • Type:

    资源类型



12315
12316
12317
# File 'lib/v20210526/models.rb', line 12315

def Name
  @Name
end

#TypeObject

Parameters:

  • Url:

    资源链接地址,过期时间5分钟

  • Name:

    资源名称

  • Type:

    资源类型



12315
12316
12317
# File 'lib/v20210526/models.rb', line 12315

def Type
  @Type
end

#UrlObject

Parameters:

  • Url:

    资源链接地址,过期时间5分钟

  • Name:

    资源名称

  • Type:

    资源类型



12315
12316
12317
# File 'lib/v20210526/models.rb', line 12315

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



12323
12324
12325
12326
12327
# File 'lib/v20210526/models.rb', line 12323

def deserialize(params)
  @Url = params['Url']
  @Name = params['Name']
  @Type = params['Type']
end