Class: PureCloud::ViewFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/purecloudplatformclientv2/models/view_filter.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ViewFilter

Initializes the object

Parameters:

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

    Model attributes in the form of hash



611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
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
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
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
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 611

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  
  if attributes.has_key?(:'evaluationScore')
    
    
    self.evaluation_score = attributes[:'evaluationScore']
    
  
  end

  
  if attributes.has_key?(:'evaluationCriticalScore')
    
    
    self.evaluation_critical_score = attributes[:'evaluationCriticalScore']
    
  
  end

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

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

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

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

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

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

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

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

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

  
  if attributes.has_key?(:'surveyTotalScore')
    
    
    self.survey_total_score = attributes[:'surveyTotalScore']
    
  
  end

  
  if attributes.has_key?(:'surveyNpsScore')
    
    
    self.survey_nps_score = attributes[:'surveyNpsScore']
    
  
  end

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

  
  if attributes.has_key?(:'surveyQuestionGroupScore')
    
    
    self.survey_question_group_score = attributes[:'surveyQuestionGroupScore']
    
  
  end

  
  if attributes.has_key?(:'surveyPromoterScore')
    
    
    self.survey_promoter_score = attributes[:'surveyPromoterScore']
    
  
  end

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

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

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

  
  if attributes.has_key?(:'isEnded')
    
    
    self.is_ended = attributes[:'isEnded']
    
  
  end

  
  if attributes.has_key?(:'isSurveyed')
    
    
    self.is_surveyed = attributes[:'isSurveyed']
    
  
  end

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

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

  
  if attributes.has_key?(:'isCampaign')
    
    
    self.is_campaign = attributes[:'isCampaign']
    
  
  end

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

  
  if attributes.has_key?(:'conversationProperties')
    
    
    self.conversation_properties = attributes[:'conversationProperties']
    
  
  end

  
  if attributes.has_key?(:'isBlindTransferred')
    
    
    self.is_blind_transferred = attributes[:'isBlindTransferred']
    
  
  end

  
  if attributes.has_key?(:'isConsulted')
    
    
    self.is_consulted = attributes[:'isConsulted']
    
  
  end

  
  if attributes.has_key?(:'isConsultTransferred')
    
    
    self.is_consult_transferred = attributes[:'isConsultTransferred']
    
  
  end

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

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

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

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

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

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

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

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

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

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

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

  
  if attributes.has_key?(:'hasJourneyCustomerId')
    
    
    self.has_journey_customer_id = attributes[:'hasJourneyCustomerId']
    
  
  end

  
  if attributes.has_key?(:'hasJourneyActionMapId')
    
    
    self.has_journey_action_map_id = attributes[:'hasJourneyActionMapId']
    
  
  end

  
  if attributes.has_key?(:'hasJourneyVisitId')
    
    
    self.has_journey_visit_id = attributes[:'hasJourneyVisitId']
    
  
  end

  
  if attributes.has_key?(:'hasMedia')
    
    
    self.has_media = attributes[:'hasMedia']
    
  
  end

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

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

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

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

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

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

  
  if attributes.has_key?(:'callbackInterval')
    
    
    self.callback_interval = attributes[:'callbackInterval']
    
  
  end

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

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

  
end

Instance Attribute Details

#abandon_durations_millisecondsObject

The abandon durations in milliseconds used to filter the view



106
107
108
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 106

def abandon_durations_milliseconds
  @abandon_durations_milliseconds
end

#abandonedObject

Indicates filtering for abandons



127
128
129
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 127

def abandoned
  @abandoned
end

#acd_durations_millisecondsObject

The acd durations in milliseconds used to filter the view



91
92
93
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 91

def acd_durations_milliseconds
  @acd_durations_milliseconds
end

#acw_durations_millisecondsObject

The acw durations in milliseconds used to filter the view



97
98
99
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 97

def acw_durations_milliseconds
  @acw_durations_milliseconds
end

