Class: CrelateClient::PublicApiSaveJobRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/crelate_client/models/public_api_save_job_request.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ PublicApiSaveJobRequest

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 385

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}

  if attributes.has_key?(:'ActualValue')
    self.actual_value = attributes[:'ActualValue']
  end

  if attributes.has_key?(:'AdditionalContact_Client_FirstName')
    self.additional_contact_client_first_name = attributes[:'AdditionalContact_Client_FirstName']
  end

  if attributes.has_key?(:'AdditionalContact_Client_Id')
    self.additional_contact_client_id = attributes[:'AdditionalContact_Client_Id']
  end

  if attributes.has_key?(:'AdditionalContact_Client_IsPrimary')
    self.additional_contact_client_is_primary = attributes[:'AdditionalContact_Client_IsPrimary']
  end

  if attributes.has_key?(:'AdditionalContact_Client_LastName')
    self.additional_contact_client_last_name = attributes[:'AdditionalContact_Client_LastName']
  end

  if attributes.has_key?(:'Address_Business_City')
    self.address_business_city = attributes[:'Address_Business_City']
  end

  if attributes.has_key?(:'Address_Business_Country')
    self.address_business_country = attributes[:'Address_Business_Country']
  end

  if attributes.has_key?(:'Address_Business_IsPrimary')
    self.address_business_is_primary = attributes[:'Address_Business_IsPrimary']
  end

  if attributes.has_key?(:'Address_Business_Line1')
    self.address_business_line1 = attributes[:'Address_Business_Line1']
  end

  if attributes.has_key?(:'Address_Business_State')
    self.address_business_state = attributes[:'Address_Business_State']
  end

  if attributes.has_key?(:'Address_Business_ZipCode')
    self.address_business_zip_code = attributes[:'Address_Business_ZipCode']
  end

  if attributes.has_key?(:'Address_Other_City')
    self.address_other_city = attributes[:'Address_Other_City']
  end

  if attributes.has_key?(:'Address_Other_Country')
    self.address_other_country = attributes[:'Address_Other_Country']
  end

  if attributes.has_key?(:'Address_Other_IsPrimary')
    self.address_other_is_primary = attributes[:'Address_Other_IsPrimary']
  end

  if attributes.has_key?(:'Address_Other_Line1')
    self.address_other_line1 = attributes[:'Address_Other_Line1']
  end

  if attributes.has_key?(:'Address_Other_State')
    self.address_other_state = attributes[:'Address_Other_State']
  end

  if attributes.has_key?(:'Address_Other_ZipCode')
    self.address_other_zip_code = attributes[:'Address_Other_ZipCode']
  end

  if attributes.has_key?(:'BillRate')
    self.bill_rate = attributes[:'BillRate']
  end

  if attributes.has_key?(:'Bonus')
    self.bonus = attributes[:'Bonus']
  end

  if attributes.has_key?(:'Commission')
    self.commission = attributes[:'Commission']
  end

  if attributes.has_key?(:'Company_Id')
    self.company_id = attributes[:'Company_Id']
  end

  if attributes.has_key?(:'Company_Name')
    self.company_name = attributes[:'Company_Name']
  end

  if attributes.has_key?(:'Compensation')
    self.compensation = attributes[:'Compensation']
  end

  if attributes.has_key?(:'CompensationDetails')
    self.compensation_details = attributes[:'CompensationDetails']
  end

  if attributes.has_key?(:'CustomField1')
    self.custom_field1 = attributes[:'CustomField1']
  end

  if attributes.has_key?(:'CustomField10')
    self.custom_field10 = attributes[:'CustomField10']
  end

  if attributes.has_key?(:'CustomField11')
    self.custom_field11 = attributes[:'CustomField11']
  end

  if attributes.has_key?(:'CustomField12')
    self.custom_field12 = attributes[:'CustomField12']
  end

  if attributes.has_key?(:'CustomField13')
    self.custom_field13 = attributes[:'CustomField13']
  end

  if attributes.has_key?(:'CustomField14')
    self.custom_field14 = attributes[:'CustomField14']
  end

  if attributes.has_key?(:'CustomField15')
    self.custom_field15 = attributes[:'CustomField15']
  end

  if attributes.has_key?(:'CustomField16')
    self.custom_field16 = attributes[:'CustomField16']
  end

  if attributes.has_key?(:'CustomField17')
    self.custom_field17 = attributes[:'CustomField17']
  end

  if attributes.has_key?(:'CustomField18')
    self.custom_field18 = attributes[:'CustomField18']
  end

  if attributes.has_key?(:'CustomField19')
    self.custom_field19 = attributes[:'CustomField19']
  end

  if attributes.has_key?(:'CustomField2')
    self.custom_field2 = attributes[:'CustomField2']
  end

  if attributes.has_key?(:'CustomField20')
    self.custom_field20 = attributes[:'CustomField20']
  end

  if attributes.has_key?(:'CustomField21')
    self.custom_field21 = attributes[:'CustomField21']
  end

  if attributes.has_key?(:'CustomField22')
    self.custom_field22 = attributes[:'CustomField22']
  end

  if attributes.has_key?(:'CustomField23')
    self.custom_field23 = attributes[:'CustomField23']
  end

  if attributes.has_key?(:'CustomField24')
    self.custom_field24 = attributes[:'CustomField24']
  end

  if attributes.has_key?(:'CustomField25')
    self.custom_field25 = attributes[:'CustomField25']
  end

  if attributes.has_key?(:'CustomField26')
    self.custom_field26 = attributes[:'CustomField26']
  end

  if attributes.has_key?(:'CustomField27')
    self.custom_field27 = attributes[:'CustomField27']
  end

  if attributes.has_key?(:'CustomField28')
    self.custom_field28 = attributes[:'CustomField28']
  end

  if attributes.has_key?(:'CustomField29')
    self.custom_field29 = attributes[:'CustomField29']
  end

  if attributes.has_key?(:'CustomField3')
    self.custom_field3 = attributes[:'CustomField3']
  end

  if attributes.has_key?(:'CustomField30')
    self.custom_field30 = attributes[:'CustomField30']
  end

  if attributes.has_key?(:'CustomField4')
    self.custom_field4 = attributes[:'CustomField4']
  end

  if attributes.has_key?(:'CustomField5')
    self.custom_field5 = attributes[:'CustomField5']
  end

  if attributes.has_key?(:'CustomField6')
    self.custom_field6 = attributes[:'CustomField6']
  end

  if attributes.has_key?(:'CustomField7')
    self.custom_field7 = attributes[:'CustomField7']
  end

  if attributes.has_key?(:'CustomField8')
    self.custom_field8 = attributes[:'CustomField8']
  end

  if attributes.has_key?(:'CustomField9')
    self.custom_field9 = attributes[:'CustomField9']
  end

  if attributes.has_key?(:'Description')
    self.description = attributes[:'Description']
  end

  if attributes.has_key?(:'Discount')
    self.discount = attributes[:'Discount']
  end

  if attributes.has_key?(:'EstimatedCloseDate')
    self.estimated_close_date = attributes[:'EstimatedCloseDate']
  end

  if attributes.has_key?(:'ExternalPrimaryKey')
    self.external_primary_key = attributes[:'ExternalPrimaryKey']
  end

  if attributes.has_key?(:'Fee')
    self.fee = attributes[:'Fee']
  end

  if attributes.has_key?(:'FeePercent')
    self.fee_percent = attributes[:'FeePercent']
  end

  if attributes.has_key?(:'HourlyRate')
    self.hourly_rate = attributes[:'HourlyRate']
  end

  if attributes.has_key?(:'IsLead')
    self.is_lead = attributes[:'IsLead']
  end

  if attributes.has_key?(:'IsOnHold')
    self.is_on_hold = attributes[:'IsOnHold']
  end

  if attributes.has_key?(:'JobTitle_Id')
    self.job_title_id = attributes[:'JobTitle_Id']
  end

  if attributes.has_key?(:'JobTitle_Name')
    self.job_title_name = attributes[:'JobTitle_Name']
  end

  if attributes.has_key?(:'JobTypes')
    if (value = attributes[:'JobTypes']).is_a?(Array)
      self.job_types = value
    end
  end

  if attributes.has_key?(:'LeadSource_Id')
    self.lead_source_id = attributes[:'LeadSource_Id']
  end

  if attributes.has_key?(:'LeadSource_Name')
    self.lead_source_name = attributes[:'LeadSource_Name']
  end

  if attributes.has_key?(:'Margin')
    self.margin = attributes[:'Margin']
  end

  if attributes.has_key?(:'Name')
    self.name = attributes[:'Name']
  end

  if attributes.has_key?(:'NumberOfOpenings')
    self.number_of_openings = attributes[:'NumberOfOpenings']
  end

  if attributes.has_key?(:'OpportunityType_Id')
    self.opportunity_type_id = attributes[:'OpportunityType_Id']
  end

  if attributes.has_key?(:'OpportunityType_Name')
    self.opportunity_type_name = attributes[:'OpportunityType_Name']
  end

  if attributes.has_key?(:'ParentJob_Id')
    self.parent_job_id = attributes[:'ParentJob_Id']
  end

  if attributes.has_key?(:'ParentJob_Name')
    self.parent_job_name = attributes[:'ParentJob_Name']
  end

  if attributes.has_key?(:'PayRate')
    self.pay_rate = attributes[:'PayRate']
  end

  if attributes.has_key?(:'PotentialValue')
    self.potential_value = attributes[:'PotentialValue']
  end

  if attributes.has_key?(:'Priority_Id')
    self.priority_id = attributes[:'Priority_Id']
  end

  if attributes.has_key?(:'Priority_Name')
    self.priority_name = attributes[:'Priority_Name']
  end

  if attributes.has_key?(:'Probability')
    self.probability = attributes[:'Probability']
  end

  if attributes.has_key?(:'Salary')
    self.salary = attributes[:'Salary']
  end

  if attributes.has_key?(:'StartDate')
    self.start_date = attributes[:'StartDate']
  end

  if attributes.has_key?(:'Tags')
    if (value = attributes[:'Tags']).is_a?(Hash)
      self.tags = value
    end
  end

  if attributes.has_key?(:'TotalHours')
    self.total_hours = attributes[:'TotalHours']
  end

  if attributes.has_key?(:'Website_Description')
    self.website_description = attributes[:'Website_Description']
  end

  if attributes.has_key?(:'Website_Description_IsPrimary')
    self.website_description_is_primary = attributes[:'Website_Description_IsPrimary']
  end

  if attributes.has_key?(:'Website_Other')
    self.website_other = attributes[:'Website_Other']
  end

  if attributes.has_key?(:'Website_Other_IsPrimary')
    self.website_other_is_primary = attributes[:'Website_Other_IsPrimary']
  end

end

Instance Attribute Details

#actual_valueObject

Returns the value of attribute actual_value.



18
19
20
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 18

def actual_value
  @actual_value
end

#additional_contact_client_first_nameObject

Returns the value of attribute additional_contact_client_first_name.



20
21
22
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 20

def additional_contact_client_first_name
  @additional_contact_client_first_name
end

#additional_contact_client_idObject

Returns the value of attribute additional_contact_client_id.



22
23
24
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 22

def additional_contact_client_id
  @additional_contact_client_id
end

#additional_contact_client_is_primaryObject

Returns the value of attribute additional_contact_client_is_primary.



24
25
26
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 24

def additional_contact_client_is_primary
  @additional_contact_client_is_primary
end

#additional_contact_client_last_nameObject

Returns the value of attribute additional_contact_client_last_name.



26
27
28
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 26

def additional_contact_client_last_name
  @additional_contact_client_last_name
end

#address_business_cityObject

Returns the value of attribute address_business_city.



28
29
30
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 28

def address_business_city
  @address_business_city
end

#address_business_countryObject

Returns the value of attribute address_business_country.



30
31
32
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 30

def address_business_country
  @address_business_country
end

#address_business_is_primaryObject

Returns the value of attribute address_business_is_primary.



32
33
34
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 32

def address_business_is_primary
  @address_business_is_primary
end

#address_business_line1Object

Returns the value of attribute address_business_line1.



34
35
36
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 34

def address_business_line1
  @address_business_line1
end

#address_business_stateObject

Returns the value of attribute address_business_state.



36
37
38
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 36

def address_business_state
  @address_business_state
end

#address_business_zip_codeObject

Returns the value of attribute address_business_zip_code.



38
39
40
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 38

def address_business_zip_code
  @address_business_zip_code
end

#address_other_cityObject

Returns the value of attribute address_other_city.



40
41
42
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 40

def address_other_city
  @address_other_city
end

#address_other_countryObject

Returns the value of attribute address_other_country.



42
43
44
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 42

def address_other_country
  @address_other_country
end

#address_other_is_primaryObject

Returns the value of attribute address_other_is_primary.



44
45
46
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 44

def address_other_is_primary
  @address_other_is_primary
end

#address_other_line1Object

Returns the value of attribute address_other_line1.



46
47
48
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 46

def address_other_line1
  @address_other_line1
end

#address_other_stateObject

Returns the value of attribute address_other_state.



48
49
50
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 48

def address_other_state
  @address_other_state
end

#address_other_zip_codeObject

Returns the value of attribute address_other_zip_code.



50
51
52
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 50

def address_other_zip_code
  @address_other_zip_code
end

#bill_rateObject

Returns the value of attribute bill_rate.



52
53
54
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 52

def bill_rate
  @bill_rate
end

#bonusObject

Returns the value of attribute bonus.



54
55
56
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 54

def bonus
  @bonus
