Class: Aliyun::Odps::Resource
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Modelable
has_many
#client, #initialize, property, #update_attrs
Instance Attribute Details
9
|
# File 'lib/aliyun/odps/model/resource.rb', line 9
property :comment, String
|
#content ⇒ String
16
|
# File 'lib/aliyun/odps/model/resource.rb', line 16
property :content, String
|
#creation_time ⇒ DateTime
12
|
# File 'lib/aliyun/odps/model/resource.rb', line 12
property :creation_time, DateTime
|
#last_modified_time ⇒ DateTime
13
|
# File 'lib/aliyun/odps/model/resource.rb', line 13
property :last_modified_time, DateTime
|
#last_updator ⇒ String
8
|
# File 'lib/aliyun/odps/model/resource.rb', line 8
property :last_updator, String
|
#local_path ⇒ String
11
|
# File 'lib/aliyun/odps/model/resource.rb', line 11
property :local_path, String
|
#location ⇒ String
17
|
# File 'lib/aliyun/odps/model/resource.rb', line 17
property :location, String
|
#name ⇒ String
6
|
# File 'lib/aliyun/odps/model/resource.rb', line 6
property :name, String, required: true
|
#owner ⇒ String
7
|
# File 'lib/aliyun/odps/model/resource.rb', line 7
property :owner, String
|
#resource_size ⇒ Integer
15
|
# File 'lib/aliyun/odps/model/resource.rb', line 15
property :resource_size, Integer
|
#resource_type ⇒ String
10
|
# File 'lib/aliyun/odps/model/resource.rb', line 10
property :resource_type, String, within: %w(py jar archive file table)
|
#table_name ⇒ String
14
|
# File 'lib/aliyun/odps/model/resource.rb', line 14
property :table_name, String
|
Instance Method Details
#to_hash ⇒ Object
21
22
23
|
# File 'lib/aliyun/odps/model/resource.rb', line 21
def to_hash
{ 'ResourceName' => name }
end
|