Class: Pingram::LogsGetResponseLogsInner

Inherits:
ApiModelBase show all
Defined in:
lib/pingram/models/logs_get_response_logs_inner.rb

Defined Under Namespace

Classes: EnumAttributeValidator

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 = {}) ⇒ LogsGetResponseLogsInner

Initializes the object

Parameters:

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

    Model attributes in the form of hash



734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 734

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::LogsGetResponseLogsInner` 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 `Pingram::LogsGetResponseLogsInner`. 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?(:'received_at')
    self.received_at = attributes[:'received_at']
  end

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

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

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

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

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

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

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

  if attributes.key?(:'tracking_id')
    self.tracking_id = attributes[:'tracking_id']
  else
    self.tracking_id = nil
  end

  if attributes.key?(:'account_id')
    self. = attributes[:'account_id']
  else
    self. = nil
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Instance Attribute Details

#account_idObject

Returns the value of attribute account_id.



36
37
38
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 36

def 
  @account_id
end

#agentObject

Returns the value of attribute agent.



26
27
28
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 26

def agent
  @agent
end

#call_delivered_afterObject

Returns the value of attribute call_delivered_after.



287
288
289
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 287

def call_delivered_after
  @call_delivered_after
end

#call_delivered_atObject

Returns the value of attribute call_delivered_at.



285
286
287
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 285

def call_delivered_at
  @call_delivered_at
end

#call_delivered_codeObject

Returns the value of attribute call_delivered_code.



289
290
291
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 289

def call_delivered_code
  @call_delivered_code
end

#call_delivered_costObject

Same value as call_delivered_cost_internal (for API/external use)



294
295
296
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 294

def call_delivered_cost
  @call_delivered_cost
end

#call_delivered_cost_internalObject

Returns the value of attribute call_delivered_cost_internal.



291
292
293
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 291

def call_delivered_cost_internal
  @call_delivered_cost_internal
end

#call_failed_atObject

Returns the value of attribute call_failed_at.



296
297
298
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 296

def call_failed_at
  @call_failed_at
end

#call_failed_codeObject

Returns the value of attribute call_failed_code.



298
299
300
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 298

def call_failed_code
  @call_failed_code
end

#call_failed_internalObject

Returns the value of attribute call_failed_internal.



300
301
302
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 300

def call_failed_internal
  @call_failed_internal
end

#call_previewObject

Returns the value of attribute call_preview.



253
254
255
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 253

def call_preview
  @call_preview
end

#call_routingObject

Returns the value of attribute call_routing.



239
240
241
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 239

def call_routing
  @call_routing
end

#call_routing_reasonObject

Returns the value of attribute call_routing_reason.



241
242
243
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 241

def call_routing_reason
  @call_routing_reason
end

#call_sent_afterObject

Returns the value of attribute call_sent_after.



281
282
283
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 281

def call_sent_after
  @call_sent_after
end

#call_sent_atObject

Returns the value of attribute call_sent_at.



279
280
281
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 279

def call_sent_at
  @call_sent_at
end

#call_sent_fromObject

Returns the value of attribute call_sent_from.



283
284
285
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 283

def call_sent_from
  @call_sent_from
end

#client_idObject

Returns the value of attribute client_id.



24
25
26
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 24

def client_id
  @client_id
end

#email_clicked_atObject

Returns the value of attribute email_clicked_at.



113
114
115
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 113

def email_clicked_at
  @email_clicked_at
end

#email_clicked_ipObject

Returns the value of attribute email_clicked_ip.



117
118
119
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 117

def email_clicked_ip
  @email_clicked_ip
end

Returns the value of attribute email_clicked_link.



119
120
121
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 119

def email_clicked_link
  @email_clicked_link
end

Returns the value of attribute email_clicked_link_tags.



121
122
123
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 121

def email_clicked_link_tags
  @email_clicked_link_tags
end

#email_clicked_user_agentObject

Returns the value of attribute email_clicked_user_agent.



115
116
117
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 115

def email_clicked_user_agent
  @email_clicked_user_agent
end

#email_clicked_webhook_resObject

Returns the value of attribute email_clicked_webhook_res.



123
124
125
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 123

def email_clicked_webhook_res
  @email_clicked_webhook_res
end

#email_delivered_afterObject

Returns the value of attribute email_delivered_after.



89
90
91
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 89

def email_delivered_after
  @email_delivered_after
end

#email_delivered_atObject

Returns the value of attribute email_delivered_at.



85
86
87
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 85

def email_delivered_at
  @email_delivered_at
end

#email_delivered_recipientsObject

Returns the value of attribute email_delivered_recipients.



87
88
89
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 87

def email_delivered_recipients
  @email_delivered_recipients
end

#email_delivered_webhook_resObject

Returns the value of attribute email_delivered_webhook_res.



91
92
93
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 91

def email_delivered_webhook_res
  @email_delivered_webhook_res
end

#email_failed_atObject

Returns the value of attribute email_failed_at.



93
94
95
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 93

def email_failed_at
  @email_failed_at
end

#email_failed_codeObject

Returns the value of attribute email_failed_code.



95
96
97
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 95

def email_failed_code
  @email_failed_code
end

#email_failed_diagnostic_codeObject

Returns the value of attribute email_failed_diagnostic_code.



99
100
101
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 99

def email_failed_diagnostic_code
  @email_failed_diagnostic_code
end

#email_failed_internalObject

Returns the value of attribute email_failed_internal.



101
102
103
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 101

def email_failed_internal
  @email_failed_internal
end

#email_failed_recipientObject

Returns the value of attribute email_failed_recipient.



97
98
99
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 97

def email_failed_recipient
  @email_failed_recipient
end

#email_failed_webhook_resObject

Returns the value of attribute email_failed_webhook_res.



103
104
105
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 103

def email_failed_webhook_res
  @email_failed_webhook_res
end

#email_inbound_atObject

Returns the value of attribute email_inbound_at.



125
126
127
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 125

def email_inbound_at
  @email_inbound_at
end

#email_inbound_attachment_countObject

Returns the value of attribute email_inbound_attachment_count.



149
150
151
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 149

def email_inbound_attachment_count
  @email_inbound_attachment_count
end

#email_inbound_bccObject

Returns the value of attribute email_inbound_bcc.



135
136
137
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 135

def email_inbound_bcc
  @email_inbound_bcc
end

#email_inbound_body_htmlObject

Returns the value of attribute email_inbound_body_html.



145
146
147
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 145

def email_inbound_body_html
  @email_inbound_body_html
end

#email_inbound_body_textObject

Returns the value of attribute email_inbound_body_text.



143
144
145
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 143

def email_inbound_body_text
  @email_inbound_body_text
end

#email_inbound_ccObject

Returns the value of attribute email_inbound_cc.



133
134
135
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 133

def email_inbound_cc
  @email_inbound_cc
end

#email_inbound_fromObject

Returns the value of attribute email_inbound_from.



127
128
129
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 127

def email_inbound_from
  @email_inbound_from
end

#email_inbound_from_nameObject

Returns the value of attribute email_inbound_from_name.



129
130
131
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 129

def email_inbound_from_name
  @email_inbound_from_name
end

#email_inbound_has_attachmentsObject

Returns the value of attribute email_inbound_has_attachments.



147
148
149
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 147

def email_inbound_has_attachments
  @email_inbound_has_attachments
end

#email_inbound_in_reply_toObject

Returns the value of attribute email_inbound_in_reply_to.



153
154
155
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 153

def email_inbound_in_reply_to
  @email_inbound_in_reply_to
end

#email_inbound_inboxObject

Returns the value of attribute email_inbound_inbox.



139
140
141
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 139

def email_inbound_inbox
  @email_inbound_inbox
end

#email_inbound_message_idObject

Returns the value of attribute email_inbound_message_id.



151
152
153
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 151

def email_inbound_message_id
  @email_inbound_message_id
end

#email_inbound_referencesObject

Returns the value of attribute email_inbound_references.



155
156
157
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 155

def email_inbound_references
  @email_inbound_references
end

#email_inbound_reply_toObject

Returns the value of attribute email_inbound_reply_to.



137
138
139
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 137

def email_inbound_reply_to
  @email_inbound_reply_to
end

#email_inbound_resolution_typeObject

Returns the value of attribute email_inbound_resolution_type.



161
162
163
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 161

def email_inbound_resolution_type
  @email_inbound_resolution_type
end

#email_inbound_subjectObject

Returns the value of attribute email_inbound_subject.



141
142
143
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 141

def email_inbound_subject
  @email_inbound_subject
end

#email_inbound_toObject

Returns the value of attribute email_inbound_to.



131
132
133
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 131

def email_inbound_to
  @email_inbound_to
end

#email_inbound_webhook_deliveredObject

Returns the value of attribute email_inbound_webhook_delivered.



157
158
159
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 157

def email_inbound_webhook_delivered
  @email_inbound_webhook_delivered
end

#email_inbound_webhook_resObject

Returns the value of attribute email_inbound_webhook_res.



159
160
161
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 159

def email_inbound_webhook_res
  @email_inbound_webhook_res
end

#email_opened_atObject

Returns the value of attribute email_opened_at.



105
106
107
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 105

def email_opened_at
  @email_opened_at
end

#email_opened_ipObject

Returns the value of attribute email_opened_ip.



109
110
111
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 109

def email_opened_ip
  @email_opened_ip
end

#email_opened_user_agentObject

Returns the value of attribute email_opened_user_agent.



107
108
109
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 107

def email_opened_user_agent
  @email_opened_user_agent
end

#email_opened_webhook_resObject

Returns the value of attribute email_opened_webhook_res.



111
112
113
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 111

def email_opened_webhook_res
  @email_opened_webhook_res
end

#email_previewObject

Bare ‘POST /email` may set this on the `email_sent` row so Logs Insights `latest(email_preview)` still resolves after delivered/opened rows. Sender / SQS consumer paths omit this field (unchanged behavior).



