Class: TheCompaniesAPI::Generated::Models::PageContentsIdeated

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ PageContentsIdeated

Initialize a new PageContentsIdeated

Parameters:

  • data (Hash) (defaults to: {})

    Initial data



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

#aboutArray

Returns about.

Returns:

  • (Array)

    about



15
16
17
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 15

def about
  @about
end

#acquiredArray

Returns acquired.

Returns:

  • (Array)

    acquired



18
19
20
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 18

def acquired
  @acquired
end

#brokenBoolean

Returns broken.

Returns:

  • (Boolean)

    broken



75
76
77
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 75

def broken
  @broken
end

#closedBoolean

Returns closed.

Returns:

  • (Boolean)

    closed



78
79
80
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 78

def closed
  @closed
end

#contactsArray

Returns contacts.

Returns:

  • (Array)

    contacts



21
22
23
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 21

def contacts
  @contacts
end

#customersArray

Returns customers.

Returns:

  • (Array)

    customers



24
25
26
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 24

def customers
  @customers
end

#domainString

Returns domain.

Returns:

  • (String)

    domain



12
13
14
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 12

def domain
  @domain
end

#featuresArray

Returns features.

Returns:

  • (Array)

    features



27
28
29
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 27

def features
  @features
end

#financesArray

Returns finances.

Returns:

  • (Array)

    finances



30
31
32
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 30

def finances
  @finances
end

#for_saleBoolean

Returns forSale.

Returns:

  • (Boolean)

    forSale



81
82
83
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 81

def for_sale
  @for_sale
end

#industriesArray

Returns industries.

Returns:

  • (Array)

    industries



33
34
35
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 33

def industries
  @industries
end

#jobsArray

Returns jobs.

Returns:

  • (Array)

    jobs



36
37
38
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 36

def jobs
  @jobs
end

#locationsArray

Returns locations.

Returns:

  • (Array)

    locations



39
40
41
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 39

def locations
  @locations
end

#nsfwBoolean

Returns nsfw.

Returns:

  • (Boolean)

    nsfw



84
85
86
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 84

def nsfw
  @nsfw
end

#othersArray

Returns others.

Returns:

  • (Array)

    others



42
43
44
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 42

def others
  @others
end

#pricingArray

Returns pricing.

Returns:

  • (Array)

    pricing



45
46
47
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 45

def pricing
  @pricing
end

Returns related.

Returns:

  • (Array)

    related



48
49
50
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 48

def related
  @related
end

#resourcesArray

Returns resources.

Returns:

  • (Array)

    resources



51
52
53
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 51

def resources
  @resources
end

#securityArray

Returns security.

Returns:

  • (Array)

    security



54
55
56
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 54

def security
  @security
end

#socialArray

Returns social.

Returns:

  • (Array)

    social



57
58
59
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 57

def social
  @social
end

#solutionsArray

Returns solutions.

Returns:

  • (Array)

    solutions



60
61
62
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 60

def solutions
  @solutions
end

#sourcesArray

Returns sources.

Returns:

  • (Array)

    sources



90
91
92
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 90

def sources
  @sources
end

#supportArray

Returns support.

Returns:

  • (Array)

    support



63
64
65
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 63

def support
  @support
end

#teamArray

Returns team.

Returns:

  • (Array)

    team



66
67
68
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 66

def team
  @team
end

#technologiesArray

Returns technologies.

Returns:

  • (Array)

    technologies



69
70
71
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 69

def technologies
  @technologies
end

#tokensFloat

Returns tokens.

Returns:

  • (Float)

    tokens



93
94
95
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 93

def tokens
  @tokens
end

#updated_atString

Returns updatedAt.

Returns:

  • (String)

    updatedAt



87
88
89
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 87

def updated_at
  @updated_at
end

#updatesArray

Returns updates.

Returns:

  • (Array)

    updates



72
73
74
# File 'lib/thecompaniesapi/generated/models/page_contents_ideated.rb', line 72

def updates
  @updates
end

Instance Method Details

#to_hashHash Also known as: to_h

Convert to hash

Returns:

  • (Hash)

    Hash representation



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