#address_fromsObject

The address from values are used to filter the view



67
68
69
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 67

def address_froms
  @address_froms
end

#address_tosObject

The address To values are used to filter the view



64
65
66
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 64

def address_tos
  @address_tos
end

#ani_listObject

The ani list ids are used to filter the view



85
86
87
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 85

def ani_list
  @ani_list
end

#answeredObject

Indicates filtering for answered interactions



130
131
132
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 130

def answered
  @answered
end

#callback_intervalObject

An interval of time to filter for scheduled callbacks. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss



259
260
261
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 259

def callback_interval
  @callback_interval
end

#callback_number_listObject

A list of callback numbers or substrings of numbers (ex: ["317", "13172222222"])



256
257
258
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 256

def callback_number_list
  @callback_number_list
end

#contact_idsObject

The contact ids are used to filter the view



76
77
78
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 76

def contact_ids
  @contact_ids
end

#conversation_idsObject

The list of conversation ids used to filter the view



160
161
162
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 160

def conversation_ids
  @conversation_ids
end

#conversation_propertiesObject

A grouping of conversation level filters



184
185
186
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 184

def conversation_properties
  @conversation_properties
end

#directionsObject

The directions are used to filter the view



40
41
42
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 40

def directions
  @directions
end

#division_idsObject

The divison Ids used to filter the view



136
137
138
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 136

def division_ids
  @division_ids
end

#dnis_listObject

The dnis list is used to filter the view



49
50
51
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 49

def dnis_list
  @dnis_list
end

#durations_millisecondsObject

The durations in milliseconds used to filter the view



88
89
90
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 88

def durations_milliseconds
  @durations_milliseconds
end

#evaluated_agent_idsObject

The evaluated agent ids are used to filter the view



118
119
120
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 118

def evaluated_agent_ids
  @evaluated_agent_ids
end

#evaluation_critical_scoreObject

The evaluationCriticalScore is used to filter the view



112
113
114
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 112

def evaluation_critical_score
  @evaluation_critical_score
end

#evaluation_form_idsObject

The evaluation form ids are used to filter the view



115
116
117
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 115

def evaluation_form_ids
  @evaluation_form_ids
end

#evaluation_scoreObject

The evaluationScore is used to filter the view



109
110
111
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 109

def evaluation_score
  @evaluation_score
end

#evaluator_idsObject

The evaluator ids are used to filter the view



121
122
123
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 121

def evaluator_ids
  @evaluator_ids
end

#external_contact_idsObject

The external contact ids are used to filter the view



79
80
81
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 79

def external_contact_ids
  @external_contact_ids
end

#external_org_idsObject

The external org ids are used to filter the view



82
83
84
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 82

def external_org_ids
  @external_org_ids
end

#filter_queues_by_user_idsObject

The user ids are used to fetch associated queues for the view



55
56
57
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 55

def filter_queues_by_user_ids
  @filter_queues_by_user_ids
end

#filter_users_by_queue_idsObject

The queue ids are used to fetch associated users for the view



58
59
60
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 58

def filter_users_by_queue_ids
  @filter_users_by_queue_ids
end

#flow_destination_typesObject

The list of destination types of the flow



208
209
210
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 208

def flow_destination_types
  @flow_destination_types
end

#flow_disconnect_reasonsObject

The list of reasons for the flow to disconnect



211
212
213
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 211

def flow_disconnect_reasons
  @flow_disconnect_reasons
end

#flow_entry_reasonsObject

A list of reasons of flow entry



220
221
222
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 220

def flow_entry_reasons
  @flow_entry_reasons
end

#flow_entry_typesObject

A list of types of the flow entry



217
218
219
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 217

def flow_entry_types
  @flow_entry_types
end

#flow_idsObject

The list of flow Ids



199
200
201
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 199

def flow_ids
  @flow_ids
end

#flow_out_typesObject

A list of flow out types



250
251
252
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 250

def flow_out_types
  @flow_out_types