83
84
85
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 83

def email_preview
  @email_preview
end

#email_routingObject

Returns the value of attribute email_routing.



223
224
225
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 223

def email_routing
  @email_routing
end

#email_routing_reasonObject

Returns the value of attribute email_routing_reason.



225
226
227
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 225

def email_routing_reason
  @email_routing_reason
end

#email_sent_afterObject

Returns the value of attribute email_sent_after.



80
81
82
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 80

def email_sent_after
  @email_sent_after
end

#email_sent_atObject

Returns the value of attribute email_sent_at.



76
77
78
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 76

def email_sent_at
  @email_sent_at
end

#email_sent_message_idObject

Returns the value of attribute email_sent_message_id.



78
79
80
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 78

def email_sent_message_id
  @email_sent_message_id
end

#env_idObject

Returns the value of attribute env_id.



22
23
24
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 22

def env_id
  @env_id
end

#failed_atObject

Returns the value of attribute failed_at.



38
39
40
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 38

def failed_at
  @failed_at
end

#failed_codeObject

Returns the value of attribute failed_code.



40
41
42
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 40

def failed_code
  @failed_code
end

#failed_internalObject

Returns the value of attribute failed_internal.



42
43
44
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 42

def failed_internal
  @failed_internal
end

#ignoredObject

Returns the value of attribute ignored.



213
214
215
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 213

def ignored
  @ignored
end

#inapp_delivered_afterObject

Returns the value of attribute inapp_delivered_after.



50
51
52
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 50

def inapp_delivered_after
  @inapp_delivered_after
end

#inapp_delivered_atObject

Returns the value of attribute inapp_delivered_at.



48
49
50
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 48

def inapp_delivered_at
  @inapp_delivered_at
end

#inapp_failed_atObject

Returns the value of attribute inapp_failed_at.



52
53
54
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 52

def inapp_failed_at
  @inapp_failed_at
end

#inapp_failed_codeObject

Returns the value of attribute inapp_failed_code.



54
55
56
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 54

def inapp_failed_code
  @inapp_failed_code
end

#inapp_failed_internalObject

Returns the value of attribute inapp_failed_internal.



56
57
58
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 56

def inapp_failed_internal
  @inapp_failed_internal
end

#inapp_previewObject

Returns the value of attribute inapp_preview.



261
262
263
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 261

def inapp_preview
  @inapp_preview
end

#inapp_routingObject

Returns the value of attribute inapp_routing.



243
244
245
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 243

def inapp_routing
  @inapp_routing
end

#inapp_routing_reasonObject

Returns the value of attribute inapp_routing_reason.



245
246
247
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 245

def inapp_routing_reason
  @inapp_routing_reason
end

#inapp_sent_afterObject

Returns the value of attribute inapp_sent_after.



46
47
48
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 46

def inapp_sent_after
  @inapp_sent_after
end

#inapp_sent_atObject

Returns the value of attribute inapp_sent_at.



44
45
46
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 44

def inapp_sent_at
  @inapp_sent_at
end

#ipObject

Returns the value of attribute ip.



28
29
30
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 28

def ip
  @ip
end

#mobile_push_delivered_afterObject

Returns the value of attribute mobile_push_delivered_after.



74
75
76
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 74

def mobile_push_delivered_after
  @mobile_push_delivered_after
end

#mobile_push_delivered_atObject

Returns the value of attribute mobile_push_delivered_at.



72
73
74
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 72

def mobile_push_delivered_at
  @mobile_push_delivered_at
end

#mobile_push_failed_atObject

Returns the value of attribute mobile_push_failed_at.



58
59
60
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 58

def mobile_push_failed_at
  @mobile_push_failed_at
end

#mobile_push_failed_codeObject

Returns the value of attribute mobile_push_failed_code.



60
61
62
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 60

def mobile_push_failed_code
  @mobile_push_failed_code
end

#mobile_push_failed_internalObject

Returns the value of attribute mobile_push_failed_internal.



64
65
66
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 64

def mobile_push_failed_internal
  @mobile_push_failed_internal
end

#mobile_push_failed_tokenObject

Returns the value of attribute mobile_push_failed_token.



62
63
64
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 62

def mobile_push_failed_token
  @mobile_push_failed_token
end

#mobile_push_previewObject

Returns the value of attribute mobile_push_preview.



257
258
259
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 257

def mobile_push_preview
  @mobile_push_preview
end

#mobile_push_routingObject

Returns the value of attribute mobile_push_routing.



235
236
237
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 235

def mobile_push_routing
  @mobile_push_routing
end

#mobile_push_routing_reasonObject

Returns the value of attribute mobile_push_routing_reason.



237
238
239
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 237

def mobile_push_routing_reason
  @mobile_push_routing_reason
end

#mobile_push_sent_afterObject

Returns the value of attribute mobile_push_sent_after.



68
69
70
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 68

def mobile_push_sent_after
  @mobile_push_sent_after
end

#mobile_push_sent_atObject

Returns the value of attribute mobile_push_sent_at.



66
67
68
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 66

def mobile_push_sent_at
  @mobile_push_sent_at
end

#mobile_push_sent_tokenObject

Returns the value of attribute mobile_push_sent_token.



70
71
72
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 70

def mobile_push_sent_token
  @mobile_push_sent_token
end

#processed_atObject

Returns the value of attribute processed_at.



211
212
213
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 211

def processed_at
  @processed_at
end

#received_atObject

Returns the value of attribute received_at.



18
19
20
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 18

def received_at
  @received_at
end

#requestObject

Returns the value of attribute request.



30
31
32
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 30

def request
  @request
end

#schedule_deleted_atObject

Returns the value of attribute schedule_deleted_at.



352
353
354
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 352

def schedule_deleted_at
  @schedule_deleted_at
end

#schedule_updated_atObject

Returns the value of attribute schedule_updated_at.



348
349
350
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 348

def schedule_updated_at
  @schedule_updated_at
end

#schedule_updated_toObject

