Class: TencentCloud::Wedata::V20210820::FunctionResource

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

Overview

函数资源信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, name = nil, id = nil, md5 = nil, type = nil) ⇒ FunctionResource

Returns a new instance of FunctionResource.



14289
14290
14291
14292
14293
14294
14295
# File 'lib/v20210820/models.rb', line 14289

def initialize(path=nil, name=nil, id=nil, md5=nil, type=nil)
  @Path = path
  @Name = name
  @Id = id
  @Md5 = md5
  @Type = type
end

Instance Attribute Details

#IdObject

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

Parameters:

  • Path:

    资源路径

  • Name:

  • Id:

    资源唯一标识

  • Md5:

    资源 MD5 值

  • Type:

    默认是 hdfs



14287
14288
14289
# File 'lib/v20210820/models.rb', line 14287

def Id
  @Id
end

#Md5Object

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

Parameters:

  • Path:

    资源路径

  • Name:

  • Id:

    资源唯一标识

  • Md5:

    资源 MD5 值

  • Type:

    默认是 hdfs



14287
14288
14289
# File 'lib/v20210820/models.rb', line 14287

def Md5
  @Md5
end

#NameObject

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

Parameters:

  • Path:

    资源路径

  • Name:

  • Id:

    资源唯一标识

  • Md5:

    资源 MD5 值

  • Type:

    默认是 hdfs



14287
14288
14289
# File 'lib/v20210820/models.rb', line 14287

def Name
  @Name
end

#PathObject

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

Parameters:

  • Path:

    资源路径

  • Name:

  • Id:

    资源唯一标识

  • Md5:

    资源 MD5 值

  • Type:

    默认是 hdfs



14287
14288
14289
# File 'lib/v20210820/models.rb', line 14287

def Path
  @Path
end

#TypeObject

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

Parameters:

  • Path:

    资源路径

  • Name:

  • Id:

    资源唯一标识

  • Md5:

    资源 MD5 值

  • Type:

    默认是 hdfs



14287
14288
14289
# File 'lib/v20210820/models.rb', line 14287

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



14297
14298
14299
14300
14301
14302
14303
# File 'lib/v20210820/models.rb', line 14297

def deserialize(params)
  @Path = params['Path']
  @Name = params['Name']
  @Id = params['Id']
  @Md5 = params['Md5']
  @Type = params['Type']
end