end

#commissionObject

Returns the value of attribute commission.



56
57
58
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 56

def commission
  @commission
end

#company_idObject

Returns the value of attribute company_id.



58
59
60
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 58

def company_id
  @company_id
end

#company_nameObject

Returns the value of attribute company_name.



60
61
62
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 60

def company_name
  @company_name
end

#compensationObject

Returns the value of attribute compensation.



62
63
64
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 62

def compensation
  @compensation
end

#compensation_detailsObject

Returns the value of attribute compensation_details.



64
65
66
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 64

def compensation_details
  @compensation_details
end

#custom_field1Object

Returns the value of attribute custom_field1.



66
67
68
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 66

def custom_field1
  @custom_field1
end

#custom_field10Object

Returns the value of attribute custom_field10.



68
69
70
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 68

def custom_field10
  @custom_field10
end

#custom_field11Object

Returns the value of attribute custom_field11.



70
71
72
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 70

def custom_field11
  @custom_field11
end

#custom_field12Object

Returns the value of attribute custom_field12.



72
73
74
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 72

def custom_field12
  @custom_field12
end

#custom_field13Object

Returns the value of attribute custom_field13.



74
75
76
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 74

def custom_field13
  @custom_field13
end

#custom_field14Object

Returns the value of attribute custom_field14.



76
77
78
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 76

def custom_field14
  @custom_field14
end

#custom_field15Object

Returns the value of attribute custom_field15.



78
79
80
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 78

def custom_field15
  @custom_field15
end

#custom_field16Object

Returns the value of attribute custom_field16.



80
81
82
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 80

def custom_field16
  @custom_field16
end

#custom_field17Object

Returns the value of attribute custom_field17.



82
83
84
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 82

def custom_field17
  @custom_field17
end

#custom_field18Object

Returns the value of attribute custom_field18.



84
85
86
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 84

def custom_field18
  @custom_field18
end

#custom_field19Object

Returns the value of attribute custom_field19.



86
87
88
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 86

def custom_field19
  @custom_field19
end

#custom_field2Object

Returns the value of attribute custom_field2.



88
89
90
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 88

def custom_field2
  @custom_field2
end

#custom_field20Object

Returns the value of attribute custom_field20.



90
91
92
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 90

def custom_field20
  @custom_field20
end

#custom_field21Object

Returns the value of attribute custom_field21.



92
93
94
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 92

def custom_field21
  @custom_field21
end

#custom_field22Object

Returns the value of attribute custom_field22.



94
95
96
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 94

def custom_field22
  @custom_field22
end

#custom_field23Object

Returns the value of attribute custom_field23.



96
97
98
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 96

def custom_field23
  @custom_field23
end

#custom_field24Object

Returns the value of attribute custom_field24.



98
99
100
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 98

def custom_field24
  @custom_field24
end

#custom_field25Object

Returns the value of attribute custom_field25.



100
101
102
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 100

def custom_field25
  @custom_field25
end

#custom_field26Object

Returns the value of attribute custom_field26.



102
103
104
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 102

def custom_field26
  @custom_field26
end

#custom_field27Object

Returns the value of attribute custom_field27.



104
105
106
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 104

def custom_field27
  @custom_field27
end

#custom_field28Object

Returns the value of attribute custom_field28.



106
107
108
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 106

def custom_field28
  @custom_field28
end

#custom_field29Object

Returns the value of attribute custom_field29.



108
109
110
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 108

def custom_field29
  @custom_field29
end

#custom_field3Object

Returns the value of attribute custom_field3.



110
111
112
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 110

def custom_field3
  @custom_field3
end

#custom_field30Object

Returns the value of attribute custom_field30.



112
113
114
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 112

def custom_field30
  @custom_field30
end

#custom_field4Object

Returns the value of attribute custom_field4.



114
115
116
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 114

def custom_field4
  @custom_field4
end

#custom_field5Object

Returns the value of attribute custom_field5.



116
117
118
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 116

def custom_field5
  @custom_field5
end

#custom_field6Object

Returns the value of attribute custom_field6.



118
119
120
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 118

def custom_field6
  @custom_field6
end

#custom_field7Object

Returns the value of attribute custom_field7.



120
121
122
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 120

def custom_field7
  @custom_field7
end

#custom_field8Object

Returns the value of attribute custom_field8.



122
123
124
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 122

def custom_field8
  @custom_field8
end

#custom_field9Object

Returns the value of attribute custom_field9.



124
125
126
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 124

def custom_field9
  @custom_field9
end

#descriptionObject

Returns the value of attribute description.



126
127
128
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 126

def description
  @description
end

