Class: EsiClient::UserInterfaceApi
- Inherits:
-
Object
- Object
- EsiClient::UserInterfaceApi
- Defined in:
- lib/esi-ruby/api/user_interface_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#initialize(api_client = ApiClient.default) ⇒ UserInterfaceApi
constructor
A new instance of UserInterfaceApi.
-
#post_ui_autopilot_waypoint(add_to_beginning, clear_other_waypoints, destination_id, opts = {}) ⇒ nil
Set Autopilot Waypoint Set a solar system as autopilot waypoint — Alternate route: ‘/v2/ui/autopilot/waypoint/` Alternate route: `/dev/ui/autopilot/waypoint/`.
-
#post_ui_autopilot_waypoint_with_http_info(add_to_beginning, clear_other_waypoints, destination_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Set Autopilot Waypoint Set a solar system as autopilot waypoint — Alternate route: `/v2/ui/autopilot/waypoint/` Alternate route: `/dev/ui/autopilot/waypoint/`.
-
#post_ui_openwindow_contract(contract_id, opts = {}) ⇒ nil
Open Contract Window Open the contract window inside the client — Alternate route: ‘/v1/ui/openwindow/contract/` Alternate route: `/legacy/ui/openwindow/contract/` Alternate route: `/dev/ui/openwindow/contract/`.
-
#post_ui_openwindow_contract_with_http_info(contract_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open Contract Window Open the contract window inside the client — Alternate route: `/v1/ui/openwindow/contract/` Alternate route: `/legacy/ui/openwindow/contract/` Alternate route: `/dev/ui/openwindow/contract/`.
-
#post_ui_openwindow_information(target_id, opts = {}) ⇒ nil
Open Information Window Open the information window for a character, corporation or alliance inside the client — Alternate route: ‘/v1/ui/openwindow/information/` Alternate route: `/legacy/ui/openwindow/information/` Alternate route: `/dev/ui/openwindow/information/`.
-
#post_ui_openwindow_information_with_http_info(target_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open Information Window Open the information window for a character, corporation or alliance inside the client — Alternate route: `/v1/ui/openwindow/information/` Alternate route: `/legacy/ui/openwindow/information/` Alternate route: `/dev/ui/openwindow/information/`.
-
#post_ui_openwindow_marketdetails(type_id, opts = {}) ⇒ nil
Open Market Details Open the market details window for a specific typeID inside the client — Alternate route: ‘/v1/ui/openwindow/marketdetails/` Alternate route: `/legacy/ui/openwindow/marketdetails/` Alternate route: `/dev/ui/openwindow/marketdetails/`.
-
#post_ui_openwindow_marketdetails_with_http_info(type_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open Market Details Open the market details window for a specific typeID inside the client — Alternate route: `/v1/ui/openwindow/marketdetails/` Alternate route: `/legacy/ui/openwindow/marketdetails/` Alternate route: `/dev/ui/openwindow/marketdetails/`.
-
#post_ui_openwindow_newmail(new_mail, opts = {}) ⇒ nil
Open New Mail Window Open the New Mail window, according to settings from the request if applicable — Alternate route: ‘/v1/ui/openwindow/newmail/` Alternate route: `/legacy/ui/openwindow/newmail/` Alternate route: `/dev/ui/openwindow/newmail/`.
-
#post_ui_openwindow_newmail_with_http_info(new_mail, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open New Mail Window Open the New Mail window, according to settings from the request if applicable — Alternate route: `/v1/ui/openwindow/newmail/` Alternate route: `/legacy/ui/openwindow/newmail/` Alternate route: `/dev/ui/openwindow/newmail/`.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ UserInterfaceApi
Returns a new instance of UserInterfaceApi.
18 19 20 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 18 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
16 17 18 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 16 def api_client @api_client end |
Instance Method Details
#post_ui_autopilot_waypoint(add_to_beginning, clear_other_waypoints, destination_id, opts = {}) ⇒ nil
Set Autopilot Waypoint Set a solar system as autopilot waypoint — Alternate route: ‘/v2/ui/autopilot/waypoint/` Alternate route: `/dev/ui/autopilot/waypoint/`
33 34 35 36 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 33 def post_ui_autopilot_waypoint(add_to_beginning, clear_other_waypoints, destination_id, opts = {}) post_ui_autopilot_waypoint_with_http_info(add_to_beginning, clear_other_waypoints, destination_id, opts) return nil end |
#post_ui_autopilot_waypoint_with_http_info(add_to_beginning, clear_other_waypoints, destination_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Set Autopilot Waypoint Set a solar system as autopilot waypoint — Alternate route: `/v2/ui/autopilot/waypoint/` Alternate route: `/dev/ui/autopilot/waypoint/`
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 49 def post_ui_autopilot_waypoint_with_http_info(add_to_beginning, clear_other_waypoints, destination_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: UserInterfaceApi.post_ui_autopilot_waypoint ..." end # verify the required parameter 'add_to_beginning' is set fail ArgumentError, "Missing the required parameter 'add_to_beginning' when calling UserInterfaceApi.post_ui_autopilot_waypoint" if add_to_beginning.nil? # verify the required parameter 'clear_other_waypoints' is set fail ArgumentError, "Missing the required parameter 'clear_other_waypoints' when calling UserInterfaceApi.post_ui_autopilot_waypoint" if clear_other_waypoints.nil? # verify the required parameter 'destination_id' is set fail ArgumentError, "Missing the required parameter 'destination_id' when calling UserInterfaceApi.post_ui_autopilot_waypoint" if destination_id.nil? if opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource']) fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity' end # resource path local_var_path = "/ui/autopilot/waypoint/".sub('{format}','json') # query parameters query_params = {} query_params[:'add_to_beginning'] = add_to_beginning query_params[:'clear_other_waypoints'] = clear_other_waypoints query_params[:'destination_id'] = destination_id query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil? query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil? query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil? # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['evesso'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: UserInterfaceApi#post_ui_autopilot_waypoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_ui_openwindow_contract(contract_id, opts = {}) ⇒ nil
Open Contract Window Open the contract window inside the client — Alternate route: ‘/v1/ui/openwindow/contract/` Alternate route: `/legacy/ui/openwindow/contract/` Alternate route: `/dev/ui/openwindow/contract/`
107 108 109 110 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 107 def post_ui_openwindow_contract(contract_id, opts = {}) post_ui_openwindow_contract_with_http_info(contract_id, opts) return nil end |
#post_ui_openwindow_contract_with_http_info(contract_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open Contract Window Open the contract window inside the client — Alternate route: `/v1/ui/openwindow/contract/` Alternate route: `/legacy/ui/openwindow/contract/` Alternate route: `/dev/ui/openwindow/contract/`
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 121 def post_ui_openwindow_contract_with_http_info(contract_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: UserInterfaceApi.post_ui_openwindow_contract ..." end # verify the required parameter 'contract_id' is set fail ArgumentError, "Missing the required parameter 'contract_id' when calling UserInterfaceApi.post_ui_openwindow_contract" if contract_id.nil? if opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource']) fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity' end # resource path local_var_path = "/ui/openwindow/contract/".sub('{format}','json') # query parameters query_params = {} query_params[:'contract_id'] = contract_id query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil? query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil? query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil? # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['evesso'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: UserInterfaceApi#post_ui_openwindow_contract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_ui_openwindow_information(target_id, opts = {}) ⇒ nil
Open Information Window Open the information window for a character, corporation or alliance inside the client — Alternate route: ‘/v1/ui/openwindow/information/` Alternate route: `/legacy/ui/openwindow/information/` Alternate route: `/dev/ui/openwindow/information/`
173 174 175 176 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 173 def post_ui_openwindow_information(target_id, opts = {}) post_ui_openwindow_information_with_http_info(target_id, opts) return nil end |
#post_ui_openwindow_information_with_http_info(target_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open Information Window Open the information window for a character, corporation or alliance inside the client — Alternate route: `/v1/ui/openwindow/information/` Alternate route: `/legacy/ui/openwindow/information/` Alternate route: `/dev/ui/openwindow/information/`
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 187 def post_ui_openwindow_information_with_http_info(target_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: UserInterfaceApi.post_ui_openwindow_information ..." end # verify the required parameter 'target_id' is set fail ArgumentError, "Missing the required parameter 'target_id' when calling UserInterfaceApi.post_ui_openwindow_information" if target_id.nil? if opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource']) fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity' end # resource path local_var_path = "/ui/openwindow/information/".sub('{format}','json') # query parameters query_params = {} query_params[:'target_id'] = target_id query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil? query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil? query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil? # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['evesso'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: UserInterfaceApi#post_ui_openwindow_information\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_ui_openwindow_marketdetails(type_id, opts = {}) ⇒ nil
Open Market Details Open the market details window for a specific typeID inside the client — Alternate route: ‘/v1/ui/openwindow/marketdetails/` Alternate route: `/legacy/ui/openwindow/marketdetails/` Alternate route: `/dev/ui/openwindow/marketdetails/`
239 240 241 242 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 239 def post_ui_openwindow_marketdetails(type_id, opts = {}) post_ui_openwindow_marketdetails_with_http_info(type_id, opts) return nil end |
#post_ui_openwindow_marketdetails_with_http_info(type_id, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open Market Details Open the market details window for a specific typeID inside the client — Alternate route: `/v1/ui/openwindow/marketdetails/` Alternate route: `/legacy/ui/openwindow/marketdetails/` Alternate route: `/dev/ui/openwindow/marketdetails/`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 253 def post_ui_openwindow_marketdetails_with_http_info(type_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: UserInterfaceApi.post_ui_openwindow_marketdetails ..." end # verify the required parameter 'type_id' is set fail ArgumentError, "Missing the required parameter 'type_id' when calling UserInterfaceApi.post_ui_openwindow_marketdetails" if type_id.nil? if opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource']) fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity' end # resource path local_var_path = "/ui/openwindow/marketdetails/".sub('{format}','json') # query parameters query_params = {} query_params[:'type_id'] = type_id query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil? query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil? query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil? # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['evesso'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: UserInterfaceApi#post_ui_openwindow_marketdetails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_ui_openwindow_newmail(new_mail, opts = {}) ⇒ nil
Open New Mail Window Open the New Mail window, according to settings from the request if applicable — Alternate route: ‘/v1/ui/openwindow/newmail/` Alternate route: `/legacy/ui/openwindow/newmail/` Alternate route: `/dev/ui/openwindow/newmail/`
305 306 307 308 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 305 def post_ui_openwindow_newmail(new_mail, opts = {}) post_ui_openwindow_newmail_with_http_info(new_mail, opts) return nil end |
#post_ui_openwindow_newmail_with_http_info(new_mail, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Open New Mail Window Open the New Mail window, according to settings from the request if applicable — Alternate route: `/v1/ui/openwindow/newmail/` Alternate route: `/legacy/ui/openwindow/newmail/` Alternate route: `/dev/ui/openwindow/newmail/`
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/esi-ruby/api/user_interface_api.rb', line 319 def post_ui_openwindow_newmail_with_http_info(new_mail, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: UserInterfaceApi.post_ui_openwindow_newmail ..." end # verify the required parameter 'new_mail' is set fail ArgumentError, "Missing the required parameter 'new_mail' when calling UserInterfaceApi.post_ui_openwindow_newmail" if new_mail.nil? if opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource']) fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity' end # resource path local_var_path = "/ui/openwindow/newmail/".sub('{format}','json') # query parameters query_params = {} query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil? query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil? query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil? # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(new_mail) auth_names = ['evesso'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: UserInterfaceApi#post_ui_openwindow_newmail\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |