Class: TencentCloud::Vm::V20200709::InputInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200709/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.



1030
1031
1032
1033
1034
# File 'lib/v20200709/models.rb', line 1030

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

Instance Attribute Details

#BucketInfoObject

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

Parameters:

  • Type:

    传入的类型可选:URL,COS

  • Url:

    Url地址

  • BucketInfo:

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



1028
1029
1030
# File 'lib/v20200709/models.rb', line 1028

def BucketInfo
  @BucketInfo
end

#TypeObject

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

Parameters:

  • Type:

    传入的类型可选:URL,COS

  • Url:

    Url地址

  • BucketInfo:

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



1028
1029
1030
# File 'lib/v20200709/models.rb', line 1028

def Type
  @Type
end

#UrlObject

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

Parameters:

  • Type:

    传入的类型可选:URL,COS

  • Url:

    Url地址

  • BucketInfo:

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



1028
1029
1030
# File 'lib/v20200709/models.rb', line 1028

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



1036
1037
1038
1039
1040
# File 'lib/v20200709/models.rb', line 1036

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