Class: TencentCloud::Vm::V20210922::InputInfo

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

Overview

输入信息详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, url = nil, bucketinfo = nil) ⇒ InputInfo

Returns a new instance of InputInfo.



980
981
982
983
984
# File 'lib/v20210922/models.rb', line 980

def initialize(type=nil, url=nil, bucketinfo=nil)
  @Type = type
  @Url = url
  @BucketInfo = bucketinfo
end

Instance Attribute Details

#BucketInfoObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    传入的类型可选:URL,COS

  • Url:

    Url地址

  • BucketInfo:

    桶信息。当输入当时COS时,该字段不为空



978
979
980
# File 'lib/v20210922/models.rb', line 978

def BucketInfo
  @BucketInfo
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    传入的类型可选:URL,COS

  • Url:

    Url地址

  • BucketInfo:

    桶信息。当输入当时COS时,该字段不为空



978
979
980
# File 'lib/v20210922/models.rb', line 978

def Type
  @Type
end

#UrlObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    传入的类型可选:URL,COS

  • Url:

    Url地址

  • BucketInfo:

    桶信息。当输入当时COS时,该字段不为空



978
979
980
# File 'lib/v20210922/models.rb', line 978

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



986
987
988
989
990
# File 'lib/v20210922/models.rb', line 986

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