Returns the value of attribute schedule_updated_to.



350
351
352
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 350

def schedule_updated_to
  @schedule_updated_to
end

#scheduled_forObject

Returns the value of attribute scheduled_for.



215
216
217
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 215

def scheduled_for
  @scheduled_for
end

#slack_delivered_afterObject

Returns the value of attribute slack_delivered_after.



269
270
271
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 269

def slack_delivered_after
  @slack_delivered_after
end

#slack_delivered_atObject

Returns the value of attribute slack_delivered_at.



267
268
269
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 267

def slack_delivered_at
  @slack_delivered_at
end

#slack_delivered_internalObject

Returns the value of attribute slack_delivered_internal.



271
272
273
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 271

def slack_delivered_internal
  @slack_delivered_internal
end

#slack_failed_atObject

Returns the value of attribute slack_failed_at.



273
274
275
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 273

def slack_failed_at
  @slack_failed_at
end

#slack_failed_codeObject

Returns the value of attribute slack_failed_code.



275
276
277
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 275

def slack_failed_code
  @slack_failed_code
end

#slack_failed_internalObject

Returns the value of attribute slack_failed_internal.



277
278
279
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 277

def slack_failed_internal
  @slack_failed_internal
end

#slack_previewObject

Returns the value of attribute slack_preview.



259
260
261
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 259

def slack_preview
  @slack_preview
end

#slack_routingObject

Returns the value of attribute slack_routing.



247
248
249
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 247

def slack_routing
  @slack_routing
end

#slack_routing_reasonObject

Returns the value of attribute slack_routing_reason.



249
250
251
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 249

def slack_routing_reason
  @slack_routing_reason
end

#slack_sent_afterObject

Returns the value of attribute slack_sent_after.



265
266
267
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 265

def slack_sent_after
  @slack_sent_after
end

#slack_sent_atObject

Returns the value of attribute slack_sent_at.



263
264
265
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 263

def slack_sent_at
  @slack_sent_at
end

#sms_carrier_cost_internalObject

Actual carrier cost (internal)



335
336
337
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 335

def sms_carrier_cost_internal
  @sms_carrier_cost_internal
end

#sms_carrier_fee_internalObject

Returns the value of attribute sms_carrier_fee_internal.



337
338
339
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 337

def sms_carrier_fee_internal
  @sms_carrier_fee_internal
end

#sms_delivered_afterObject

Returns the value of attribute sms_delivered_after.



343
344
345
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 343

def sms_delivered_after
  @sms_delivered_after
end

#sms_delivered_atObject

Returns the value of attribute sms_delivered_at.



341
342
343
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 341

def sms_delivered_at
  @sms_delivered_at
end

#sms_delivered_cost_internalObject

Actual delivery cost from carrier webhook (USD), for internal logging



346
347
348
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 346

def sms_delivered_cost_internal
  @sms_delivered_cost_internal
end

#sms_failed_atObject

Returns the value of attribute sms_failed_at.



302
303
304
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 302

def sms_failed_at
  @sms_failed_at
end

#sms_failed_codeObject

Returns the value of attribute sms_failed_code.



304
305
306
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 304

def sms_failed_code
  @sms_failed_code
end

#sms_failed_internalObject

Returns the value of attribute sms_failed_internal.



306
307
308
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 306

def sms_failed_internal
  @sms_failed_internal
end

#sms_inbound_atObject

Returns the value of attribute sms_inbound_at.



163
164
165
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 163

def sms_inbound_at
  @sms_inbound_at
end

#sms_inbound_fromObject

Returns the value of attribute sms_inbound_from.



165
166
167
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 165

def sms_inbound_from
  @sms_inbound_from
end

#sms_inbound_mediaObject

Truncated JSON string of inbound MMS metadata when present.



177
178
179
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 177

def sms_inbound_media
  @sms_inbound_media
end

#sms_inbound_textObject

Returns the value of attribute sms_inbound_text.



170
171
172
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 170

def sms_inbound_text
  @sms_inbound_text
end

#sms_inbound_toObject

Pingram number that received the inbound message.



168
169
170
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 168

def sms_inbound_to
  @sms_inbound_to
end

#sms_inbound_webhook_deliveredObject

Returns the value of attribute sms_inbound_webhook_delivered.



172
173
174
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 172

def sms_inbound_webhook_delivered
  @sms_inbound_webhook_delivered
end

#sms_inbound_webhook_resObject

Returns the value of attribute sms_inbound_webhook_res.



174
175
176
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 174

def sms_inbound_webhook_res
  @sms_inbound_webhook_res
end

#sms_previewObject

Returns the value of attribute sms_preview.



251
252
253
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 251

def sms_preview
  @sms_preview
end

#sms_rate_internalObject

Returns the value of attribute sms_rate_internal.



339
340
341
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 339

def sms_rate_internal
  @sms_rate_internal
end

#sms_replied_atObject

Returns the value of attribute sms_replied_at.



179
180
181
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 179

def sms_replied_at
  @sms_replied_at
end

#sms_replied_encodingObject

Returns the value of attribute sms_replied_encoding.



187
188
189
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 187

def sms_replied_encoding
  @sms_replied_encoding
end

#sms_replied_segmentsObject

Returns the value of attribute sms_replied_segments.



185
186
187
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 185

def sms_replied_segments
  @sms_replied_segments
end

#sms_replied_textObject

Returns the value of attribute sms_replied_text.



183
184
185
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 183

def sms_replied_text
  @sms_replied_text
end

#sms_replied_toObject

Returns the value of attribute sms_replied_to.



181
182
183
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 181

def sms_replied_to
  @sms_replied_to
end

#sms_routingObject

Returns the value of attribute sms_routing.



227
228
229
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 227

def sms_routing
  @sms_routing
end

#sms_routing_reasonObject

Returns the value of attribute sms_routing_reason.



229
230
231
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 229

def sms_routing_reason
  @sms_routing_reason
end

#sms_sent_afterObject

Returns the value of attribute sms_sent_after.



310
311
312
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 310

def sms_sent_after
  @sms_sent_after
end

#sms_sent_atObject

Returns the value of attribute sms_sent_at.



308
309
310
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 308

def sms_sent_at
  @sms_sent_at
end

#sms_sent_carrierObject

Returns the value of attribute sms_sent_carrier.



314
315
316
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 314

def sms_sent_carrier
  @sms_sent_carrier
end

#sms_sent_costObject

Returns the value of attribute sms_sent_cost.



324
325
326
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 324

def sms_sent_cost
  @sms_sent_cost
end

#sms_sent_countryObject

Returns the value of attribute sms_sent_country.



326
327
328
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 326

def sms_sent_country
  @sms_sent_country
end

#sms_sent_encodingObject

Returns the value of attribute sms_sent_encoding.



318
319
320
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 318

def sms_sent_encoding
  @sms_sent_encoding
end

#sms_sent_fromObject

Returns the value of attribute sms_sent_from.



312
313
314
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 312

def sms_sent_from
  @sms_sent_from
end

#sms_sent_line_typeObject

Returns the value of attribute sms_sent_line_type.



316
317
318
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 316

def sms_sent_line_type
  @sms_sent_line_type
end

#sms_sent_message_idObject

Unique message ID from the SMS provider



329
330
331
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 329

def sms_sent_message_id
  @sms_sent_message_id
end

#sms_sent_mmsObject

