Class: PinterestSdkClient::CatalogsFeedIngestionWarnings

Inherits:
ApiModelBase
  • Object
show all
Defined in:
lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ApiModelBase

_deserialize, #_to_hash, #to_body, #to_s

Constructor Details

#initialize(attributes = {}) ⇒ CatalogsFeedIngestionWarnings

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 478

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `PinterestSdkClient::CatalogsFeedIngestionWarnings` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  acceptable_attribute_map = self.class.acceptable_attribute_map
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!acceptable_attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `PinterestSdkClient::CatalogsFeedIngestionWarnings`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'ad_image_download_content_read_error')
    self.ad_image_download_content_read_error = attributes[:'ad_image_download_content_read_error']
  end

  if attributes.key?(:'ad_image_download_dns_lookup_error')
    self.ad_image_download_dns_lookup_error = attributes[:'ad_image_download_dns_lookup_error']
  end

  if attributes.key?(:'ad_image_download_file_not_accessible')
    self.ad_image_download_file_not_accessible = attributes[:'ad_image_download_file_not_accessible']
  end

  if attributes.key?(:'ad_image_download_file_not_found')
    self.ad_image_download_file_not_found = attributes[:'ad_image_download_file_not_found']
  end

  if attributes.key?(:'ad_image_download_http_status_400')
    self.ad_image_download_http_status_400 = attributes[:'ad_image_download_http_status_400']
  end

  if attributes.key?(:'ad_image_download_http_status_403')
    self.ad_image_download_http_status_403 = attributes[:'ad_image_download_http_status_403']
  end

  if attributes.key?(:'ad_image_download_http_status_404')
    self.ad_image_download_http_status_404 = attributes[:'ad_image_download_http_status_404']
  end

  if attributes.key?(:'ad_image_download_http_status_405')
    self.ad_image_download_http_status_405 = attributes[:'ad_image_download_http_status_405']
  end

  if attributes.key?(:'ad_image_download_http_status_410')
    self.ad_image_download_http_status_410 = attributes[:'ad_image_download_http_status_410']
  end

  if attributes.key?(:'ad_image_download_http_status_429')
    self.ad_image_download_http_status_429 = attributes[:'ad_image_download_http_status_429']
  end

  if attributes.key?(:'ad_image_download_http_status_500')
    self.ad_image_download_http_status_500 = attributes[:'ad_image_download_http_status_500']
  end

  if attributes.key?(:'ad_image_download_http_status_502')
    self.ad_image_download_http_status_502 = attributes[:'ad_image_download_http_status_502']
  end

  if attributes.key?(:'ad_image_download_http_status_503')
    self.ad_image_download_http_status_503 = attributes[:'ad_image_download_http_status_503']
  end

  if attributes.key?(:'ad_image_download_http_status_504')
    self.ad_image_download_http_status_504 = attributes[:'ad_image_download_http_status_504']
  end

  if attributes.key?(:'ad_image_download_http_status_507')
    self.ad_image_download_http_status_507 = attributes[:'ad_image_download_http_status_507']
  end

  if attributes.key?(:'ad_image_download_http_status_508')
    self.ad_image_download_http_status_508 = attributes[:'ad_image_download_http_status_508']
  end

  if attributes.key?(:'ad_image_download_http_status_520')
    self.ad_image_download_http_status_520 = attributes[:'ad_image_download_http_status_520']
  end

  if attributes.key?(:'ad_image_download_http_status_521')
    self.ad_image_download_http_status_521 = attributes[:'ad_image_download_http_status_521']
  end

  if attributes.key?(:'ad_image_download_http_status_522')
    self.ad_image_download_http_status_522 = attributes[:'ad_image_download_http_status_522']
  end

  if attributes.key?(:'ad_image_download_http_status_525')
    self.ad_image_download_http_status_525 = attributes[:'ad_image_download_http_status_525']
  end

  if attributes.key?(:'ad_image_download_internal_configuration_error')
    self.ad_image_download_internal_configuration_error = attributes[:'ad_image_download_internal_configuration_error']
  end

  if attributes.key?(:'ad_image_download_internal_error')
    self.ad_image_download_internal_error = attributes[:'ad_image_download_internal_error']
  end

  if attributes.key?(:'ad_image_download_internal_failed_to_download')
    self.ad_image_download_internal_failed_to_download = attributes[:'ad_image_download_internal_failed_to_download']
  end

  if attributes.key?(:'ad_image_download_internal_malformed_url')
    self.ad_image_download_internal_malformed_url = attributes[:'ad_image_download_internal_malformed_url']
  end

  if attributes.key?(:'ad_image_download_internal_rate_limited')
    self.ad_image_download_internal_rate_limited = attributes[:'ad_image_download_internal_rate_limited']
  end

  if attributes.key?(:'ad_image_download_internal_request_expired')
    self.ad_image_download_internal_request_expired = attributes[:'ad_image_download_internal_request_expired']
  end

  if attributes.key?(:'ad_image_download_invalid_file')
    self.ad_image_download_invalid_file = attributes[:'ad_image_download_invalid_file']
  end

  if attributes.key?(:'ad_image_download_site_error')
    self.ad_image_download_site_error = attributes[:'ad_image_download_site_error']
  end

  if attributes.key?(:'ad_image_download_site_timeout')
    self.ad_image_download_site_timeout = attributes[:'ad_image_download_site_timeout']
  end

  if attributes.key?(:'ad_image_download_ssl_error')
    self.ad_image_download_ssl_error = attributes[:'ad_image_download_ssl_error']
  end

  if attributes.key?(:'ad_image_download_ssl_handshake_error')
    self.ad_image_download_ssl_handshake_error = attributes[:'ad_image_download_ssl_handshake_error']
  end

  if attributes.key?(:'ad_image_processing_empty_file')
    self.ad_image_processing_empty_file = attributes[:'ad_image_processing_empty_file']
  end

  if attributes.key?(:'ad_image_processing_height_too_small')
    self.ad_image_processing_height_too_small = attributes[:'ad_image_processing_height_too_small']
  end

  if attributes.key?(:'ad_image_processing_too_many_pixels')
    self.ad_image_processing_too_many_pixels = attributes[:'ad_image_processing_too_many_pixels']
  end

  if attributes.key?(:'ad_image_processing_type_mismatch')
    self.ad_image_processing_type_mismatch = attributes[:'ad_image_processing_type_mismatch']
  end

  if attributes.key?(:'ad_image_processing_width_too_small')
    self.ad_image_processing_width_too_small = attributes[:'ad_image_processing_width_too_small']
  end

  if attributes.key?(:'ad_video_download_content_read_error')
    self.ad_video_download_content_read_error = attributes[:'ad_video_download_content_read_error']
  end

  if attributes.key?(:'ad_video_download_dns_lookup_error')
    self.ad_video_download_dns_lookup_error = attributes[:'ad_video_download_dns_lookup_error']
  end

  if attributes.key?(:'ad_video_download_file_not_accessible')
    self.ad_video_download_file_not_accessible = attributes[:'ad_video_download_file_not_accessible']
  end

  if attributes.key?(:'ad_video_download_file_not_found')
    self.ad_video_download_file_not_found = attributes[:'ad_video_download_file_not_found']
  end

  if attributes.key?(:'ad_video_download_http_status_400')
    self.ad_video_download_http_status_400 = attributes[:'ad_video_download_http_status_400']
  end

  if attributes.key?(:'ad_video_download_http_status_403')
    self.ad_video_download_http_status_403 = attributes[:'ad_video_download_http_status_403']
  end

  if attributes.key?(:'ad_video_download_http_status_404')
    self.ad_video_download_http_status_404 = attributes[:'ad_video_download_http_status_404']
  end

  if attributes.key?(:'ad_video_download_http_status_405')
    self.ad_video_download_http_status_405 = attributes[:'ad_video_download_http_status_405']
  end

  if attributes.key?(:'ad_video_download_http_status_410')
    self.ad_video_download_http_status_410 = attributes[:'ad_video_download_http_status_410']
  end

  if attributes.key?(:'ad_video_download_http_status_429')
    self.ad_video_download_http_status_429 = attributes[:'ad_video_download_http_status_429']
  end

  if attributes.key?(:'ad_video_download_http_status_500')
    self.ad_video_download_http_status_500 = attributes[:'ad_video_download_http_status_500']
  end

  if attributes.key?(:'ad_video_download_http_status_502')
    self.ad_video_download_http_status_502 = attributes[:'ad_video_download_http_status_502']
  end

  if attributes.key?(:'ad_video_download_http_status_503')
    self.ad_video_download_http_status_503 = attributes[:'ad_video_download_http_status_503']
  end

  if attributes.key?(:'ad_video_download_http_status_504')
    self.ad_video_download_http_status_504 = attributes[:'ad_video_download_http_status_504']
  end

  if attributes.key?(:'ad_video_download_http_status_507')
    self.ad_video_download_http_status_507 = attributes[:'ad_video_download_http_status_507']
  end

  if attributes.key?(:'ad_video_download_http_status_508')
    self.ad_video_download_http_status_508 = attributes[:'ad_video_download_http_status_508']
  end

  if attributes.key?(:'ad_video_download_http_status_520')
    self.ad_video_download_http_status_520 = attributes[:'ad_video_download_http_status_520']
  end

  if attributes.key?(:'ad_video_download_http_status_521')
    self.ad_video_download_http_status_521 = attributes[:'ad_video_download_http_status_521']
  end

  if attributes.key?(:'ad_video_download_http_status_522')
    self.ad_video_download_http_status_522 = attributes[:'ad_video_download_http_status_522']
  end

  if attributes.key?(:'ad_video_download_http_status_525')
    self.ad_video_download_http_status_525 = attributes[:'ad_video_download_http_status_525']
  end

  if attributes.key?(:'ad_video_download_internal_configuration_error')
    self.ad_video_download_internal_configuration_error = attributes[:'ad_video_download_internal_configuration_error']
  end

  if attributes.key?(:'ad_video_download_internal_error')
    self.ad_video_download_internal_error = attributes[:'ad_video_download_internal_error']
  end

  if attributes.key?(:'ad_video_download_internal_failed_to_download')
    self.ad_video_download_internal_failed_to_download = attributes[:'ad_video_download_internal_failed_to_download']
  end

  if attributes.key?(:'ad_video_download_internal_malformed_url')
    self.ad_video_download_internal_malformed_url = attributes[:'ad_video_download_internal_malformed_url']
  end

  if attributes.key?(:'ad_video_download_internal_rate_limited')
    self.ad_video_download_internal_rate_limited = attributes[:'ad_video_download_internal_rate_limited']
  end

  if attributes.key?(:'ad_video_download_internal_request_expired')
    self.ad_video_download_internal_request_expired = attributes[:'ad_video_download_internal_request_expired']
  end

  if attributes.key?(:'ad_video_download_invalid_file')
    self.ad_video_download_invalid_file = attributes[:'ad_video_download_invalid_file']
  end

  if attributes.key?(:'ad_video_download_site_error')
    self.ad_video_download_site_error = attributes[:'ad_video_download_site_error']
  end

  if attributes.key?(:'ad_video_download_site_timeout')
    self.ad_video_download_site_timeout = attributes[:'ad_video_download_site_timeout']
  end

  if attributes.key?(:'ad_video_download_ssl_error')
    self.ad_video_download_ssl_error = attributes[:'ad_video_download_ssl_error']
  end

  if attributes.key?(:'ad_video_download_ssl_handshake_error')
    self.ad_video_download_ssl_handshake_error = attributes[:'ad_video_download_ssl_handshake_error']
  end

  if attributes.key?(:'ad_video_length_too_short')
    self.ad_video_length_too_short = attributes[:'ad_video_length_too_short']
  end

  if attributes.key?(:'ad_video_processing_empty_file')
    self.ad_video_processing_empty_file = attributes[:'ad_video_processing_empty_file']
  end

  if attributes.key?(:'ad_video_processing_height_too_small')
    self.ad_video_processing_height_too_small = attributes[:'ad_video_processing_height_too_small']
  end

  if attributes.key?(:'ad_video_processing_too_many_pixels')
    self.ad_video_processing_too_many_pixels = attributes[:'ad_video_processing_too_many_pixels']
  end

  if attributes.key?(:'ad_video_processing_type_mismatch')
    self.ad_video_processing_type_mismatch = attributes[:'ad_video_processing_type_mismatch']
  end

  if attributes.key?(:'ad_video_processing_width_too_small')
    self.ad_video_processing_width_too_small = attributes[:'ad_video_processing_width_too_small']
  end

  if attributes.key?(:'additional_image_file_not_accessible')
    self.additional_image_file_not_accessible = attributes[:'additional_image_file_not_accessible']
  end

  if attributes.key?(:'additional_image_file_not_found')
    self.additional_image_file_not_found = attributes[:'additional_image_file_not_found']
  end

  if attributes.key?(:'additional_image_invalid_file')
    self.additional_image_invalid_file = attributes[:'additional_image_invalid_file']
  end

  if attributes.key?(:'additional_image_level_internal_error')
    self.additional_image_level_internal_error = attributes[:'additional_image_level_internal_error']
  end

  if attributes.key?(:'additional_image_malformed_url')
    self.additional_image_malformed_url = attributes[:'additional_image_malformed_url']
  end

  if attributes.key?(:'fetch_google_sheet_public_can_edit')
    self.fetch_google_sheet_public_can_edit = attributes[:'fetch_google_sheet_public_can_edit']
  end

  if attributes.key?(:'hotel_price_header_is_present')
    self.hotel_price_header_is_present = attributes[:'hotel_price_header_is_present']
  end

  if attributes.key?(:'video_download_video_too_short')
    self.video_download_video_too_short = attributes[:'video_download_video_too_short']
  end

  if attributes.key?(:'video_file_not_accessible')
    self.video_file_not_accessible = attributes[:'video_file_not_accessible']
  end

  if attributes.key?(:'video_file_not_found')
    self.video_file_not_found = attributes[:'video_file_not_found']
  end

  if attributes.key?(:'video_invalid_file')
    self.video_invalid_file = attributes[:'video_invalid_file']
  end

  if attributes.key?(:'video_level_internal_error')
    self.video_level_internal_error = attributes[:'video_level_internal_error']
  end

  if attributes.key?(:'video_malformed_url')
    self.video_malformed_url = attributes[:'video_malformed_url']
  end