end

#flow_outcome_idsObject

A list of outcome ids of the flow



202
203
204
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 202

def flow_outcome_ids
  @flow_outcome_ids
end

#flow_outcome_valuesObject

A list of outcome values of the flow



205
206
207
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 205

def flow_outcome_values
  @flow_outcome_values
end

#flow_typesObject

A list of types of the flow



214
215
216
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 214

def flow_types
  @flow_types
end

#flow_versionsObject

A list of versions of a flow



223
224
225
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 223

def flow_versions
  @flow_versions
end

#group_idsObject

A list of directory group ids



226
227
228
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 226

def group_ids
  @group_ids
end

#handle_durations_millisecondsObject

The handle durations in milliseconds used to filter the view



100
101
102
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 100

def handle_durations_milliseconds
  @handle_durations_milliseconds
end

#has_journey_action_map_idObject

Indicates filtering for Journey action map id



232
233
234
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 232

def has_journey_action_map_id
  @has_journey_action_map_id
end

#has_journey_customer_idObject

Indicates filtering for journey customer id



229
230
231
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 229

def has_journey_customer_id
  @has_journey_customer_id
end

#has_journey_visit_idObject

Indicates filtering for Journey visit id



235
236
237
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 235

def has_journey_visit_id
  @has_journey_visit_id
end

#has_mediaObject

Indicates filtering for presence of MMS media



238
239
240
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 238

def has_media
  @has_media
end

#hold_durations_millisecondsObject

The hold durations in milliseconds used to filter the view



103
104
105
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 103

def hold_durations_milliseconds
  @hold_durations_milliseconds
end

#is_blind_transferredObject

Indicates filtering for blind transferred



187
188
189
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 187

def is_blind_transferred
  @is_blind_transferred
end

#is_campaignObject

Indicates filtering for campaign



178
179
180
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 178

def is_campaign
  @is_campaign
end

#is_consult_transferredObject

Indicates filtering for consult transferred



193
194
195
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 193

def is_consult_transferred
  @is_consult_transferred
end

#is_consultedObject

Indicates filtering for consulted



190
191
192
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 190

def is_consulted
  @is_consulted
end

#is_endedObject

Indicates filtering for ended



166
167
168
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 166

def is_ended
  @is_ended
end

#is_surveyedObject

Indicates filtering for survey



169
170
171
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 169

def is_surveyed
  @is_surveyed
end

#language_groupsObject

The language groups used to filter the view



37
38
39
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 37

def language_groups
  @language_groups
end

#language_idsObject

The language ids are used to filter the view



34
35
36
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 34

def language_ids
  @language_ids
end

#location_idsObject

The location Ids used to filter the view



247
248
249
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 247

def location_ids
  @location_ids
end

#media_typesObject

The media types are used to filter the view



22
23
24
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 22

def media_types
  @media_types
end

#message_typesObject

The message media types used to filter the view



133
134
135
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 133

def message_types
  @message_types
end

#mosObject

The desired range for mos values



148
149
150
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 148

def mos
  @mos
end

#originating_directionsObject

The list of orginating directions used to filter the view



43
44
45
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 43

def originating_directions
  @originating_directions
end

#outbound_campaign_idsObject

The outbound campaign ids are used to filter the view



70
71
72
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 70

def outbound_campaign_ids
  @outbound_campaign_ids
end

#outbound_contact_list_idsObject

The outbound contact list ids are used to filter the view



73
74
75
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 73

def outbound_contact_list_ids
  @outbound_contact_list_ids
end

#promoter_scoresObject

The list of promoter score ranges used to filter the view



175
176
177
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 175

def promoter_scores
  @promoter_scores
end

#provider_listObject

A list of providers



253
254
255
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 253

def provider_list
  @provider_list
end

#queue_idsObject

The queue ids are used to filter the view



25
26
27
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 25

def queue_ids
  @queue_ids
end

#remote_participantsObject