True when the send included MMS (‘mediaUrls`).



332
333
334
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 332

def sms_sent_mms
  @sms_sent_mms
end

#sms_sent_partsObject

Returns the value of attribute sms_sent_parts.



322
323
324
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 322

def sms_sent_parts
  @sms_sent_parts
end

#sms_sent_segmentsObject

Returns the value of attribute sms_sent_segments.



320
321
322
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 320

def sms_sent_segments
  @sms_sent_segments
end

#testObject

Returns the value of attribute test.



32
33
34
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 32

def test
  @test
end

#tracking_idObject

Returns the value of attribute tracking_id.



34
35
36
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 34

def tracking_id
  @tracking_id
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 20

def type
  @type
end

#user_emailObject

Returns the value of attribute user_email.



219
220
221
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 219

def user_email
  @user_email
end

#user_idObject

Returns the value of attribute user_id.



217
218
219
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 217

def user_id
  @user_id
end

#user_numberObject

Returns the value of attribute user_number.



221
222
223
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 221

def user_number
  @user_number
end

#web_push_delivered_afterObject

Returns the value of attribute web_push_delivered_after.



197
198
199
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 197

def web_push_delivered_after
  @web_push_delivered_after
end

#web_push_delivered_atObject

Returns the value of attribute web_push_delivered_at.



195
196
197
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 195

def web_push_delivered_at
  @web_push_delivered_at
end

#web_push_delivered_internalObject

Returns the value of attribute web_push_delivered_internal.



201
202
203
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 201

def web_push_delivered_internal
  @web_push_delivered_internal
end

#web_push_delivered_tokenObject

Returns the value of attribute web_push_delivered_token.



199
200
201
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 199

def web_push_delivered_token
  @web_push_delivered_token
end

#web_push_failed_atObject

Returns the value of attribute web_push_failed_at.



203
204
205
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 203

def web_push_failed_at
  @web_push_failed_at
end

#web_push_failed_codeObject

Returns the value of attribute web_push_failed_code.



207
208
209
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 207

def web_push_failed_code
  @web_push_failed_code
end

#web_push_failed_internalObject

Returns the value of attribute web_push_failed_internal.



209
210
211
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 209

def web_push_failed_internal
  @web_push_failed_internal
end

#web_push_failed_tokenObject

Returns the value of attribute web_push_failed_token.



205
206
207
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 205

def web_push_failed_token
  @web_push_failed_token
end

#web_push_previewObject

Returns the value of attribute web_push_preview.



255
256
257
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 255

def web_push_preview
  @web_push_preview
end

#web_push_routingObject

Returns the value of attribute web_push_routing.



231
232
233
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 231

def web_push_routing
  @web_push_routing
end

#web_push_routing_reasonObject

Returns the value of attribute web_push_routing_reason.



233
234
235
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 233

def web_push_routing_reason
  @web_push_routing_reason
end

#web_push_sent_afterObject

Returns the value of attribute web_push_sent_after.



193
194
195
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 193

def web_push_sent_after
  @web_push_sent_after
end

#web_push_sent_atObject

Returns the value of attribute web_push_sent_at.



191
192
193
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 191

def web_push_sent_at
  @web_push_sent_at
end

#web_push_sent_tokenObject

Returns the value of attribute web_push_sent_token.



189
190
191
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 189

def web_push_sent_token
  @web_push_sent_token
end

Class Method Details

.acceptable_attribute_mapObject

Returns attribute mapping this model knows about



547
548
549
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 547

def self.acceptable_attribute_map
  attribute_map
end

.acceptable_attributesObject

Returns all the JSON keys this model knows about



552
553
554
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 552

def self.acceptable_attributes
  acceptable_attribute_map.values
end

.attribute_mapObject

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



377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 377

def self.attribute_map
  {
    :'received_at' => :'received_at',
    :'type' => :'type',
    :'env_id' => :'envId',
    :'client_id' => :'clientId',
    :'agent' => :'agent',
    :'ip' => :'ip',
    :'request' => :'request',
    :'test' => :'test',
    :'tracking_id' => :'trackingId',
    :'account_id' => :'accountId',
    :'failed_at' => :'failed_at',
    :'failed_code' => :'failed_code',
    :'failed_internal' => :'failed_internal',
    :'inapp_sent_at' => :'inapp_sent_at',
    :'inapp_sent_after' => :'inapp_sent_after',
    :'inapp_delivered_at' => :'inapp_delivered_at',
    :'inapp_delivered_after' => :'inapp_delivered_after',
    :'inapp_failed_at' => :'inapp_failed_at',
    :'inapp_failed_code' => :'inapp_failed_code',
    :'inapp_failed_internal' => :'inapp_failed_internal',
    :'mobile_push_failed_at' => :'mobile_push_failed_at',
    :'mobile_push_failed_code' => :'mobile_push_failed_code',
    :'mobile_push_failed_token' => :'mobile_push_failed_token',
    :'mobile_push_failed_internal' => :'mobile_push_failed_internal',
    :'mobile_push_sent_at' => :'mobile_push_sent_at',
    :'mobile_push_sent_after' => :'mobile_push_sent_after',
    :'mobile_push_sent_token' => :'mobile_push_sent_token',
    :'mobile_push_delivered_at' => :'mobile_push_delivered_at',
    :'mobile_push_delivered_after' => :'mobile_push_delivered_after',
    :'email_sent_at' => :'email_sent_at',
    :'email_sent_message_id' => :'email_sent_message_id',
    :'email_sent_after' => :'email_sent_after',
    :'email_preview' => :'email_preview',
    :'email_delivered_at' => :'email_delivered_at',
    :'email_delivered_recipients' => :'email_delivered_recipients',
    :'email_delivered_after' => :'email_delivered_after',
    :'email_delivered_webhook_res' => :'email_delivered_webhook_res',
    :'email_failed_at' => :'email_failed_at',
    :'email_failed_code' => :'email_failed_code',
    :'email_failed_recipient' => :'email_failed_recipient',
    :'email_failed_diagnostic_code' => :'email_failed_diagnostic_code',
    :'email_failed_internal' => :'email_failed_internal',
    :'email_failed_webhook_res' => :'email_failed_webhook_res',
    :'email_opened_at' => :'email_opened_at',
    :'email_opened_user_agent' => :'email_opened_user_agent',
    :'email_opened_ip' => :'email_opened_ip',
    :'email_opened_webhook_res' => :'email_opened_webhook_res',
    :'email_clicked_at' => :'email_clicked_at',
    :'email_clicked_user_agent' => :'email_clicked_user_agent',
    :'email_clicked_ip' => :'email_clicked_ip',
    :'email_clicked_link' => :'email_clicked_link',
    :'email_clicked_link_tags' => :'email_clicked_link_tags',
    :'email_clicked_webhook_res' => :'email_clicked_webhook_res',
    :'email_inbound_at' => :'email_inbound_at',
    :'email_inbound_from' => :'email_inbound_from',
    :'email_inbound_from_name' => :'email_inbound_from_name',
    :'email_inbound_to' => :'email_inbound_to',
    :'email_inbound_cc' => :'email_inbound_cc',
    :'email_inbound_bcc' => :'email_inbound_bcc',
    :'email_inbound_reply_to' => :'email_inbound_reply_to',
    :'email_inbound_inbox' => :'email_inbound_inbox',
    :'email_inbound_subject' => :'email_inbound_subject',
    :'email_inbound_body_text' => :'email_inbound_body_text',
    :'email_inbound_body_html' => :'email_inbound_body_html',
    :'email_inbound_has_attachments' => :'email_inbound_has_attachments',
    :'email_inbound_attachment_count' => :'email_inbound_attachment_count',
    :'email_inbound_message_id' => :'email_inbound_message_id',
    :'email_inbound_in_reply_to' => :'email_inbound_in_reply_to',
    :'email_inbound_references' => :'email_inbound_references',
    :'email_inbound_webhook_delivered' => :'email_inbound_webhook_delivered',
    :'email_inbound_webhook_res' => :'email_inbound_webhook_res',
    :'email_inbound_resolution_type' => :'email_inbound_resolution_type',
    :'sms_inbound_at' => :'sms_inbound_at',
    :'sms_inbound_from' => :'sms_inbound_from',
    :'sms_inbound_to' => :'sms_inbound_to',
    :'sms_inbound_text' => :'sms_inbound_text',
    :'sms_inbound_webhook_delivered' => :'sms_inbound_webhook_delivered',
    :'sms_inbound_webhook_res' => :'sms_inbound_webhook_res',
    :'sms_inbound_media' => :'sms_inbound_media',
    :'sms_replied_at' => :'sms_replied_at',
    :'sms_replied_to' => :'sms_replied_to',
    :'sms_replied_text' => :'sms_replied_text',
    :'sms_replied_segments' => :'sms_replied_segments',
    :'sms_replied_encoding' => :'sms_replied_encoding',
    :'web_push_sent_token' => :'web_push_sent_token',
    :'web_push_sent_at' => :'web_push_sent_at',
    :'web_push_sent_after' => :'web_push_sent_after',
    :'web_push_delivered_at' => :'web_push_delivered_at',
    :'web_push_delivered_after' => :'web_push_delivered_after',
    :'web_push_delivered_token' => :'web_push_delivered_token',
    :'web_push_delivered_internal' => :'web_push_delivered_internal',
    :'web_push_failed_at' => :'web_push_failed_at',
    :'web_push_failed_token' => :'web_push_failed_token',
    :'web_push_failed_code' => :'web_push_failed_code',
    :'web_push_failed_internal' => :'web_push_failed_internal',
    :'processed_at' => :'processed_at',
    :'ignored' => :'ignored',
    :'scheduled_for' => :'scheduled_for',
    :'user_id' => :'user_id',
    :'user_email' => :'user_email',
    :'user_number' => :'user_number',
    :'email_routing' => :'email_routing',
    :'email_routing_reason' => :'email_routing_reason',
    :'sms_routing' => :'sms_routing',
    :'sms_routing_reason' => :'sms_routing_reason',
    :'web_push_routing' => :'web_push_routing',
    :'web_push_routing_reason' => :'web_push_routing_reason',
    :'mobile_push_routing' => :'mobile_push_routing',
    :'mobile_push_routing_reason' => :'mobile_push_routing_reason',
    :'call_routing' => :'call_routing',
    :'call_routing_reason' => :'call_routing_reason',
    :'inapp_routing' => :'inapp_routing',
    :'inapp_routing_reason' => :'inapp_routing_reason',
    :'slack_routing' => :'slack_routing',
    :'slack_routing_reason' => :'slack_routing_reason',
    :'sms_preview' => :'sms_preview',
    :'call_preview' => :'call_preview',
    :'web_push_preview' => :'web_push_preview',
    :'mobile_push_preview' => :'mobile_push_preview',
    :'slack_preview' => :'slack_preview',
    :'inapp_preview' => :'inapp_preview',
    :'slack_sent_at' => :'slack_sent_at',
    :'slack_sent_after' => :'slack_sent_after',
    :'slack_delivered_at' => :'slack_delivered_at',
    :'slack_delivered_after' => :'slack_delivered_after',
    :'slack_delivered_internal' => :'slack_delivered_internal',
    :'slack_failed_at' => :'slack_failed_at',
    :'slack_failed_code' => :'slack_failed_code',
    :'slack_failed_internal' => :'slack_failed_internal',
    :'call_sent_at' => :'call_sent_at',
    :'call_sent_after' => :'call_sent_after',
    :'call_sent_from' => :'call_sent_from',
    :'call_delivered_at' => :'call_delivered_at',
    :'call_delivered_after' => :'call_delivered_after',
    :'call_delivered_code' => :'call_delivered_code',
    :'call_delivered_cost_internal' => :'call_delivered_cost_internal',
    :'call_delivered_cost' => :'call_delivered_cost',
    :'call_failed_at' => :'call_failed_at',
    :'call_failed_code' => :'call_failed_code',
    :'call_failed_internal' => :'call_failed_internal',
    :'sms_failed_at' => :'sms_failed_at',
    :'sms_failed_code' => :'sms_failed_code',
    :'sms_failed_internal' => :'sms_failed_internal',
    :'sms_sent_at' => :'sms_sent_at',
    :'sms_sent_after' => :'sms_sent_after',
    :'sms_sent_from' => :'sms_sent_from',
    :'sms_sent_carrier' => :'sms_sent_carrier',
    :'sms_sent_line_type' => :'sms_sent_line_type',
    :'sms_sent_encoding' => :'sms_sent_encoding',
    :'sms_sent_segments' => :'sms_sent_segments',
    :'sms_sent_parts' => :'sms_sent_parts',
    :'sms_sent_cost' => :'sms_sent_cost',
    :'sms_sent_country' => :'sms_sent_country',
    :'sms_sent_message_id' => :'sms_sent_messageId',
    :'sms_sent_mms' => :'sms_sent_mms',
    :'sms_carrier_cost_internal' => :'sms_carrier_cost_internal',
    :'sms_carrier_fee_internal' => :'sms_carrier_fee_internal',
    :'sms_rate_internal' => :'sms_rate_internal',
    :'sms_delivered_at' => :'sms_delivered_at',
    :'sms_delivered_after' => :'sms_delivered_after',
    :'sms_delivered_cost_internal' => :'sms_delivered_cost_internal',
    :'schedule_updated_at' => :'schedule_updated_at',
    :'schedule_updated_to' => :'schedule_updated_to',
    :'schedule_deleted_at' => :'schedule_deleted_at'
  }
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



1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1940

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



727
728
729
730
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 727

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

.openapi_typesObject

Attribute type mapping.



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
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 557

def self.openapi_types
  {
    :'received_at' => :'String',
    :'type' => :'String',
    :'env_id' => :'String',
    :'client_id' => :'String',
    :'agent' => :'String',
    :'ip' => :'String',
    :'request' => :'String',
    :'test' => :'Boolean',
    :'tracking_id' => :'String',
    :'account_id' => :'String',
    :'failed_at' => :'String',
    :'failed_code' => :'String',
    :'failed_internal' => :'String',
    :'inapp_sent_at' => :'String',
    :'inapp_sent_after' => :'Float',
    :'inapp_delivered_at' => :'String',
    :'inapp_delivered_after' => :'Float',
    :'inapp_failed_at' => :'String',
    :'inapp_failed_code' => :'String',
    :'inapp_failed_internal' => :'String',
    :'mobile_push_failed_at' => :'String',
    :'mobile_push_failed_code' => :'String',
    :'mobile_push_failed_token' => :'String',
    :'mobile_push_failed_internal' => :'String',
    :'mobile_push_sent_at' => :'String',
    :'mobile_push_sent_after' => :'Float',
    :'mobile_push_sent_token' => :'String',
    :'mobile_push_delivered_at' => :'String',
    :'mobile_push_delivered_after' => :'Float',
    :'email_sent_at' => :'String',
    :'email_sent_message_id' => :'String',
    :'email_sent_after' => :'Float',
    :'email_preview' => :'String',
    :'email_delivered_at' => :'String',
    :'email_delivered_recipients' => :'String',
    :'email_delivered_after' => :'Float',
    :'email_delivered_webhook_res' => :'String',
    :'email_failed_at' => :'String',
    :'email_failed_code' => :'String',
    :'email_failed_recipient' => :'String',
    :'email_failed_diagnostic_code' => :'String',
    :'email_failed_internal' => :'String',
    :'email_failed_webhook_res' => :'String',
    :'email_opened_at' => :'String',
    :'email_opened_user_agent' => :'String',
    :'email_opened_ip' => :'String',
    :'email_opened_webhook_res' => :'String',
    :'email_clicked_at' => :'String',
    :'email_clicked_user_agent' => :'String',
    :'email_clicked_ip' => :'String',
    :'email_clicked_link' => :'String',
    :'email_clicked_link_tags' => :'String',
    :'email_clicked_webhook_res' => :'String',
    :'email_inbound_at' => :'String',
    :'email_inbound_from' => :'String',
    :'email_inbound_from_name' => :'String',
    :'email_inbound_to' => :'String',
    :'email_inbound_cc' => :'String',
    :'email_inbound_bcc' => :'String',
    :'email_inbound_reply_to' => :'String',
    :'email_inbound_inbox' => :'String',
    :'email_inbound_subject' => :'String',
    :'email_inbound_body_text' => :'String',
    :'email_inbound_body_html' => :'String',
    :'email_inbound_has_attachments' => :'Boolean',
    :'email_inbound_attachment_count' => :'Float',
    :'email_inbound_message_id' => :'String',
    :'email_inbound_in_reply_to' => :'String',
    :'email_inbound_references' => :'String',
    :'email_inbound_webhook_delivered' => :'Boolean',
    :'email_inbound_webhook_res' => :'String',
    :'email_inbound_resolution_type' => :'String',
    :'sms_inbound_at' => :'String',
    :'sms_inbound_from' => :'String',
    :'sms_inbound_to' => :'String',
    :'sms_inbound_text' => :'String',
    :'sms_inbound_webhook_delivered' => :'Boolean',
    :'sms_inbound_webhook_res' => :'String',
    :'sms_inbound_media' => :'String',
    :'sms_replied_at' => :'String',
    :'sms_replied_to' => :'String',
    :'sms_replied_text' => :'String',
    :'sms_replied_segments' => :'Float',
    :'sms_replied_encoding' => :'String',
    :'web_push_sent_token' => :'String',
    :'web_push_sent_at' => :'String',
    :'web_push_sent_after' => :'Float',
    :'web_push_delivered_at' => :'String',
    :'web_push_delivered_after' => :'Float',
    :'web_push_delivered_token' => :'String',
    :'web_push_delivered_internal' => :'String',
    :'web_push_failed_at' => :'String',
    :'web_push_failed_token' => :'String',
    :'web_push_failed_code' => :'String',
    :'web_push_failed_internal' => :'String',
    :'processed_at' => :'String',
    :'ignored' => :'String',
    :'scheduled_for' => :'String',
    :'user_id' => :'String',
    :'user_email' => :'String',
    :'user_number' => :'String',
    :'email_routing' => :'String',
    :'email_routing_reason' => :'String',
    :'sms_routing' => :'String',
    :'sms_routing_reason' => :'String',
    :'web_push_routing' => :'String',
    :'web_push_routing_reason' => :'String',
    :'mobile_push_routing' => :'String',
    :'mobile_push_routing_reason' => :'String',
    :'call_routing' => :'String',
    :'call_routing_reason' => :'String',
    :'inapp_routing' => :'String',
    :'inapp_routing_reason' => :'String',
    :'slack_routing' => :'String',
    :'slack_routing_reason' => :'String',
    :'sms_preview' => :'String',
    :'call_preview' => :'String',
    :'web_push_preview' => :'String',
    :'mobile_push_preview' => :'String',
    :'slack_preview' => :'String',
    :'inapp_preview' => :'String',
    :'slack_sent_at' => :'String',
    :'slack_sent_after' => :'Float',
    :'slack_delivered_at' => :'String',
    :'slack_delivered_after' => :'Float',
    :'slack_delivered_internal' => :'String',
    :'slack_failed_at' => :'String',
    :'slack_failed_code' => :'String',
    :'slack_failed_internal' => :'String',
    :'call_sent_at' => :'String',
    :'call_sent_after' => :'Float',
    :'call_sent_from' => :'String',
    :'call_delivered_at' => :'String',
    :'call_delivered_after' => :'Float',
    :'call_delivered_code' => :'String',
    :'call_delivered_cost_internal' => :'Float',
    :'call_delivered_cost' => :'Float',
    :'call_failed_at' => :'String',
    :'call_failed_code' => :'String',
    :'call_failed_internal' => :'String',
    :'sms_failed_at' => :'String',
    :'sms_failed_code' => :'String',
    :'sms_failed_internal' => :'String',
    :'sms_sent_at' => :'String',
    :'sms_sent_after' => :'Float',
    :'sms_sent_from' => :'String',
    :'sms_sent_carrier' => :'String',
    :'sms_sent_line_type' => :'String',
    :'sms_sent_encoding' => :'String',
    :'sms_sent_segments' => :'Float',
    :'sms_sent_parts' => :'Float',
    :'sms_sent_cost' => :'Float',
    :'sms_sent_country' => :'String',
    :'sms_sent_message_id' => :'String',
    :'sms_sent_mms' => :'Boolean',
    :'sms_carrier_cost_internal' => :'Float',
    :'sms_carrier_fee_internal' => :'Float',
    :'sms_rate_internal' => :'Float',
    :'sms_delivered_at' => :'String',
    :'sms_delivered_after' => :'Float',
    :'sms_delivered_cost_internal' => :'Float',
    :'schedule_updated_at' => :'String',
    :'schedule_updated_to' => :'String',
    :'schedule_deleted_at' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1756

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      received_at == o.received_at &&
      type == o.type &&
      env_id == o.env_id &&
      client_id == o.client_id &&
      agent == o.agent &&
      ip == o.ip &&
      request == o.request &&
      test == o.test &&
      tracking_id == o.tracking_id &&
       == o. &&
      failed_at == o.failed_at &&
      failed_code == o.failed_code &&
      failed_internal == o.failed_internal &&
      inapp_sent_at == o.inapp_sent_at &&
      inapp_sent_after == o.inapp_sent_after &&
      inapp_delivered_at == o.inapp_delivered_at &&
      inapp_delivered_after == o.inapp_delivered_after &&
      inapp_failed_at == o.inapp_failed_at &&
      inapp_failed_code == o.inapp_failed_code &&
      inapp_failed_internal == o.inapp_failed_internal &&
      mobile_push_failed_at == o.mobile_push_failed_at &&
      mobile_push_failed_code == o.mobile_push_failed_code &&
      mobile_push_failed_token == o.mobile_push_failed_token &&
      mobile_push_failed_internal == o.mobile_push_failed_internal &&
      mobile_push_sent_at == o.mobile_push_sent_at &&
      mobile_push_sent_after == o.mobile_push_sent_after &&
      mobile_push_sent_token == o.mobile_push_sent_token &&
      mobile_push_delivered_at == o.mobile_push_delivered_at &&
      mobile_push_delivered_after == o.mobile_push_delivered_after &&
      email_sent_at == o.email_sent_at &&
      email_sent_message_id == o.email_sent_message_id &&
      email_sent_after == o.email_sent_after &&
      email_preview == o.email_preview &&
      email_delivered_at == o.email_delivered_at &&
      email_delivered_recipients == o.email_delivered_recipients &&
      email_delivered_after == o.email_delivered_after &&
      email_delivered_webhook_res == o.email_delivered_webhook_res &&
      email_failed_at == o.email_failed_at &&
      email_failed_code == o.email_failed_code &&
      email_failed_recipient == o.email_failed_recipient &&
      email_failed_diagnostic_code == o.email_failed_diagnostic_code &&
      email_failed_internal == o.email_failed_internal &&
      email_failed_webhook_res == o.email_failed_webhook_res &&
      email_opened_at == o.email_opened_at &&
      email_opened_user_agent == o.email_opened_user_agent &&
      email_opened_ip == o.email_opened_ip &&
      email_opened_webhook_res == o.email_opened_webhook_res &&
      email_clicked_at == o.email_clicked_at &&
      email_clicked_user_agent == o.email_clicked_user_agent &&
      email_clicked_ip == o.email_clicked_ip &&
      email_clicked_link == o.email_clicked_link &&
      email_clicked_link_tags == o.email_clicked_link_tags &&
      email_clicked_webhook_res == o.email_clicked_webhook_res &&
      email_inbound_at == o.email_inbound_at &&
      email_inbound_from == o.email_inbound_from &&
      email_inbound_from_name == o.email_inbound_from_name &&
      email_inbound_to == o.email_inbound_to &&
      email_inbound_cc == o.email_inbound_cc &&
      email_inbound_bcc == o.email_inbound_bcc &&
      email_inbound_reply_to == o.email_inbound_reply_to &&
      email_inbound_inbox == o.email_inbound_inbox &&
      email_inbound_subject == o.email_inbound_subject &&
      email_inbound_body_text == o.email_inbound_body_text &&
      email_inbound_body_html == o.email_inbound_body_html &&
      email_inbound_has_attachments == o.email_inbound_has_attachments &&
      email_inbound_attachment_count == o.email_inbound_attachment_count &&
      email_inbound_message_id == o.email_inbound_message_id &&
      email_inbound_in_reply_to == o.email_inbound_in_reply_to &&
      email_inbound_references == o.email_inbound_references &&
      email_inbound_webhook_delivered == o.email_inbound_webhook_delivered &&
      email_inbound_webhook_res == o.email_inbound_webhook_res &&
      email_inbound_resolution_type == o.email_inbound_resolution_type &&
      sms_inbound_at == o.sms_inbound_at &&
      sms_inbound_from == o.sms_inbound_from &&
      sms_inbound_to == o.sms_inbound_to &&
      sms_inbound_text == o.sms_inbound_text &&
      sms_inbound_webhook_delivered == o.sms_inbound_webhook_delivered &&
      sms_inbound_webhook_res == o.sms_inbound_webhook_res &&
      sms_inbound_media == o.sms_inbound_media &&
      sms_replied_at == o.sms_replied_at &&
      sms_replied_to == o.sms_replied_to &&
      sms_replied_text == o.sms_replied_text &&
      sms_replied_segments == o.sms_replied_segments &&
      sms_replied_encoding == o.sms_replied_encoding &&
      web_push_sent_token == o.web_push_sent_token &&
      web_push_sent_at == o.web_push_sent_at &&
      web_push_sent_after == o.web_push_sent_after &&
      web_push_delivered_at == o.web_push_delivered_at &&
      web_push_delivered_after == o.web_push_delivered_after &&
      web_push_delivered_token == o.web_push_delivered_token &&
      web_push_delivered_internal == o.web_push_delivered_internal &&
      web_push_failed_at == o.web_push_failed_at &&
      web_push_failed_token == o.web_push_failed_token &&
      web_push_failed_code == o.web_push_failed_code &&
      web_push_failed_internal == o.web_push_failed_internal &&
      processed_at == o.processed_at &&
      ignored == o.ignored &&
      scheduled_for == o.scheduled_for &&
      user_id == o.user_id &&
      user_email == o.user_email &&
      user_number == o.user_number &&
      email_routing == o.email_routing &&
      email_routing_reason == o.email_routing_reason &&
      sms_routing == o.sms_routing &&
      sms_routing_reason == o.sms_routing_reason &&
      web_push_routing == o.web_push_routing &&
      web_push_routing_reason == o.web_push_routing_reason &&
      mobile_push_routing == o.mobile_push_routing &&
      mobile_push_routing_reason == o.mobile_push_routing_reason &&
      call_routing == o.call_routing &&
      call_routing_reason == o.call_routing_reason &&
      inapp_routing == o.inapp_routing &&
      inapp_routing_reason == o.inapp_routing_reason &&
      slack_routing == o.slack_routing &&
      slack_routing_reason == o.slack_routing_reason &&
      sms_preview == o.sms_preview &&
      call_preview == o.call_preview &&
      web_push_preview == o.web_push_preview &&
      mobile_push_preview == o.mobile_push_preview &&
      slack_preview == o.slack_preview &&
      inapp_preview == o.inapp_preview &&
      slack_sent_at == o.slack_sent_at &&
      slack_sent_after == o.slack_sent_after &&
      slack_delivered_at == o.slack_delivered_at &&
      slack_delivered_after == o.slack_delivered_after &&
      slack_delivered_internal == o.slack_delivered_internal &&
      slack_failed_at == o.slack_failed_at &&
      slack_failed_code == o.slack_failed_code &&
      slack_failed_internal == o.slack_failed_internal &&
      call_sent_at == o.call_sent_at &&
      call_sent_after == o.call_sent_after &&
      call_sent_from == o.call_sent_from &&
      call_delivered_at == o.call_delivered_at &&
      call_delivered_after == o.call_delivered_after &&
      call_delivered_code == o.call_delivered_code &&
      call_delivered_cost_internal == o.call_delivered_cost_internal &&
      call_delivered_cost == o.call_delivered_cost &&
      call_failed_at == o.call_failed_at &&
      call_failed_code == o.call_failed_code &&
      call_failed_internal == o.call_failed_internal &&
      sms_failed_at == o.sms_failed_at &&
      sms_failed_code == o.sms_failed_code &&
      sms_failed_internal == o.sms_failed_internal &&
      sms_sent_at == o.sms_sent_at &&
      sms_sent_after == o.sms_sent_after &&
      sms_sent_from == o.sms_sent_from &&
      sms_sent_carrier == o.sms_sent_carrier &&
      sms_sent_line_type == o.sms_sent_line_type &&
      sms_sent_encoding == o.sms_sent_encoding &&
      sms_sent_segments == o.sms_sent_segments &&
      sms_sent_parts == o.sms_sent_parts &&
      sms_sent_cost == o.sms_sent_cost &&
      sms_sent_country == o.sms_sent_country &&
      sms_sent_message_id == o.sms_sent_message_id &&
      sms_sent_mms == o.sms_sent_mms &&
      sms_carrier_cost_internal == o.sms_carrier_cost_internal &&
      sms_carrier_fee_internal == o.sms_carrier_fee_internal &&
      sms_rate_internal == o.sms_rate_internal &&
      sms_delivered_at == o.sms_delivered_at &&
      sms_delivered_after == o.sms_delivered_after &&
      sms_delivered_cost_internal == o.sms_delivered_cost_internal &&
      schedule_updated_at == o.schedule_updated_at &&
      schedule_updated_to == o.schedule_updated_to &&
      schedule_deleted_at == o.schedule_deleted_at
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1927
1928
1929
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1927

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1933
1934
1935
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1933

def hash
  [received_at, type, env_id, client_id, agent, ip, request, test, tracking_id, , failed_at, failed_code, failed_internal, inapp_sent_at, inapp_sent_after, inapp_delivered_at, inapp_delivered_after, inapp_failed_at, inapp_failed_code, inapp_failed_internal, mobile_push_failed_at, mobile_push_failed_code, mobile_push_failed_token, mobile_push_failed_internal, mobile_push_sent_at, mobile_push_sent_after, mobile_push_sent_token, mobile_push_delivered_at, mobile_push_delivered_after, email_sent_at, email_sent_message_id, email_sent_after, email_preview, email_delivered_at, email_delivered_recipients, email_delivered_after, email_delivered_webhook_res, email_failed_at, email_failed_code, email_failed_recipient, email_failed_diagnostic_code, email_failed_internal, email_failed_webhook_res, email_opened_at, email_opened_user_agent, email_opened_ip, email_opened_webhook_res, email_clicked_at, email_clicked_user_agent, email_clicked_ip, email_clicked_link, email_clicked_link_tags, email_clicked_webhook_res, email_inbound_at, email_inbound_from, email_inbound_from_name, email_inbound_to, email_inbound_cc, email_inbound_bcc, email_inbound_reply_to, email_inbound_inbox, email_inbound_subject, email_inbound_body_text, email_inbound_body_html, email_inbound_has_attachments, email_inbound_attachment_count, email_inbound_message_id, email_inbound_in_reply_to, email_inbound_references, email_inbound_webhook_delivered, email_inbound_webhook_res, email_inbound_resolution_type, sms_inbound_at, sms_inbound_from, sms_inbound_to, sms_inbound_text, sms_inbound_webhook_delivered, sms_inbound_webhook_res, sms_inbound_media, sms_replied_at, sms_replied_to, sms_replied_text, sms_replied_segments, sms_replied_encoding, web_push_sent_token, web_push_sent_at, web_push_sent_after, web_push_delivered_at, web_push_delivered_after, web_push_delivered_token, web_push_delivered_internal, web_push_failed_at, web_push_failed_token, web_push_failed_code, web_push_failed_internal, processed_at, ignored, scheduled_for, user_id, user_email, user_number, email_routing, email_routing_reason, sms_routing, sms_routing_reason, web_push_routing, web_push_routing_reason, mobile_push_routing, mobile_push_routing_reason, call_routing, call_routing_reason, inapp_routing, inapp_routing_reason, slack_routing, slack_routing_reason, sms_preview, call_preview, web_push_preview, mobile_push_preview, slack_preview, inapp_preview, slack_sent_at, slack_sent_after, slack_delivered_at, slack_delivered_after, slack_delivered_internal, slack_failed_at, slack_failed_code, slack_failed_internal, call_sent_at, call_sent_after, call_sent_from, call_delivered_at, call_delivered_after, call_delivered_code, call_delivered_cost_internal, call_delivered_cost, call_failed_at, call_failed_code, call_failed_internal, sms_failed_at, sms_failed_code, sms_failed_internal, sms_sent_at, sms_sent_after, sms_sent_from, sms_sent_carrier, sms_sent_line_type, sms_sent_encoding, sms_sent_segments, sms_sent_parts, sms_sent_cost, sms_sent_country, sms_sent_message_id, sms_sent_mms, sms_carrier_cost_internal, sms_carrier_fee_internal, sms_rate_internal, sms_delivered_at, sms_delivered_after, sms_delivered_cost_internal, schedule_updated_at, schedule_updated_to, schedule_deleted_at].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1411

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @tracking_id.nil?
    invalid_properties.push('invalid value for "tracking_id", tracking_id cannot be nil.')
  end

  if @account_id.nil?
    invalid_properties.push('invalid value for "account_id", account_id cannot be nil.')
  end

  invalid_properties
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1962

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



1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/pingram/models/logs_get_response_logs_inner.rb', line 1427

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @tracking_id.nil?
  return false if @account_id.nil?
  failed_code_validator = EnumAttributeValidator.new('String', ["SPAM_CONTENT", "INVALID_SCHEDULE_FORMAT", "SCHEDULE_RESOURCE_NOT_FOUND", "MISSING_NOTIFICATION_TYPE", "UNKNOWN"])
  return false unless failed_code_validator.valid?(@failed_code)
  inapp_failed_code_validator = EnumAttributeValidator.new('String', ["IN_APP_WEB_FAILED", "UNKNOWN"])
  return false unless inapp_failed_code_validator.valid?(@inapp_failed_code)
  mobile_push_failed_code_validator = EnumAttributeValidator.new('String', ["NO_APN_CONFIG", "NO_FCM_CONFIG", "INVALID_APN_TOKEN", "INVALID_FCM_TOKEN", "UNKNOWN"])
  return false unless mobile_push_failed_code_validator.valid?(@mobile_push_failed_code)
  email_failed_code_validator = EnumAttributeValidator.new('String', ["UNVERIFIED_SENDER", "PERMANENT_GENERAL_BOUNCE", "PERMANENT_NO_EMAIL_BOUNCE", "PERMANENT_SUPPRESSED_BOUNCE", "TRANSIENT_GENERAL_BOUNCE", "TRANSIENT_MAILBOX_FULL_BOUNCE", "TRANSIENT_MESSAGE_TOO_LARGE_BOUNCE", "TRANSIENT_CONTENT_REJECTED_BOUNCE", "TRANSIENT_ATTACHMENT_REJECTED_BOUNCE", "UNDETERMINED_BOUNCE", "COMPLAINT_ABUSE", "COMPLAINT_AUTH", "COMPLAINT_FRAUD", "COMPLAINT_NOT_SPAM", "COMPLAINT_OTHER", "COMPLAINT_VIRUS", "SUPPRESSED_COMPLAINT", "SUPPRESSED_BOUNCE", "MISSING_EMAIL_RECIPIENT", "MISSING_EMAIL_SUBJECT", "MISSING_EMAIL_HTML", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE", "SPAM_CONTENT"])
  return false unless email_failed_code_validator.valid?(@email_failed_code)
  email_inbound_resolution_type_validator = EnumAttributeValidator.new('String', ["reply", "builtin", "custom"])
  return false unless email_inbound_resolution_type_validator.valid?(@email_inbound_resolution_type)
  web_push_failed_code_validator = EnumAttributeValidator.new('String', ["UNSUBSCIRBED_OR_EXPIRED", "UNKNOWN", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE", "SPAM_CONTENT"])
  return false unless web_push_failed_code_validator.valid?(@web_push_failed_code)
  ignored_validator = EnumAttributeValidator.new('String', ["THROTTLING", "DEDUPLICATION", "DISABLED_NOTIFICATION", "ALL_CHANNELS_IGNORED"])
  return false unless ignored_validator.valid?(@ignored)
  email_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless email_routing_validator.valid?(@email_routing)
  email_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless email_routing_reason_validator.valid?(@email_routing_reason)
  sms_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless sms_routing_validator.valid?(@sms_routing)
  sms_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless sms_routing_reason_validator.valid?(@sms_routing_reason)
  web_push_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless web_push_routing_validator.valid?(@web_push_routing)
  web_push_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless web_push_routing_reason_validator.valid?(@web_push_routing_reason)
  mobile_push_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless mobile_push_routing_validator.valid?(@mobile_push_routing)
  mobile_push_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless mobile_push_routing_reason_validator.valid?(@mobile_push_routing_reason)
  call_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless call_routing_validator.valid?(@call_routing)
  call_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless call_routing_reason_validator.valid?(@call_routing_reason)
  inapp_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless inapp_routing_validator.valid?(@inapp_routing)
  inapp_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless inapp_routing_reason_validator.valid?(@inapp_routing_reason)
  slack_routing_validator = EnumAttributeValidator.new('String', ["OFF", "SEND", "BATCH", "IGNORE", "SCHEDULE", "THROTTLED", "DEDUPLICATED"])
  return false unless slack_routing_validator.valid?(@slack_routing)
  slack_routing_reason_validator = EnumAttributeValidator.new('String', ["IGNORE_BY_PREFERENCES", "IGNORE_BY_ENVIRONMENT", "IGNORE_BY_DEFAULT_DELIVERY"])
  return false unless slack_routing_reason_validator.valid?(@slack_routing_reason)
  slack_failed_code_validator = EnumAttributeValidator.new('String', ["CHANNEL_NOT_FOUND", "NOT_IN_CHANNEL", "CHANNEL_ARCHIVED", "MESSAGE_TOO_LONG", "NO_TEXT", "RESTRICTED_ACTION", "TOKEN_EXPIRED", "INVALID_AUTH", "UNKNOWN", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE", "SPAM_CONTENT"])
  return false unless slack_failed_code_validator.valid?(@slack_failed_code)
  call_delivered_code_validator = EnumAttributeValidator.new('String', ["COMPLETED", "BUSY", "NO_ANSWER", "UNKNOWN"])
  return false unless call_delivered_code_validator.valid?(@call_delivered_code)
  call_failed_code_validator = EnumAttributeValidator.new('String', ["13224", "21211", "21215", "21265", "21610", "21614", "21612", "30005", "30006", "30007", "30008", "30453", "40001", "40002", "40300", "Unknown", "MISSING_SMS_RECIPIENT", "MISSING_SMS_MESSAGE", "INVALID_PHONE_NUMBER", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE", "SPAM_CONTENT"])
  return false unless call_failed_code_validator.valid?(@call_failed_code)
  sms_failed_code_validator = EnumAttributeValidator.new('String', ["13224", "21211", "21215", "21265", "21610", "21614", "21612", "30005", "30006", "30007", "30008", "30453", "40001", "40002", "40300", "Unknown", "MISSING_SMS_RECIPIENT", "MISSING_SMS_MESSAGE", "INVALID_PHONE_NUMBER", "NO_ADDRESS", "USAGE_LIMIT", "VERIFICATION_LIMIT", "TEMPLATE_NOT_FOUND", "NO_DEFAULT_TEMPLATE", "SPAM_CONTENT"])
  return false unless sms_failed_code_validator.valid?(@sms_failed_code)
  true
end