@@ -25,8 +25,8 @@ def initialize(api_client = ApiClient.default)
25
25
@api_client = api_client
26
26
end
27
27
# Retrieves a project
28
- # Retrieves a project available on Patch's platform.
29
- # @param id [String]
28
+ # Retrieves a project available on Patch's platform.
29
+ # @param id [String]
30
30
# @param [Hash] opts the optional parameters
31
31
# @return [ProjectResponse]
32
32
def retrieve_project ( id , opts = { } )
@@ -35,8 +35,8 @@ def retrieve_project(id, opts = {})
35
35
end
36
36
37
37
# Retrieves a project
38
- # Retrieves a project available on Patch's platform.
39
- # @param id [String]
38
+ # Retrieves a project available on Patch's platform.
39
+ # @param id [String]
40
40
# @param [Hash] opts the optional parameters
41
41
# @return [Array<(ProjectResponse, Integer, Hash)>] ProjectResponse data, response status code and response headers
42
42
def retrieve_project_with_http_info ( id , opts = { } )
@@ -62,10 +62,10 @@ def retrieve_project_with_http_info(id, opts = {})
62
62
form_params = opts [ :form_params ] || { }
63
63
64
64
# http body (model)
65
- post_body = opts [ :body ]
65
+ post_body = opts [ :body ]
66
66
67
67
# return_type
68
- return_type = opts [ :return_type ] || 'ProjectResponse'
68
+ return_type = opts [ :return_type ] || 'ProjectResponse'
69
69
70
70
# auth_names
71
71
auth_names = opts [ :auth_names ] || [ 'bearer_auth' ]
@@ -87,25 +87,25 @@ def retrieve_project_with_http_info(id, opts = {})
87
87
end
88
88
89
89
# Retrieves a list of projects
90
- # Retrieves a list of projects available for purchase on Patch's platform.
90
+ # Retrieves a list of projects available for purchase on Patch's platform.
91
91
# @param [Hash] opts the optional parameters
92
- # @option opts [Integer] :page
93
- # @option opts [String] :country
94
- # @option opts [String] :type
95
- # @option opts [Integer] :remainaing_mass_g
92
+ # @option opts [Integer] :page
93
+ # @option opts [String] :country
94
+ # @option opts [String] :type
95
+ # @option opts [Integer] :minimum_available_mass
96
96
# @return [ProjectListResponse]
97
97
def retrieve_projects ( opts = { } )
98
98
data , _status_code , _headers = retrieve_projects_with_http_info ( opts )
99
99
data
100
100
end
101
101
102
102
# Retrieves a list of projects
103
- # Retrieves a list of projects available for purchase on Patch's platform.
103
+ # Retrieves a list of projects available for purchase on Patch's platform.
104
104
# @param [Hash] opts the optional parameters
105
- # @option opts [Integer] :page
106
- # @option opts [String] :country
107
- # @option opts [String] :type
108
- # @option opts [Integer] :remainaing_mass_g
105
+ # @option opts [Integer] :page
106
+ # @option opts [String] :country
107
+ # @option opts [String] :type
108
+ # @option opts [Integer] :minimum_available_mass
109
109
# @return [Array<(ProjectListResponse, Integer, Hash)>] ProjectListResponse data, response status code and response headers
110
110
def retrieve_projects_with_http_info ( opts = { } )
111
111
if @api_client . config . debugging
@@ -119,7 +119,7 @@ def retrieve_projects_with_http_info(opts = {})
119
119
query_params [ :'page' ] = opts [ :'page' ] if !opts [ :'page' ] . nil?
120
120
query_params [ :'country' ] = opts [ :'country' ] if !opts [ :'country' ] . nil?
121
121
query_params [ :'type' ] = opts [ :'type' ] if !opts [ :'type' ] . nil?
122
- query_params [ :'remainaing_mass_g ' ] = opts [ :'remainaing_mass_g ' ] if !opts [ :'remainaing_mass_g ' ] . nil?
122
+ query_params [ :'minimum_available_mass ' ] = opts [ :'minimum_available_mass ' ] if !opts [ :'minimum_available_mass ' ] . nil?
123
123
124
124
# header parameters
125
125
header_params = opts [ :header_params ] || { }
@@ -130,10 +130,10 @@ def retrieve_projects_with_http_info(opts = {})
130
130
form_params = opts [ :form_params ] || { }
131
131
132
132
# http body (model)
133
- post_body = opts [ :body ]
133
+ post_body = opts [ :body ]
134
134
135
135
# return_type
136
- return_type = opts [ :return_type ] || 'ProjectListResponse'
136
+ return_type = opts [ :return_type ] || 'ProjectListResponse'
137
137
138
138
# auth_names
139
139
auth_names = opts [ :auth_names ] || [ 'bearer_auth' ]
0 commit comments