#discountObject

Returns the value of attribute discount.



128
129
130
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 128

def discount
  @discount
end

#estimated_close_dateObject

Returns the value of attribute estimated_close_date.



130
131
132
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 130

def estimated_close_date
  @estimated_close_date
end

#external_primary_keyObject

Returns the value of attribute external_primary_key.



132
133
134
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 132

def external_primary_key
  @external_primary_key
end

#feeObject

Returns the value of attribute fee.



134
135
136
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 134

def fee
  @fee
end

#fee_percentObject

Returns the value of attribute fee_percent.



136
137
138
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 136

def fee_percent
  @fee_percent
end

#hourly_rateObject

Returns the value of attribute hourly_rate.



138
139
140
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 138

def hourly_rate
  @hourly_rate
end

#is_leadObject

Returns the value of attribute is_lead.



140
141
142
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 140

def is_lead
  @is_lead
end

#is_on_holdObject

Returns the value of attribute is_on_hold.



142
143
144
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 142

def is_on_hold
  @is_on_hold
end

#job_title_idObject

Returns the value of attribute job_title_id.



144
145
146
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 144

def job_title_id
  @job_title_id
end

#job_title_nameObject

Returns the value of attribute job_title_name.



146
147
148
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 146

def job_title_name
  @job_title_name
end

#job_typesObject

Returns the value of attribute job_types.



148
149
150
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 148

def job_types
  @job_types
end

#lead_source_idObject

Returns the value of attribute lead_source_id.



150
151
152
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 150

def lead_source_id
  @lead_source_id
end

#lead_source_nameObject

Returns the value of attribute lead_source_name.



152
153
154
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 152

def lead_source_name
  @lead_source_name
end

#marginObject

Returns the value of attribute margin.



154
155
156
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 154

def margin
  @margin
end

#nameObject

Returns the value of attribute name.



156
157
158
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 156

def name
  @name
end

#number_of_openingsObject

Returns the value of attribute number_of_openings.



158
159
160
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 158

def number_of_openings
  @number_of_openings
end

#opportunity_type_idObject

Returns the value of attribute opportunity_type_id.



160
161
162
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 160

def opportunity_type_id
  @opportunity_type_id
end

#opportunity_type_nameObject

Returns the value of attribute opportunity_type_name.



162
163
164
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 162

def opportunity_type_name
  @opportunity_type_name
end

#parent_job_idObject

Returns the value of attribute parent_job_id.



164
165
166
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 164

def parent_job_id
  @parent_job_id
end

#parent_job_nameObject

Returns the value of attribute parent_job_name.



166
167
168
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 166

def parent_job_name
  @parent_job_name
end

#pay_rateObject

Returns the value of attribute pay_rate.



168
169
170
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 168

def pay_rate
  @pay_rate
end

#potential_valueObject

Returns the value of attribute potential_value.



170
171
172
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 170

def potential_value
  @potential_value
end

#priority_idObject

Returns the value of attribute priority_id.



172
173
174
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 172

def priority_id
  @priority_id
end

#priority_nameObject

Returns the value of attribute priority_name.



174
175
176
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 174

def priority_name
  @priority_name
end

#probabilityObject

Returns the value of attribute probability.



176
177
178
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 176

def probability
  @probability
end

#salaryObject

Returns the value of attribute salary.



178
179
180
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 178

def salary
  @salary
end

#start_dateObject

Returns the value of attribute start_date.



180
181
182
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 180

def start_date
  @start_date
end

#tagsObject

Returns the value of attribute tags.



182
183
184
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 182

def tags
  @tags
end

#total_hoursObject

Returns the value of attribute total_hours.



184
185
186
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 184

def total_hours
  @total_hours
end

#website_descriptionObject

Returns the value of attribute website_description.



186
187
188
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 186

def website_description
  @website_description
end

#website_description_is_primaryObject

Returns the value of attribute website_description_is_primary.



188
189
190
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 188

def website_description_is_primary
  @website_description_is_primary
end

#website_otherObject

Returns the value of attribute website_other.



190
191
192
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 190

def website_other
  @website_other
end

#website_other_is_primaryObject

Returns the value of attribute website_other_is_primary.



192
193
194
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 192

def website_other_is_primary
  @website_other_is_primary
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



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
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 196