end

Instance Attribute Details

#ad_image_download_content_read_errorObject

Ad image files are unreadable. Please check your link and upload new files to continue.



19
20
21
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 19

def ad_image_download_content_read_error
  @ad_image_download_content_read_error
end

#ad_image_download_dns_lookup_errorObject

Ad image files are unreadable. Please check your link and upload new files to continue.



22
23
24
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 22

def ad_image_download_dns_lookup_error
  @ad_image_download_dns_lookup_error
end

#ad_image_download_file_not_accessibleObject

Ad image files are unreadable. Please check your link and upload new files to continue.



25
26
27
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 25

def ad_image_download_file_not_accessible
  @ad_image_download_file_not_accessible
end

#ad_image_download_file_not_foundObject

Ad image files are unreadable. Please check your link and upload new files to continue.



28
29
30
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 28

def ad_image_download_file_not_found
  @ad_image_download_file_not_found
end

#ad_image_download_http_status_400Object

Ad image files are unreadable. Please check your link and upload new files to continue.



31
32
33
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 31

def ad_image_download_http_status_400
  @ad_image_download_http_status_400
end

#ad_image_download_http_status_403Object

Ad image files are unreadable. Please check your link and upload new files to continue.



34
35
36
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 34

def ad_image_download_http_status_403
  @ad_image_download_http_status_403
