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



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

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?(:'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?(:'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?(:'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?(:'showSecondaryStatus')
    
    
    self.show_secondary_status = attributes[:'showSecondaryStatus']
    
  
  end

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

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

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

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

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

  
  if attributes.has_key?(:'languageList')
    
    if (value = attributes[:'languageList']).is_a?(Array)
      self.language_list = value
    end
    
    
  
  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?(:'statusList')
    
    if (value = attributes[:'statusList']).is_a?(Array)
      self.status_list = 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

  
end

Instance Attribute Details

#abandonedObject

Indicates filtering for abandons



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

def abandoned
  @abandoned
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

#agent_duration_sort_orderObject

Provides the agent duration sort order



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

def agent_duration_sort_order
  @agent_duration_sort_order
end

#agent_nameObject

Displays the Agent name as provided by the user



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

def agent_name
  @agent_name
end

#ani_listObject

The ani list ids are used to filter the view



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

def ani_list
  @ani_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



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

def conversation_ids
  @conversation_ids
end

#conversation_propertiesObject

A grouping of conversation level filters



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

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



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

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



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

def durations_milliseconds
  @durations_milliseconds
end

#evaluated_agent_idsObject

The evaluated agent ids are used to filter the view



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

def evaluated_agent_ids
  @evaluated_agent_ids
end

#evaluation_critical_scoreObject

The evaluationCriticalScore is used to filter the view



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

def evaluation_critical_score
  @evaluation_critical_score
end

#evaluation_form_idsObject

The evaluation form ids are used to filter the view



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

def evaluation_form_ids
  @evaluation_form_ids
end

#evaluation_scoreObject

The evaluationScore is used to filter the view



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

def evaluation_score
  @evaluation_score
end

#evaluator_idsObject

The evaluator ids are used to filter the view



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

def evaluator_ids
  @evaluator_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



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

def flow_destination_types
  @flow_destination_types
end

#flow_disconnect_reasonsObject

The list of reasons for the flow to disconnect



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

def flow_disconnect_reasons
  @flow_disconnect_reasons
end

#flow_entry_reasonsObject

A list of reasons of flow entry



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

def flow_entry_reasons
  @flow_entry_reasons
end

#flow_entry_typesObject

A list of types of the flow entry



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

def flow_entry_types
  @flow_entry_types
end

#flow_idsObject

The list of flow Ids



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

def flow_ids
  @flow_ids
end

#flow_outcome_idsObject

A list of outcome ids of the flow



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

def flow_outcome_ids
  @flow_outcome_ids
end

#flow_outcome_valuesObject

A list of outcome values of the flow



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

def flow_outcome_values
  @flow_outcome_values
end

#flow_typesObject

A list of types of the flow



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

def flow_types
  @flow_types
end

#flow_versionsObject

A list of versions of a flow



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

def flow_versions
  @flow_versions
end

#group_idsObject

A list of directory group ids



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

def group_ids
  @group_ids
end

#has_journey_action_map_idObject

Indicates filtering for Journey action map id



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

def has_journey_action_map_id
  @has_journey_action_map_id
end

#has_journey_customer_idObject

Indicates filtering for journey customer id



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

def has_journey_customer_id
  @has_journey_customer_id
end

#has_journey_visit_idObject

Indicates filtering for Journey visit id



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

def has_journey_visit_id
  @has_journey_visit_id
end

#interacting_duration_sort_orderObject

Provides the interacting duration sort order



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

def interacting_duration_sort_order
  @interacting_duration_sort_order
end

#is_blind_transferredObject

Indicates filtering for blind transferred



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

def is_blind_transferred
  @is_blind_transferred
end

#is_campaignObject

Indicates filtering for campaign



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

def is_campaign
  @is_campaign
end

#is_consult_transferredObject

Indicates filtering for consult transferred



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

def is_consult_transferred
  @is_consult_transferred
end

#is_consultedObject

Indicates filtering for consulted



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

def is_consulted
  @is_consulted
end

#is_endedObject

Indicates filtering for ended



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

def is_ended
  @is_ended
end

#is_surveyedObject

Indicates filtering for survey



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

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

#language_listObject

The list of language strings as free form text



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

def language_list
  @language_list
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



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

def message_types
  @message_types
end

#mosObject

The desired range for mos values



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

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



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

def promoter_scores
  @promoter_scores
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



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

def remote_participants
  @remote_participants
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

#show_secondary_statusObject

Indicates if the Secondary Status should be shown



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

def show_secondary_status
  @show_secondary_status
end

#sip_call_idsObject

The list of SIP call ids used to filter the view



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

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

#skills_listObject

The list of skill strings as free form text



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

def skills_list
  @skills_list
end

#status_listObject

A list of status for the configuration view



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

def status_list
  @status_list
end

#survey_form_context_idsObject

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



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

def survey_form_context_ids
  @survey_form_context_ids
end

#survey_form_idsObject

The survey form ids used to filter the view



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

def survey_form_ids
  @survey_form_ids
end

#survey_nps_scoreObject

The survey NPS score used to filter the view



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

def survey_nps_score
  @survey_nps_score
end

#survey_promoter_scoreObject

The survey promoter score used to filter the view



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

def survey_promoter_score
  @survey_promoter_score
end

#survey_question_group_scoreObject

The survey question group score used to filter the view



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

def survey_question_group_score
  @survey_question_group_score
end

#survey_scoresObject

The list of survey score ranges used to filter the view



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

def survey_scores
  @survey_scores
end

#survey_statusesObject

The list of survey statuses used to filter the view



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

def survey_statuses
  @survey_statuses
end

#survey_total_scoreObject

The survey total score used to filter the view



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

def survey_total_score
  @survey_total_score
end

#transferredObject

Indicates filtering for transfers



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

def transferred
  @transferred
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

#waiting_duration_sort_orderObject

Provides the waiting duration sort order



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

def waiting_duration_sort_order
  @waiting_duration_sort_order
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.



235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 235

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',
    
    :'ani_list' => :'aniList',
    
    :'durations_milliseconds' => :'durationsMilliseconds',
    
    :'evaluation_score' => :'evaluationScore',
    
    :'evaluation_critical_score' => :'evaluationCriticalScore',
    
    :'evaluation_form_ids' => :'evaluationFormIds',
    
    :'evaluated_agent_ids' => :'evaluatedAgentIds',
    
    :'evaluator_ids' => :'evaluatorIds',
    
    :'transferred' => :'transferred',
    
    :'abandoned' => :'abandoned',
    
    :'message_types' => :'messageTypes',
    
    :'division_ids' => :'divisionIds',
    
    :'survey_form_ids' => :'surveyFormIds',
    
    :'survey_total_score' => :'surveyTotalScore',
    
    :'survey_nps_score' => :'surveyNpsScore',
    
    :'show_secondary_status' => :'showSecondaryStatus',
    
    :'agent_duration_sort_order' => :'agentDurationSortOrder',
    
    :'waiting_duration_sort_order' => :'waitingDurationSortOrder',
    
    :'interacting_duration_sort_order' => :'interactingDurationSortOrder',
    
    :'agent_name' => :'agentName',
    
    :'skills_list' => :'skillsList',
    
    :'language_list' => :'languageList',
    
    :'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',
    
    :'status_list' => :'statusList',
    
    :'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'
    
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 384

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>',
    
    :'ani_list' => :'Array<String>',
    
    :'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',
    
    :'message_types' => :'Array<String>',
    
    :'division_ids' => :'Array<String>',
    
    :'survey_form_ids' => :'Array<String>',
    
    :'survey_total_score' => :'NumericRange',
    
    :'survey_nps_score' => :'NumericRange',
    
    :'show_secondary_status' => :'BOOLEAN',
    
    :'agent_duration_sort_order' => :'String',
    
    :'waiting_duration_sort_order' => :'String',
    
    :'interacting_duration_sort_order' => :'String',
    
    :'agent_name' => :'String',
    
    :'skills_list' => :'Array<String>',
    
    :'language_list' => :'Array<String>',
    
    :'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>',
    
    :'status_list' => :'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'
    
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 1975

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 &&
      ani_list == o.ani_list &&
      durations_milliseconds == o.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 &&
      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 &&
      show_secondary_status == o.show_secondary_status &&
      agent_duration_sort_order == o.agent_duration_sort_order &&
      waiting_duration_sort_order == o.waiting_duration_sort_order &&
      interacting_duration_sort_order == o.interacting_duration_sort_order &&
      agent_name == o.agent_name &&
      skills_list == o.skills_list &&
      language_list == o.language_list &&
      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 &&
      status_list == o.status_list &&
      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
end

#_deserialize(type, value) ⇒ Object



2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2083

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



2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2143

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



2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2064

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


2053
2054
2055
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2053

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



2059
2060
2061
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2059

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, ani_list, durations_milliseconds, evaluation_score, evaluation_critical_score, evaluation_form_ids, evaluated_agent_ids, evaluator_ids, transferred, abandoned, message_types, division_ids, survey_form_ids, survey_total_score, survey_nps_score, show_secondary_status, agent_duration_sort_order, waiting_duration_sort_order, interacting_duration_sort_order, agent_name, skills_list, language_list, 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, status_list, 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].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



1278
1279
1280
1281
1282
1283
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 1278

def list_invalid_properties
  invalid_properties = Array.new
  
  
  return invalid_properties
end

#to_bodyObject

to_body is an alias to to_body (backward compatibility))



2126
2127
2128
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2126

def to_body
  to_hash
end

#to_hashObject

return the object in the form of hash



2131
2132
2133
2134
2135
2136
2137
2138
2139
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2131

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



2121
2122
2123
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 2121

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



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
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
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
# File 'lib/purecloudplatformclientv2/models/view_filter.rb', line 1287

def valid?
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  allowed_values = ["ascending", "descending"]
  if @agent_duration_sort_order && !allowed_values.include?(@agent_duration_sort_order)
    return false
  end
  
  
  
  
  
  allowed_values = ["ascending", "descending"]
  if @waiting_duration_sort_order && !allowed_values.include?(@waiting_duration_sort_order)
    return false
  end
  
  
  
  
  
  allowed_values = ["ascending", "descending"]
  if @interacting_duration_sort_order && !allowed_values.include?(@interacting_duration_sort_order)
    return false
  end
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
end