The list of remote participants used to filter the view



196
197
198
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 196

def remote_participants
  @remote_participants
end

#reports_tosObject

The report to user IDs used to filter the view



244
245
246
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 244

def reports_tos
  @reports_tos
end

#requested_routing_typesObject

A list of routing types requested



265
266
267
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 265

def requested_routing_types
  @requested_routing_types
end

#role_idsObject

The role Ids used to filter the view



241
242
243
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 241

def role_ids
  @role_ids
end

#session_dnis_listObject

The list of session dnis used to filter the view



52
53
54
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 52

def session_dnis_list
  @session_dnis_list
end

#sip_call_idsObject

The list of SIP call ids used to filter the view



163
164
165
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 163

def sip_call_ids
  @sip_call_ids
end

#skill_groupsObject

The skill groups used to filter the view



31
32
33
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 31

def skill_groups
  @skill_groups
end

#skill_idsObject

The skill ids are used to filter the view



28
29
30
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 28

def skill_ids
  @skill_ids
end

#survey_form_context_idsObject

The list of survey form context ids used to filter the view



157
158
159
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 157

def survey_form_context_ids
  @survey_form_context_ids
end

#survey_form_idsObject

The survey form ids used to filter the view



139
140
141
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 139

def survey_form_ids
  @survey_form_ids
end

#survey_nps_scoreObject

The survey NPS score used to filter the view



145
146
147
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 145

def survey_nps_score
  @survey_nps_score
end

#survey_promoter_scoreObject

The survey promoter score used to filter the view



154
155
156
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 154

def survey_promoter_score
  @survey_promoter_score
end

#survey_question_group_scoreObject

The survey question group score used to filter the view



151
152
153
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 151

def survey_question_group_score
  @survey_question_group_score
end

#survey_scoresObject

The list of survey score ranges used to filter the view



172
173
174
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 172

def survey_scores
  @survey_scores
end

#survey_statusesObject

The list of survey statuses used to filter the view



181
182
183
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 181

def survey_statuses
  @survey_statuses
end

#survey_total_scoreObject

The survey total score used to filter the view



142
143
144
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 142

def survey_total_score
  @survey_total_score
end

#talk_durations_millisecondsObject

The talk durations in milliseconds used to filter the view



94
95
96
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 94

def talk_durations_milliseconds
  @talk_durations_milliseconds
end

#transferredObject

Indicates filtering for transfers



124
125
126
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 124

def transferred
  @transferred
end

#used_routing_typesObject

A list of routing types used



262
263
264
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 262

def used_routing_types
  @used_routing_types
end

#user_idsObject

The user ids are used to filter the view



61
62
63
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 61

def user_ids
  @user_ids
end

#wrap_up_codesObject

The wrap up codes are used to filter the view



46
47
48
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 46

def wrap_up_codes
  @wrap_up_codes
end

Class Method Details

.attribute_mapObject

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



268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 268