end

#ad_image_download_http_status_404Object

Ad image files are unreadable. Please check your link and upload new files to continue.



37
38
39
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 37

def ad_image_download_http_status_404
  @ad_image_download_http_status_404
end

#ad_image_download_http_status_405Object

Ad image files are unreadable. Please check your link and upload new files to continue.



40
41
42
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 40

def ad_image_download_http_status_405
  @ad_image_download_http_status_405
end

#ad_image_download_http_status_410Object

Ad image files are unreadable. Please check your link and upload new files to continue.



43
44
45
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 43

def ad_image_download_http_status_410
  @ad_image_download_http_status_410
end

#ad_image_download_http_status_429Object

Ad image files are unreadable. Please check your link and upload new files to continue.



46
47
48
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 46

def ad_image_download_http_status_429
  @ad_image_download_http_status_429
end

#ad_image_download_http_status_500Object

Ad image files are unreadable. Please check your link and upload new files to continue.



49
50
51
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 49

def ad_image_download_http_status_500
  @ad_image_download_http_status_500
end

#ad_image_download_http_status_502Object

Ad image files are unreadable. Please check your link and upload new files to continue.



52
53
54
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 52

def ad_image_download_http_status_502
  @ad_image_download_http_status_502
end

#ad_image_download_http_status_503Object

Ad image files are unreadable. Please check your link and upload new files to continue.



55
56
57
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 55

def ad_image_download_http_status_503
  @ad_image_download_http_status_503
end

#ad_image_download_http_status_504Object

Ad image files are unreadable. Please check your link and upload new files to continue.



58
59
60
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 58

def ad_image_download_http_status_504
  @ad_image_download_http_status_504
end

#ad_image_download_http_status_507Object

Ad image files are unreadable. Please check your link and upload new files to continue.



61
62
63
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 61

def ad_image_download_http_status_507
  @ad_image_download_http_status_507
end

#ad_image_download_http_status_508Object

Ad image files are unreadable. Please check your link and upload new files to continue.



64
65
66
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 64

def ad_image_download_http_status_508
  @ad_image_download_http_status_508
end

#ad_image_download_http_status_520Object

Ad image files are unreadable. Please check your link and upload new files to continue.



67
68
69
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 67

def ad_image_download_http_status_520
  @ad_image_download_http_status_520
end

#ad_image_download_http_status_521Object

Ad image files are unreadable. Please check your link and upload new files to continue.



70
71
72
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 70

def ad_image_download_http_status_521
  @ad_image_download_http_status_521
end

#ad_image_download_http_status_522Object

Ad image files are unreadable. Please check your link and upload new files to continue.



73
74
75
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 73

def ad_image_download_http_status_522
  @ad_image_download_http_status_522
end

#ad_image_download_http_status_525Object

Ad image files are unreadable. Please check your link and upload new files to continue.



76
77
78
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 76

def ad_image_download_http_status_525
  @ad_image_download_http_status_525
end

#ad_image_download_internal_configuration_errorObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



79
80
81
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 79

def ad_image_download_internal_configuration_error
  @ad_image_download_internal_configuration_error
end

#ad_image_download_internal_errorObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



82
83
84
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 82

def ad_image_download_internal_error
  @ad_image_download_internal_error
end

#ad_image_download_internal_failed_to_downloadObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



85
86
87
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 85

def ad_image_download_internal_failed_to_download
  @ad_image_download_internal_failed_to_download
end

#ad_image_download_internal_malformed_urlObject

Ad image files are unreadable. Please check your link and upload new files to continue.



88
89
90
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 88

def ad_image_download_internal_malformed_url
  @ad_image_download_internal_malformed_url
end

#ad_image_download_internal_rate_limitedObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



91
92
93
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 91

def ad_image_download_internal_rate_limited
  @ad_image_download_internal_rate_limited
end

#ad_image_download_internal_request_expiredObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



94
95
96
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 94

def ad_image_download_internal_request_expired
  @ad_image_download_internal_request_expired
end

#ad_image_download_invalid_fileObject

Ad image files are unreadable. Please check your link and upload new files to continue.



97
98
99
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 97

def ad_image_download_invalid_file
  @ad_image_download_invalid_file
end

#ad_image_download_site_errorObject

Ad image files are unreadable. Please check your link and upload new files to continue.



100
101
102
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 100

def ad_image_download_site_error
  @ad_image_download_site_error
end

#ad_image_download_site_timeoutObject

Ad image files are unreadable. Please check your link and upload new files to continue.



103
104
105
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 103

def ad_image_download_site_timeout
  @ad_image_download_site_timeout
end

#ad_image_download_ssl_errorObject

Ad image files are unreadable. Please check your link and upload new files to continue.



106
107
108
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 106

def ad_image_download_ssl_error
  @ad_image_download_ssl_error
end

#ad_image_download_ssl_handshake_errorObject

Ad image files are unreadable. Please check your link and upload new files to continue.



109
110
111
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 109

def ad_image_download_ssl_handshake_error
  @ad_image_download_ssl_handshake_error
end

#ad_image_processing_empty_fileObject

Ad image files are unreadable. Please check your link and upload new files to continue.



112
113
114
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 112

def ad_image_processing_empty_file
  @ad_image_processing_empty_file
end

#ad_image_processing_height_too_smallObject

Ad images must have a height larger than 75 pixels



115
116
117
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 115

def ad_image_processing_height_too_small
  @ad_image_processing_height_too_small
end

#ad_image_processing_too_many_pixelsObject

Ad images must have a maximum area (width x height) of less than 89478485 pixels



