batchly_api 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,44 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class AddAwsAccountRequest
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :name
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [String]
12
+ attr_accessor :access_key
13
+
14
+ # TODO: Write general description for this method
15
+ # @return [String]
16
+ attr_accessor :secret_key
17
+
18
+ # TODO: Write general description for this method
19
+ # @return [String]
20
+ attr_accessor :base_region
21
+
22
+
23
+ def method_missing (method_name)
24
+ puts "there's no method called '#{method_name}'"
25
+ end
26
+
27
+ # Creates JSON of the curent object
28
+ def to_json
29
+ hash = self.key_map()
30
+ hash.to_json
31
+ end
32
+
33
+ # Defines the key map for json serialization
34
+ def key_map
35
+ hash = {}
36
+ hash['Name'] = self.name
37
+ hash['AccessKey'] = self.access_key
38
+ hash['SecretKey'] = self.secret_key
39
+ hash['BaseRegion'] = self.base_region
40
+ hash
41
+ end
42
+
43
+ end
44
+ end
@@ -0,0 +1,34 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class AddS3DataSourceRequest
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :bucket
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [String]
12
+ attr_accessor :folder
13
+
14
+
15
+ def method_missing (method_name)
16
+ puts "there's no method called '#{method_name}'"
17
+ end
18
+
19
+ # Creates JSON of the curent object
20
+ def to_json
21
+ hash = self.key_map()
22
+ hash.to_json
23
+ end
24
+
25
+ # Defines the key map for json serialization
26
+ def key_map
27
+ hash = {}
28
+ hash['Bucket'] = self.bucket
29
+ hash['Folder'] = self.folder
30
+ hash
31
+ end
32
+
33
+ end
34
+ end
@@ -0,0 +1,69 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class CreateJobRequest
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :name
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [String]
12
+ attr_accessor :project_id
13
+
14
+ # TODO: Write general description for this method
15
+ # @return [String]
16
+ attr_accessor :processor_id
17
+
18
+ # TODO: Write general description for this method
19
+ # @return [String]
20
+ attr_accessor :data_source_id
21
+
22
+ # TODO: Write general description for this method
23
+ # @return [String]
24
+ attr_accessor :destination_id
25
+
26
+ # TODO: Write general description for this method
27
+ # @return [JobSchedule]
28
+ attr_accessor :schedule
29
+
30
+ # TODO: Write general description for this method
31
+ # @return [String]
32
+ attr_accessor :region
33
+
34
+ # TODO: Write general description for this method
35
+ # @return [Double]
36
+ attr_accessor :sla
37
+
38
+ # TODO: Write general description for this method
39
+ # @return [mixed]
40
+ attr_accessor :parameters
41
+
42
+
43
+ def method_missing (method_name)
44
+ puts "there's no method called '#{method_name}'"
45
+ end
46
+
47
+ # Creates JSON of the curent object
48
+ def to_json
49
+ hash = self.key_map()
50
+ hash.to_json
51
+ end
52
+
53
+ # Defines the key map for json serialization
54
+ def key_map
55
+ hash = {}
56
+ hash['Name'] = self.name
57
+ hash['ProjectId'] = self.project_id
58
+ hash['ProcessorId'] = self.processor_id
59
+ hash['DataSourceId'] = self.data_source_id
60
+ hash['DestinationId'] = self.destination_id
61
+ hash['Schedule'] = self.schedule
62
+ hash['Region'] = self.region
63
+ hash['SLA'] = self.sla
64
+ hash['Parameters'] = self.parameters
65
+ hash
66
+ end
67
+
68
+ end
69
+ end
@@ -0,0 +1,39 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class CreateProjectRequest
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :account_id
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [String]
12
+ attr_accessor :name
13
+
14
+ # TODO: Write general description for this method
15
+ # @return [VpcDetails]
16
+ attr_accessor :vpc
17
+
18
+
19
+ def method_missing (method_name)
20
+ puts "there's no method called '#{method_name}'"
21
+ end
22
+
23
+ # Creates JSON of the curent object
24
+ def to_json
25
+ hash = self.key_map()
26
+ hash.to_json
27
+ end
28
+
29
+ # Defines the key map for json serialization
30
+ def key_map
31
+ hash = {}
32
+ hash['AccountId'] = self.account_id
33
+ hash['Name'] = self.name
34
+ hash['Vpc'] = self.vpc
35
+ hash
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,39 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class ExecuteJobRequest
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :job_id
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [Double]
12
+ attr_accessor :sla
13
+
14
+ # TODO: Write general description for this method
15
+ # @return [String]
16
+ attr_accessor :region
17
+
18
+
19
+ def method_missing (method_name)
20
+ puts "there's no method called '#{method_name}'"
21
+ end
22
+
23
+ # Creates JSON of the curent object
24
+ def to_json
25
+ hash = self.key_map()
26
+ hash.to_json
27
+ end
28
+
29
+ # Defines the key map for json serialization
30
+ def key_map
31
+ hash = {}
32
+ hash['JobId'] = self.job_id
33
+ hash['SLA'] = self.sla
34
+ hash['Region'] = self.region
35
+ hash
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,34 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class JobSchedule
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :cron
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [String]
12
+ attr_accessor :timezone
13
+
14
+
15
+ def method_missing (method_name)
16
+ puts "there's no method called '#{method_name}'"
17
+ end
18
+
19
+ # Creates JSON of the curent object
20
+ def to_json
21
+ hash = self.key_map()
22
+ hash.to_json
23
+ end
24
+
25
+ # Defines the key map for json serialization
26
+ def key_map
27
+ hash = {}
28
+ hash['Cron'] = self.cron
29
+ hash['Timezone'] = self.timezone
30
+ hash
31
+ end
32
+
33
+ end
34
+ end
@@ -0,0 +1,34 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class UpdateProjectRequest
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :name
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [VpcDetails]
12
+ attr_accessor :vpc
13
+
14
+
15
+ def method_missing (method_name)
16
+ puts "there's no method called '#{method_name}'"
17
+ end
18
+
19
+ # Creates JSON of the curent object
20
+ def to_json
21
+ hash = self.key_map()
22
+ hash.to_json
23
+ end
24
+
25
+ # Defines the key map for json serialization
26
+ def key_map
27
+ hash = {}
28
+ hash['Name'] = self.name
29
+ hash['Vpc'] = self.vpc
30
+ hash
31
+ end
32
+
33
+ end
34
+ end
@@ -0,0 +1,39 @@
1
+ # This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 11/18/2015
2
+
3
+ module BatchlyApi
4
+ class VpcDetails
5
+
6
+ # TODO: Write general description for this method
7
+ # @return [String]
8
+ attr_accessor :vpc_id
9
+
10
+ # TODO: Write general description for this method
11
+ # @return [Array<String>]
12
+ attr_accessor :subnet_ids
13
+
14
+ # TODO: Write general description for this method
15
+ # @return [String]
16
+ attr_accessor :region
17
+
18
+
19
+ def method_missing (method_name)
20
+ puts "there's no method called '#{method_name}'"
21
+ end
22
+
23
+ # Creates JSON of the curent object
24
+ def to_json
25
+ hash = self.key_map()
26
+ hash.to_json
27
+ end
28
+
29
+ # Defines the key map for json serialization
30
+ def key_map
31
+ hash = {}
32
+ hash['VpcId'] = self.vpc_id
33
+ hash['SubnetIds'] = self.subnet_ids
34
+ hash['Region'] = self.region
35
+ hash
36
+ end
37
+
38
+ end
39
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: batchly_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.1
5
+ platform: ruby
6
+ authors:
7
+ - batchly api support
8
+ - APIMATIC
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-11-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: unirest
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.1'
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.1.2
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '1.1'
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.2
34
+ description: This API SDK was automatically generated by APIMATIC Beta 2.0
35
+ email: support@batchly.net
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
40
+ - lib/batchly_api.rb
41
+ - lib/batchly_api/api_exception.rb
42
+ - lib/batchly_api/api_helper.rb
43
+ - lib/batchly_api/configuration.rb
44
+ - lib/batchly_api/controllers/account_controller.rb
45
+ - lib/batchly_api/controllers/data_source_controller.rb
46
+ - lib/batchly_api/controllers/job_controller.rb
47
+ - lib/batchly_api/controllers/project_controller.rb
48
+ - lib/batchly_api/controllers/run_controller.rb
49
+ - lib/batchly_api/custom_auth_utility.rb
50
+ - lib/batchly_api/models/add_aws_account_request.rb
51
+ - lib/batchly_api/models/add_s_3_data_source_request.rb
52
+ - lib/batchly_api/models/create_job_request.rb
53
+ - lib/batchly_api/models/create_project_request.rb
54
+ - lib/batchly_api/models/execute_job_request.rb
55
+ - lib/batchly_api/models/job_schedule.rb
56
+ - lib/batchly_api/models/update_project_request.rb
57
+ - lib/batchly_api/models/vpc_details.rb
58
+ homepage: http://www.batchly.net
59
+ licenses:
60
+ - MIT
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '2.0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.4.5.1
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: batchly_api
82
+ test_files: []