Class: TheCompaniesAPI::Generated::Models::PageContentsIdeated
- Inherits:
-
Object
- Object
- TheCompaniesAPI::Generated::Models::PageContentsIdeated
- Defined in:
- lib/thecompaniesapi/generated/models/page_contents_ideated.rb
Overview
A collection of categorized facts about a company aggregated from multiple sources.
Instance Attribute Summary collapse
-
#about ⇒ Array
About.
-
#acquired ⇒ Array
Acquired.
-
#broken ⇒ Boolean
Broken.
-
#closed ⇒ Boolean
Closed.
-
#contacts ⇒ Array
Contacts.
-
#customers ⇒ Array
Customers.
-
#domain ⇒ String
Domain.
-
#features ⇒ Array
Features.
-
#finances ⇒ Array
Finances.
-
#for_sale ⇒ Boolean
ForSale.
-
#industries ⇒ Array
Industries.
-
#jobs ⇒ Array
Jobs.
-
#locations ⇒ Array
Locations.
-
#nsfw ⇒ Boolean
Nsfw.
-
#others ⇒ Array
Others.
-
#pricing ⇒ Array
Pricing.
-
#related ⇒ Array
Related.
-
#resources ⇒ Array
Resources.
-
#security ⇒ Array
Security.
-
#social ⇒ Array
Social.
-
#solutions ⇒ Array
Solutions.
-
#sources ⇒ Array
Sources.
-
#support ⇒ Array
Support.
-
#team ⇒ Array
Team.
-
#technologies ⇒ Array
Technologies.
-
#tokens ⇒ Float
Tokens.
-
#updated_at ⇒ String
UpdatedAt.
-
#updates ⇒ Array
Updates.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ PageContentsIdeated
constructor
Initialize a new PageContentsIdeated.
-
#to_hash ⇒ Hash
(also: #to_h)
Convert to hash.
Constructor Details
#initialize(data = {}) ⇒ PageContentsIdeated
Initialize a new PageContentsIdeated
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 99 def initialize(data = {}) @domain = data['domain'] @about = data['about'] @acquired = data['acquired'] @contacts = data['contacts'] @customers = data['customers'] @features = data['features'] @finances = data['finances'] @industries = data['industries'] @jobs = data['jobs'] @locations = data['locations'] @others = data['others'] @pricing = data['pricing'] @related = data['related'] @resources = data['resources'] @security = data['security'] @social = data['social'] @solutions = data['solutions'] @support = data['support'] @team = data['team'] @technologies = data['technologies'] @updates = data['updates'] @broken = data['broken'] @closed = data['closed'] @for_sale = data['forSale'] @nsfw = data['nsfw'] @updated_at = data['updatedAt'] @sources = data['sources'] @tokens = data['tokens'] end |
Instance Attribute Details
#about ⇒ Array
Returns about.
15 16 17 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 15 def about @about end |
#acquired ⇒ Array
Returns acquired.
18 19 20 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 18 def acquired @acquired end |
#broken ⇒ Boolean
Returns broken.
75 76 77 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 75 def broken @broken end |
#closed ⇒ Boolean
Returns closed.
78 79 80 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 78 def closed @closed end |
#contacts ⇒ Array
Returns contacts.
21 22 23 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 21 def contacts @contacts end |
#customers ⇒ Array
Returns customers.
24 25 26 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 24 def customers @customers end |
#domain ⇒ String
Returns domain.
12 13 14 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 12 def domain @domain end |
#features ⇒ Array
Returns features.
27 28 29 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 27 def features @features end |
#finances ⇒ Array
Returns finances.
30 31 32 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 30 def finances @finances end |
#for_sale ⇒ Boolean
Returns forSale.
81 82 83 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 81 def for_sale @for_sale end |
#industries ⇒ Array
Returns industries.
33 34 35 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 33 def industries @industries end |
#jobs ⇒ Array
Returns jobs.
36 37 38 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 36 def jobs @jobs end |
#locations ⇒ Array
Returns locations.
39 40 41 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 39 def locations @locations end |
#nsfw ⇒ Boolean
Returns nsfw.
84 85 86 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 84 def nsfw @nsfw end |
#others ⇒ Array
Returns others.
42 43 44 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 42 def others @others end |
#pricing ⇒ Array
Returns pricing.
45 46 47 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 45 def pricing @pricing end |
#related ⇒ Array
Returns related.
48 49 50 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 48 def @related end |
#resources ⇒ Array
Returns resources.
51 52 53 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 51 def resources @resources end |
#security ⇒ Array
Returns security.
54 55 56 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 54 def security @security end |
#social ⇒ Array
Returns social.
57 58 59 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 57 def @social end |
#solutions ⇒ Array
Returns solutions.
60 61 62 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 60 def solutions @solutions end |
#sources ⇒ Array
Returns sources.
90 91 92 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 90 def sources @sources end |
#support ⇒ Array
Returns support.
63 64 65 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 63 def support @support end |
#team ⇒ Array
Returns team.
66 67 68 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 66 def team @team end |
#technologies ⇒ Array
Returns technologies.
69 70 71 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 69 def technologies @technologies end |
#tokens ⇒ Float
Returns tokens.
93 94 95 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 93 def tokens @tokens end |
#updated_at ⇒ String
Returns updatedAt.
87 88 89 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 87 def updated_at @updated_at end |
#updates ⇒ Array
Returns updates.
72 73 74 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 72 def updates @updates end |
Instance Method Details
#to_hash ⇒ Hash Also known as: to_h
Convert to hash
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 163 164 165 |
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 134 def to_hash { 'domain' => @domain, 'about' => @about, 'acquired' => @acquired, 'contacts' => @contacts, 'customers' => @customers, 'features' => @features, 'finances' => @finances, 'industries' => @industries, 'jobs' => @jobs, 'locations' => @locations, 'others' => @others, 'pricing' => @pricing, 'related' => @related, 'resources' => @resources, 'security' => @security, 'social' => @social, 'solutions' => @solutions, 'support' => @support, 'team' => @team, 'technologies' => @technologies, 'updates' => @updates, 'broken' => @broken, 'closed' => @closed, 'forSale' => @for_sale, 'nsfw' => @nsfw, 'updatedAt' => @updated_at, 'sources' => @sources, 'tokens' => @tokens, } end |