118
119
120
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 118

def ad_image_processing_too_many_pixels
  @ad_image_processing_too_many_pixels
end

#ad_image_processing_type_mismatchObject

Some ad images could not be processed due to a file type mismatch.



121
122
123
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 121

def ad_image_processing_type_mismatch
  @ad_image_processing_type_mismatch
end

#ad_image_processing_width_too_smallObject

Ad images must have a width larger than 75 pixels



124
125
126
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 124

def ad_image_processing_width_too_small
  @ad_image_processing_width_too_small
end

#ad_video_download_content_read_errorObject

Ad video files are unreadable. Please check your link and upload new files to continue.



127
128
129
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 127

def ad_video_download_content_read_error
  @ad_video_download_content_read_error
end

#ad_video_download_dns_lookup_errorObject

Ad video files are unreadable. Please check your link and upload new files to continue.



130
131
132
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 130

def ad_video_download_dns_lookup_error
  @ad_video_download_dns_lookup_error
end

#ad_video_download_file_not_accessibleObject

Ad video files are unreadable. Please check your link and upload new files to continue.



133
134
135
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 133

def ad_video_download_file_not_accessible
  @ad_video_download_file_not_accessible
end

#ad_video_download_file_not_foundObject

Ad video files are unreadable. Please check your link and upload new files to continue.



136
137
138
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 136

def ad_video_download_file_not_found
  @ad_video_download_file_not_found
end

#ad_video_download_http_status_400Object

Ad video files are unreadable. Please check your link and upload new files to continue.



139
140
141
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 139

def ad_video_download_http_status_400
  @ad_video_download_http_status_400
end

#ad_video_download_http_status_403Object

Ad video files are unreadable. Please check your link and upload new files to continue.



142
143
144
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 142

def ad_video_download_http_status_403
  @ad_video_download_http_status_403
end

#ad_video_download_http_status_404Object

Ad video files are unreadable. Please check your link and upload new files to continue.



145
146
147
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 145

def ad_video_download_http_status_404
  @ad_video_download_http_status_404
end

#ad_video_download_http_status_405Object

Ad video files are unreadable. Please check your link and upload new files to continue.



148
149
150
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 148

def ad_video_download_http_status_405
  @ad_video_download_http_status_405
end

#ad_video_download_http_status_410Object

Ad video files are unreadable. Please check your link and upload new files to continue.



151
152
153
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 151

def ad_video_download_http_status_410
  @ad_video_download_http_status_410
end

#ad_video_download_http_status_429Object

Ad video files are unreadable. Please check your link and upload new files to continue.



154
155
156
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 154

def ad_video_download_http_status_429
  @ad_video_download_http_status_429
end

#ad_video_download_http_status_500Object

Ad video files are unreadable. Please check your link and upload new files to continue.



157
158
159
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 157

def ad_video_download_http_status_500
  @ad_video_download_http_status_500
end

#ad_video_download_http_status_502Object

Ad video files are unreadable. Please check your link and upload new files to continue.



160
161
162
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 160

def ad_video_download_http_status_502
  @ad_video_download_http_status_502
end

#ad_video_download_http_status_503Object

Ad video files are unreadable. Please check your link and upload new files to continue.



163
164
165
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 163

def ad_video_download_http_status_503
  @ad_video_download_http_status_503
end

#ad_video_download_http_status_504Object

Ad video files are unreadable. Please check your link and upload new files to continue.



166
167
168
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 166

def ad_video_download_http_status_504
  @ad_video_download_http_status_504
end

#ad_video_download_http_status_507Object

Ad video files are unreadable. Please check your link and upload new files to continue.



169
170
171
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 169

def ad_video_download_http_status_507
  @ad_video_download_http_status_507
end

#ad_video_download_http_status_508Object

Ad video files are unreadable. Please check your link and upload new files to continue.



172
173
174
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 172

def ad_video_download_http_status_508
  @ad_video_download_http_status_508
end

#ad_video_download_http_status_520Object

Ad video files are unreadable. Please check your link and upload new files to continue.



175
176
177
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 175

def ad_video_download_http_status_520
  @ad_video_download_http_status_520
end

#ad_video_download_http_status_521Object

Ad video files are unreadable. Please check your link and upload new files to continue.



178
179
180
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 178

def ad_video_download_http_status_521
  @ad_video_download_http_status_521
end

#ad_video_download_http_status_522Object

Ad video files are unreadable. Please check your link and upload new files to continue.



181
182
183
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 181

def ad_video_download_http_status_522
  @ad_video_download_http_status_522
end

#ad_video_download_http_status_525Object

Ad video files are unreadable. Please check your link and upload new files to continue.



184
185
186
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 184

def ad_video_download_http_status_525
  @ad_video_download_http_status_525
end

#ad_video_download_internal_configuration_errorObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



187
188
189
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 187

def ad_video_download_internal_configuration_error
  @ad_video_download_internal_configuration_error
end

#ad_video_download_internal_errorObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



190
191
192
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 190

def ad_video_download_internal_error
  @ad_video_download_internal_error
end

#ad_video_download_internal_failed_to_downloadObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



193
194
195
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 193

def ad_video_download_internal_failed_to_download
  @ad_video_download_internal_failed_to_download
end

#ad_video_download_internal_malformed_urlObject

Ad video files are unreadable. Please check your link and upload new files to continue.



196
197
198
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 196

def ad_video_download_internal_malformed_url
  @ad_video_download_internal_malformed_url
end

#ad_video_download_internal_rate_limitedObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



199
200
201
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 199

def ad_video_download_internal_rate_limited
  @ad_video_download_internal_rate_limited
end

#ad_video_download_internal_request_expiredObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



202
203
204
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 202

def ad_video_download_internal_request_expired
  @ad_video_download_internal_request_expired
end

#ad_video_download_invalid_fileObject

Ad video files are unreadable. Please check your link and upload new files to continue.



205
206
207
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 205

def ad_video_download_invalid_file
  @ad_video_download_invalid_file
end

#ad_video_download_site_errorObject

Ad video files are unreadable. Please check your link and upload new files to continue.



208
209
210
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 208

def ad_video_download_site_error
  @ad_video_download_site_error
end

#ad_video_download_site_timeoutObject

Ad video files are unreadable. Please check your link and upload new files to continue.



211
212
213
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 211

def ad_video_download_site_timeout
  @ad_video_download_site_timeout
end

#ad_video_download_ssl_errorObject

Ad video files are unreadable. Please check your link and upload new files to continue.



214
215
216
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 214

def ad_video_download_ssl_error
  @ad_video_download_ssl_error
end

#ad_video_download_ssl_handshake_errorObject

Ad video files are unreadable. Please check your link and upload new files to continue.



217
218
219
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 217

def ad_video_download_ssl_handshake_error
  @ad_video_download_ssl_handshake_error
end

#ad_video_length_too_shortObject

Ad videos length is too short. Please ensure that all ad videos are at least 4 seconds long.



220
221
222
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 220

def ad_video_length_too_short
  @ad_video_length_too_short
end

#ad_video_processing_empty_fileObject