def self.attribute_map
  {
    
    :'media_types' => :'mediaTypes',
    
    :'queue_ids' => :'queueIds',
    
    :'skill_ids' => :'skillIds',
    
    :'skill_groups' => :'skillGroups',
    
    :'language_ids' => :'languageIds',
    
    :'language_groups' => :'languageGroups',
    
    :'directions' => :'directions',
    
    :'originating_directions' => :'originatingDirections',
    
    :'wrap_up_codes' => :'wrapUpCodes',
    
    :'dnis_list' => :'dnisList',
    
    :'session_dnis_list' => :'sessionDnisList',
    
    :'filter_queues_by_user_ids' => :'filterQueuesByUserIds',
    
    :'filter_users_by_queue_ids' => :'filterUsersByQueueIds',
    
    :'user_ids' => :'userIds',
    
    :'address_tos' => :'addressTos',
    
    :'address_froms' => :'addressFroms',
    
    :'outbound_campaign_ids' => :'outboundCampaignIds',
    
    :'outbound_contact_list_ids' => :'outboundContactListIds',
    
    :'contact_ids' => :'contactIds',
    
    :'external_contact_ids' => :'externalContactIds',
    
    :'external_org_ids' => :'externalOrgIds',
    
    :'ani_list' => :'aniList',
    
    :'durations_milliseconds' => :'durationsMilliseconds',
    
    :'acd_durations_milliseconds' => :'acdDurationsMilliseconds',
    
    :'talk_durations_milliseconds' => :'talkDurationsMilliseconds',
    
    :'acw_durations_milliseconds' => :'acwDurationsMilliseconds',
    
    :'handle_durations_milliseconds' => :'handleDurationsMilliseconds',
    
    :'hold_durations_milliseconds' => :'holdDurationsMilliseconds',
    
    :'abandon_durations_milliseconds' => :'abandonDurationsMilliseconds',
    
    :'evaluation_score' => :'evaluationScore',
    
    :'evaluation_critical_score' => :'evaluationCriticalScore',
    
    :'evaluation_form_ids' => :'evaluationFormIds',
    
    :'evaluated_agent_ids' => :'evaluatedAgentIds',
    
    :'evaluator_ids' => :'evaluatorIds',
    
    :'transferred' => :'transferred',
    
    :'abandoned' => :'abandoned',
    
    :'answered' => :'answered',
    
    :'message_types' => :'messageTypes',
    
    :'division_ids' => :'divisionIds',
    
    :'survey_form_ids' => :'surveyFormIds',
    
    :'survey_total_score' => :'surveyTotalScore',
    
    :'survey_nps_score' => :'surveyNpsScore',
    
    :'mos' => :'mos',
    
    :'survey_question_group_score' => :'surveyQuestionGroupScore',
    
    :'survey_promoter_score' => :'surveyPromoterScore',
    
    :'survey_form_context_ids' => :'surveyFormContextIds',
    
    :'conversation_ids' => :'conversationIds',
    
    :'sip_call_ids' => :'sipCallIds',
    
    :'is_ended' => :'isEnded',
    
    :'is_surveyed' => :'isSurveyed',
    
    :'survey_scores' => :'surveyScores',
    
    :'promoter_scores' => :'promoterScores',
    
    :'is_campaign' => :'isCampaign',
    
    :'survey_statuses' => :'surveyStatuses',
    
    :'conversation_properties' => :'conversationProperties',
    
    :'is_blind_transferred' => :'isBlindTransferred',
    
    :'is_consulted' => :'isConsulted',
    
    :'is_consult_transferred' => :'isConsultTransferred',
    
    :'remote_participants' => :'remoteParticipants',
    
    :'flow_ids' => :'flowIds',
    
    :'flow_outcome_ids' => :'flowOutcomeIds',
    
    :'flow_outcome_values' => :'flowOutcomeValues',
    
    :'flow_destination_types' => :'flowDestinationTypes',
    
    :'flow_disconnect_reasons' => :'flowDisconnectReasons',
    
    :'flow_types' => :'flowTypes',
    
    :'flow_entry_types' => :'flowEntryTypes',
    
    :'flow_entry_reasons' => :'flowEntryReasons',
    
    :'flow_versions' => :'flowVersions',
    
    :'group_ids' => :'groupIds',
    
    :'has_journey_customer_id' => :'hasJourneyCustomerId',
    
    :'has_journey_action_map_id' => :'hasJourneyActionMapId',
    
    :'has_journey_visit_id' => :'hasJourneyVisitId',
    
    :'has_media' => :'hasMedia',
    
    :'role_ids' => :'roleIds',
    
    :'reports_tos' => :'reportsTos',
    
    :'location_ids' => :'locationIds',
    
    :'flow_out_types' => :'flowOutTypes',
    
    :'provider_list' => :'providerList',
    
    :'callback_number_list' => :'callbackNumberList',
    
    :'callback_interval' => :'callbackInterval',
    
    :'used_routing_types' => :'usedRoutingTypes',
    
    :'requested_routing_types' => :'requestedRoutingTypes'
    
  }
