-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmodel_company_profile.go
1300 lines (1116 loc) · 33.6 KB
/
model_company_profile.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
97
98
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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Finnhub API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
API version: 1.0.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package finnhub
import (
"encoding/json"
)
// CompanyProfile struct for CompanyProfile
type CompanyProfile struct {
// Company name alias.
Alias *[]string `json:"alias,omitempty"`
// Address of company's headquarter.
Address *string `json:"address,omitempty"`
// City of company's headquarter.
City *string `json:"city,omitempty"`
// Country of company's headquarter.
Country *string `json:"country,omitempty"`
// Currency used in company filings and financials.
Currency *string `json:"currency,omitempty"`
// Currency used in Estimates data.
EstimateCurrency *string `json:"estimateCurrency,omitempty"`
// Currency used in market capitalization.
MarketCapCurrency *string `json:"marketCapCurrency,omitempty"`
// CUSIP number.
Cusip *string `json:"cusip,omitempty"`
// Sedol number.
Sedol *string `json:"sedol,omitempty"`
// Company business summary.
Description *string `json:"description,omitempty"`
// Listed exchange.
Exchange *string `json:"exchange,omitempty"`
// Industry group.
Ggroup *string `json:"ggroup,omitempty"`
// Industry.
Gind *string `json:"gind,omitempty"`
// Sector.
Gsector *string `json:"gsector,omitempty"`
// Sub-industry.
Gsubind *string `json:"gsubind,omitempty"`
// ISIN number.
Isin *string `json:"isin,omitempty"`
// LEI number.
Lei *string `json:"lei,omitempty"`
// Investor relations website.
IrUrl *string `json:"irUrl,omitempty"`
// NAICS national industry.
NaicsNationalIndustry *string `json:"naicsNationalIndustry,omitempty"`
// NAICS industry.
Naics *string `json:"naics,omitempty"`
// NAICS sector.
NaicsSector *string `json:"naicsSector,omitempty"`
// NAICS subsector.
NaicsSubsector *string `json:"naicsSubsector,omitempty"`
// Company name.
Name *string `json:"name,omitempty"`
// Company phone number.
Phone *string `json:"phone,omitempty"`
// State of company's headquarter.
State *string `json:"state,omitempty"`
// Company symbol/ticker as used on the listed exchange.
Ticker *string `json:"ticker,omitempty"`
// Company website.
Weburl *string `json:"weburl,omitempty"`
// IPO date.
Ipo *string `json:"ipo,omitempty"`
// Market Capitalization.
MarketCapitalization *float32 `json:"marketCapitalization,omitempty"`
// Number of oustanding shares.
ShareOutstanding *float32 `json:"shareOutstanding,omitempty"`
// Number of employee.
EmployeeTotal *float32 `json:"employeeTotal,omitempty"`
// Logo image.
Logo *string `json:"logo,omitempty"`
// Finnhub industry classification.
FinnhubIndustry *string `json:"finnhubIndustry,omitempty"`
}
// NewCompanyProfile instantiates a new CompanyProfile object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewCompanyProfile() *CompanyProfile {
this := CompanyProfile{}
return &this
}
// NewCompanyProfileWithDefaults instantiates a new CompanyProfile object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewCompanyProfileWithDefaults() *CompanyProfile {
this := CompanyProfile{}
return &this
}
// GetAlias returns the Alias field value if set, zero value otherwise.
func (o *CompanyProfile) GetAlias() []string {
if o == nil || o.Alias == nil {
var ret []string
return ret
}
return *o.Alias
}
// GetAliasOk returns a tuple with the Alias field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetAliasOk() (*[]string, bool) {
if o == nil || o.Alias == nil {
return nil, false
}
return o.Alias, true
}
// HasAlias returns a boolean if a field has been set.
func (o *CompanyProfile) HasAlias() bool {
if o != nil && o.Alias != nil {
return true
}
return false
}
// SetAlias gets a reference to the given []string and assigns it to the Alias field.
func (o *CompanyProfile) SetAlias(v []string) {
o.Alias = &v
}
// GetAddress returns the Address field value if set, zero value otherwise.
func (o *CompanyProfile) GetAddress() string {
if o == nil || o.Address == nil {
var ret string
return ret
}
return *o.Address
}
// GetAddressOk returns a tuple with the Address field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetAddressOk() (*string, bool) {
if o == nil || o.Address == nil {
return nil, false
}
return o.Address, true
}
// HasAddress returns a boolean if a field has been set.
func (o *CompanyProfile) HasAddress() bool {
if o != nil && o.Address != nil {
return true
}
return false
}
// SetAddress gets a reference to the given string and assigns it to the Address field.
func (o *CompanyProfile) SetAddress(v string) {
o.Address = &v
}
// GetCity returns the City field value if set, zero value otherwise.
func (o *CompanyProfile) GetCity() string {
if o == nil || o.City == nil {
var ret string
return ret
}
return *o.City
}
// GetCityOk returns a tuple with the City field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetCityOk() (*string, bool) {
if o == nil || o.City == nil {
return nil, false
}
return o.City, true
}
// HasCity returns a boolean if a field has been set.
func (o *CompanyProfile) HasCity() bool {
if o != nil && o.City != nil {
return true
}
return false
}
// SetCity gets a reference to the given string and assigns it to the City field.
func (o *CompanyProfile) SetCity(v string) {
o.City = &v
}
// GetCountry returns the Country field value if set, zero value otherwise.
func (o *CompanyProfile) GetCountry() string {
if o == nil || o.Country == nil {
var ret string
return ret
}
return *o.Country
}
// GetCountryOk returns a tuple with the Country field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetCountryOk() (*string, bool) {
if o == nil || o.Country == nil {
return nil, false
}
return o.Country, true
}
// HasCountry returns a boolean if a field has been set.
func (o *CompanyProfile) HasCountry() bool {
if o != nil && o.Country != nil {
return true
}
return false
}
// SetCountry gets a reference to the given string and assigns it to the Country field.
func (o *CompanyProfile) SetCountry(v string) {
o.Country = &v
}
// GetCurrency returns the Currency field value if set, zero value otherwise.
func (o *CompanyProfile) GetCurrency() string {
if o == nil || o.Currency == nil {
var ret string
return ret
}
return *o.Currency
}
// GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetCurrencyOk() (*string, bool) {
if o == nil || o.Currency == nil {
return nil, false
}
return o.Currency, true
}
// HasCurrency returns a boolean if a field has been set.
func (o *CompanyProfile) HasCurrency() bool {
if o != nil && o.Currency != nil {
return true
}
return false
}
// SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (o *CompanyProfile) SetCurrency(v string) {
o.Currency = &v
}
// GetEstimateCurrency returns the EstimateCurrency field value if set, zero value otherwise.
func (o *CompanyProfile) GetEstimateCurrency() string {
if o == nil || o.EstimateCurrency == nil {
var ret string
return ret
}
return *o.EstimateCurrency
}
// GetEstimateCurrencyOk returns a tuple with the EstimateCurrency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetEstimateCurrencyOk() (*string, bool) {
if o == nil || o.EstimateCurrency == nil {
return nil, false
}
return o.EstimateCurrency, true
}
// HasEstimateCurrency returns a boolean if a field has been set.
func (o *CompanyProfile) HasEstimateCurrency() bool {
if o != nil && o.EstimateCurrency != nil {
return true
}
return false
}
// SetEstimateCurrency gets a reference to the given string and assigns it to the EstimateCurrency field.
func (o *CompanyProfile) SetEstimateCurrency(v string) {
o.EstimateCurrency = &v
}
// GetMarketCapCurrency returns the MarketCapCurrency field value if set, zero value otherwise.
func (o *CompanyProfile) GetMarketCapCurrency() string {
if o == nil || o.MarketCapCurrency == nil {
var ret string
return ret
}
return *o.MarketCapCurrency
}
// GetMarketCapCurrencyOk returns a tuple with the MarketCapCurrency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetMarketCapCurrencyOk() (*string, bool) {
if o == nil || o.MarketCapCurrency == nil {
return nil, false
}
return o.MarketCapCurrency, true
}
// HasMarketCapCurrency returns a boolean if a field has been set.
func (o *CompanyProfile) HasMarketCapCurrency() bool {
if o != nil && o.MarketCapCurrency != nil {
return true
}
return false
}
// SetMarketCapCurrency gets a reference to the given string and assigns it to the MarketCapCurrency field.
func (o *CompanyProfile) SetMarketCapCurrency(v string) {
o.MarketCapCurrency = &v
}
// GetCusip returns the Cusip field value if set, zero value otherwise.
func (o *CompanyProfile) GetCusip() string {
if o == nil || o.Cusip == nil {
var ret string
return ret
}
return *o.Cusip
}
// GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetCusipOk() (*string, bool) {
if o == nil || o.Cusip == nil {
return nil, false
}
return o.Cusip, true
}
// HasCusip returns a boolean if a field has been set.
func (o *CompanyProfile) HasCusip() bool {
if o != nil && o.Cusip != nil {
return true
}
return false
}
// SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (o *CompanyProfile) SetCusip(v string) {
o.Cusip = &v
}
// GetSedol returns the Sedol field value if set, zero value otherwise.
func (o *CompanyProfile) GetSedol() string {
if o == nil || o.Sedol == nil {
var ret string
return ret
}
return *o.Sedol
}
// GetSedolOk returns a tuple with the Sedol field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetSedolOk() (*string, bool) {
if o == nil || o.Sedol == nil {
return nil, false
}
return o.Sedol, true
}
// HasSedol returns a boolean if a field has been set.
func (o *CompanyProfile) HasSedol() bool {
if o != nil && o.Sedol != nil {
return true
}
return false
}
// SetSedol gets a reference to the given string and assigns it to the Sedol field.
func (o *CompanyProfile) SetSedol(v string) {
o.Sedol = &v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *CompanyProfile) GetDescription() string {
if o == nil || o.Description == nil {
var ret string
return ret
}
return *o.Description
}
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetDescriptionOk() (*string, bool) {
if o == nil || o.Description == nil {
return nil, false
}
return o.Description, true
}
// HasDescription returns a boolean if a field has been set.
func (o *CompanyProfile) HasDescription() bool {
if o != nil && o.Description != nil {
return true
}
return false
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *CompanyProfile) SetDescription(v string) {
o.Description = &v
}
// GetExchange returns the Exchange field value if set, zero value otherwise.
func (o *CompanyProfile) GetExchange() string {
if o == nil || o.Exchange == nil {
var ret string
return ret
}
return *o.Exchange
}
// GetExchangeOk returns a tuple with the Exchange field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetExchangeOk() (*string, bool) {
if o == nil || o.Exchange == nil {
return nil, false
}
return o.Exchange, true
}
// HasExchange returns a boolean if a field has been set.
func (o *CompanyProfile) HasExchange() bool {
if o != nil && o.Exchange != nil {
return true
}
return false
}
// SetExchange gets a reference to the given string and assigns it to the Exchange field.
func (o *CompanyProfile) SetExchange(v string) {
o.Exchange = &v
}
// GetGgroup returns the Ggroup field value if set, zero value otherwise.
func (o *CompanyProfile) GetGgroup() string {
if o == nil || o.Ggroup == nil {
var ret string
return ret
}
return *o.Ggroup
}
// GetGgroupOk returns a tuple with the Ggroup field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetGgroupOk() (*string, bool) {
if o == nil || o.Ggroup == nil {
return nil, false
}
return o.Ggroup, true
}
// HasGgroup returns a boolean if a field has been set.
func (o *CompanyProfile) HasGgroup() bool {
if o != nil && o.Ggroup != nil {
return true
}
return false
}
// SetGgroup gets a reference to the given string and assigns it to the Ggroup field.
func (o *CompanyProfile) SetGgroup(v string) {
o.Ggroup = &v
}
// GetGind returns the Gind field value if set, zero value otherwise.
func (o *CompanyProfile) GetGind() string {
if o == nil || o.Gind == nil {
var ret string
return ret
}
return *o.Gind
}
// GetGindOk returns a tuple with the Gind field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetGindOk() (*string, bool) {
if o == nil || o.Gind == nil {
return nil, false
}
return o.Gind, true
}
// HasGind returns a boolean if a field has been set.
func (o *CompanyProfile) HasGind() bool {
if o != nil && o.Gind != nil {
return true
}
return false
}
// SetGind gets a reference to the given string and assigns it to the Gind field.
func (o *CompanyProfile) SetGind(v string) {
o.Gind = &v
}
// GetGsector returns the Gsector field value if set, zero value otherwise.
func (o *CompanyProfile) GetGsector() string {
if o == nil || o.Gsector == nil {
var ret string
return ret
}
return *o.Gsector
}
// GetGsectorOk returns a tuple with the Gsector field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetGsectorOk() (*string, bool) {
if o == nil || o.Gsector == nil {
return nil, false
}
return o.Gsector, true
}
// HasGsector returns a boolean if a field has been set.
func (o *CompanyProfile) HasGsector() bool {
if o != nil && o.Gsector != nil {
return true
}
return false
}
// SetGsector gets a reference to the given string and assigns it to the Gsector field.
func (o *CompanyProfile) SetGsector(v string) {
o.Gsector = &v
}
// GetGsubind returns the Gsubind field value if set, zero value otherwise.
func (o *CompanyProfile) GetGsubind() string {
if o == nil || o.Gsubind == nil {
var ret string
return ret
}
return *o.Gsubind
}
// GetGsubindOk returns a tuple with the Gsubind field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetGsubindOk() (*string, bool) {
if o == nil || o.Gsubind == nil {
return nil, false
}
return o.Gsubind, true
}
// HasGsubind returns a boolean if a field has been set.
func (o *CompanyProfile) HasGsubind() bool {
if o != nil && o.Gsubind != nil {
return true
}
return false
}
// SetGsubind gets a reference to the given string and assigns it to the Gsubind field.
func (o *CompanyProfile) SetGsubind(v string) {
o.Gsubind = &v
}
// GetIsin returns the Isin field value if set, zero value otherwise.
func (o *CompanyProfile) GetIsin() string {
if o == nil || o.Isin == nil {
var ret string
return ret
}
return *o.Isin
}
// GetIsinOk returns a tuple with the Isin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetIsinOk() (*string, bool) {
if o == nil || o.Isin == nil {
return nil, false
}
return o.Isin, true
}
// HasIsin returns a boolean if a field has been set.
func (o *CompanyProfile) HasIsin() bool {
if o != nil && o.Isin != nil {
return true
}
return false
}
// SetIsin gets a reference to the given string and assigns it to the Isin field.
func (o *CompanyProfile) SetIsin(v string) {
o.Isin = &v
}
// GetLei returns the Lei field value if set, zero value otherwise.
func (o *CompanyProfile) GetLei() string {
if o == nil || o.Lei == nil {
var ret string
return ret
}
return *o.Lei
}
// GetLeiOk returns a tuple with the Lei field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetLeiOk() (*string, bool) {
if o == nil || o.Lei == nil {
return nil, false
}
return o.Lei, true
}
// HasLei returns a boolean if a field has been set.
func (o *CompanyProfile) HasLei() bool {
if o != nil && o.Lei != nil {
return true
}
return false
}
// SetLei gets a reference to the given string and assigns it to the Lei field.
func (o *CompanyProfile) SetLei(v string) {
o.Lei = &v
}
// GetIrUrl returns the IrUrl field value if set, zero value otherwise.
func (o *CompanyProfile) GetIrUrl() string {
if o == nil || o.IrUrl == nil {
var ret string
return ret
}
return *o.IrUrl
}
// GetIrUrlOk returns a tuple with the IrUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetIrUrlOk() (*string, bool) {
if o == nil || o.IrUrl == nil {
return nil, false
}
return o.IrUrl, true
}
// HasIrUrl returns a boolean if a field has been set.
func (o *CompanyProfile) HasIrUrl() bool {
if o != nil && o.IrUrl != nil {
return true
}
return false
}
// SetIrUrl gets a reference to the given string and assigns it to the IrUrl field.
func (o *CompanyProfile) SetIrUrl(v string) {
o.IrUrl = &v
}
// GetNaicsNationalIndustry returns the NaicsNationalIndustry field value if set, zero value otherwise.
func (o *CompanyProfile) GetNaicsNationalIndustry() string {
if o == nil || o.NaicsNationalIndustry == nil {
var ret string
return ret
}
return *o.NaicsNationalIndustry
}
// GetNaicsNationalIndustryOk returns a tuple with the NaicsNationalIndustry field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetNaicsNationalIndustryOk() (*string, bool) {
if o == nil || o.NaicsNationalIndustry == nil {
return nil, false
}
return o.NaicsNationalIndustry, true
}
// HasNaicsNationalIndustry returns a boolean if a field has been set.
func (o *CompanyProfile) HasNaicsNationalIndustry() bool {
if o != nil && o.NaicsNationalIndustry != nil {
return true
}
return false
}
// SetNaicsNationalIndustry gets a reference to the given string and assigns it to the NaicsNationalIndustry field.
func (o *CompanyProfile) SetNaicsNationalIndustry(v string) {
o.NaicsNationalIndustry = &v
}
// GetNaics returns the Naics field value if set, zero value otherwise.
func (o *CompanyProfile) GetNaics() string {
if o == nil || o.Naics == nil {
var ret string
return ret
}
return *o.Naics
}
// GetNaicsOk returns a tuple with the Naics field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetNaicsOk() (*string, bool) {
if o == nil || o.Naics == nil {
return nil, false
}
return o.Naics, true
}
// HasNaics returns a boolean if a field has been set.
func (o *CompanyProfile) HasNaics() bool {
if o != nil && o.Naics != nil {
return true
}
return false
}
// SetNaics gets a reference to the given string and assigns it to the Naics field.
func (o *CompanyProfile) SetNaics(v string) {
o.Naics = &v
}
// GetNaicsSector returns the NaicsSector field value if set, zero value otherwise.
func (o *CompanyProfile) GetNaicsSector() string {
if o == nil || o.NaicsSector == nil {
var ret string
return ret
}
return *o.NaicsSector
}
// GetNaicsSectorOk returns a tuple with the NaicsSector field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetNaicsSectorOk() (*string, bool) {
if o == nil || o.NaicsSector == nil {
return nil, false
}
return o.NaicsSector, true
}
// HasNaicsSector returns a boolean if a field has been set.
func (o *CompanyProfile) HasNaicsSector() bool {
if o != nil && o.NaicsSector != nil {
return true
}
return false
}
// SetNaicsSector gets a reference to the given string and assigns it to the NaicsSector field.
func (o *CompanyProfile) SetNaicsSector(v string) {
o.NaicsSector = &v
}
// GetNaicsSubsector returns the NaicsSubsector field value if set, zero value otherwise.
func (o *CompanyProfile) GetNaicsSubsector() string {
if o == nil || o.NaicsSubsector == nil {
var ret string
return ret
}
return *o.NaicsSubsector
}
// GetNaicsSubsectorOk returns a tuple with the NaicsSubsector field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetNaicsSubsectorOk() (*string, bool) {
if o == nil || o.NaicsSubsector == nil {
return nil, false
}
return o.NaicsSubsector, true
}
// HasNaicsSubsector returns a boolean if a field has been set.
func (o *CompanyProfile) HasNaicsSubsector() bool {
if o != nil && o.NaicsSubsector != nil {
return true
}
return false
}
// SetNaicsSubsector gets a reference to the given string and assigns it to the NaicsSubsector field.
func (o *CompanyProfile) SetNaicsSubsector(v string) {
o.NaicsSubsector = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *CompanyProfile) GetName() string {
if o == nil || o.Name == nil {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetNameOk() (*string, bool) {
if o == nil || o.Name == nil {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *CompanyProfile) HasName() bool {
if o != nil && o.Name != nil {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *CompanyProfile) SetName(v string) {
o.Name = &v
}
// GetPhone returns the Phone field value if set, zero value otherwise.
func (o *CompanyProfile) GetPhone() string {
if o == nil || o.Phone == nil {
var ret string
return ret
}
return *o.Phone
}
// GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetPhoneOk() (*string, bool) {
if o == nil || o.Phone == nil {
return nil, false
}
return o.Phone, true
}
// HasPhone returns a boolean if a field has been set.
func (o *CompanyProfile) HasPhone() bool {
if o != nil && o.Phone != nil {
return true
}
return false
}
// SetPhone gets a reference to the given string and assigns it to the Phone field.
func (o *CompanyProfile) SetPhone(v string) {
o.Phone = &v
}
// GetState returns the State field value if set, zero value otherwise.
func (o *CompanyProfile) GetState() string {
if o == nil || o.State == nil {
var ret string
return ret
}
return *o.State
}
// GetStateOk returns a tuple with the State field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetStateOk() (*string, bool) {
if o == nil || o.State == nil {
return nil, false
}
return o.State, true
}
// HasState returns a boolean if a field has been set.
func (o *CompanyProfile) HasState() bool {
if o != nil && o.State != nil {
return true
}
return false
}
// SetState gets a reference to the given string and assigns it to the State field.
func (o *CompanyProfile) SetState(v string) {
o.State = &v
}
// GetTicker returns the Ticker field value if set, zero value otherwise.
func (o *CompanyProfile) GetTicker() string {
if o == nil || o.Ticker == nil {
var ret string
return ret
}
return *o.Ticker
}
// GetTickerOk returns a tuple with the Ticker field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetTickerOk() (*string, bool) {
if o == nil || o.Ticker == nil {
return nil, false
}
return o.Ticker, true
}
// HasTicker returns a boolean if a field has been set.
func (o *CompanyProfile) HasTicker() bool {
if o != nil && o.Ticker != nil {
return true
}
return false
}
// SetTicker gets a reference to the given string and assigns it to the Ticker field.
func (o *CompanyProfile) SetTicker(v string) {
o.Ticker = &v
}
// GetWeburl returns the Weburl field value if set, zero value otherwise.
func (o *CompanyProfile) GetWeburl() string {
if o == nil || o.Weburl == nil {
var ret string
return ret
}
return *o.Weburl
}
// GetWeburlOk returns a tuple with the Weburl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetWeburlOk() (*string, bool) {
if o == nil || o.Weburl == nil {
return nil, false
}
return o.Weburl, true
}
// HasWeburl returns a boolean if a field has been set.
func (o *CompanyProfile) HasWeburl() bool {
if o != nil && o.Weburl != nil {
return true
}
return false
}
// SetWeburl gets a reference to the given string and assigns it to the Weburl field.
func (o *CompanyProfile) SetWeburl(v string) {
o.Weburl = &v
}
// GetIpo returns the Ipo field value if set, zero value otherwise.
func (o *CompanyProfile) GetIpo() string {
if o == nil || o.Ipo == nil {
var ret string
return ret
}
return *o.Ipo
}
// GetIpoOk returns a tuple with the Ipo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CompanyProfile) GetIpoOk() (*string, bool) {
if o == nil || o.Ipo == nil {
return nil, false
}
return o.Ipo, true
}
// HasIpo returns a boolean if a field has been set.
func (o *CompanyProfile) HasIpo() bool {
if o != nil && o.Ipo != nil {
return true
}
return false
}
// SetIpo gets a reference to the given string and assigns it to the Ipo field.
func (o *CompanyProfile) SetIpo(v string) {
o.Ipo = &v
}
// GetMarketCapitalization returns the MarketCapitalization field value if set, zero value otherwise.