Ad video files are unreadable. Please check your link and upload new files to continue.



223
224
225
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 223

def ad_video_processing_empty_file
  @ad_video_processing_empty_file
end

#ad_video_processing_height_too_smallObject

Ad videos must have a height larger than 75 pixels



226
227
228
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 226

def ad_video_processing_height_too_small
  @ad_video_processing_height_too_small
end

#ad_video_processing_too_many_pixelsObject

Ad videos must have a maximum area (width x height) of less than 89478485 pixels



229
230
231
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 229

def ad_video_processing_too_many_pixels
  @ad_video_processing_too_many_pixels
end

#ad_video_processing_type_mismatchObject

Some ad videos could not be processed due to a file type mismatch.



232
233
234
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 232

def ad_video_processing_type_mismatch
  @ad_video_processing_type_mismatch
end

#ad_video_processing_width_too_smallObject

Ad videos must have a width larger than 75 pixels



235
236
237
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 235

def ad_video_processing_width_too_small
  @ad_video_processing_width_too_small
end

#additional_image_file_not_accessibleObject

Additional image files are unreadable. Please upload new files to continue.



238
239
240
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 238

def additional_image_file_not_accessible
  @additional_image_file_not_accessible
end

#additional_image_file_not_foundObject

Additional image files are unreadable. Please upload new files to continue.



241
242
243
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 241

def additional_image_file_not_found
  @additional_image_file_not_found
end

#additional_image_invalid_fileObject

Additional image files are unreadable. Please upload new files to continue.



244
245
246
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 244

def additional_image_invalid_file
  @additional_image_invalid_file
end

#additional_image_level_internal_errorObject

We experienced a technical difficulty and were unable to download some additional images. The next download attempt will happen in 24 hours.



247
248
249
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 247

def additional_image_level_internal_error
  @additional_image_level_internal_error
end

#additional_image_malformed_urlObject

Additional image files are unreadable. Please check your link and upload new files to continue.



250
251
252
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 250

def additional_image_malformed_url
  @additional_image_malformed_url
end

#fetch_google_sheet_public_can_editObject

Update your Google Sheets sharing settings from 'Editor' to 'Viewer'.



253
254
255
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 253

def fetch_google_sheet_public_can_edit
  @fetch_google_sheet_public_can_edit
end

#hotel_price_header_is_presentObject

Price is not a supported column. Use base_price and sale_price instead.



256
257
258
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 256

def hotel_price_header_is_present
  @hotel_price_header_is_present
end

#video_download_video_too_shortObject

Video length is too short. Please ensure that the main video is at least 4 seconds long.



259
260
261
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 259

def video_download_video_too_short
  @video_download_video_too_short
end

#video_file_not_accessibleObject

Video files are unreadable. Please upload new files to continue.



262
263
264
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 262

def video_file_not_accessible
  @video_file_not_accessible
end

#video_file_not_foundObject

Video files are unreadable. Please upload new files to continue.



265
266
267
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 265

def video_file_not_found
  @video_file_not_found
end

#video_invalid_fileObject

Video files are unreadable. Please upload new files to continue.



268
269
270
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 268

def video_invalid_file
  @video_invalid_file
end

#video_level_internal_errorObject

We experienced a technical difficulty and were unable to download some additional videos. The next download attempt will happen in 24 hours.



271
272
273
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 271

def video_level_internal_error
  @video_level_internal_error
end

#video_malformed_urlObject

Video files are unreadable. Please check your link and upload new files to continue.



274
275
276
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 274

def video_malformed_url
  @video_malformed_url
end

Class Method Details

.acceptable_attribute_mapObject

Returns attribute mapping this model knows about



369
370
371
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 369

def self.acceptable_attribute_map
  attribute_map
end

.acceptable_attributesObject

Returns all the JSON keys this model knows about



374
375
376
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 374

def self.acceptable_attributes
  acceptable_attribute_map.values
end

.attribute_mapObject

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



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
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 277

