Class: Cb::Models::RecommendedJob
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::RecommendedJob
- Defined in:
- lib/cb/models/implementations/recommended_job.rb
Instance Attribute Summary collapse
-
#admin_area_1 ⇒ Object
readonly
Returns the value of attribute admin_area_1.
-
#apply_requirements ⇒ Object
readonly
Returns the value of attribute apply_requirements.
-
#categories ⇒ Object
readonly
Returns the value of attribute categories.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#company_id ⇒ Object
readonly
Returns the value of attribute company_id.
-
#company_name ⇒ Object
readonly
Returns the value of attribute company_name.
-
#educations_required ⇒ Object
readonly
Returns the value of attribute educations_required.
-
#employment_type ⇒ Object
readonly
Returns the value of attribute employment_type.
-
#experience_required ⇒ Object
readonly
Returns the value of attribute experience_required.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#job_details_url ⇒ Object
readonly
Returns the value of attribute job_details_url.
-
#job_title ⇒ Object
readonly
Returns the value of attribute job_title.
-
#latitude ⇒ Object
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Object
readonly
Returns the value of attribute longitude.
-
#matcher_id ⇒ Object
readonly
Returns the value of attribute matcher_id.
-
#pay ⇒ Object
readonly
Returns the value of attribute pay.
-
#posted ⇒ Object
readonly
Returns the value of attribute posted.
-
#skills ⇒ Object
readonly
Returns the value of attribute skills.
Attributes inherited from ApiResponseModel
Instance Method Summary collapse
Methods inherited from ApiResponseModel
Constructor Details
This class inherits a constructor from Cb::Models::ApiResponseModel
Instance Attribute Details
#admin_area_1 ⇒ Object (readonly)
Returns the value of attribute admin_area_1.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def admin_area_1 @admin_area_1 end |
#apply_requirements ⇒ Object (readonly)
Returns the value of attribute apply_requirements.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def apply_requirements @apply_requirements end |
#categories ⇒ Object (readonly)
Returns the value of attribute categories.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def categories @categories end |
#city ⇒ Object (readonly)
Returns the value of attribute city.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def city @city end |
#company_id ⇒ Object (readonly)
Returns the value of attribute company_id.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def company_id @company_id end |
#company_name ⇒ Object (readonly)
Returns the value of attribute company_name.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def company_name @company_name end |
#educations_required ⇒ Object (readonly)
Returns the value of attribute educations_required.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def educations_required @educations_required end |
#employment_type ⇒ Object (readonly)
Returns the value of attribute employment_type.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def employment_type @employment_type end |
#experience_required ⇒ Object (readonly)
Returns the value of attribute experience_required.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def experience_required @experience_required end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def id @id end |
#job_details_url ⇒ Object (readonly)
Returns the value of attribute job_details_url.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def job_details_url @job_details_url end |
#job_title ⇒ Object (readonly)
Returns the value of attribute job_title.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def job_title @job_title end |
#latitude ⇒ Object (readonly)
Returns the value of attribute latitude.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def latitude @latitude end |
#longitude ⇒ Object (readonly)
Returns the value of attribute longitude.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def longitude @longitude end |
#matcher_id ⇒ Object (readonly)
Returns the value of attribute matcher_id.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def matcher_id @matcher_id end |
#pay ⇒ Object (readonly)
Returns the value of attribute pay.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def pay @pay end |
#posted ⇒ Object (readonly)
Returns the value of attribute posted.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def posted @posted end |
#skills ⇒ Object (readonly)
Returns the value of attribute skills.
14 15 16 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 14 def skills @skills end |
Instance Method Details
#required_fields ⇒ Object
20 21 22 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 20 def required_fields [id, job_title] end |
#set_model_properties ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/cb/models/implementations/recommended_job.rb', line 24 def set_model_properties args = api_response @id = args['id'] @job_title = args['job_title'] @city = args['city'] @admin_area_1 = args['admin_area_1'] @latitude = args['latitude'] @longitude = args['longitude'] @company_name = args['company_name'] @company_id = args['company_id'] @job_details_url = args['job_details_url'] @employment_type = args['employment_type'] @educations_required = args['educations_required'] @experience_required = args['experience_required'] @matcher_id = args['matcher_id'] @pay = args['pay'] @categories = args['categories'] @apply_requirements = args['apply_requirements'] @skills = args['skills'] @posted = args['posted'] end |