Class: AliyunSlsSdk::PutLogsRequest

Inherits:
LogRequest show all
Defined in:
lib/aliyun_sls_sdk/put_logs_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(project = nil, logstore = nil, topic = nil, source = nil, logitems = nil, hashKey = nil, compress = false) ⇒ PutLogsRequest

Returns a new instance of PutLogsRequest.



5
6
7
8
9
10
11
12
13
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 5

def initialize(project=nil, logstore=nil, topic=nil, source=nil, logitems=nil, hashKey = nil, compress = false)
  @project = project
  @logstore = logstore
  @topic = topic
  @source = source
  @logitems = logitems
  @hashkey = hashKey
  @compress = compress
end

Instance Attribute Details

#compressObject

Returns the value of attribute compress.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def compress
  @compress
end

#hashkeyObject

Returns the value of attribute hashkey.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def hashkey
  @hashkey
end

#logitemsObject

Returns the value of attribute logitems.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def logitems
  @logitems
end

#logstoreObject

Returns the value of attribute logstore.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def logstore
  @logstore
end

#projectObject

Returns the value of attribute project.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def project
  @project
end

#sourceObject

Returns the value of attribute source.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def source
  @source
end

#topicObject

Returns the value of attribute topic.



4
5
6
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4

def topic
  @topic
end