def self.attribute_map
  {
    :'actual_value' => :'ActualValue',
    :'additional_contact_client_first_name' => :'AdditionalContact_Client_FirstName',
    :'additional_contact_client_id' => :'AdditionalContact_Client_Id',
    :'additional_contact_client_is_primary' => :'AdditionalContact_Client_IsPrimary',
    :'additional_contact_client_last_name' => :'AdditionalContact_Client_LastName',
    :'address_business_city' => :'Address_Business_City',
    :'address_business_country' => :'Address_Business_Country',
    :'address_business_is_primary' => :'Address_Business_IsPrimary',
    :'address_business_line1' => :'Address_Business_Line1',
    :'address_business_state' => :'Address_Business_State',
    :'address_business_zip_code' => :'Address_Business_ZipCode',
    :'address_other_city' => :'Address_Other_City',
    :'address_other_country' => :'Address_Other_Country',
    :'address_other_is_primary' => :'Address_Other_IsPrimary',
    :'address_other_line1' => :'Address_Other_Line1',
    :'address_other_state' => :'Address_Other_State',
    :'address_other_zip_code' => :'Address_Other_ZipCode',
    :'bill_rate' => :'BillRate',
    :'bonus' => :'Bonus',
    :'commission' => :'Commission',
    :'company_id' => :'Company_Id',
    :'company_name' => :'Company_Name',
    :'compensation' => :'Compensation',
    :'compensation_details' => :'CompensationDetails',
    :'custom_field1' => :'CustomField1',
    :'custom_field10' => :'CustomField10',
    :'custom_field11' => :'CustomField11',
    :'custom_field12' => :'CustomField12',
    :'custom_field13' => :'CustomField13',
    :'custom_field14' => :'CustomField14',
    :'custom_field15' => :'CustomField15',
    :'custom_field16' => :'CustomField16',
    :'custom_field17' => :'CustomField17',
    :'custom_field18' => :'CustomField18',
    :'custom_field19' => :'CustomField19',
    :'custom_field2' => :'CustomField2',
    :'custom_field20' => :'CustomField20',
    :'custom_field21' => :'CustomField21',
    :'custom_field22' => :'CustomField22',
    :'custom_field23' => :'CustomField23',
    :'custom_field24' => :'CustomField24',
    :'custom_field25' => :'CustomField25',
    :'custom_field26' => :'CustomField26',
    :'custom_field27' => :'CustomField27',
    :'custom_field28' => :'CustomField28',
    :'custom_field29' => :'CustomField29',
    :'custom_field3' => :'CustomField3',
    :'custom_field30' => :'CustomField30',
    :'custom_field4' => :'CustomField4',
    :'custom_field5' => :'CustomField5',
    :'custom_field6' => :'CustomField6',
    :'custom_field7' => :'CustomField7',
    :'custom_field8' => :'CustomField8',
    :'custom_field9' => :'CustomField9',
    :'description' => :'Description',
    :'discount' => :'Discount',
    :'estimated_close_date' => :'EstimatedCloseDate',
    :'external_primary_key' => :'ExternalPrimaryKey',
    :'fee' => :'Fee',
    :'fee_percent' => :'FeePercent',
    :'hourly_rate' => :'HourlyRate',
    :'is_lead' => :'IsLead',
    :'is_on_hold' => :'IsOnHold',
    :'job_title_id' => :'JobTitle_Id',
    :'job_title_name' => :'JobTitle_Name',
    :'job_types' => :'JobTypes',
    :'lead_source_id' => :'LeadSource_Id',
    :'lead_source_name' => :'LeadSource_Name',
    :'margin' => :'Margin',
    :'name' => :'Name',
    :'number_of_openings' => :'NumberOfOpenings',
    :'opportunity_type_id' => :'OpportunityType_Id',
    :'opportunity_type_name' => :'OpportunityType_Name',
    :'parent_job_id' => :'ParentJob_Id',
    :'parent_job_name' => :'ParentJob_Name',
    :'pay_rate' => :'PayRate',
    :'potential_value' => :'PotentialValue',
    :'priority_id' => :'Priority_Id',
    :'priority_name' => :'Priority_Name',
    :'probability' => :'Probability',
    :'salary' => :'Salary',
    :'start_date' => :'StartDate',
    :'tags' => :'Tags',
    :'total_hours' => :'TotalHours',
    :'website_description' => :'Website_Description',
    :'website_description_is_primary' => :'Website_Description_IsPrimary',
    :'website_other' => :'Website_Other',
    :'website_other_is_primary' => :'Website_Other_IsPrimary'
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 290

def self.swagger_types
  {
    :'actual_value' => :'Float',
    :'additional_contact_client_first_name' => :'String',
    :'additional_contact_client_id' => :'String',
    :'additional_contact_client_is_primary' => :'BOOLEAN',
    :'additional_contact_client_last_name' => :'String',
    :'address_business_city' => :'String',
    :'address_business_country' => :'String',
    :'address_business_is_primary' => :'BOOLEAN',
    :'address_business_line1' => :'String',
    :'address_business_state' => :'String',
    :'address_business_zip_code' => :'String',
    :'address_other_city' => :'String',
    :'address_other_country' => :'String',
    :'address_other_is_primary' => :'BOOLEAN',
    :'address_other_line1' => :'String',
    :'address_other_state' => :'String',
    :'address_other_zip_code' => :'String',
    :'bill_rate' => :'Float',
    :'bonus' => :'Float',
    :'commission' => :'Float',
    :'company_id' => :'String',
    :'company_name' => :'String',
    :'compensation' => :'Float',
    :'compensation_details' => :'String',
    :'custom_field1' => :'String',
    :'custom_field10' => :'String',
    :'custom_field11' => :'Float',
    :'custom_field12' => :'Float',
    :'custom_field13' => :'Float',
    :'custom_field14' => :'Float',
    :'custom_field15' => :'Float',
    :'custom_field16' => :'Float',
    :'custom_field17' => :'Float',
    :'custom_field18' => :'Float',
    :'custom_field19' => :'Float',
    :'custom_field2' => :'String',
    :'custom_field20' => :'Float',
    :'custom_field21' => :'DateTime',
    :'custom_field22' => :'DateTime',
    :'custom_field23' => :'DateTime',
    :'custom_field24' => :'DateTime',
    :'custom_field25' => :'DateTime',
    :'custom_field26' => :'DateTime',
    :'custom_field27' => :'DateTime',
    :'custom_field28' => :'DateTime',
    :'custom_field29' => :'DateTime',
    :'custom_field3' => :'String',
    :'custom_field30' => :'DateTime',
    :'custom_field4' => :'String',
    :'custom_field5' => :'String',
    :'custom_field6' => :'String',
    :'custom_field7' => :'String',
    :'custom_field8' => :'String',
    :'custom_field9' => :'String',
    :'description' => :'String',
    :'discount' => :'Float',
    :'estimated_close_date' => :'DateTime',
    :'external_primary_key' => :'String',
    :'fee' => :'Float',
    :'fee_percent' => :'Float',
    :'hourly_rate' => :'Float',
    :'is_lead' => :'BOOLEAN',
    :'is_on_hold' => :'BOOLEAN',
    :'job_title_id' => :'String',
    :'job_title_name' => :'String',
    :'job_types' => :'Array<PublicApiSaveJobRequestJobType>',
    :'lead_source_id' => :'String',
    :'lead_source_name' => :'String',
    :'margin' => :'Float',
    :'name' => :'String',
    :'number_of_openings' => :'Integer',
    :'opportunity_type_id' => :'String',
    :'opportunity_type_name' => :'String',
    :'parent_job_id' => :'String',
    :'parent_job_name' => :'String',
    :'pay_rate' => :'Float',
    :'potential_value' => :'Float',
    :'priority_id' => :'String',
    :'priority_name' => :'String',
    :'probability' => :'Float',
    :'salary' => :'Float',
    :'start_date' => :'DateTime',
    :'tags' => :'Hash<String, Array<String>>',
    :'total_hours' => :'Float',
    :'website_description' => :'String',
    :'website_description_is_primary' => :'BOOLEAN',
    :'website_other' => :'String',
    :'website_other_is_primary' => :'BOOLEAN'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 764

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      actual_value == o.actual_value &&
      additional_contact_client_first_name == o.additional_contact_client_first_name &&
      additional_contact_client_id == o.additional_contact_client_id &&
      additional_contact_client_is_primary == o.additional_contact_client_is_primary &&
      additional_contact_client_last_name == o.additional_contact_client_last_name &&
      address_business_city == o.address_business_city &&
      address_business_country == o.address_business_country &&
      address_business_is_primary == o.address_business_is_primary &&
      address_business_line1 == o.address_business_line1 &&
      address_business_state == o.address_business_state &&
      address_business_zip_code == o.address_business_zip_code &&
      address_other_city == o.address_other_city &&
      address_other_country == o.address_other_country &&
      address_other_is_primary == o.address_other_is_primary &&
      address_other_line1 == o.address_other_line1 &&
      address_other_state == o.address_other_state &&
      address_other_zip_code == o.address_other_zip_code &&
      bill_rate == o.bill_rate &&
      bonus == o.bonus &&
      commission == o.commission &&
      company_id == o.company_id &&
      company_name == o.company_name &&
      compensation == o.compensation &&
      compensation_details == o.compensation_details &&
      custom_field1 == o.custom_field1 &&
      custom_field10 == o.custom_field10 &&
      custom_field11 == o.custom_field11 &&
      custom_field12 == o.custom_field12 &&
      custom_field13 == o.custom_field13 &&
      custom_field14 == o.custom_field14 &&
      custom_field15 == o.custom_field15 &&
      custom_field16 == o.custom_field16 &&
      custom_field17 == o.custom_field17 &&
      custom_field18 == o.custom_field18 &&
      custom_field19 == o.custom_field19 &&
      custom_field2 == o.custom_field2 &&
      custom_field20 == o.custom_field20 &&
      custom_field21 == o.custom_field21 &&
      custom_field22 == o.custom_field22 &&
      custom_field23 == o.custom_field23 &&
      custom_field24 == o.custom_field24 &&
      custom_field25 == o.custom_field25 &&
      custom_field26 == o.custom_field26 &&
      custom_field27 == o.custom_field27 &&
      custom_field28 == o.custom_field28 &&
      custom_field29 == o.custom_field29 &&
      custom_field3 == o.custom_field3 &&
      custom_field30 == o.custom_field30 &&
      custom_field4 == o.custom_field4 &&
      custom_field5 == o.custom_field5 &&
      custom_field6 == o.custom_field6 &&
      custom_field7 == o.custom_field7 &&
      custom_field8 == o.custom_field8 &&
      custom_field9 == o.custom_field9 &&
      description == o.description &&
      discount == o.discount &&
      estimated_close_date == o.estimated_close_date &&
      external_primary_key == o.external_primary_key &&
      fee == o.fee &&
      fee_percent == o.fee_percent &&
      hourly_rate == o.hourly_rate &&
      is_lead == o.is_lead &&
      is_on_hold == o.is_on_hold &&
      job_title_id == o.job_title_id &&
      job_title_name == o.job_title_name &&
      job_types == o.job_types &&
      lead_source_id == o.lead_source_id &&
      lead_source_name == o.lead_source_name &&
      margin == o.margin &&
      name == o.name &&
      number_of_openings == o.number_of_openings &&
      opportunity_type_id == o.opportunity_type_id &&
      opportunity_type_name == o.opportunity_type_name &&
      parent_job_id == o.parent_job_id &&
      parent_job_name == o.parent_job_name &&
      pay_rate == o.pay_rate &&
      potential_value == o.potential_value &&
      priority_id == o.priority_id &&
      priority_name == o.priority_name &&
      probability == o.probability &&
      salary == o.salary &&
      start_date == o.start_date &&
      tags == o.tags &&
      total_hours == o.total_hours &&
      website_description == o.website_description &&
      website_description_is_primary == o.website_description_is_primary &&
      website_other == o.website_other &&
      website_other_is_primary == o.website_other_is_primary
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



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
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 893

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = CrelateClient.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



959
960
961
962
963
964
965
966
967
968
969
970
971
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 959

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map{ |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 872

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


859
860
861
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 859

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



865
866
867
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 865

def hash
  [actual_value, additional_contact_client_first_name, additional_contact_client_id, additional_contact_client_is_primary, additional_contact_client_last_name, address_business_city, address_business_country, address_business_is_primary, address_business_line1, address_business_state, address_business_zip_code, address_other_city, address_other_country, address_other_is_primary, address_other_line1, address_other_state, address_other_zip_code, bill_rate, bonus, commission, company_id, company_name, compensation, compensation_details, custom_field1, custom_field10, custom_field11, custom_field12, custom_field13, custom_field14, custom_field15, custom_field16, custom_field17, custom_field18, custom_field19, custom_field2, custom_field20, custom_field21, custom_field22, custom_field23, custom_field24, custom_field25, custom_field26, custom_field27, custom_field28, custom_field29, custom_field3, custom_field30, custom_field4, custom_field5, custom_field6, custom_field7, custom_field8, custom_field9, description, discount, estimated_close_date, external_primary_key, fee, fee_percent, hourly_rate, is_lead, is_on_hold, job_title_id, job_title_name, job_types, lead_source_id, lead_source_name, margin, name, number_of_openings, opportunity_type_id, opportunity_type_name, parent_job_id, parent_job_name, pay_rate, potential_value, priority_id, priority_name, probability, salary, start_date, tags, total_hours, website_description, website_description_is_primary, website_other, website_other_is_primary].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



751
752
753
754
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 751

def list_invalid_properties
  invalid_properties = Array.new
  return invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



939
940
941
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 939

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



945
946
947
948
949
950
951
952
953
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 945

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



933
934
935
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 933

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



758
759
760
# File 'lib/crelate_client/models/public_api_save_job_request.rb', line 758

def valid?
  return true
end