def self.attribute_map
  {
    :'ad_image_download_content_read_error' => :'AD_IMAGE_DOWNLOAD_CONTENT_READ_ERROR',
    :'ad_image_download_dns_lookup_error' => :'AD_IMAGE_DOWNLOAD_DNS_LOOKUP_ERROR',
    :'ad_image_download_file_not_accessible' => :'AD_IMAGE_DOWNLOAD_FILE_NOT_ACCESSIBLE',
    :'ad_image_download_file_not_found' => :'AD_IMAGE_DOWNLOAD_FILE_NOT_FOUND',
    :'ad_image_download_http_status_400' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_400',
    :'ad_image_download_http_status_403' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_403',
    :'ad_image_download_http_status_404' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_404',
    :'ad_image_download_http_status_405' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_405',
    :'ad_image_download_http_status_410' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_410',
    :'ad_image_download_http_status_429' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_429',
    :'ad_image_download_http_status_500' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_500',
    :'ad_image_download_http_status_502' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_502',
    :'ad_image_download_http_status_503' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_503',
    :'ad_image_download_http_status_504' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_504',
    :'ad_image_download_http_status_507' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_507',
    :'ad_image_download_http_status_508' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_508',
    :'ad_image_download_http_status_520' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_520',
    :'ad_image_download_http_status_521' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_521',
    :'ad_image_download_http_status_522' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_522',
    :'ad_image_download_http_status_525' => :'AD_IMAGE_DOWNLOAD_HTTP_STATUS_525',
    :'ad_image_download_internal_configuration_error' => :'AD_IMAGE_DOWNLOAD_INTERNAL_CONFIGURATION_ERROR',
    :'ad_image_download_internal_error' => :'AD_IMAGE_DOWNLOAD_INTERNAL_ERROR',
    :'ad_image_download_internal_failed_to_download' => :'AD_IMAGE_DOWNLOAD_INTERNAL_FAILED_TO_DOWNLOAD',
    :'ad_image_download_internal_malformed_url' => :'AD_IMAGE_DOWNLOAD_INTERNAL_MALFORMED_URL',
    :'ad_image_download_internal_rate_limited' => :'AD_IMAGE_DOWNLOAD_INTERNAL_RATE_LIMITED',
    :'ad_image_download_internal_request_expired' => :'AD_IMAGE_DOWNLOAD_INTERNAL_REQUEST_EXPIRED',
    :'ad_image_download_invalid_file' => :'AD_IMAGE_DOWNLOAD_INVALID_FILE',
    :'ad_image_download_site_error' => :'AD_IMAGE_DOWNLOAD_SITE_ERROR',
    :'ad_image_download_site_timeout' => :'AD_IMAGE_DOWNLOAD_SITE_TIMEOUT',
    :'ad_image_download_ssl_error' => :'AD_IMAGE_DOWNLOAD_SSL_ERROR',
    :'ad_image_download_ssl_handshake_error' => :'AD_IMAGE_DOWNLOAD_SSL_HANDSHAKE_ERROR',
    :'ad_image_processing_empty_file' => :'AD_IMAGE_PROCESSING_EMPTY_FILE',
    :'ad_image_processing_height_too_small' => :'AD_IMAGE_PROCESSING_HEIGHT_TOO_SMALL',
    :'ad_image_processing_too_many_pixels' => :'AD_IMAGE_PROCESSING_TOO_MANY_PIXELS',
    :'ad_image_processing_type_mismatch' => :'AD_IMAGE_PROCESSING_TYPE_MISMATCH',
    :'ad_image_processing_width_too_small' => :'AD_IMAGE_PROCESSING_WIDTH_TOO_SMALL',
    :'ad_video_download_content_read_error' => :'AD_VIDEO_DOWNLOAD_CONTENT_READ_ERROR',
    :'ad_video_download_dns_lookup_error' => :'AD_VIDEO_DOWNLOAD_DNS_LOOKUP_ERROR',
    :'ad_video_download_file_not_accessible' => :'AD_VIDEO_DOWNLOAD_FILE_NOT_ACCESSIBLE',
    :'ad_video_download_file_not_found' => :'AD_VIDEO_DOWNLOAD_FILE_NOT_FOUND',
    :'ad_video_download_http_status_400' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_400',
    :'ad_video_download_http_status_403' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_403',
    :'ad_video_download_http_status_404' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_404',
    :'ad_video_download_http_status_405' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_405',
    :'ad_video_download_http_status_410' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_410',
    :'ad_video_download_http_status_429' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_429',
    :'ad_video_download_http_status_500' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_500',
    :'ad_video_download_http_status_502' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_502',
    :'ad_video_download_http_status_503' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_503',
    :'ad_video_download_http_status_504' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_504',
    :'ad_video_download_http_status_507' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_507',
    :'ad_video_download_http_status_508' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_508',
    :'ad_video_download_http_status_520' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_520',
    :'ad_video_download_http_status_521' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_521',
    :'ad_video_download_http_status_522' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_522',
    :'ad_video_download_http_status_525' => :'AD_VIDEO_DOWNLOAD_HTTP_STATUS_525',
    :'ad_video_download_internal_configuration_error' => :'AD_VIDEO_DOWNLOAD_INTERNAL_CONFIGURATION_ERROR',
    :'ad_video_download_internal_error' => :'AD_VIDEO_DOWNLOAD_INTERNAL_ERROR',
    :'ad_video_download_internal_failed_to_download' => :'AD_VIDEO_DOWNLOAD_INTERNAL_FAILED_TO_DOWNLOAD',
    :'ad_video_download_internal_malformed_url' => :'AD_VIDEO_DOWNLOAD_INTERNAL_MALFORMED_URL',
    :'ad_video_download_internal_rate_limited' => :'AD_VIDEO_DOWNLOAD_INTERNAL_RATE_LIMITED',
    :'ad_video_download_internal_request_expired' => :'AD_VIDEO_DOWNLOAD_INTERNAL_REQUEST_EXPIRED',
    :'ad_video_download_invalid_file' => :'AD_VIDEO_DOWNLOAD_INVALID_FILE',
    :'ad_video_download_site_error' => :'AD_VIDEO_DOWNLOAD_SITE_ERROR',
    :'ad_video_download_site_timeout' => :'AD_VIDEO_DOWNLOAD_SITE_TIMEOUT',
    :'ad_video_download_ssl_error' => :'AD_VIDEO_DOWNLOAD_SSL_ERROR',
    :'ad_video_download_ssl_handshake_error' => :'AD_VIDEO_DOWNLOAD_SSL_HANDSHAKE_ERROR',
    :'ad_video_length_too_short' => :'AD_VIDEO_LENGTH_TOO_SHORT',
    :'ad_video_processing_empty_file' => :'AD_VIDEO_PROCESSING_EMPTY_FILE',
    :'ad_video_processing_height_too_small' => :'AD_VIDEO_PROCESSING_HEIGHT_TOO_SMALL',
    :'ad_video_processing_too_many_pixels' => :'AD_VIDEO_PROCESSING_TOO_MANY_PIXELS',
    :'ad_video_processing_type_mismatch' => :'AD_VIDEO_PROCESSING_TYPE_MISMATCH',
    :'ad_video_processing_width_too_small' => :'AD_VIDEO_PROCESSING_WIDTH_TOO_SMALL',
    :'additional_image_file_not_accessible' => :'ADDITIONAL_IMAGE_FILE_NOT_ACCESSIBLE',
    :'additional_image_file_not_found' => :'ADDITIONAL_IMAGE_FILE_NOT_FOUND',
    :'additional_image_invalid_file' => :'ADDITIONAL_IMAGE_INVALID_FILE',
    :'additional_image_level_internal_error' => :'ADDITIONAL_IMAGE_LEVEL_INTERNAL_ERROR',
    :'additional_image_malformed_url' => :'ADDITIONAL_IMAGE_MALFORMED_URL',
    :'fetch_google_sheet_public_can_edit' => :'FETCH_GOOGLE_SHEET_PUBLIC_CAN_EDIT',
    :'hotel_price_header_is_present' => :'HOTEL_PRICE_HEADER_IS_PRESENT',
    :'video_download_video_too_short' => :'VIDEO_DOWNLOAD_VIDEO_TOO_SHORT',
    :'video_file_not_accessible' => :'VIDEO_FILE_NOT_ACCESSIBLE',
    :'video_file_not_found' => :'VIDEO_FILE_NOT_FOUND',
    :'video_invalid_file' => :'VIDEO_INVALID_FILE',
    :'video_level_internal_error' => :'VIDEO_LEVEL_INTERNAL_ERROR',
    :'video_malformed_url' => :'VIDEO_MALFORMED_URL'
  }
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



960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 960

def self.build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  attributes = attributes.transform_keys(&:to_sym)
  transformed_hash = {}
  openapi_types.each_pair do |key, type|
    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = nil
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[attribute_map[key]].is_a?(Array)
        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
      end
    elsif !attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    end
  end
  new(transformed_hash)
end

.openapi_nullableObject

List of attributes with nullable: true



471
472
473
474
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 471

def self.openapi_nullable
  Set.new([
  ])
end

.openapi_typesObject

Attribute type mapping.



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
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 379