end

.swagger_typesObject

Attribute type mapping.



439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 439

def self.swagger_types
  {
    
    :'media_types' => :'Array<String>',
    
    :'queue_ids' => :'Array<String>',
    
    :'skill_ids' => :'Array<String>',
    
    :'skill_groups' => :'Array<String>',
    
    :'language_ids' => :'Array<String>',
    
    :'language_groups' => :'Array<String>',
    
    :'directions' => :'Array<String>',
    
    :'originating_directions' => :'Array<String>',
    
    :'wrap_up_codes' => :'Array<String>',
    
    :'dnis_list' => :'Array<String>',
    
    :'session_dnis_list' => :'Array<String>',
    
    :'filter_queues_by_user_ids' => :'Array<String>',
    
    :'filter_users_by_queue_ids' => :'Array<String>',
    
    :'user_ids' => :'Array<String>',
    
    :'address_tos' => :'Array<String>',
    
    :'address_froms' => :'Array<String>',
    
    :'outbound_campaign_ids' => :'Array<String>',
    
    :'outbound_contact_list_ids' => :'Array<String>',
    
    :'contact_ids' => :'Array<String>',
    
    :'external_contact_ids' => :'Array<String>',
    
    :'external_org_ids' => :'Array<String>',
    
    :'ani_list' => :'Array<String>',
    
    :'durations_milliseconds' => :'Array<NumericRange>',
    
    :'acd_durations_milliseconds' => :'Array<NumericRange>',
    
    :'talk_durations_milliseconds' => :'Array<NumericRange>',
    
    :'acw_durations_milliseconds' => :'Array<NumericRange>',
    
    :'handle_durations_milliseconds' => :'Array<NumericRange>',
    
    :'hold_durations_milliseconds' => :'Array<NumericRange>',
    
    :'abandon_durations_milliseconds' => :'Array<NumericRange>',
    
    :'evaluation_score' => :'NumericRange',
    
    :'evaluation_critical_score' => :'NumericRange',
    
    :'evaluation_form_ids' => :'Array<String>',
    
    :'evaluated_agent_ids' => :'Array<String>',
    
    :'evaluator_ids' => :'Array<String>',
    
    :'transferred' => :'BOOLEAN',
    
    :'abandoned' => :'BOOLEAN',
    
    :'answered' => :'BOOLEAN',
    
    :'message_types' => :'Array<String>',
    
    :'division_ids' => :'Array<String>',
    
    :'survey_form_ids' => :'Array<String>',
    
    :'survey_total_score' => :'NumericRange',
    
    :'survey_nps_score' => :'NumericRange',
    
    :'mos' => :'NumericRange',
    
    :'survey_question_group_score' => :'NumericRange',
    
    :'survey_promoter_score' => :'NumericRange',
    
    :'survey_form_context_ids' => :'Array<String>',
    
    :'conversation_ids' => :'Array<String>',
    
    :'sip_call_ids' => :'Array<String>',
    
    :'is_ended' => :'BOOLEAN',
    
    :'is_surveyed' => :'BOOLEAN',
    
    :'survey_scores' => :'Array<NumericRange>',
    
    :'promoter_scores' => :'Array<NumericRange>',
    
    :'is_campaign' => :'BOOLEAN',
    
    :'survey_statuses' => :'Array<String>',
    
    :'conversation_properties' => :'ConversationProperties',
    
    :'is_blind_transferred' => :'BOOLEAN',
    
    :'is_consulted' => :'BOOLEAN',
    
    :'is_consult_transferred' => :'BOOLEAN',
    
    :'remote_participants' => :'Array<String>',
    
    :'flow_ids' => :'Array<String>',
    
    :'flow_outcome_ids' => :'Array<String>',
    
    :'flow_outcome_values' => :'Array<String>',
    
    :'flow_destination_types' => :'Array<String>',
    
    :'flow_disconnect_reasons' => :'Array<String>',
    
    :'flow_types' => :'Array<String>',
    
    :'flow_entry_types' => :'Array<String>',
    
    :'flow_entry_reasons' => :'Array<String>',
    
    :'flow_versions' => :'Array<String>',
    
    :'group_ids' => :'Array<String>',
    
    :'has_journey_customer_id' => :'BOOLEAN',
    
    :'has_journey_action_map_id' => :'BOOLEAN',
    
    :'has_journey_visit_id' => :'BOOLEAN',
    
    :'has_media' => :'BOOLEAN',
    
    :'role_ids' => :'Array<String>',
    
    :'reports_tos' => :'Array<String>',
    
    :'location_ids' => :'Array<String>',
    
    :'flow_out_types' => :'Array<String>',
    
    :'provider_list' => :'Array<String>',
    
    :'callback_number_list' => :'Array<String>',
    
    :'callback_interval' => :'String',
    
    :'used_routing_types' => :'Array<String>',
    
    :'requested_routing_types' => :'Array<String>'
    
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2234

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      media_types == o.media_types &&
      queue_ids == o.queue_ids &&
      skill_ids == o.skill_ids &&
      skill_groups == o.skill_groups &&
      language_ids == o.language_ids &&
      language_groups == o.language_groups &&
      directions == o.directions &&
      originating_directions == o.originating_directions &&
      wrap_up_codes == o.wrap_up_codes &&
      dnis_list == o.dnis_list &&
      session_dnis_list == o.session_dnis_list &&
      filter_queues_by_user_ids == o.filter_queues_by_user_ids &&
      filter_users_by_queue_ids == o.filter_users_by_queue_ids &&
      user_ids == o.user_ids &&
      address_tos == o.address_tos &&
      address_froms == o.address_froms &&
      outbound_campaign_ids == o.outbound_campaign_ids &&
      outbound_contact_list_ids == o.outbound_contact_list_ids &&
      contact_ids == o.contact_ids &&
      external_contact_ids == o.external_contact_ids &&
      external_org_ids == o.external_org_ids &&
      ani_list == o.ani_list &&
      durations_milliseconds == o.durations_milliseconds &&
      acd_durations_milliseconds == o.acd_durations_milliseconds &&
      talk_durations_milliseconds == o.talk_durations_milliseconds &&
      acw_durations_milliseconds == o.acw_durations_milliseconds &&
      handle_durations_milliseconds == o.handle_durations_milliseconds &&
      hold_durations_milliseconds == o.hold_durations_milliseconds &&
      abandon_durations_milliseconds == o.abandon_durations_milliseconds &&
      evaluation_score == o.evaluation_score &&
      evaluation_critical_score == o.evaluation_critical_score &&
      evaluation_form_ids == o.evaluation_form_ids &&
      evaluated_agent_ids == o.evaluated_agent_ids &&
      evaluator_ids == o.evaluator_ids &&
      transferred == o.transferred &&
      abandoned == o.abandoned &&
      answered == o.answered &&
      message_types == o.message_types &&
      division_ids == o.division_ids &&
      survey_form_ids == o.survey_form_ids &&
      survey_total_score == o.survey_total_score &&
      survey_nps_score == o.survey_nps_score &&
      mos == o.mos &&
      survey_question_group_score == o.survey_question_group_score &&
      survey_promoter_score == o.survey_promoter_score &&
      survey_form_context_ids == o.survey_form_context_ids &&
      conversation_ids == o.conversation_ids &&
      sip_call_ids == o.sip_call_ids &&
      is_ended == o.is_ended &&
      is_surveyed == o.is_surveyed &&
      survey_scores == o.survey_scores &&
      promoter_scores == o.promoter_scores &&
      is_campaign == o.is_campaign &&
      survey_statuses == o.survey_statuses &&
      conversation_properties == o.conversation_properties &&
      is_blind_transferred == o.is_blind_transferred &&
      is_consulted == o.is_consulted &&
      is_consult_transferred == o.is_consult_transferred &&
      remote_participants == o.remote_participants &&
      flow_ids == o.flow_ids &&
      flow_outcome_ids == o.flow_outcome_ids &&
      flow_outcome_values == o.flow_outcome_values &&
      flow_destination_types == o.flow_destination_types &&
      flow_disconnect_reasons == o.flow_disconnect_reasons &&
      flow_types == o.flow_types &&
      flow_entry_types == o.flow_entry_types &&
      flow_entry_reasons == o.flow_entry_reasons &&
      flow_versions == o.flow_versions &&
      group_ids == o.group_ids &&
      has_journey_customer_id == o.has_journey_customer_id &&
      has_journey_action_map_id == o.has_journey_action_map_id &&
      has_journey_visit_id == o.has_journey_visit_id &&
      has_media == o.has_media &&
      role_ids == o.role_ids &&
      reports_tos == o.reports_tos &&
      location_ids == o.location_ids &&
      flow_out_types == o.flow_out_types &&
      provider_list == o.provider_list &&
      callback_number_list == o.callback_number_list &&
      callback_interval == o.callback_interval &&
      used_routing_types == o.used_routing_types &&
      requested_routing_types == o.requested_routing_types
end

#_deserialize(type, value) ⇒ Object



2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2353

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

#_to_hash(value) ⇒ Object

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



2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2413

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

#build_from_hash(attributes) ⇒ Object

build the object from hash



2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2334

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
      else
        #TODO show warning in debug mode
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    else
      # data not found in attributes(hash), not an issue as the data can be optional
    end
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


2323
2324
2325
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2323

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



2329
2330
2331
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2329

def hash
  [media_types, queue_ids, skill_ids, skill_groups, language_ids, language_groups, directions, originating_directions, wrap_up_codes, dnis_list, session_dnis_list, filter_queues_by_user_ids, filter_users_by_queue_ids, user_ids, address_tos, address_froms, outbound_campaign_ids, outbound_contact_list_ids, contact_ids, external_contact_ids, external_org_ids, ani_list, durations_milliseconds, acd_durations_milliseconds, talk_durations_milliseconds, acw_durations_milliseconds, handle_durations_milliseconds, hold_durations_milliseconds, abandon_durations_milliseconds, evaluation_score, evaluation_critical_score, evaluation_form_ids, evaluated_agent_ids, evaluator_ids, transferred, abandoned, answered, message_types, division_ids, survey_form_ids, survey_total_score, survey_nps_score, mos, survey_question_group_score, survey_promoter_score, survey_form_context_ids, conversation_ids, sip_call_ids, is_ended, is_surveyed, survey_scores, promoter_scores, is_campaign, survey_statuses, conversation_properties, is_blind_transferred, is_consulted, is_consult_transferred, remote_participants, flow_ids, flow_outcome_ids, flow_outcome_values, flow_destination_types, flow_disconnect_reasons, flow_types, flow_entry_types, flow_entry_reasons, flow_versions, group_ids, has_journey_customer_id, has_journey_action_map_id, has_journey_visit_id, has_media, role_ids, reports_tos, location_ids, flow_out_types, provider_list, callback_number_list, callback_interval, used_routing_types, requested_routing_types].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



1480
1481
1482
1483
1484
1485
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 1480

def list_invalid_properties
  invalid_properties = Array.new
  
  
  return invalid_properties
end

#to_bodyObject

to_body is an alias to to_body (backward compatibility))



2396
2397
2398
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2396

def to_body
  to_hash
end

#to_hashObject

return the object in the form of hash



2401
2402
2403
2404
2405
2406
2407
2408
2409
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2401

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

#to_sObject



2391
2392
2393
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2391

def to_s
  to_hash.to_s
end

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
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
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 1489

def valid?
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
end