Class: NeverBounce::API::Response::JobsSearch

Inherits:
SuccessMessage show all
Defined in:
lib/never_bounce/api/response/jobs_search.rb,
lib/never_bounce/api/response/jobs_search/query.rb,
lib/never_bounce/api/response/jobs_search/result.rb

Defined Under Namespace

Classes: Query, Result

Instance Attribute Summary collapse

Attributes inherited from StatusMessage

#execution_time, #status

Attributes inherited from Container

#body_hash, #raw

Method Summary

Methods inherited from SuccessMessage

#success?

Methods inherited from Message

#error?, #ok?, #success?

Methods inherited from Container

oattr, scalar_oattr

Instance Attribute Details

#queryQuery

Returns:



11
# File 'lib/never_bounce/api/response/jobs_search.rb', line 11

oattr :query, :writer

#resultsArray<Result>

Returns:



15
# File 'lib/never_bounce/api/response/jobs_search.rb', line 15

oattr :results, :writer

#total_pagesInteger

Returns:

  • (Integer)


19
# File 'lib/never_bounce/api/response/jobs_search.rb', line 19

oattr :total_pages, :scalar, type: :integer

#total_resultsInteger

Returns:

  • (Integer)


23
# File 'lib/never_bounce/api/response/jobs_search.rb', line 23

oattr :total_results, :scalar, type: :integer