def self.openapi_types
  {
    :'ad_image_download_content_read_error' => :'Integer',
    :'ad_image_download_dns_lookup_error' => :'Integer',
    :'ad_image_download_file_not_accessible' => :'Integer',
    :'ad_image_download_file_not_found' => :'Integer',
    :'ad_image_download_http_status_400' => :'Integer',
    :'ad_image_download_http_status_403' => :'Integer',
    :'ad_image_download_http_status_404' => :'Integer',
    :'ad_image_download_http_status_405' => :'Integer',
    :'ad_image_download_http_status_410' => :'Integer',
    :'ad_image_download_http_status_429' => :'Integer',
    :'ad_image_download_http_status_500' => :'Integer',
    :'ad_image_download_http_status_502' => :'Integer',
    :'ad_image_download_http_status_503' => :'Integer',
    :'ad_image_download_http_status_504' => :'Integer',
    :'ad_image_download_http_status_507' => :'Integer',
    :'ad_image_download_http_status_508' => :'Integer',
    :'ad_image_download_http_status_520' => :'Integer',
    :'ad_image_download_http_status_521' => :'Integer',
    :'ad_image_download_http_status_522' => :'Integer',
    :'ad_image_download_http_status_525' => :'Integer',
    :'ad_image_download_internal_configuration_error' => :'Integer',
    :'ad_image_download_internal_error' => :'Integer',
    :'ad_image_download_internal_failed_to_download' => :'Integer',
    :'ad_image_download_internal_malformed_url' => :'Integer',
    :'ad_image_download_internal_rate_limited' => :'Integer',
    :'ad_image_download_internal_request_expired' => :'Integer',
    :'ad_image_download_invalid_file' => :'Integer',
    :'ad_image_download_site_error' => :'Integer',
    :'ad_image_download_site_timeout' => :'Integer',
    :'ad_image_download_ssl_error' => :'Integer',
    :'ad_image_download_ssl_handshake_error' => :'Integer',
    :'ad_image_processing_empty_file' => :'Integer',
    :'ad_image_processing_height_too_small' => :'Integer',
    :'ad_image_processing_too_many_pixels' => :'Integer',
    :'ad_image_processing_type_mismatch' => :'Integer',
    :'ad_image_processing_width_too_small' => :'Integer',
    :'ad_video_download_content_read_error' => :'Integer',
    :'ad_video_download_dns_lookup_error' => :'Integer',
    :'ad_video_download_file_not_accessible' => :'Integer',
    :'ad_video_download_file_not_found' => :'Integer',
    :'ad_video_download_http_status_400' => :'Integer',
    :'ad_video_download_http_status_403' => :'Integer',
    :'ad_video_download_http_status_404' => :'Integer',
    :'ad_video_download_http_status_405' => :'Integer',
    :'ad_video_download_http_status_410' => :'Integer',
    :'ad_video_download_http_status_429' => :'Integer',
    :'ad_video_download_http_status_500' => :'Integer',
    :'ad_video_download_http_status_502' => :'Integer',
    :'ad_video_download_http_status_503' => :'Integer',
    :'ad_video_download_http_status_504' => :'Integer',
    :'ad_video_download_http_status_507' => :'Integer',
    :'ad_video_download_http_status_508' => :'Integer',
    :'ad_video_download_http_status_520' => :'Integer',
    :'ad_video_download_http_status_521' => :'Integer',
    :'ad_video_download_http_status_522' => :'Integer',
    :'ad_video_download_http_status_525' => :'Integer',
    :'ad_video_download_internal_configuration_error' => :'Integer',
    :'ad_video_download_internal_error' => :'Integer',
    :'ad_video_download_internal_failed_to_download' => :'Integer',
    :'ad_video_download_internal_malformed_url' => :'Integer',
    :'ad_video_download_internal_rate_limited' => :'Integer',
    :'ad_video_download_internal_request_expired' => :'Integer',
    :'ad_video_download_invalid_file' => :'Integer',
    :'ad_video_download_site_error' => :'Integer',
    :'ad_video_download_site_timeout' => :'Integer',
    :'ad_video_download_ssl_error' => :'Integer',
    :'ad_video_download_ssl_handshake_error' => :'Integer',
    :'ad_video_length_too_short' => :'Integer',
    :'ad_video_processing_empty_file' => :'Integer',
    :'ad_video_processing_height_too_small' => :'Integer',
    :'ad_video_processing_too_many_pixels' => :'Integer',
    :'ad_video_processing_type_mismatch' => :'Integer',
    :'ad_video_processing_width_too_small' => :'Integer',
    :'additional_image_file_not_accessible' => :'Integer',
    :'additional_image_file_not_found' => :'Integer',
    :'additional_image_invalid_file' => :'Integer',
    :'additional_image_level_internal_error' => :'Integer',
    :'additional_image_malformed_url' => :'Integer',
    :'fetch_google_sheet_public_can_edit' => :'Integer',
    :'hotel_price_header_is_present' => :'Integer',
    :'video_download_video_too_short' => :'Integer',
    :'video_file_not_accessible' => :'Integer',
    :'video_file_not_found' => :'Integer',
    :'video_invalid_file' => :'Integer',
    :'video_level_internal_error' => :'Integer',
    :'video_malformed_url' => :'Integer'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 854

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      ad_image_download_content_read_error == o.ad_image_download_content_read_error &&
      ad_image_download_dns_lookup_error == o.ad_image_download_dns_lookup_error &&
      ad_image_download_file_not_accessible == o.ad_image_download_file_not_accessible &&
      ad_image_download_file_not_found == o.ad_image_download_file_not_found &&
      ad_image_download_http_status_400 == o.ad_image_download_http_status_400 &&
      ad_image_download_http_status_403 == o.ad_image_download_http_status_403 &&
      ad_image_download_http_status_404 == o.ad_image_download_http_status_404 &&
      ad_image_download_http_status_405 == o.ad_image_download_http_status_405 &&
      ad_image_download_http_status_410 == o.ad_image_download_http_status_410 &&
      ad_image_download_http_status_429 == o.ad_image_download_http_status_429 &&
      ad_image_download_http_status_500 == o.ad_image_download_http_status_500 &&
      ad_image_download_http_status_502 == o.ad_image_download_http_status_502 &&
      ad_image_download_http_status_503 == o.ad_image_download_http_status_503 &&
      ad_image_download_http_status_504 == o.ad_image_download_http_status_504 &&
      ad_image_download_http_status_507 == o.ad_image_download_http_status_507 &&
      ad_image_download_http_status_508 == o.ad_image_download_http_status_508 &&
      ad_image_download_http_status_520 == o.ad_image_download_http_status_520 &&
      ad_image_download_http_status_521 == o.ad_image_download_http_status_521 &&
      ad_image_download_http_status_522 == o.ad_image_download_http_status_522 &&
      ad_image_download_http_status_525 == o.ad_image_download_http_status_525 &&
      ad_image_download_internal_configuration_error == o.ad_image_download_internal_configuration_error &&
      ad_image_download_internal_error == o.ad_image_download_internal_error &&
      ad_image_download_internal_failed_to_download == o.ad_image_download_internal_failed_to_download &&
      ad_image_download_internal_malformed_url == o.ad_image_download_internal_malformed_url &&
      ad_image_download_internal_rate_limited == o.ad_image_download_internal_rate_limited &&
      ad_image_download_internal_request_expired == o.ad_image_download_internal_request_expired &&
      ad_image_download_invalid_file == o.ad_image_download_invalid_file &&
      ad_image_download_site_error == o.ad_image_download_site_error &&
      ad_image_download_site_timeout == o.ad_image_download_site_timeout &&
      ad_image_download_ssl_error == o.ad_image_download_ssl_error &&
      ad_image_download_ssl_handshake_error == o.ad_image_download_ssl_handshake_error &&
      ad_image_processing_empty_file == o.ad_image_processing_empty_file &&
      ad_image_processing_height_too_small == o.ad_image_processing_height_too_small &&
      ad_image_processing_too_many_pixels == o.ad_image_processing_too_many_pixels &&
      ad_image_processing_type_mismatch == o.ad_image_processing_type_mismatch &&
      ad_image_processing_width_too_small == o.ad_image_processing_width_too_small &&
      ad_video_download_content_read_error == o.ad_video_download_content_read_error &&
      ad_video_download_dns_lookup_error == o.ad_video_download_dns_lookup_error &&
      ad_video_download_file_not_accessible == o.ad_video_download_file_not_accessible &&
      ad_video_download_file_not_found == o.ad_video_download_file_not_found &&
      ad_video_download_http_status_400 == o.ad_video_download_http_status_400 &&
      ad_video_download_http_status_403 == o.ad_video_download_http_status_403 &&
      ad_video_download_http_status_404 == o.ad_video_download_http_status_404 &&
      ad_video_download_http_status_405 == o.ad_video_download_http_status_405 &&
      ad_video_download_http_status_410 == o.ad_video_download_http_status_410 &&
      ad_video_download_http_status_429 == o.ad_video_download_http_status_429 &&
      ad_video_download_http_status_500 == o.ad_video_download_http_status_500 &&
      ad_video_download_http_status_502 == o.ad_video_download_http_status_502 &&
      ad_video_download_http_status_503 == o.ad_video_download_http_status_503 &&
      ad_video_download_http_status_504 == o.ad_video_download_http_status_504 &&
      ad_video_download_http_status_507 == o.ad_video_download_http_status_507 &&
      ad_video_download_http_status_508 == o.ad_video_download_http_status_508 &&
      ad_video_download_http_status_520 == o.ad_video_download_http_status_520 &&
      ad_video_download_http_status_521 == o.ad_video_download_http_status_521 &&
      ad_video_download_http_status_522 == o.ad_video_download_http_status_522 &&
      ad_video_download_http_status_525 == o.ad_video_download_http_status_525 &&
      ad_video_download_internal_configuration_error == o.ad_video_download_internal_configuration_error &&
      ad_video_download_internal_error == o.ad_video_download_internal_error &&
      ad_video_download_internal_failed_to_download == o.ad_video_download_internal_failed_to_download &&
      ad_video_download_internal_malformed_url == o.ad_video_download_internal_malformed_url &&
      ad_video_download_internal_rate_limited == o.ad_video_download_internal_rate_limited &&
      ad_video_download_internal_request_expired == o.ad_video_download_internal_request_expired &&
      ad_video_download_invalid_file == o.ad_video_download_invalid_file &&
      ad_video_download_site_error == o.ad_video_download_site_error &&
      ad_video_download_site_timeout == o.ad_video_download_site_timeout &&
      ad_video_download_ssl_error == o.ad_video_download_ssl_error &&
      ad_video_download_ssl_handshake_error == o.ad_video_download_ssl_handshake_error &&
      ad_video_length_too_short == o.ad_video_length_too_short &&
      ad_video_processing_empty_file == o.ad_video_processing_empty_file &&
      ad_video_processing_height_too_small == o.ad_video_processing_height_too_small &&
      ad_video_processing_too_many_pixels == o.ad_video_processing_too_many_pixels &&
      ad_video_processing_type_mismatch == o.ad_video_processing_type_mismatch &&
      ad_video_processing_width_too_small == o.ad_video_processing_width_too_small &&
      additional_image_file_not_accessible == o.additional_image_file_not_accessible &&
      additional_image_file_not_found == o.additional_image_file_not_found &&
      additional_image_invalid_file == o.additional_image_invalid_file &&
      additional_image_level_internal_error == o.additional_image_level_internal_error &&
      additional_image_malformed_url == o.additional_image_malformed_url &&
      fetch_google_sheet_public_can_edit == o.fetch_google_sheet_public_can_edit &&
      hotel_price_header_is_present == o.hotel_price_header_is_present &&
      video_download_video_too_short == o.video_download_video_too_short &&
      video_file_not_accessible == o.video_file_not_accessible &&
      video_file_not_found == o.video_file_not_found &&
      video_invalid_file == o.video_invalid_file &&
      video_level_internal_error == o.video_level_internal_error &&
      video_malformed_url == o.video_malformed_url
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


947
948
949
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 947

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



953
954
955
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 953

def hash
  [ad_image_download_content_read_error, ad_image_download_dns_lookup_error, ad_image_download_file_not_accessible, ad_image_download_file_not_found, ad_image_download_http_status_400, ad_image_download_http_status_403, ad_image_download_http_status_404, ad_image_download_http_status_405, ad_image_download_http_status_410, ad_image_download_http_status_429, ad_image_download_http_status_500, ad_image_download_http_status_502, ad_image_download_http_status_503, ad_image_download_http_status_504, ad_image_download_http_status_507, ad_image_download_http_status_508, ad_image_download_http_status_520, ad_image_download_http_status_521, ad_image_download_http_status_522, ad_image_download_http_status_525, ad_image_download_internal_configuration_error, ad_image_download_internal_error, ad_image_download_internal_failed_to_download, ad_image_download_internal_malformed_url, ad_image_download_internal_rate_limited, ad_image_download_internal_request_expired, ad_image_download_invalid_file, ad_image_download_site_error, ad_image_download_site_timeout, ad_image_download_ssl_error, ad_image_download_ssl_handshake_error, ad_image_processing_empty_file, ad_image_processing_height_too_small, ad_image_processing_too_many_pixels, ad_image_processing_type_mismatch, ad_image_processing_width_too_small, ad_video_download_content_read_error, ad_video_download_dns_lookup_error, ad_video_download_file_not_accessible, ad_video_download_file_not_found, ad_video_download_http_status_400, ad_video_download_http_status_403, ad_video_download_http_status_404, ad_video_download_http_status_405, ad_video_download_http_status_410, ad_video_download_http_status_429, ad_video_download_http_status_500, ad_video_download_http_status_502, ad_video_download_http_status_503, ad_video_download_http_status_504, ad_video_download_http_status_507, ad_video_download_http_status_508, ad_video_download_http_status_520, ad_video_download_http_status_521, ad_video_download_http_status_522, ad_video_download_http_status_525, ad_video_download_internal_configuration_error, ad_video_download_internal_error, ad_video_download_internal_failed_to_download, ad_video_download_internal_malformed_url, ad_video_download_internal_rate_limited, ad_video_download_internal_request_expired, ad_video_download_invalid_file, ad_video_download_site_error, ad_video_download_site_timeout, ad_video_download_ssl_error, ad_video_download_ssl_handshake_error, ad_video_length_too_short, ad_video_processing_empty_file, ad_video_processing_height_too_small, ad_video_processing_too_many_pixels, ad_video_processing_type_mismatch, ad_video_processing_width_too_small, additional_image_file_not_accessible, additional_image_file_not_found, additional_image_invalid_file, additional_image_level_internal_error, additional_image_malformed_url, fetch_google_sheet_public_can_edit, hotel_price_header_is_present, video_download_video_too_short, video_file_not_accessible, video_file_not_found, video_invalid_file, video_level_internal_error, video_malformed_url].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



839
840
841
842
843
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 839

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  invalid_properties
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



982
983
984
985
986
987
988
989
990
991
992
993
994
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 982

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



847
848
849
850
# File 'lib/pinterest_sdk/models/catalogs_feed_ingestion_warnings.rb', line 847

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  true
end