diff --git a/build/.openapi-generator/FILES b/build/.openapi-generator/FILES index 36148d015..cbd1478c1 100644 --- a/build/.openapi-generator/FILES +++ b/build/.openapi-generator/FILES @@ -117,6 +117,8 @@ docs/AgentActivityChangedTopicOutOfOffice.md docs/AgentActivityChangedTopicPresence.md docs/AgentActivityChangedTopicRoutingStatus.md docs/AgentActivityEntityListing.md +docs/AgentAssistantsApi.json +docs/AgentAssistantsApi.md docs/AgentBidWorkPlanOverrideRequest.md docs/AgentCopilotAggregateDataContainer.md docs/AgentCopilotAggregateQueryClause.md @@ -125,6 +127,8 @@ docs/AgentCopilotAggregateQueryPredicate.md docs/AgentCopilotAggregateQueryResponse.md docs/AgentCopilotAggregationQuery.md docs/AgentCopilotAggregationView.md +docs/AgentCopilotApi.json +docs/AgentCopilotApi.md docs/AgentCopilotAsyncAggregateQueryResponse.md docs/AgentCopilotAsyncAggregationQuery.md docs/AgentCountRange.md @@ -229,6 +233,7 @@ docs/AnalyticsUserDetailsAsyncQueryResponse.md docs/AnalyticsUserDetailsQueryResponse.md docs/AnalyticsUserPresenceRecord.md docs/Annotation.md +docs/AnswerGenerationConfig.md docs/AnswerGenerationDocument.md docs/AnswerOption.md docs/ApiUsageClientQuery.md @@ -297,6 +302,10 @@ docs/Assignment.md docs/AssignmentError.md docs/AssignmentValidation.md docs/AssistanceCondition.md +docs/Assistant.md +docs/AssistantListing.md +docs/AssistantQueue.md +docs/AssistantQueueListing.md docs/AssociatedValueField.md docs/AsyncConversationQuery.md docs/AsyncForecastOperationResult.md @@ -415,6 +424,8 @@ docs/BotSummary.md docs/BotVersionSummary.md docs/Browser.md docs/BuAbandonRate.md +docs/BuActivitySettingsRequest.md +docs/BuActivitySettingsResponse.md docs/BuAgentScheduleActivity.md docs/BuAgentScheduleHistoryChange.md docs/BuAgentScheduleHistoryChangeMetadata.md @@ -461,6 +472,8 @@ docs/BuIntradayResponse.md docs/BuIntradayScheduleData.md docs/BuListAlternativeShiftTradesResponse.md docs/BuManagementUnitScheduleSummary.md +docs/BuNotificationSettingsRequest.md +docs/BuNotificationSettingsResponse.md docs/BuPlanningGroupHeadcountForecast.md docs/BuQueryAdherenceExplanationsRequest.md docs/BuQueryAdherenceExplanationsResponse.md @@ -471,6 +484,9 @@ docs/BuRescheduleResult.md docs/BuScheduleListItem.md docs/BuScheduleListing.md docs/BuScheduleMetadata.md +docs/BuScheduleNotificationsCategorySettings.md +docs/BuScheduleNotificationsSettingsRequest.md +docs/BuScheduleNotificationsSettingsResponse.md docs/BuScheduleReference.md docs/BuScheduleReferenceForMuRoute.md docs/BuScheduleRun.md @@ -607,6 +623,7 @@ docs/CampaignRule.md docs/CampaignRuleAction.md docs/CampaignRuleActionEntities.md docs/CampaignRuleCondition.md +docs/CampaignRuleConditionGroup.md docs/CampaignRuleEntities.md docs/CampaignRuleEntityListing.md docs/CampaignRuleParameters.md @@ -1029,6 +1046,7 @@ docs/ConversationNotificationTemplateHeader.md docs/ConversationNotificationTemplateParameter.md docs/ConversationParticipantSearchCriteria.md docs/ConversationParticipantSearchRequest.md +docs/ConversationProfile.md docs/ConversationProperties.md docs/ConversationPublicMetadata.md docs/ConversationQuery.md @@ -1088,6 +1106,13 @@ docs/ConversationVideoEventTopicVideoMediaParticipant.md docs/ConversationVideoEventTopicWrapup.md docs/ConversationsApi.json docs/ConversationsApi.md +docs/Copilot.md +docs/CopilotAction.md +docs/CopilotCondition.md +docs/CopilotFallbackAction.md +docs/CopilotNluDomain.md +docs/CopilotNluDomainVersion.md +docs/CopilotRule.md docs/CopyAttachmentsRequest.md docs/CopyBuForecastRequest.md docs/CopyVoicemailMessage.md @@ -1178,6 +1203,7 @@ docs/CtaButtonStyleProperties.md docs/CurrentUserScheduleRequestBody.md docs/CurrentUserTimeOffIntegrationStatusRequest.md docs/CursorContactListing.md +docs/CursorExternalSourceListing.md docs/CursorNoteListing.md docs/CursorOrganizationListing.md docs/CursorRelationshipListing.md @@ -1244,6 +1270,9 @@ docs/DeleteArchitectPrompts-example.txt docs/DeleteArchitectSchedule-example.txt docs/DeleteArchitectSchedulegroup-example.txt docs/DeleteArchitectSystempromptResource-example.txt +docs/DeleteAssistant-example.txt +docs/DeleteAssistantQueue-example.txt +docs/DeleteAssistantQueues-example.txt docs/DeleteAuthorizationDivision-example.txt docs/DeleteAuthorizationDivision-example.txt docs/DeleteAuthorizationRole-example.txt @@ -1281,6 +1310,7 @@ docs/DeleteEmployeeperformanceExternalmetricsDefinition-example.txt docs/DeleteExternalcontactsContact-example.txt docs/DeleteExternalcontactsContactNote-example.txt docs/DeleteExternalcontactsContactsSchema-example.txt +docs/DeleteExternalcontactsExternalsource-example.txt docs/DeleteExternalcontactsOrganization-example.txt docs/DeleteExternalcontactsOrganizationNote-example.txt docs/DeleteExternalcontactsOrganizationTrustor-example.txt @@ -2048,6 +2078,7 @@ docs/FacetStatistics.md docs/FacetTerm.md docs/FailedObject.md docs/FailedRecordingEntityListing.md +docs/Fallback.md docs/Faq.md docs/FaxApi.json docs/FaxApi.md @@ -2327,6 +2358,12 @@ docs/GetArchitectSystempromptHistoryHistoryId-example.txt docs/GetArchitectSystempromptResource-example.txt docs/GetArchitectSystempromptResources-example.txt docs/GetArchitectSystemprompts-example.txt +docs/GetAssistant-example.txt +docs/GetAssistantCopilot-example.txt +docs/GetAssistantQueue-example.txt +docs/GetAssistantQueues-example.txt +docs/GetAssistants-example.txt +docs/GetAssistantsQueues-example.txt docs/GetAuditsQueryRealtimeServicemapping-example.txt docs/GetAuditsQueryServicemapping-example.txt docs/GetAuditsQueryTransactionId-example.txt @@ -2516,6 +2553,8 @@ docs/GetExternalcontactsContactsSchema-example.txt docs/GetExternalcontactsContactsSchemaVersion-example.txt docs/GetExternalcontactsContactsSchemaVersions-example.txt docs/GetExternalcontactsContactsSchemas-example.txt +docs/GetExternalcontactsExternalsource-example.txt +docs/GetExternalcontactsExternalsources-example.txt docs/GetExternalcontactsOrganization-example.txt docs/GetExternalcontactsOrganizationContacts-example.txt docs/GetExternalcontactsOrganizationNote-example.txt @@ -3046,6 +3085,7 @@ docs/GetRoutingPredictorModels-example.txt docs/GetRoutingPredictors-example.txt docs/GetRoutingPredictorsKeyperformanceindicators-example.txt docs/GetRoutingQueue-example.txt +docs/GetRoutingQueueAssistant-example.txt docs/GetRoutingQueueComparisonperiod-example.txt docs/GetRoutingQueueComparisonperiods-example.txt docs/GetRoutingQueueEstimatedwaittime-example.txt @@ -3444,6 +3484,7 @@ docs/GetWorkforcemanagementUserWorkplanbidranks-example.txt docs/GetWorkforcemanagementWorkplanbidPreferences-example.txt docs/GetWorkforcemanagementWorkplanbidWorkplans-example.txt docs/GetWorkforcemanagementWorkplanbids-example.txt +docs/GoogleDialogflowConfig.md docs/GoogleDialogflowCustomSettings.md docs/Grammar.md docs/GrammarFileUploadRequest.md @@ -3773,6 +3814,9 @@ docs/KnowledgeAggregateQueryPredicate.md docs/KnowledgeAggregateQueryResponse.md docs/KnowledgeAggregationQuery.md docs/KnowledgeAggregationView.md +docs/KnowledgeAnswerConfig.md +docs/KnowledgeAnswerDocumentResponse.md +docs/KnowledgeAnswerDocumentsResponse.md docs/KnowledgeAnswerGenerationResponse.md docs/KnowledgeApi.json docs/KnowledgeApi.md @@ -3783,6 +3827,7 @@ docs/KnowledgeBaseCreateRequest.md docs/KnowledgeBaseListing.md docs/KnowledgeBaseReference.md docs/KnowledgeBaseUpdateRequest.md +docs/KnowledgeBaseWithDialectReference.md docs/KnowledgeCategory.md docs/KnowledgeCategoryRequest.md docs/KnowledgeContextReference.md @@ -3802,6 +3847,7 @@ docs/KnowledgeDocumentCopy.md docs/KnowledgeDocumentFeedback.md docs/KnowledgeDocumentFeedbackResponse.md docs/KnowledgeDocumentFeedbackResponseListing.md +docs/KnowledgeDocumentFeedbackUpdateRequest.md docs/KnowledgeDocumentGuestSearch.md docs/KnowledgeDocumentGuestSearchRequest.md docs/KnowledgeDocumentGuestSearchResult.md @@ -3827,12 +3873,15 @@ docs/KnowledgeDocumentVersionVariation.md docs/KnowledgeDocumentVersionVariationListing.md docs/KnowledgeDocumentVersionVariationReference.md docs/KnowledgeDocumentView.md +docs/KnowledgeDocumentsAnswerFilter.md docs/KnowledgeExportJobDocumentsFilter.md docs/KnowledgeExportJobFilter.md docs/KnowledgeExportJobRequest.md docs/KnowledgeExportJobResponse.md docs/KnowledgeExtendedCategory.md docs/KnowledgeGroupStatistics.md +docs/KnowledgeGuestAnswerDocumentResponse.md +docs/KnowledgeGuestAnswerDocumentsResponse.md docs/KnowledgeGuestDocumentCopy.md docs/KnowledgeGuestDocumentFeedback.md docs/KnowledgeGuestDocumentPresentation.md @@ -3870,6 +3919,7 @@ docs/KnowledgeSearchDocumentResponse.md docs/KnowledgeSearchDocumentV1.md docs/KnowledgeSearchRequest.md docs/KnowledgeSearchResponse.md +docs/KnowledgeSuggestionConfig.md docs/KnowledgeTraining.md docs/KpiResult.md docs/Label.md @@ -4205,6 +4255,7 @@ docs/NamedEntityTypeMechanism.md docs/NamespaceDocs.md docs/NetworkConnectivity.md docs/NextOccurrenceDetails.md +docs/NluConfig.md docs/NluConfusionMatrixColumn.md docs/NluConfusionMatrixRow.md docs/NluDetectionContext.md @@ -4418,6 +4469,8 @@ docs/PatchAlertingRulesBulk-example.txt docs/PatchAnalyticsReportingSettings-example.txt docs/PatchArchitectGrammar-example.txt docs/PatchArchitectGrammarLanguage-example.txt +docs/PatchAssistant-example.txt +docs/PatchAssistantQueues-example.txt docs/PatchAssociatedValueField.md docs/PatchAuthorizationRole-example.txt docs/PatchAuthorizationSettings-example.txt @@ -4512,6 +4565,7 @@ docs/PatchKnowledgeGuestSessionDocumentsSearchSearchId-example.txt docs/PatchKnowledgeKnowledgebase-example.txt docs/PatchKnowledgeKnowledgebaseCategory-example.txt docs/PatchKnowledgeKnowledgebaseDocument-example.txt +docs/PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId-example.txt docs/PatchKnowledgeKnowledgebaseDocumentVariation-example.txt docs/PatchKnowledgeKnowledgebaseDocumentsSearchSearchId-example.txt docs/PatchKnowledgeKnowledgebaseImportJob-example.txt @@ -4776,6 +4830,7 @@ docs/PostArchitectSchedulegroups-example.txt docs/PostArchitectSchedules-example.txt docs/PostArchitectSystempromptHistory-example.txt docs/PostArchitectSystempromptResources-example.txt +docs/PostAssistants-example.txt docs/PostAuditsQuery-example.txt docs/PostAuditsQueryRealtime-example.txt docs/PostAuditsQueryRealtimeRelated-example.txt @@ -4927,6 +4982,7 @@ docs/PostExternalcontactsContactNotes-example.txt docs/PostExternalcontactsContactPromotion-example.txt docs/PostExternalcontactsContacts-example.txt docs/PostExternalcontactsContactsSchemas-example.txt +docs/PostExternalcontactsExternalsources-example.txt docs/PostExternalcontactsIdentifierlookup-example.txt docs/PostExternalcontactsMergeContacts-example.txt docs/PostExternalcontactsOrganizationNotes-example.txt @@ -5007,6 +5063,7 @@ docs/PostKnowledgeDocumentuploads-example.txt docs/PostKnowledgeGuestSessionDocumentCopies-example.txt docs/PostKnowledgeGuestSessionDocumentFeedback-example.txt docs/PostKnowledgeGuestSessionDocumentViews-example.txt +docs/PostKnowledgeGuestSessionDocumentsAnswers-example.txt docs/PostKnowledgeGuestSessionDocumentsPresentations-example.txt docs/PostKnowledgeGuestSessionDocumentsSearch-example.txt docs/PostKnowledgeGuestSessionDocumentsSearchSuggestions-example.txt @@ -5018,6 +5075,7 @@ docs/PostKnowledgeKnowledgebaseDocumentVariations-example.txt docs/PostKnowledgeKnowledgebaseDocumentVersions-example.txt docs/PostKnowledgeKnowledgebaseDocumentViews-example.txt docs/PostKnowledgeKnowledgebaseDocuments-example.txt +docs/PostKnowledgeKnowledgebaseDocumentsAnswers-example.txt docs/PostKnowledgeKnowledgebaseDocumentsBulkRemove-example.txt docs/PostKnowledgeKnowledgebaseDocumentsBulkUpdate-example.txt docs/PostKnowledgeKnowledgebaseDocumentsPresentations-example.txt @@ -5439,6 +5497,8 @@ docs/PutArchitectPromptResource-example.txt docs/PutArchitectSchedule-example.txt docs/PutArchitectSchedulegroup-example.txt docs/PutArchitectSystempromptResource-example.txt +docs/PutAssistantCopilot-example.txt +docs/PutAssistantQueue-example.txt docs/PutAuthorizationDivision-example.txt docs/PutAuthorizationDivision-example.txt docs/PutAuthorizationRole-example.txt @@ -5475,6 +5535,7 @@ docs/PutExternalcontactsContact-example.txt docs/PutExternalcontactsContactNote-example.txt docs/PutExternalcontactsContactsSchema-example.txt docs/PutExternalcontactsConversation-example.txt +docs/PutExternalcontactsExternalsource-example.txt docs/PutExternalcontactsOrganization-example.txt docs/PutExternalcontactsOrganizationNote-example.txt docs/PutExternalcontactsOrganizationTrustorTrustorId-example.txt @@ -6111,6 +6172,8 @@ docs/RoutingStatusDetailQueryClause.md docs/RoutingStatusDetailQueryFilter.md docs/RoutingStatusDetailQueryPredicate.md docs/RoutingTransferEvent.md +docs/RuleConfig.md +docs/RuleEngineConfig.md docs/RuleSet.md docs/RuleSetDiagnostic.md docs/RuleSetEntityListing.md @@ -6379,6 +6442,7 @@ docs/SuggestionKnowledgeArticle.md docs/SuggestionKnowledgeSearch.md docs/SuggestionListing.md docs/SuggestionScript.md +docs/SummaryGenerationConfig.md docs/SupportCenterCategory.md docs/SupportCenterCompactCategoryModuleTemplate.md docs/SupportCenterCustomMessage.md @@ -6577,6 +6641,7 @@ docs/TranscriptTopic.md docs/TranscriptTopics.md docs/TranscriptUrl.md docs/TranscriptUrls.md +docs/TranscriptionConfig.md docs/TranscriptionEnginesRequest.md docs/TranscriptionSettings.md docs/TranscriptionTopicTranscriptAlternative.md @@ -7261,6 +7326,7 @@ docs/WorkitemChangeListing.md docs/WorkitemCreate.md docs/WorkitemDelta.md docs/WorkitemFilter.md +docs/WorkitemFlowReference.md docs/WorkitemManualAssign.md docs/WorkitemPagedEntityListing.md docs/WorkitemPostQueryEntityListing.md @@ -7273,6 +7339,7 @@ docs/WorkitemQueryPostRequest.md docs/WorkitemQuerySort.md docs/WorkitemQueueReference.md docs/WorkitemReference.md +docs/WorkitemRuleSettings.md docs/WorkitemSchema.md docs/WorkitemScoredAgent.md docs/WorkitemScoredAgentRequest.md @@ -7340,6 +7407,7 @@ docs/WrapUpCodeReference.md docs/Wrapup.md docs/WrapupCode.md docs/WrapupCodeEntityListing.md +docs/WrapupCodePredictionConfig.md docs/WrapupCodeRequest.md docs/WrapupDetailEventTopicWrapupEvent.md docs/WrapupIdReference.md @@ -7354,6 +7422,8 @@ src/PureCloudPlatform.Client.V2.Tests/Properties/AssemblyInfo.cs src/PureCloudPlatform.Client.V2.Tests/PureCloudPlatform.Client.V2.Tests.csproj src/PureCloudPlatform.Client.V2.Tests/SdkTests.cs src/PureCloudPlatform.Client.V2.Tests/packages.config +src/PureCloudPlatform.Client.V2/Api/AgentAssistantsApi.cs +src/PureCloudPlatform.Client.V2/Api/AgentCopilotApi.cs src/PureCloudPlatform.Client.V2/Api/AgentUIApi.cs src/PureCloudPlatform.Client.V2/Api/AlertingApi.cs src/PureCloudPlatform.Client.V2/Api/AnalyticsApi.cs @@ -7655,6 +7725,7 @@ src/PureCloudPlatform.Client.V2/Model/AnalyticsUserDetailsAsyncQueryResponse.cs src/PureCloudPlatform.Client.V2/Model/AnalyticsUserDetailsQueryResponse.cs src/PureCloudPlatform.Client.V2/Model/AnalyticsUserPresenceRecord.cs src/PureCloudPlatform.Client.V2/Model/Annotation.cs +src/PureCloudPlatform.Client.V2/Model/AnswerGenerationConfig.cs src/PureCloudPlatform.Client.V2/Model/AnswerGenerationDocument.cs src/PureCloudPlatform.Client.V2/Model/AnswerOption.cs src/PureCloudPlatform.Client.V2/Model/ApiUsageClientQuery.cs @@ -7721,6 +7792,10 @@ src/PureCloudPlatform.Client.V2/Model/Assignment.cs src/PureCloudPlatform.Client.V2/Model/AssignmentError.cs src/PureCloudPlatform.Client.V2/Model/AssignmentValidation.cs src/PureCloudPlatform.Client.V2/Model/AssistanceCondition.cs +src/PureCloudPlatform.Client.V2/Model/Assistant.cs +src/PureCloudPlatform.Client.V2/Model/AssistantListing.cs +src/PureCloudPlatform.Client.V2/Model/AssistantQueue.cs +src/PureCloudPlatform.Client.V2/Model/AssistantQueueListing.cs src/PureCloudPlatform.Client.V2/Model/AssociatedValueField.cs src/PureCloudPlatform.Client.V2/Model/AsyncConversationQuery.cs src/PureCloudPlatform.Client.V2/Model/AsyncForecastOperationResult.cs @@ -7833,6 +7908,8 @@ src/PureCloudPlatform.Client.V2/Model/BotSummary.cs src/PureCloudPlatform.Client.V2/Model/BotVersionSummary.cs src/PureCloudPlatform.Client.V2/Model/Browser.cs src/PureCloudPlatform.Client.V2/Model/BuAbandonRate.cs +src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsRequest.cs +src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsResponse.cs src/PureCloudPlatform.Client.V2/Model/BuAgentScheduleActivity.cs src/PureCloudPlatform.Client.V2/Model/BuAgentScheduleHistoryChange.cs src/PureCloudPlatform.Client.V2/Model/BuAgentScheduleHistoryChangeMetadata.cs @@ -7879,6 +7956,8 @@ src/PureCloudPlatform.Client.V2/Model/BuIntradayResponse.cs src/PureCloudPlatform.Client.V2/Model/BuIntradayScheduleData.cs src/PureCloudPlatform.Client.V2/Model/BuListAlternativeShiftTradesResponse.cs src/PureCloudPlatform.Client.V2/Model/BuManagementUnitScheduleSummary.cs +src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsRequest.cs +src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsResponse.cs src/PureCloudPlatform.Client.V2/Model/BuPlanningGroupHeadcountForecast.cs src/PureCloudPlatform.Client.V2/Model/BuQueryAdherenceExplanationsRequest.cs src/PureCloudPlatform.Client.V2/Model/BuQueryAdherenceExplanationsResponse.cs @@ -7889,6 +7968,9 @@ src/PureCloudPlatform.Client.V2/Model/BuRescheduleResult.cs src/PureCloudPlatform.Client.V2/Model/BuScheduleListItem.cs src/PureCloudPlatform.Client.V2/Model/BuScheduleListing.cs src/PureCloudPlatform.Client.V2/Model/BuScheduleMetadata.cs +src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsCategorySettings.cs +src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsRequest.cs +src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsResponse.cs src/PureCloudPlatform.Client.V2/Model/BuScheduleReference.cs src/PureCloudPlatform.Client.V2/Model/BuScheduleReferenceForMuRoute.cs src/PureCloudPlatform.Client.V2/Model/BuScheduleRun.cs @@ -8025,6 +8107,7 @@ src/PureCloudPlatform.Client.V2/Model/CampaignRule.cs src/PureCloudPlatform.Client.V2/Model/CampaignRuleAction.cs src/PureCloudPlatform.Client.V2/Model/CampaignRuleActionEntities.cs src/PureCloudPlatform.Client.V2/Model/CampaignRuleCondition.cs +src/PureCloudPlatform.Client.V2/Model/CampaignRuleConditionGroup.cs src/PureCloudPlatform.Client.V2/Model/CampaignRuleEntities.cs src/PureCloudPlatform.Client.V2/Model/CampaignRuleEntityListing.cs src/PureCloudPlatform.Client.V2/Model/CampaignRuleParameters.cs @@ -8439,6 +8522,7 @@ src/PureCloudPlatform.Client.V2/Model/ConversationNotificationTemplateHeader.cs src/PureCloudPlatform.Client.V2/Model/ConversationNotificationTemplateParameter.cs src/PureCloudPlatform.Client.V2/Model/ConversationParticipantSearchCriteria.cs src/PureCloudPlatform.Client.V2/Model/ConversationParticipantSearchRequest.cs +src/PureCloudPlatform.Client.V2/Model/ConversationProfile.cs src/PureCloudPlatform.Client.V2/Model/ConversationProperties.cs src/PureCloudPlatform.Client.V2/Model/ConversationPublicMetadata.cs src/PureCloudPlatform.Client.V2/Model/ConversationQuery.cs @@ -8496,6 +8580,13 @@ src/PureCloudPlatform.Client.V2/Model/ConversationVideoEventTopicUriReference.cs src/PureCloudPlatform.Client.V2/Model/ConversationVideoEventTopicVideoConversation.cs src/PureCloudPlatform.Client.V2/Model/ConversationVideoEventTopicVideoMediaParticipant.cs src/PureCloudPlatform.Client.V2/Model/ConversationVideoEventTopicWrapup.cs +src/PureCloudPlatform.Client.V2/Model/Copilot.cs +src/PureCloudPlatform.Client.V2/Model/CopilotAction.cs +src/PureCloudPlatform.Client.V2/Model/CopilotCondition.cs +src/PureCloudPlatform.Client.V2/Model/CopilotFallbackAction.cs +src/PureCloudPlatform.Client.V2/Model/CopilotNluDomain.cs +src/PureCloudPlatform.Client.V2/Model/CopilotNluDomainVersion.cs +src/PureCloudPlatform.Client.V2/Model/CopilotRule.cs src/PureCloudPlatform.Client.V2/Model/CopyAttachmentsRequest.cs src/PureCloudPlatform.Client.V2/Model/CopyBuForecastRequest.cs src/PureCloudPlatform.Client.V2/Model/CopyVoicemailMessage.cs @@ -8586,6 +8677,7 @@ src/PureCloudPlatform.Client.V2/Model/CtaButtonStyleProperties.cs src/PureCloudPlatform.Client.V2/Model/CurrentUserScheduleRequestBody.cs src/PureCloudPlatform.Client.V2/Model/CurrentUserTimeOffIntegrationStatusRequest.cs src/PureCloudPlatform.Client.V2/Model/CursorContactListing.cs +src/PureCloudPlatform.Client.V2/Model/CursorExternalSourceListing.cs src/PureCloudPlatform.Client.V2/Model/CursorNoteListing.cs src/PureCloudPlatform.Client.V2/Model/CursorOrganizationListing.cs src/PureCloudPlatform.Client.V2/Model/CursorRelationshipListing.cs @@ -9169,6 +9261,7 @@ src/PureCloudPlatform.Client.V2/Model/FacetStatistics.cs src/PureCloudPlatform.Client.V2/Model/FacetTerm.cs src/PureCloudPlatform.Client.V2/Model/FailedObject.cs src/PureCloudPlatform.Client.V2/Model/FailedRecordingEntityListing.cs +src/PureCloudPlatform.Client.V2/Model/Fallback.cs src/PureCloudPlatform.Client.V2/Model/Faq.cs src/PureCloudPlatform.Client.V2/Model/FaxConfig.cs src/PureCloudPlatform.Client.V2/Model/FaxDocument.cs @@ -9338,6 +9431,7 @@ src/PureCloudPlatform.Client.V2/Model/GetProfilesResponse.cs src/PureCloudPlatform.Client.V2/Model/GetRulesQuery.cs src/PureCloudPlatform.Client.V2/Model/GetTemplatesResponse.cs src/PureCloudPlatform.Client.V2/Model/GetUploadSourceUrlJobStatusResponse.cs +src/PureCloudPlatform.Client.V2/Model/GoogleDialogflowConfig.cs src/PureCloudPlatform.Client.V2/Model/GoogleDialogflowCustomSettings.cs src/PureCloudPlatform.Client.V2/Model/Grammar.cs src/PureCloudPlatform.Client.V2/Model/GrammarFileUploadRequest.cs @@ -9653,6 +9747,9 @@ src/PureCloudPlatform.Client.V2/Model/KnowledgeAggregateQueryPredicate.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeAggregateQueryResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeAggregationQuery.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeAggregationView.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerConfig.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentResponse.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentsResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerGenerationResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeAsyncAggregateQueryResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeAsyncAggregationQuery.cs @@ -9661,6 +9758,7 @@ src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseCreateRequest.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseListing.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseReference.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseUpdateRequest.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseWithDialectReference.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeCategory.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeCategoryRequest.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeContextReference.cs @@ -9680,6 +9778,7 @@ src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentCopy.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedback.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedbackResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedbackResponseListing.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedbackUpdateRequest.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentGuestSearch.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentGuestSearchRequest.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentGuestSearchResult.cs @@ -9705,12 +9804,15 @@ src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentVersionVariation.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentVersionVariationListing.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentVersionVariationReference.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentView.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentsAnswerFilter.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeExportJobDocumentsFilter.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeExportJobFilter.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeExportJobRequest.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeExportJobResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeExtendedCategory.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeGroupStatistics.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentResponse.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentsResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestDocumentCopy.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestDocumentFeedback.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestDocumentPresentation.cs @@ -9748,6 +9850,7 @@ src/PureCloudPlatform.Client.V2/Model/KnowledgeSearchDocumentResponse.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeSearchDocumentV1.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeSearchRequest.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeSearchResponse.cs +src/PureCloudPlatform.Client.V2/Model/KnowledgeSuggestionConfig.cs src/PureCloudPlatform.Client.V2/Model/KnowledgeTraining.cs src/PureCloudPlatform.Client.V2/Model/KpiResult.cs src/PureCloudPlatform.Client.V2/Model/Label.cs @@ -10067,6 +10170,7 @@ src/PureCloudPlatform.Client.V2/Model/NamedEntityTypeMechanism.cs src/PureCloudPlatform.Client.V2/Model/NamespaceDocs.cs src/PureCloudPlatform.Client.V2/Model/NetworkConnectivity.cs src/PureCloudPlatform.Client.V2/Model/NextOccurrenceDetails.cs +src/PureCloudPlatform.Client.V2/Model/NluConfig.cs src/PureCloudPlatform.Client.V2/Model/NluConfusionMatrixColumn.cs src/PureCloudPlatform.Client.V2/Model/NluConfusionMatrixRow.cs src/PureCloudPlatform.Client.V2/Model/NluDetectionContext.cs @@ -10852,6 +10956,8 @@ src/PureCloudPlatform.Client.V2/Model/RoutingStatusDetailQueryClause.cs src/PureCloudPlatform.Client.V2/Model/RoutingStatusDetailQueryFilter.cs src/PureCloudPlatform.Client.V2/Model/RoutingStatusDetailQueryPredicate.cs src/PureCloudPlatform.Client.V2/Model/RoutingTransferEvent.cs +src/PureCloudPlatform.Client.V2/Model/RuleConfig.cs +src/PureCloudPlatform.Client.V2/Model/RuleEngineConfig.cs src/PureCloudPlatform.Client.V2/Model/RuleSet.cs src/PureCloudPlatform.Client.V2/Model/RuleSetDiagnostic.cs src/PureCloudPlatform.Client.V2/Model/RuleSetEntityListing.cs @@ -11104,6 +11210,7 @@ src/PureCloudPlatform.Client.V2/Model/SuggestionKnowledgeArticle.cs src/PureCloudPlatform.Client.V2/Model/SuggestionKnowledgeSearch.cs src/PureCloudPlatform.Client.V2/Model/SuggestionListing.cs src/PureCloudPlatform.Client.V2/Model/SuggestionScript.cs +src/PureCloudPlatform.Client.V2/Model/SummaryGenerationConfig.cs src/PureCloudPlatform.Client.V2/Model/SupportCenterCategory.cs src/PureCloudPlatform.Client.V2/Model/SupportCenterCompactCategoryModuleTemplate.cs src/PureCloudPlatform.Client.V2/Model/SupportCenterCustomMessage.cs @@ -11290,6 +11397,7 @@ src/PureCloudPlatform.Client.V2/Model/TranscriptTopic.cs src/PureCloudPlatform.Client.V2/Model/TranscriptTopics.cs src/PureCloudPlatform.Client.V2/Model/TranscriptUrl.cs src/PureCloudPlatform.Client.V2/Model/TranscriptUrls.cs +src/PureCloudPlatform.Client.V2/Model/TranscriptionConfig.cs src/PureCloudPlatform.Client.V2/Model/TranscriptionEnginesRequest.cs src/PureCloudPlatform.Client.V2/Model/TranscriptionSettings.cs src/PureCloudPlatform.Client.V2/Model/TranscriptionTopicTranscriptAlternative.cs @@ -11952,6 +12060,7 @@ src/PureCloudPlatform.Client.V2/Model/WorkitemChangeListing.cs src/PureCloudPlatform.Client.V2/Model/WorkitemCreate.cs src/PureCloudPlatform.Client.V2/Model/WorkitemDelta.cs src/PureCloudPlatform.Client.V2/Model/WorkitemFilter.cs +src/PureCloudPlatform.Client.V2/Model/WorkitemFlowReference.cs src/PureCloudPlatform.Client.V2/Model/WorkitemManualAssign.cs src/PureCloudPlatform.Client.V2/Model/WorkitemPagedEntityListing.cs src/PureCloudPlatform.Client.V2/Model/WorkitemPostQueryEntityListing.cs @@ -11964,6 +12073,7 @@ src/PureCloudPlatform.Client.V2/Model/WorkitemQueryPostRequest.cs src/PureCloudPlatform.Client.V2/Model/WorkitemQuerySort.cs src/PureCloudPlatform.Client.V2/Model/WorkitemQueueReference.cs src/PureCloudPlatform.Client.V2/Model/WorkitemReference.cs +src/PureCloudPlatform.Client.V2/Model/WorkitemRuleSettings.cs src/PureCloudPlatform.Client.V2/Model/WorkitemSchema.cs src/PureCloudPlatform.Client.V2/Model/WorkitemScoredAgent.cs src/PureCloudPlatform.Client.V2/Model/WorkitemScoredAgentRequest.cs @@ -12031,6 +12141,7 @@ src/PureCloudPlatform.Client.V2/Model/WrapUpCodeReference.cs src/PureCloudPlatform.Client.V2/Model/Wrapup.cs src/PureCloudPlatform.Client.V2/Model/WrapupCode.cs src/PureCloudPlatform.Client.V2/Model/WrapupCodeEntityListing.cs +src/PureCloudPlatform.Client.V2/Model/WrapupCodePredictionConfig.cs src/PureCloudPlatform.Client.V2/Model/WrapupCodeRequest.cs src/PureCloudPlatform.Client.V2/Model/WrapupDetailEventTopicWrapupEvent.cs src/PureCloudPlatform.Client.V2/Model/WrapupIdReference.cs diff --git a/build/APIData.json b/build/APIData.json index 5f0f91705..26fc04685 100644 --- a/build/APIData.json +++ b/build/APIData.json @@ -1,4 +1,307 @@ { + "deleteassistant": { + "operationId": "deleteassistant", + "functionName": "DeleteAssistant", + "signature": "DeleteAssistant(assistantId)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + } + ], + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class DeleteAssistantExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n\n try\n { \n // Delete an assistant.\n apiInstance.DeleteAssistant(assistantId);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.DeleteAssistant: \" + e.Message );\n }\n }\n }\n}" + }, + "deleteassistantqueue": { + "operationId": "deleteassistantqueue", + "functionName": "DeleteAssistantQueue", + "signature": "DeleteAssistantQueue(assistantId, queueId)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "queueId", + "type": "string", + "required": "true" + } + ], + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class DeleteAssistantQueueExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var queueId = \"queueId_example\"; // string | Queue ID\n\n try\n { \n // Disassociate a queue from an assistant.\n apiInstance.DeleteAssistantQueue(assistantId, queueId);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.DeleteAssistantQueue: \" + e.Message );\n }\n }\n }\n}" + }, + "deleteassistantqueues": { + "operationId": "deleteassistantqueues", + "functionName": "DeleteAssistantQueues", + "signature": "DeleteAssistantQueues(assistantId, queueIds)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "queueIds", + "type": "string", + "required": "false" + } + ], + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class DeleteAssistantQueuesExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var queueIds = \"queueIds_example\"; // string | Comma-separated identifiers of the queues that need to be deleted. (optional) \n\n try\n { \n // Disassociate the queues from an assistant for the given assistant ID and queue IDs.\n apiInstance.DeleteAssistantQueues(assistantId, queueIds);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.DeleteAssistantQueues: \" + e.Message );\n }\n }\n }\n}" + }, + "getassistant": { + "operationId": "getassistant", + "functionName": "GetAssistant", + "signature": "GetAssistant(assistantId, expand)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "expand", + "type": "string", + "required": "false" + } + ], + "return": "Assistant", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAssistantExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var expand = \"expand_example\"; // string | Which fields, if any, to expand. (optional) \n\n try\n { \n // Get an assistant.\n Assistant result = apiInstance.GetAssistant(assistantId, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.GetAssistant: \" + e.Message );\n }\n }\n }\n}" + }, + "getassistantqueue": { + "operationId": "getassistantqueue", + "functionName": "GetAssistantQueue", + "signature": "GetAssistantQueue(assistantId, queueId, expand)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "queueId", + "type": "string", + "required": "true" + }, + { + "name": "expand", + "type": "string", + "required": "false" + } + ], + "return": "AssistantQueue", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAssistantQueueExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var queueId = \"queueId_example\"; // string | Queue ID\n var expand = \"expand_example\"; // string | Which fields, if any, to expand. (optional) \n\n try\n { \n // Get queue Information for an assistant.\n AssistantQueue result = apiInstance.GetAssistantQueue(assistantId, queueId, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.GetAssistantQueue: \" + e.Message );\n }\n }\n }\n}" + }, + "getassistantqueues": { + "operationId": "getassistantqueues", + "functionName": "GetAssistantQueues", + "signature": "GetAssistantQueues(assistantId, before, after, pageSize, expand)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "before", + "type": "string", + "required": "false" + }, + { + "name": "after", + "type": "string", + "required": "false" + }, + { + "name": "pageSize", + "type": "string", + "required": "false" + }, + { + "name": "expand", + "type": "string", + "required": "false" + } + ], + "return": "AssistantQueueListing", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAssistantQueuesExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var before = \"before_example\"; // string | The cursor that points to the start of the set of entities that has been returned. (optional) \n var after = \"after_example\"; // string | The cursor that points to the end of the set of entities that has been returned. (optional) \n var pageSize = \"pageSize_example\"; // string | Number of entities to return. Maximum of 200. (optional) \n var expand = \"expand_example\"; // string | Which fields, if any, to expand. (optional) \n\n try\n { \n // Get all the queues associated with an assistant.\n AssistantQueueListing result = apiInstance.GetAssistantQueues(assistantId, before, after, pageSize, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.GetAssistantQueues: \" + e.Message );\n }\n }\n }\n}" + }, + "getassistants": { + "operationId": "getassistants", + "functionName": "GetAssistants", + "signature": "GetAssistants(before, after, limit, pageSize, name)", + "parameters": [ + { + "name": "before", + "type": "string", + "required": "false" + }, + { + "name": "after", + "type": "string", + "required": "false" + }, + { + "name": "limit", + "type": "string", + "required": "false" + }, + { + "name": "pageSize", + "type": "string", + "required": "false" + }, + { + "name": "name", + "type": "string", + "required": "false" + } + ], + "return": "AssistantListing", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAssistantsExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var before = \"before_example\"; // string | The cursor that points to the start of the set of entities that has been returned. (optional) \n var after = \"after_example\"; // string | The cursor that points to the end of the set of entities that has been returned. (optional) \n var limit = \"limit_example\"; // string | Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) \n var pageSize = \"pageSize_example\"; // string | Number of entities to return. Maximum of 200. (optional) \n var name = \"name_example\"; // string | Return the assistant by the given name. (optional) \n\n try\n { \n // Get all assistants.\n AssistantListing result = apiInstance.GetAssistants(before, after, limit, pageSize, name);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.GetAssistants: \" + e.Message );\n }\n }\n }\n}" + }, + "getassistantsqueues": { + "operationId": "getassistantsqueues", + "functionName": "GetAssistantsQueues", + "signature": "GetAssistantsQueues(before, after, pageSize, queueIds, expand)", + "parameters": [ + { + "name": "before", + "type": "string", + "required": "false" + }, + { + "name": "after", + "type": "string", + "required": "false" + }, + { + "name": "pageSize", + "type": "string", + "required": "false" + }, + { + "name": "queueIds", + "type": "string", + "required": "false" + }, + { + "name": "expand", + "type": "string", + "required": "false" + } + ], + "return": "AssistantQueueListing", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAssistantsQueuesExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var before = \"before_example\"; // string | The cursor that points to the start of the set of entities that has been returned. (optional) \n var after = \"after_example\"; // string | The cursor that points to the end of the set of entities that has been returned. (optional) \n var pageSize = \"pageSize_example\"; // string | Number of entities to return. Maximum of 200. (optional) \n var queueIds = \"queueIds_example\"; // string | Comma-separated identifiers of the queues that need to be retrieved. (optional) \n var expand = \"expand_example\"; // string | Which fields, if any, to expand. (optional) \n\n try\n { \n // Get all queues assigned to any assistant.\n AssistantQueueListing result = apiInstance.GetAssistantsQueues(before, after, pageSize, queueIds, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.GetAssistantsQueues: \" + e.Message );\n }\n }\n }\n}" + }, + "patchassistant": { + "operationId": "patchassistant", + "functionName": "PatchAssistant", + "signature": "PatchAssistant(assistantId, body)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "Assistant", + "required": "true" + } + ], + "return": "Assistant", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PatchAssistantExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var body = new Assistant(); // Assistant | \n\n try\n { \n // Update an assistant.\n Assistant result = apiInstance.PatchAssistant(assistantId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.PatchAssistant: \" + e.Message );\n }\n }\n }\n}" + }, + "patchassistantqueues": { + "operationId": "patchassistantqueues", + "functionName": "PatchAssistantQueues", + "signature": "PatchAssistantQueues(assistantId, body)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "List", + "required": "true" + } + ], + "return": "AssistantQueueListing", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PatchAssistantQueuesExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var body = new List(); // List | \n\n try\n { \n // Update Queues for an Assistant.\n AssistantQueueListing result = apiInstance.PatchAssistantQueues(assistantId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.PatchAssistantQueues: \" + e.Message );\n }\n }\n }\n}" + }, + "postassistants": { + "operationId": "postassistants", + "functionName": "PostAssistants", + "signature": "PostAssistants(body)", + "parameters": [ + { + "name": "body", + "type": "Assistant", + "required": "true" + } + ], + "return": "Assistant", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostAssistantsExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var body = new Assistant(); // Assistant | \n\n try\n { \n // Create an Assistant.\n Assistant result = apiInstance.PostAssistants(body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.PostAssistants: \" + e.Message );\n }\n }\n }\n}" + }, + "putassistantqueue": { + "operationId": "putassistantqueue", + "functionName": "PutAssistantQueue", + "signature": "PutAssistantQueue(assistantId, queueId, body)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "queueId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "AssistantQueue", + "required": "true" + } + ], + "return": "AssistantQueue", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PutAssistantQueueExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentAssistantsApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var queueId = \"queueId_example\"; // string | Queue ID\n var body = new AssistantQueue(); // AssistantQueue | \n\n try\n { \n // Create a queue assistant association.\n AssistantQueue result = apiInstance.PutAssistantQueue(assistantId, queueId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentAssistants.PutAssistantQueue: \" + e.Message );\n }\n }\n }\n}" + }, + "getassistantcopilot": { + "operationId": "getassistantcopilot", + "functionName": "GetAssistantCopilot", + "signature": "GetAssistantCopilot(assistantId)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + } + ], + "return": "Copilot", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAssistantCopilotExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentCopilotApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n\n try\n { \n // Get copilot configuration of an assistant.\n Copilot result = apiInstance.GetAssistantCopilot(assistantId);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentCopilot.GetAssistantCopilot: \" + e.Message );\n }\n }\n }\n}" + }, + "putassistantcopilot": { + "operationId": "putassistantcopilot", + "functionName": "PutAssistantCopilot", + "signature": "PutAssistantCopilot(assistantId, body)", + "parameters": [ + { + "name": "assistantId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "Copilot", + "required": "true" + } + ], + "return": "Copilot", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PutAssistantCopilotExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AgentCopilotApi();\n var assistantId = \"assistantId_example\"; // string | Assistant ID\n var body = new Copilot(); // Copilot | \n\n try\n { \n // Update agent copilot configuration\n Copilot result = apiInstance.PutAssistantCopilot(assistantId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling AgentCopilot.PutAssistantCopilot: \" + e.Message );\n }\n }\n }\n}" + }, "deleteusersagentuiagentsautoansweragentidsettings": { "operationId": "deleteusersagentuiagentsautoansweragentidsettings", "functionName": "DeleteUsersAgentuiAgentsAutoanswerAgentIdSettings", @@ -1056,7 +1359,7 @@ "getanalyticsreportingsettingsdashboardsquery": { "operationId": "getanalyticsreportingsettingsdashboardsquery", "functionName": "GetAnalyticsReportingSettingsDashboardsQuery", - "signature": "GetAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, sortBy, pageNumber, pageSize)", + "signature": "GetAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, name, sortBy, pageNumber, pageSize)", "parameters": [ { "name": "dashboardType", @@ -1068,6 +1371,11 @@ "type": "string", "required": "true" }, + { + "name": "name", + "type": "string", + "required": "false" + }, { "name": "sortBy", "type": "string", @@ -1085,7 +1393,7 @@ } ], "return": "DashboardConfigurationListing", - "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAnalyticsReportingSettingsDashboardsQueryExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AnalyticsApi();\n var dashboardType = \"dashboardType_example\"; // string | List dashboard of given type\n var dashboardAccessFilter = \"dashboardAccessFilter_example\"; // string | Filter dashboard based on the owner of dashboard\n var sortBy = \"sortBy_example\"; // string | (optional) (default to \"desc\")\n var pageNumber = 56; // int? | (optional) (default to 1)\n var pageSize = 56; // int? | (optional) (default to 9)\n\n try\n { \n // Get list of dashboard configurations\n DashboardConfigurationListing result = apiInstance.GetAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, sortBy, pageNumber, pageSize);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Analytics.GetAnalyticsReportingSettingsDashboardsQuery: \" + e.Message );\n }\n }\n }\n}" + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetAnalyticsReportingSettingsDashboardsQueryExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new AnalyticsApi();\n var dashboardType = \"dashboardType_example\"; // string | List dashboard of given type\n var dashboardAccessFilter = \"dashboardAccessFilter_example\"; // string | Filter dashboard based on the owner of dashboard\n var name = \"name_example\"; // string | name of the dashboard (optional) \n var sortBy = \"sortBy_example\"; // string | (optional) (default to \"desc\")\n var pageNumber = 56; // int? | (optional) (default to 1)\n var pageSize = 56; // int? | (optional) (default to 9)\n\n try\n { \n // Get list of dashboard configurations\n DashboardConfigurationListing result = apiInstance.GetAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, name, sortBy, pageNumber, pageSize);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Analytics.GetAnalyticsReportingSettingsDashboardsQuery: \" + e.Message );\n }\n }\n }\n}" }, "getanalyticsreportingsettingsuserdashboards": { "operationId": "getanalyticsreportingsettingsuserdashboards", @@ -12964,6 +13272,20 @@ ], "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class DeleteExternalcontactsContactsSchemaExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var schemaId = \"schemaId_example\"; // string | Schema ID\n\n try\n { \n // Delete a schema\n apiInstance.DeleteExternalcontactsContactsSchema(schemaId);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.DeleteExternalcontactsContactsSchema: \" + e.Message );\n }\n }\n }\n}" }, + "deleteexternalcontactsexternalsource": { + "operationId": "deleteexternalcontactsexternalsource", + "functionName": "DeleteExternalcontactsExternalsource", + "signature": "DeleteExternalcontactsExternalsource(externalSourceId)", + "parameters": [ + { + "name": "externalSourceId", + "type": "string", + "required": "true" + } + ], + "return": "Object", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class DeleteExternalcontactsExternalsourceExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var externalSourceId = \"externalSourceId_example\"; // string | External Source ID\n\n try\n { \n // Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable.\n Object result = apiInstance.DeleteExternalcontactsExternalsource(externalSourceId);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.DeleteExternalcontactsExternalsource: \" + e.Message );\n }\n }\n }\n}" + }, "deleteexternalcontactsorganization": { "operationId": "deleteexternalcontactsorganization", "functionName": "DeleteExternalcontactsOrganization", @@ -13041,7 +13363,7 @@ } ], "return": "ExternalContact", - "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetExternalcontactsContactExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var contactId = \"contactId_example\"; // string | ExternalContact ID\n var expand = new List(); // List | which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) \n\n try\n { \n // Fetch an external contact\n ExternalContact result = apiInstance.GetExternalcontactsContact(contactId, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.GetExternalcontactsContact: \" + e.Message );\n }\n }\n }\n}" + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetExternalcontactsContactExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var contactId = \"contactId_example\"; // string | ExternalContact ID\n var expand = new List(); // List | which fields, if any, to expand (optional) \n\n try\n { \n // Fetch an external contact\n ExternalContact result = apiInstance.GetExternalcontactsContact(contactId, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.GetExternalcontactsContact: \" + e.Message );\n }\n }\n }\n}" }, "getexternalcontactscontactidentifiers": { "operationId": "getexternalcontactscontactidentifiers", @@ -13251,6 +13573,49 @@ "return": "DataSchemaListing", "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetExternalcontactsContactsSchemasExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n\n try\n { \n // Get a list of schemas.\n DataSchemaListing result = apiInstance.GetExternalcontactsContactsSchemas();\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.GetExternalcontactsContactsSchemas: \" + e.Message );\n }\n }\n }\n}" }, + "getexternalcontactsexternalsource": { + "operationId": "getexternalcontactsexternalsource", + "functionName": "GetExternalcontactsExternalsource", + "signature": "GetExternalcontactsExternalsource(externalSourceId)", + "parameters": [ + { + "name": "externalSourceId", + "type": "string", + "required": "true" + } + ], + "return": "ExternalSource", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetExternalcontactsExternalsourceExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var externalSourceId = \"externalSourceId_example\"; // string | External Source ID\n\n try\n { \n // Fetch an External Source\n ExternalSource result = apiInstance.GetExternalcontactsExternalsource(externalSourceId);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.GetExternalcontactsExternalsource: \" + e.Message );\n }\n }\n }\n}" + }, + "getexternalcontactsexternalsources": { + "operationId": "getexternalcontactsexternalsources", + "functionName": "GetExternalcontactsExternalsources", + "signature": "GetExternalcontactsExternalsources(cursor, limit, name, active)", + "parameters": [ + { + "name": "cursor", + "type": "string", + "required": "false" + }, + { + "name": "limit", + "type": "int?", + "required": "false" + }, + { + "name": "name", + "type": "string", + "required": "false" + }, + { + "name": "active", + "type": "bool?", + "required": "false" + } + ], + "return": "CursorExternalSourceListing", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetExternalcontactsExternalsourcesExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var cursor = \"cursor_example\"; // string | Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) \n var limit = 56; // int? | The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) \n var name = \"name_example\"; // string | Filter by external source name. Filtering is prefix filtering and not an exact match (optional) \n var active = true; // bool? | Filter by active status of external source (optional) \n\n try\n { \n // Fetch a list of External Sources\n CursorExternalSourceListing result = apiInstance.GetExternalcontactsExternalsources(cursor, limit, name, active);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.GetExternalcontactsExternalsources: \" + e.Message );\n }\n }\n }\n}" + }, "getexternalcontactsorganization": { "operationId": "getexternalcontactsorganization", "functionName": "GetExternalcontactsOrganization", @@ -13936,6 +14301,20 @@ "return": "DataSchema", "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostExternalcontactsContactsSchemasExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var body = new DataSchema(); // DataSchema | Schema\n\n try\n { \n // Create a schema\n DataSchema result = apiInstance.PostExternalcontactsContactsSchemas(body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.PostExternalcontactsContactsSchemas: \" + e.Message );\n }\n }\n }\n}" }, + "postexternalcontactsexternalsources": { + "operationId": "postexternalcontactsexternalsources", + "functionName": "PostExternalcontactsExternalsources", + "signature": "PostExternalcontactsExternalsources(body)", + "parameters": [ + { + "name": "body", + "type": "ExternalSource", + "required": "true" + } + ], + "return": "ExternalSource", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostExternalcontactsExternalsourcesExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var body = new ExternalSource(); // ExternalSource | External Source\n\n try\n { \n // Create an External Source\n ExternalSource result = apiInstance.PostExternalcontactsExternalsources(body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.PostExternalcontactsExternalsources: \" + e.Message );\n }\n }\n }\n}" + }, "postexternalcontactsidentifierlookup": { "operationId": "postexternalcontactsidentifierlookup", "functionName": "PostExternalcontactsIdentifierlookup", @@ -14110,6 +14489,25 @@ ], "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PutExternalcontactsConversationExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var conversationId = \"conversationId_example\"; // string | Conversation ID\n var body = new ConversationAssociation(); // ConversationAssociation | ConversationAssociation\n\n try\n { \n // Associate/disassociate an external contact with a conversation\n apiInstance.PutExternalcontactsConversation(conversationId, body);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.PutExternalcontactsConversation: \" + e.Message );\n }\n }\n }\n}" }, + "putexternalcontactsexternalsource": { + "operationId": "putexternalcontactsexternalsource", + "functionName": "PutExternalcontactsExternalsource", + "signature": "PutExternalcontactsExternalsource(externalSourceId, body)", + "parameters": [ + { + "name": "externalSourceId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "ExternalSource", + "required": "true" + } + ], + "return": "ExternalSource", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PutExternalcontactsExternalsourceExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new ExternalContactsApi();\n var externalSourceId = \"externalSourceId_example\"; // string | External Source ID\n var body = new ExternalSource(); // ExternalSource | External Source\n\n try\n { \n // Update an External Source\n ExternalSource result = apiInstance.PutExternalcontactsExternalsource(externalSourceId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling ExternalContacts.PutExternalcontactsExternalsource: \" + e.Message );\n }\n }\n }\n}" + }, "putexternalcontactsorganization": { "operationId": "putexternalcontactsorganization", "functionName": "PutExternalcontactsOrganization", @@ -19523,7 +19921,7 @@ "getjourneyviews": { "operationId": "getjourneyviews", "functionName": "GetJourneyViews", - "signature": "GetJourneyViews(pageNumber, pageSize, nameOrCreatedBy, expand)", + "signature": "GetJourneyViews(pageNumber, pageSize, nameOrCreatedBy, expand, id)", "parameters": [ { "name": "pageNumber", @@ -19544,10 +19942,15 @@ "name": "expand", "type": "string", "required": "false" + }, + { + "name": "id", + "type": "string", + "required": "false" } ], "return": "JourneyViewListing", - "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetJourneyViewsExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new JourneyApi();\n var pageNumber = 56; // int? | Page number (optional) (default to 1)\n var pageSize = 56; // int? | Page size (optional) (default to 25)\n var nameOrCreatedBy = \"nameOrCreatedBy_example\"; // string | Journey View Name or Created By (optional) \n var expand = \"expand_example\"; // string | Parameter to request additional data to return in Journey payload (optional) \n\n try\n { \n // Get a list of Journey Views\n JourneyViewListing result = apiInstance.GetJourneyViews(pageNumber, pageSize, nameOrCreatedBy, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Journey.GetJourneyViews: \" + e.Message );\n }\n }\n }\n}" + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetJourneyViewsExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new JourneyApi();\n var pageNumber = 56; // int? | Page number (optional) (default to 1)\n var pageSize = 56; // int? | Page size (optional) (default to 25)\n var nameOrCreatedBy = \"nameOrCreatedBy_example\"; // string | Journey View Name or Created By (optional) \n var expand = \"expand_example\"; // string | Parameter to request additional data to return in Journey payload (optional) \n var id = \"id_example\"; // string | Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) \n\n try\n { \n // Get a list of Journey Views\n JourneyViewListing result = apiInstance.GetJourneyViews(pageNumber, pageSize, nameOrCreatedBy, expand, id);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Journey.GetJourneyViews: \" + e.Message );\n }\n }\n }\n}" }, "getjourneyviewseventdefinition": { "operationId": "getjourneyviewseventdefinition", @@ -21457,6 +21860,35 @@ "return": "KnowledgeDocumentResponse", "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PatchKnowledgeKnowledgebaseDocumentExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new KnowledgeApi();\n var knowledgeBaseId = \"knowledgeBaseId_example\"; // string | Knowledge base ID.\n var documentId = \"documentId_example\"; // string | Document ID.\n var body = new KnowledgeDocumentReq(); // KnowledgeDocumentReq | \n\n try\n { \n // Update document.\n KnowledgeDocumentResponse result = apiInstance.PatchKnowledgeKnowledgebaseDocument(knowledgeBaseId, documentId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Knowledge.PatchKnowledgeKnowledgebaseDocument: \" + e.Message );\n }\n }\n }\n}" }, + "patchknowledgeknowledgebasedocumentfeedbackfeedbackid": { + "operationId": "patchknowledgeknowledgebasedocumentfeedbackfeedbackid", + "functionName": "PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId", + "signature": "PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(knowledgeBaseId, documentId, feedbackId, body)", + "parameters": [ + { + "name": "knowledgeBaseId", + "type": "string", + "required": "true" + }, + { + "name": "documentId", + "type": "string", + "required": "true" + }, + { + "name": "feedbackId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "KnowledgeDocumentFeedbackUpdateRequest", + "required": "false" + } + ], + "return": "KnowledgeDocumentFeedbackResponse", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new KnowledgeApi();\n var knowledgeBaseId = \"knowledgeBaseId_example\"; // string | Knowledge base ID.\n var documentId = \"documentId_example\"; // string | Document ID.\n var feedbackId = \"feedbackId_example\"; // string | Feedback ID.\n var body = new KnowledgeDocumentFeedbackUpdateRequest(); // KnowledgeDocumentFeedbackUpdateRequest | (optional) \n\n try\n { \n // Update feedback on a document\n KnowledgeDocumentFeedbackResponse result = apiInstance.PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(knowledgeBaseId, documentId, feedbackId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Knowledge.PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId: \" + e.Message );\n }\n }\n }\n}" + }, "patchknowledgeknowledgebasedocumentvariation": { "operationId": "patchknowledgeknowledgebasedocumentvariation", "functionName": "PatchKnowledgeKnowledgebaseDocumentVariation", @@ -21804,6 +22236,25 @@ ], "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostKnowledgeGuestSessionDocumentViewsExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n\n var apiInstance = new KnowledgeApi();\n var sessionId = \"sessionId_example\"; // string | Knowledge guest session ID.\n var documentId = \"documentId_example\"; // string | Document ID\n var body = new KnowledgeGuestDocumentView(); // KnowledgeGuestDocumentView | (optional) \n\n try\n { \n // Create view event for a document.\n apiInstance.PostKnowledgeGuestSessionDocumentViews(sessionId, documentId, body);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Knowledge.PostKnowledgeGuestSessionDocumentViews: \" + e.Message );\n }\n }\n }\n}" }, + "postknowledgeguestsessiondocumentsanswers": { + "operationId": "postknowledgeguestsessiondocumentsanswers", + "functionName": "PostKnowledgeGuestSessionDocumentsAnswers", + "signature": "PostKnowledgeGuestSessionDocumentsAnswers(sessionId, body)", + "parameters": [ + { + "name": "sessionId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "KnowledgeDocumentsAnswerFilter", + "required": "true" + } + ], + "return": "KnowledgeGuestAnswerDocumentsResponse", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostKnowledgeGuestSessionDocumentsAnswersExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n\n var apiInstance = new KnowledgeApi();\n var sessionId = \"sessionId_example\"; // string | Knowledge guest session ID.\n var body = new KnowledgeDocumentsAnswerFilter(); // KnowledgeDocumentsAnswerFilter | \n\n try\n { \n // Answer documents.\n KnowledgeGuestAnswerDocumentsResponse result = apiInstance.PostKnowledgeGuestSessionDocumentsAnswers(sessionId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Knowledge.PostKnowledgeGuestSessionDocumentsAnswers: \" + e.Message );\n }\n }\n }\n}" + }, "postknowledgeguestsessiondocumentspresentations": { "operationId": "postknowledgeguestsessiondocumentspresentations", "functionName": "PostKnowledgeGuestSessionDocumentsPresentations", @@ -22035,6 +22486,25 @@ "return": "KnowledgeDocumentResponse", "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostKnowledgeKnowledgebaseDocumentsExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new KnowledgeApi();\n var knowledgeBaseId = \"knowledgeBaseId_example\"; // string | Knowledge base ID\n var body = new KnowledgeDocumentReq(); // KnowledgeDocumentReq | \n\n try\n { \n // Create document.\n KnowledgeDocumentResponse result = apiInstance.PostKnowledgeKnowledgebaseDocuments(knowledgeBaseId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Knowledge.PostKnowledgeKnowledgebaseDocuments: \" + e.Message );\n }\n }\n }\n}" }, + "postknowledgeknowledgebasedocumentsanswers": { + "operationId": "postknowledgeknowledgebasedocumentsanswers", + "functionName": "PostKnowledgeKnowledgebaseDocumentsAnswers", + "signature": "PostKnowledgeKnowledgebaseDocumentsAnswers(knowledgeBaseId, body)", + "parameters": [ + { + "name": "knowledgeBaseId", + "type": "string", + "required": "true" + }, + { + "name": "body", + "type": "KnowledgeDocumentsAnswerFilter", + "required": "true" + } + ], + "return": "KnowledgeAnswerDocumentsResponse", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class PostKnowledgeKnowledgebaseDocumentsAnswersExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new KnowledgeApi();\n var knowledgeBaseId = \"knowledgeBaseId_example\"; // string | Knowledge base ID\n var body = new KnowledgeDocumentsAnswerFilter(); // KnowledgeDocumentsAnswerFilter | \n\n try\n { \n // Answer documents.\n KnowledgeAnswerDocumentsResponse result = apiInstance.PostKnowledgeKnowledgebaseDocumentsAnswers(knowledgeBaseId, body);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Knowledge.PostKnowledgeKnowledgebaseDocumentsAnswers: \" + e.Message );\n }\n }\n }\n}" + }, "postknowledgeknowledgebasedocumentsbulkremove": { "operationId": "postknowledgeknowledgebasedocumentsbulkremove", "functionName": "PostKnowledgeKnowledgebaseDocumentsBulkRemove", @@ -33780,6 +34250,25 @@ "return": "Queue", "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetRoutingQueueExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new RoutingApi();\n var queueId = \"queueId_example\"; // string | Queue ID\n\n try\n { \n // Get details about this queue.\n Queue result = apiInstance.GetRoutingQueue(queueId);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Routing.GetRoutingQueue: \" + e.Message );\n }\n }\n }\n}" }, + "getroutingqueueassistant": { + "operationId": "getroutingqueueassistant", + "functionName": "GetRoutingQueueAssistant", + "signature": "GetRoutingQueueAssistant(queueId, expand)", + "parameters": [ + { + "name": "queueId", + "type": "string", + "required": "true" + }, + { + "name": "expand", + "type": "string", + "required": "false" + } + ], + "return": "AssistantQueue", + "example": "using System;\nusing System.Diagnostics;\nusing PureCloudPlatform.Client.V2.Api;\nusing PureCloudPlatform.Client.V2.Client;\nusing PureCloudPlatform.Client.V2.Model;\nusing PureCloudPlatform.Client.V2.Extensions;\n\nnamespace Example\n{\n public class GetRoutingQueueAssistantExample\n {\n static void Main(string[] args)\n { \n PureCloudRegionHosts region = PureCloudRegionHosts.us_east_1; // Genesys Cloud region\n Configuration.Default.ApiClient.setBasePath(region);\n \n // Configure OAuth2 access token for authorization: PureCloud OAuth\n // The following example is using the Client Credentials Grant\n var accessTokenInfo = Configuration.Default.ApiClient.PostToken(\"your_client_credential_grant_id\", \"your_client_credential_grant_secret\");\n\n var apiInstance = new RoutingApi();\n var queueId = \"queueId_example\"; // string | Queue ID\n var expand = \"expand_example\"; // string | Which fields, if any, to expand. (optional) \n\n try\n { \n // Get an assistant associated with a queue.\n AssistantQueue result = apiInstance.GetRoutingQueueAssistant(queueId, expand);\n Debug.WriteLine(result);\n }\n catch (Exception e)\n {\n Debug.Print(\"Exception when calling Routing.GetRoutingQueueAssistant: \" + e.Message );\n }\n }\n }\n}" + }, "getroutingqueuecomparisonperiod": { "operationId": "getroutingqueuecomparisonperiod", "functionName": "GetRoutingQueueComparisonperiod", diff --git a/build/PureCloudPlatform.Client.V2.sln b/build/PureCloudPlatform.Client.V2.sln index 7a8d8aca9..8003d6e21 100644 --- a/build/PureCloudPlatform.Client.V2.sln +++ b/build/PureCloudPlatform.Client.V2.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 16.0.07703.2035 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PureCloudPlatform.Client.V2", "src\PureCloudPlatform.Client.V2\PureCloudPlatform.Client.V2.csproj", "{C0E3D475-D3AF-423A-9D46-663953F05BE5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PureCloudPlatform.Client.V2", "src\PureCloudPlatform.Client.V2\PureCloudPlatform.Client.V2.csproj", "{42A764B4-32C4-4EB5-AEE7-E66823FA88D9}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PureCloudPlatform.Client.V2.Tests", "src\PureCloudPlatform.Client.V2.Tests\PureCloudPlatform.Client.V2.Tests.csproj", "{C75E717C-8754-49FE-82D5-B6689AE341A1}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C0E3D475-D3AF-423A-9D46-663953F05BE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C0E3D475-D3AF-423A-9D46-663953F05BE5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C0E3D475-D3AF-423A-9D46-663953F05BE5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C0E3D475-D3AF-423A-9D46-663953F05BE5}.Release|Any CPU.Build.0 = Release|Any CPU + {42A764B4-32C4-4EB5-AEE7-E66823FA88D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {42A764B4-32C4-4EB5-AEE7-E66823FA88D9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42A764B4-32C4-4EB5-AEE7-E66823FA88D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {42A764B4-32C4-4EB5-AEE7-E66823FA88D9}.Release|Any CPU.Build.0 = Release|Any CPU {C75E717C-8754-49FE-82D5-B6689AE341A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C75E717C-8754-49FE-82D5-B6689AE341A1}.Debug|Any CPU.Build.0 = Debug|Any CPU {C75E717C-8754-49FE-82D5-B6689AE341A1}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/build/TestResult.xml b/build/TestResult.xml index eaf4fd165..27b1ac2b9 100644 --- a/build/TestResult.xml +++ b/build/TestResult.xml @@ -1,8 +1,8 @@ - + - - + + @@ -13,111 +13,111 @@ - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + - + - - + - + - - + - - + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + diff --git a/build/bin/PureCloudPlatform.Client.V2.dll b/build/bin/PureCloudPlatform.Client.V2.dll index 2d1da19aa..ad5c45739 100755 Binary files a/build/bin/PureCloudPlatform.Client.V2.dll and b/build/bin/PureCloudPlatform.Client.V2.dll differ diff --git a/build/docs/AcceleratorList.md b/build/docs/AcceleratorList.md index 4eb9b597b..f1b57bdde 100644 --- a/build/docs/AcceleratorList.md +++ b/build/docs/AcceleratorList.md @@ -11,8 +11,8 @@ title: AcceleratorList | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/AcdEndDetailEventTopicAcdEndEvent.md b/build/docs/AcdEndDetailEventTopicAcdEndEvent.md index cf89e74d2..d82ca19ef 100644 --- a/build/docs/AcdEndDetailEventTopicAcdEndEvent.md +++ b/build/docs/AcdEndDetailEventTopicAcdEndEvent.md @@ -37,6 +37,8 @@ title: AcdEndDetailEventTopicAcdEndEvent | **ConnectedDurationMs** | **int?** | | [optional] | | **ConversationExternalContactIds** | **List<string>** | | [optional] | | **ConversationExternalOrganizationIds** | **List<string>** | | [optional] | +| **UtilizationLabel** | **string** | | [optional] | +| **FlowType** | **string** | | [optional] | {: class="table table-striped"} diff --git a/build/docs/AcdStartDetailEventTopicAcdStartEvent.md b/build/docs/AcdStartDetailEventTopicAcdStartEvent.md index 8bb8a2b5f..3ab1de586 100644 --- a/build/docs/AcdStartDetailEventTopicAcdStartEvent.md +++ b/build/docs/AcdStartDetailEventTopicAcdStartEvent.md @@ -27,6 +27,9 @@ title: AcdStartDetailEventTopicAcdStartEvent | **DivisionId** | **string** | | [optional] | | **ConversationExternalContactIds** | **List<string>** | | [optional] | | **ConversationExternalOrganizationIds** | **List<string>** | | [optional] | +| **UtilizationLabel** | **string** | | [optional] | +| **RoutingPriority** | **int?** | | [optional] | +| **RequestedRoutingSkillIds** | **List<string>** | | [optional] | {: class="table table-striped"} diff --git a/build/docs/ActionCertificateListing.md b/build/docs/ActionCertificateListing.md index 792bd9f76..8624ddbbc 100644 --- a/build/docs/ActionCertificateListing.md +++ b/build/docs/ActionCertificateListing.md @@ -11,8 +11,8 @@ title: ActionCertificateListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ActionEntityListing.md b/build/docs/ActionEntityListing.md index f8a7fff5a..b7445a3d6 100644 --- a/build/docs/ActionEntityListing.md +++ b/build/docs/ActionEntityListing.md @@ -11,8 +11,8 @@ title: ActionEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ActionMapListing.md b/build/docs/ActionMapListing.md index a5fb9eb9a..37f58a82d 100644 --- a/build/docs/ActionMapListing.md +++ b/build/docs/ActionMapListing.md @@ -11,8 +11,8 @@ title: ActionMapListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ActionTargetListing.md b/build/docs/ActionTargetListing.md index 65cac31e9..0190ef0af 100644 --- a/build/docs/ActionTargetListing.md +++ b/build/docs/ActionTargetListing.md @@ -11,8 +11,8 @@ title: ActionTargetListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ActionTemplateListing.md b/build/docs/ActionTemplateListing.md index de400e71d..25a17b300 100644 --- a/build/docs/ActionTemplateListing.md +++ b/build/docs/ActionTemplateListing.md @@ -11,8 +11,8 @@ title: ActionTemplateListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ActivityCodesReference.md b/build/docs/ActivityCodesReference.md index eb1054702..0fb45e13e 100644 --- a/build/docs/ActivityCodesReference.md +++ b/build/docs/ActivityCodesReference.md @@ -7,7 +7,6 @@ title: ActivityCodesReference |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -| **Id** | **string** | The globally unique identifier for the object. | [optional] | | **Ids** | **List<string>** | The IDs of activity codes | [optional] | | **SelfUri** | **string** | The URI for this object | [optional] | {: class="table table-striped"} diff --git a/build/docs/AgentActivityEntityListing.md b/build/docs/AgentActivityEntityListing.md index 5be21b28a..8ab82c778 100644 --- a/build/docs/AgentActivityEntityListing.md +++ b/build/docs/AgentActivityEntityListing.md @@ -11,8 +11,8 @@ title: AgentActivityEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/AgentAssistantsApi.md b/build/docs/AgentAssistantsApi.md new file mode 100644 index 000000000..78b65a79c --- /dev/null +++ b/build/docs/AgentAssistantsApi.md @@ -0,0 +1,818 @@ +--- +title: AgentAssistantsApi +--- +## PureCloudPlatform.Client.V2.Api.AgentAssistantsApi + +All URIs are relative to *https://api.mypurecloud.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**DeleteAssistant**](AgentAssistantsApi.html#deleteassistant) | **Delete** /api/v2/assistants/{assistantId} | Delete an assistant. | +| [**DeleteAssistantQueue**](AgentAssistantsApi.html#deleteassistantqueue) | **Delete** /api/v2/assistants/{assistantId}/queues/{queueId} | Disassociate a queue from an assistant. | +| [**DeleteAssistantQueues**](AgentAssistantsApi.html#deleteassistantqueues) | **Delete** /api/v2/assistants/{assistantId}/queues | Disassociate the queues from an assistant for the given assistant ID and queue IDs. | +| [**GetAssistant**](AgentAssistantsApi.html#getassistant) | **Get** /api/v2/assistants/{assistantId} | Get an assistant. | +| [**GetAssistantQueue**](AgentAssistantsApi.html#getassistantqueue) | **Get** /api/v2/assistants/{assistantId}/queues/{queueId} | Get queue Information for an assistant. | +| [**GetAssistantQueues**](AgentAssistantsApi.html#getassistantqueues) | **Get** /api/v2/assistants/{assistantId}/queues | Get all the queues associated with an assistant. | +| [**GetAssistants**](AgentAssistantsApi.html#getassistants) | **Get** /api/v2/assistants | Get all assistants. | +| [**GetAssistantsQueues**](AgentAssistantsApi.html#getassistantsqueues) | **Get** /api/v2/assistants/queues | Get all queues assigned to any assistant. | +| [**PatchAssistant**](AgentAssistantsApi.html#patchassistant) | **Patch** /api/v2/assistants/{assistantId} | Update an assistant. | +| [**PatchAssistantQueues**](AgentAssistantsApi.html#patchassistantqueues) | **Patch** /api/v2/assistants/{assistantId}/queues | Update Queues for an Assistant. | +| [**PostAssistants**](AgentAssistantsApi.html#postassistants) | **Post** /api/v2/assistants | Create an Assistant. | +| [**PutAssistantQueue**](AgentAssistantsApi.html#putassistantqueue) | **Put** /api/v2/assistants/{assistantId}/queues/{queueId} | Create a queue assistant association. | +{: class="table table-striped"} + + + +## void DeleteAssistant (string assistantId) + + + +Delete an assistant. + +Requires ALL permissions: + +* assistants:assistant:delete + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class DeleteAssistantExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + + try + { + // Delete an assistant. + apiInstance.DeleteAssistant(assistantId); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.DeleteAssistant: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +{: class="table table-striped"} + +### Return type + +void (empty response body) + + + +## void DeleteAssistantQueue (string assistantId, string queueId) + + + +Disassociate a queue from an assistant. + +Requires ALL permissions: + +* assistants:queue:delete + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class DeleteAssistantQueueExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var queueId = queueId_example; // string | Queue ID + + try + { + // Disassociate a queue from an assistant. + apiInstance.DeleteAssistantQueue(assistantId, queueId); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.DeleteAssistantQueue: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **queueId** | **string**| Queue ID | | +{: class="table table-striped"} + +### Return type + +void (empty response body) + + + +## void DeleteAssistantQueues (string assistantId, string queueIds = null) + + + +Disassociate the queues from an assistant for the given assistant ID and queue IDs. + +Requires ALL permissions: + +* assistants:queue:delete + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class DeleteAssistantQueuesExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var queueIds = queueIds_example; // string | Comma-separated identifiers of the queues that need to be deleted. (optional) + + try + { + // Disassociate the queues from an assistant for the given assistant ID and queue IDs. + apiInstance.DeleteAssistantQueues(assistantId, queueIds); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.DeleteAssistantQueues: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **queueIds** | **string**| Comma-separated identifiers of the queues that need to be deleted. | [optional] | +{: class="table table-striped"} + +### Return type + +void (empty response body) + + + +## [**Assistant**](Assistant.html) GetAssistant (string assistantId, string expand = null) + + + +Get an assistant. + +Requires ALL permissions: + +* assistants:assistant:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetAssistantExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var expand = expand_example; // string | Which fields, if any, to expand. (optional) + + try + { + // Get an assistant. + Assistant result = apiInstance.GetAssistant(assistantId, expand); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.GetAssistant: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **expand** | **string**| Which fields, if any, to expand. | [optional]
**Values**: copilot | +{: class="table table-striped"} + +### Return type + +[**Assistant**](Assistant.html) + + + +## [**AssistantQueue**](AssistantQueue.html) GetAssistantQueue (string assistantId, string queueId, string expand = null) + + + +Get queue Information for an assistant. + +Requires ALL permissions: + +* assistants:queue:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetAssistantQueueExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var queueId = queueId_example; // string | Queue ID + var expand = expand_example; // string | Which fields, if any, to expand. (optional) + + try + { + // Get queue Information for an assistant. + AssistantQueue result = apiInstance.GetAssistantQueue(assistantId, queueId, expand); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.GetAssistantQueue: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **queueId** | **string**| Queue ID | | +| **expand** | **string**| Which fields, if any, to expand. | [optional]
**Values**: assistant | +{: class="table table-striped"} + +### Return type + +[**AssistantQueue**](AssistantQueue.html) + + + +## [**AssistantQueueListing**](AssistantQueueListing.html) GetAssistantQueues (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null) + + + +Get all the queues associated with an assistant. + +Requires ALL permissions: + +* assistants:queue:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetAssistantQueuesExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var before = before_example; // string | The cursor that points to the start of the set of entities that has been returned. (optional) + var after = after_example; // string | The cursor that points to the end of the set of entities that has been returned. (optional) + var pageSize = pageSize_example; // string | Number of entities to return. Maximum of 200. (optional) + var expand = expand_example; // string | Which fields, if any, to expand. (optional) + + try + { + // Get all the queues associated with an assistant. + AssistantQueueListing result = apiInstance.GetAssistantQueues(assistantId, before, after, pageSize, expand); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.GetAssistantQueues: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **before** | **string**| The cursor that points to the start of the set of entities that has been returned. | [optional] | +| **after** | **string**| The cursor that points to the end of the set of entities that has been returned. | [optional] | +| **pageSize** | **string**| Number of entities to return. Maximum of 200. | [optional] | +| **expand** | **string**| Which fields, if any, to expand. | [optional]
**Values**: assistant | +{: class="table table-striped"} + +### Return type + +[**AssistantQueueListing**](AssistantQueueListing.html) + + + +## [**AssistantListing**](AssistantListing.html) GetAssistants (string before = null, string after = null, string limit = null, string pageSize = null, string name = null) + + + +Get all assistants. + +Requires ALL permissions: + +* assistants:assistant:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetAssistantsExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var before = before_example; // string | The cursor that points to the start of the set of entities that has been returned. (optional) + var after = after_example; // string | The cursor that points to the end of the set of entities that has been returned. (optional) + var limit = limit_example; // string | Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + var pageSize = pageSize_example; // string | Number of entities to return. Maximum of 200. (optional) + var name = name_example; // string | Return the assistant by the given name. (optional) + + try + { + // Get all assistants. + AssistantListing result = apiInstance.GetAssistants(before, after, limit, pageSize, name); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.GetAssistants: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **before** | **string**| The cursor that points to the start of the set of entities that has been returned. | [optional] | +| **after** | **string**| The cursor that points to the end of the set of entities that has been returned. | [optional] | +| **limit** | **string**| Number of entities to return. Maximum of 200. Deprecated in favour of pageSize | [optional] | +| **pageSize** | **string**| Number of entities to return. Maximum of 200. | [optional] | +| **name** | **string**| Return the assistant by the given name. | [optional] | +{: class="table table-striped"} + +### Return type + +[**AssistantListing**](AssistantListing.html) + + + +## [**AssistantQueueListing**](AssistantQueueListing.html) GetAssistantsQueues (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null) + + + +Get all queues assigned to any assistant. + +Requires ALL permissions: + +* assistants:queue:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetAssistantsQueuesExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var before = before_example; // string | The cursor that points to the start of the set of entities that has been returned. (optional) + var after = after_example; // string | The cursor that points to the end of the set of entities that has been returned. (optional) + var pageSize = pageSize_example; // string | Number of entities to return. Maximum of 200. (optional) + var queueIds = queueIds_example; // string | Comma-separated identifiers of the queues that need to be retrieved. (optional) + var expand = expand_example; // string | Which fields, if any, to expand. (optional) + + try + { + // Get all queues assigned to any assistant. + AssistantQueueListing result = apiInstance.GetAssistantsQueues(before, after, pageSize, queueIds, expand); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.GetAssistantsQueues: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **before** | **string**| The cursor that points to the start of the set of entities that has been returned. | [optional] | +| **after** | **string**| The cursor that points to the end of the set of entities that has been returned. | [optional] | +| **pageSize** | **string**| Number of entities to return. Maximum of 200. | [optional] | +| **queueIds** | **string**| Comma-separated identifiers of the queues that need to be retrieved. | [optional] | +| **expand** | **string**| Which fields, if any, to expand. | [optional]
**Values**: assistant | +{: class="table table-striped"} + +### Return type + +[**AssistantQueueListing**](AssistantQueueListing.html) + + + +## [**Assistant**](Assistant.html) PatchAssistant (string assistantId, Assistant body) + + + +Update an assistant. + +Requires ALL permissions: + +* assistants:assistant:edit + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PatchAssistantExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var body = new Assistant(); // Assistant | + + try + { + // Update an assistant. + Assistant result = apiInstance.PatchAssistant(assistantId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.PatchAssistant: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **body** | [**Assistant**](Assistant.html)| | | +{: class="table table-striped"} + +### Return type + +[**Assistant**](Assistant.html) + + + +## [**AssistantQueueListing**](AssistantQueueListing.html) PatchAssistantQueues (string assistantId, List body) + + + +Update Queues for an Assistant. + +Requires ALL permissions: + +* assistants:queue:edit + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PatchAssistantQueuesExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var body = new List(); // List | + + try + { + // Update Queues for an Assistant. + AssistantQueueListing result = apiInstance.PatchAssistantQueues(assistantId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.PatchAssistantQueues: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **body** | [**List**](AssistantQueue.html)| | | +{: class="table table-striped"} + +### Return type + +[**AssistantQueueListing**](AssistantQueueListing.html) + + + +## [**Assistant**](Assistant.html) PostAssistants (Assistant body) + + + +Create an Assistant. + +Requires ALL permissions: + +* assistants:assistant:add + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PostAssistantsExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var body = new Assistant(); // Assistant | + + try + { + // Create an Assistant. + Assistant result = apiInstance.PostAssistants(body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.PostAssistants: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**Assistant**](Assistant.html)| | | +{: class="table table-striped"} + +### Return type + +[**Assistant**](Assistant.html) + + + +## [**AssistantQueue**](AssistantQueue.html) PutAssistantQueue (string assistantId, string queueId, AssistantQueue body) + + + +Create a queue assistant association. + +Requires ALL permissions: + +* assistants:queue:edit + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PutAssistantQueueExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentAssistantsApi(); + var assistantId = assistantId_example; // string | Assistant ID + var queueId = queueId_example; // string | Queue ID + var body = new AssistantQueue(); // AssistantQueue | + + try + { + // Create a queue assistant association. + AssistantQueue result = apiInstance.PutAssistantQueue(assistantId, queueId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentAssistantsApi.PutAssistantQueue: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **queueId** | **string**| Queue ID | | +| **body** | [**AssistantQueue**](AssistantQueue.html)| | | +{: class="table table-striped"} + +### Return type + +[**AssistantQueue**](AssistantQueue.html) + diff --git a/build/docs/AgentCopilotApi.md b/build/docs/AgentCopilotApi.md new file mode 100644 index 000000000..262f1e175 --- /dev/null +++ b/build/docs/AgentCopilotApi.md @@ -0,0 +1,141 @@ +--- +title: AgentCopilotApi +--- +## PureCloudPlatform.Client.V2.Api.AgentCopilotApi + +All URIs are relative to *https://api.mypurecloud.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**GetAssistantCopilot**](AgentCopilotApi.html#getassistantcopilot) | **Get** /api/v2/assistants/{assistantId}/copilot | Get copilot configuration of an assistant. | +| [**PutAssistantCopilot**](AgentCopilotApi.html#putassistantcopilot) | **Put** /api/v2/assistants/{assistantId}/copilot | Update agent copilot configuration | +{: class="table table-striped"} + + + +## [**Copilot**](Copilot.html) GetAssistantCopilot (string assistantId) + + + +Get copilot configuration of an assistant. + +Requires ALL permissions: + +* assistants:copilot:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetAssistantCopilotExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentCopilotApi(); + var assistantId = assistantId_example; // string | Assistant ID + + try + { + // Get copilot configuration of an assistant. + Copilot result = apiInstance.GetAssistantCopilot(assistantId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentCopilotApi.GetAssistantCopilot: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +{: class="table table-striped"} + +### Return type + +[**Copilot**](Copilot.html) + + + +## [**Copilot**](Copilot.html) PutAssistantCopilot (string assistantId, Copilot body) + + + +Update agent copilot configuration + +Requires ALL permissions: + +* assistants:copilot:edit + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PutAssistantCopilotExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new AgentCopilotApi(); + var assistantId = assistantId_example; // string | Assistant ID + var body = new Copilot(); // Copilot | + + try + { + // Update agent copilot configuration + Copilot result = apiInstance.PutAssistantCopilot(assistantId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling AgentCopilotApi.PutAssistantCopilot: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assistantId** | **string**| Assistant ID | | +| **body** | [**Copilot**](Copilot.html)| | | +{: class="table table-striped"} + +### Return type + +[**Copilot**](Copilot.html) + diff --git a/build/docs/AlertListing.md b/build/docs/AlertListing.md index 1260aa10b..1b3889444 100644 --- a/build/docs/AlertListing.md +++ b/build/docs/AlertListing.md @@ -11,8 +11,8 @@ title: AlertListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/AnalyticsApi.md b/build/docs/AnalyticsApi.md index fb881dcb8..0111137ef 100644 --- a/build/docs/AnalyticsApi.md +++ b/build/docs/AnalyticsApi.md @@ -2346,7 +2346,7 @@ This endpoint does require any parameters. -## [**DashboardConfigurationListing**](DashboardConfigurationListing.html) GetAnalyticsReportingSettingsDashboardsQuery (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null) +## [**DashboardConfigurationListing**](DashboardConfigurationListing.html) GetAnalyticsReportingSettingsDashboardsQuery (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null) @@ -2380,6 +2380,7 @@ namespace Example var apiInstance = new AnalyticsApi(); var dashboardType = dashboardType_example; // string | List dashboard of given type var dashboardAccessFilter = dashboardAccessFilter_example; // string | Filter dashboard based on the owner of dashboard + var name = name_example; // string | name of the dashboard (optional) var sortBy = sortBy_example; // string | (optional) (default to "desc") var pageNumber = 56; // int? | (optional) (default to 1) var pageSize = 56; // int? | (optional) (default to 9) @@ -2387,7 +2388,7 @@ namespace Example try { // Get list of dashboard configurations - DashboardConfigurationListing result = apiInstance.GetAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, sortBy, pageNumber, pageSize); + DashboardConfigurationListing result = apiInstance.GetAnalyticsReportingSettingsDashboardsQuery(dashboardType, dashboardAccessFilter, name, sortBy, pageNumber, pageSize); Debug.WriteLine(result); } catch (Exception e) @@ -2406,6 +2407,7 @@ namespace Example |------------- | ------------- | ------------- | -------------| | **dashboardType** | **string**| List dashboard of given type |
**Values**: All, Public, Private, Shared, Favorites | | **dashboardAccessFilter** | **string**| Filter dashboard based on the owner of dashboard |
**Values**: OwnedByMe, OwnedByAnyone, NotOwnedByMe | +| **name** | **string**| name of the dashboard | [optional] | | **sortBy** | **string**| | [optional] [default to "desc"] | | **pageNumber** | **int?**| | [optional] [default to 1] | | **pageSize** | **int?**| | [optional] [default to 9] | @@ -3604,8 +3606,6 @@ namespace Example Query for agent copilot aggregates -PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ANY permissions: * analytics:agentCopilotAggregate:view diff --git a/build/docs/AnswerGenerationConfig.md b/build/docs/AnswerGenerationConfig.md new file mode 100644 index 000000000..9d6cf532b --- /dev/null +++ b/build/docs/AnswerGenerationConfig.md @@ -0,0 +1,13 @@ +--- +title: AnswerGenerationConfig +--- +## ININ.PureCloudApi.Model.AnswerGenerationConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Enabled** | **bool?** | Answer generation is enabled. | | +{: class="table table-striped"} + + diff --git a/build/docs/AssignedLearningModuleDomainEntityListing.md b/build/docs/AssignedLearningModuleDomainEntityListing.md index 7322654a6..470c351a3 100644 --- a/build/docs/AssignedLearningModuleDomainEntityListing.md +++ b/build/docs/AssignedLearningModuleDomainEntityListing.md @@ -11,8 +11,8 @@ title: AssignedLearningModuleDomainEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/Assistant.md b/build/docs/Assistant.md new file mode 100644 index 000000000..18079f887 --- /dev/null +++ b/build/docs/Assistant.md @@ -0,0 +1,24 @@ +--- +title: Assistant +--- +## ININ.PureCloudApi.Model.Assistant + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | The globally unique identifier for the object. | [optional] | +| **Name** | **string** | The name of the assistant that will assist the agent. | | +| **DateCreated** | **DateTime?** | Date when the assistant was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z | [optional] | +| **DateModified** | **DateTime?** | Date when the assistant was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z | [optional] | +| **CreatedBy** | [**UserReference**](UserReference.html) | The user who created the assistant. | [optional] | +| **ModifiedBy** | [**UserReference**](UserReference.html) | The user who last modified the assistant. | [optional] | +| **GoogleDialogflowConfig** | [**GoogleDialogflowConfig**](GoogleDialogflowConfig.html) | Configuration of Dialogflow used to assist the agent with transcriptions and knowledge suggestions. | [optional] | +| **TranscriptionConfig** | [**TranscriptionConfig**](TranscriptionConfig.html) | Configuration for speech transcription used to assist the agent. | | +| **KnowledgeSuggestionConfig** | [**KnowledgeSuggestionConfig**](KnowledgeSuggestionConfig.html) | Configuration that defines how to produce knowledge suggestions. | | +| **State** | **string** | State of the assistant. | [optional] | +| **Copilot** | [**Copilot**](Copilot.html) | Agent copilot configuration. | [optional] | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/AssistantListing.md b/build/docs/AssistantListing.md new file mode 100644 index 000000000..2da645333 --- /dev/null +++ b/build/docs/AssistantListing.md @@ -0,0 +1,16 @@ +--- +title: AssistantListing +--- +## ININ.PureCloudApi.Model.AssistantListing + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Entities** | [**List<Assistant>**](Assistant.html) | | [optional] | +| **NextUri** | **string** | | [optional] | +| **SelfUri** | **string** | | [optional] | +| **PreviousUri** | **string** | | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/AssistantQueue.md b/build/docs/AssistantQueue.md new file mode 100644 index 000000000..3f69da8ef --- /dev/null +++ b/build/docs/AssistantQueue.md @@ -0,0 +1,18 @@ +--- +title: AssistantQueue +--- +## ININ.PureCloudApi.Model.AssistantQueue + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | The globally unique identifier for the queue. | | +| **MediaTypes** | **List<string>** | List of media Types in which the assistant is activated for this queue. | | +| **Assistant** | [**Assistant**](Assistant.html) | Assistant to which the queue is assigned. | [optional] | +| **DateCreated** | **DateTime?** | Date when the assistant queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z | [optional] | +| **DateModified** | **DateTime?** | Date when the assistant queue was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z | [optional] | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/AssistantQueueListing.md b/build/docs/AssistantQueueListing.md new file mode 100644 index 000000000..97e8a6145 --- /dev/null +++ b/build/docs/AssistantQueueListing.md @@ -0,0 +1,16 @@ +--- +title: AssistantQueueListing +--- +## ININ.PureCloudApi.Model.AssistantQueueListing + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Entities** | [**List<AssistantQueue>**](AssistantQueue.html) | | [optional] | +| **NextUri** | **string** | | [optional] | +| **SelfUri** | **string** | | [optional] | +| **PreviousUri** | **string** | | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/AttemptLimitsEntityListing.md b/build/docs/AttemptLimitsEntityListing.md index 72d746c4a..d32a87dbf 100644 --- a/build/docs/AttemptLimitsEntityListing.md +++ b/build/docs/AttemptLimitsEntityListing.md @@ -11,8 +11,8 @@ title: AttemptLimitsEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/AuthzDivisionEntityListing.md b/build/docs/AuthzDivisionEntityListing.md index e4d0905d1..dc2fcc00b 100644 --- a/build/docs/AuthzDivisionEntityListing.md +++ b/build/docs/AuthzDivisionEntityListing.md @@ -11,8 +11,8 @@ title: AuthzDivisionEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/BotConnectorBotSummaryEntityListing.md b/build/docs/BotConnectorBotSummaryEntityListing.md index 5afabf2b8..11c62d781 100644 --- a/build/docs/BotConnectorBotSummaryEntityListing.md +++ b/build/docs/BotConnectorBotSummaryEntityListing.md @@ -11,8 +11,8 @@ title: BotConnectorBotSummaryEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/BotConnectorBotVersionSummaryEntityListing.md b/build/docs/BotConnectorBotVersionSummaryEntityListing.md index 23743cc5b..804112fe9 100644 --- a/build/docs/BotConnectorBotVersionSummaryEntityListing.md +++ b/build/docs/BotConnectorBotVersionSummaryEntityListing.md @@ -11,8 +11,8 @@ title: BotConnectorBotVersionSummaryEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/BuActivitySettingsRequest.md b/build/docs/BuActivitySettingsRequest.md new file mode 100644 index 000000000..91e4fb9ab --- /dev/null +++ b/build/docs/BuActivitySettingsRequest.md @@ -0,0 +1,13 @@ +--- +title: BuActivitySettingsRequest +--- +## ININ.PureCloudApi.Model.BuActivitySettingsRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **DefaultActivityCodeId** | **string** | Default Activity Code ID settings | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/BuActivitySettingsResponse.md b/build/docs/BuActivitySettingsResponse.md new file mode 100644 index 000000000..1365057e2 --- /dev/null +++ b/build/docs/BuActivitySettingsResponse.md @@ -0,0 +1,13 @@ +--- +title: BuActivitySettingsResponse +--- +## ININ.PureCloudApi.Model.BuActivitySettingsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **DefaultActivityCode** | [**ActivityCodeReference**](ActivityCodeReference.html) | Default Activity Code settings | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/BuNotificationSettingsRequest.md b/build/docs/BuNotificationSettingsRequest.md new file mode 100644 index 000000000..57e4e3edd --- /dev/null +++ b/build/docs/BuNotificationSettingsRequest.md @@ -0,0 +1,13 @@ +--- +title: BuNotificationSettingsRequest +--- +## ININ.PureCloudApi.Model.BuNotificationSettingsRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Scheduling** | [**BuScheduleNotificationsSettingsRequest**](BuScheduleNotificationsSettingsRequest.html) | Schedule notification settings | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/BuNotificationSettingsResponse.md b/build/docs/BuNotificationSettingsResponse.md new file mode 100644 index 000000000..9d3488641 --- /dev/null +++ b/build/docs/BuNotificationSettingsResponse.md @@ -0,0 +1,13 @@ +--- +title: BuNotificationSettingsResponse +--- +## ININ.PureCloudApi.Model.BuNotificationSettingsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Scheduling** | [**BuScheduleNotificationsSettingsResponse**](BuScheduleNotificationsSettingsResponse.html) | Schedule notification settings | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/BuScheduleNotificationsCategorySettings.md b/build/docs/BuScheduleNotificationsCategorySettings.md new file mode 100644 index 000000000..8fbeeac0b --- /dev/null +++ b/build/docs/BuScheduleNotificationsCategorySettings.md @@ -0,0 +1,15 @@ +--- +title: BuScheduleNotificationsCategorySettings +--- +## ININ.PureCloudApi.Model.BuScheduleNotificationsCategorySettings + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **ActivityCategory** | **string** | The activity category | | +| **EarlyReminderEnabled** | **bool?** | Indicates if agents should receive early schedule reminder notifications. | | +| **OnTimeReminderEnabled** | **bool?** | Indicates if agents should receive out of adherence notifications. | | +{: class="table table-striped"} + + diff --git a/build/docs/BuScheduleNotificationsSettingsRequest.md b/build/docs/BuScheduleNotificationsSettingsRequest.md new file mode 100644 index 000000000..d290e0b55 --- /dev/null +++ b/build/docs/BuScheduleNotificationsSettingsRequest.md @@ -0,0 +1,14 @@ +--- +title: BuScheduleNotificationsSettingsRequest +--- +## ININ.PureCloudApi.Model.BuScheduleNotificationsSettingsRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **EarlyReminderMinutes** | **int?** | The number of minutes prior to the scheduled event to display an early reminder notification | [optional] | +| **ActivityCategorySettings** | [**List<BuScheduleNotificationsCategorySettings>**](BuScheduleNotificationsCategorySettings.html) | List of activity category notification settings | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/BuScheduleNotificationsSettingsResponse.md b/build/docs/BuScheduleNotificationsSettingsResponse.md new file mode 100644 index 000000000..6733bd306 --- /dev/null +++ b/build/docs/BuScheduleNotificationsSettingsResponse.md @@ -0,0 +1,14 @@ +--- +title: BuScheduleNotificationsSettingsResponse +--- +## ININ.PureCloudApi.Model.BuScheduleNotificationsSettingsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **EarlyReminderMinutes** | **int?** | The number of minutes prior to the scheduled event to display an early reminder notification | | +| **ActivityCategorySettings** | [**List<BuScheduleNotificationsCategorySettings>**](BuScheduleNotificationsCategorySettings.html) | List of activity category notification settings | | +{: class="table table-striped"} + + diff --git a/build/docs/CachedMediaItemEntityListing.md b/build/docs/CachedMediaItemEntityListing.md index 9f2817af0..b9462b83d 100644 --- a/build/docs/CachedMediaItemEntityListing.md +++ b/build/docs/CachedMediaItemEntityListing.md @@ -11,8 +11,8 @@ title: CachedMediaItemEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CalibrationEntityListing.md b/build/docs/CalibrationEntityListing.md index 0144376bb..81666d010 100644 --- a/build/docs/CalibrationEntityListing.md +++ b/build/docs/CalibrationEntityListing.md @@ -11,8 +11,8 @@ title: CalibrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CallConversationEntityListing.md b/build/docs/CallConversationEntityListing.md index 420192872..8f98241e7 100644 --- a/build/docs/CallConversationEntityListing.md +++ b/build/docs/CallConversationEntityListing.md @@ -11,8 +11,8 @@ title: CallConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CallHistoryConversationEntityListing.md b/build/docs/CallHistoryConversationEntityListing.md index 045046f1b..fd1fca29f 100644 --- a/build/docs/CallHistoryConversationEntityListing.md +++ b/build/docs/CallHistoryConversationEntityListing.md @@ -11,8 +11,8 @@ title: CallHistoryConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CallableTimeSetEntityListing.md b/build/docs/CallableTimeSetEntityListing.md index 739767938..b2fc34ac3 100644 --- a/build/docs/CallableTimeSetEntityListing.md +++ b/build/docs/CallableTimeSetEntityListing.md @@ -11,8 +11,8 @@ title: CallableTimeSetEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CallbackConversationEntityListing.md b/build/docs/CallbackConversationEntityListing.md index 39c1ec01c..c5fb372b3 100644 --- a/build/docs/CallbackConversationEntityListing.md +++ b/build/docs/CallbackConversationEntityListing.md @@ -11,8 +11,8 @@ title: CallbackConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CampaignDivisionViewListing.md b/build/docs/CampaignDivisionViewListing.md index 616319f48..c6b04d4b3 100644 --- a/build/docs/CampaignDivisionViewListing.md +++ b/build/docs/CampaignDivisionViewListing.md @@ -11,8 +11,8 @@ title: CampaignDivisionViewListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CampaignEntityListing.md b/build/docs/CampaignEntityListing.md index 5264ebf05..640569c21 100644 --- a/build/docs/CampaignEntityListing.md +++ b/build/docs/CampaignEntityListing.md @@ -11,8 +11,8 @@ title: CampaignEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CampaignRuleConditionGroup.md b/build/docs/CampaignRuleConditionGroup.md new file mode 100644 index 000000000..941ed05e6 --- /dev/null +++ b/build/docs/CampaignRuleConditionGroup.md @@ -0,0 +1,14 @@ +--- +title: CampaignRuleConditionGroup +--- +## ININ.PureCloudApi.Model.CampaignRuleConditionGroup + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **MatchAnyConditions** | **bool?** | Whether or not this condition group should be evaluated as true if any of sub conditions is matched | | +| **Conditions** | [**List<CampaignRuleCondition>**](CampaignRuleCondition.html) | The parameters for the CampaignRuleCondition. | | +{: class="table table-striped"} + + diff --git a/build/docs/CampaignRuleEntityListing.md b/build/docs/CampaignRuleEntityListing.md index f00eec37f..6a58abf43 100644 --- a/build/docs/CampaignRuleEntityListing.md +++ b/build/docs/CampaignRuleEntityListing.md @@ -11,8 +11,8 @@ title: CampaignRuleEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CampaignSequenceEntityListing.md b/build/docs/CampaignSequenceEntityListing.md index 92c31f864..46315bb2d 100644 --- a/build/docs/CampaignSequenceEntityListing.md +++ b/build/docs/CampaignSequenceEntityListing.md @@ -11,8 +11,8 @@ title: CampaignSequenceEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CategoriesEntityListing.md b/build/docs/CategoriesEntityListing.md index 2b5cfb377..77f43a560 100644 --- a/build/docs/CategoriesEntityListing.md +++ b/build/docs/CategoriesEntityListing.md @@ -11,8 +11,8 @@ title: CategoriesEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CertificateAuthorityEntityListing.md b/build/docs/CertificateAuthorityEntityListing.md index 4b1bdebd9..eea617fb5 100644 --- a/build/docs/CertificateAuthorityEntityListing.md +++ b/build/docs/CertificateAuthorityEntityListing.md @@ -11,8 +11,8 @@ title: CertificateAuthorityEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ChatConversationEntityListing.md b/build/docs/ChatConversationEntityListing.md index 94f82e6a0..81ab8d22c 100644 --- a/build/docs/ChatConversationEntityListing.md +++ b/build/docs/ChatConversationEntityListing.md @@ -11,8 +11,8 @@ title: ChatConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ClientAppEntityListing.md b/build/docs/ClientAppEntityListing.md index f2848966a..cac8f693a 100644 --- a/build/docs/ClientAppEntityListing.md +++ b/build/docs/ClientAppEntityListing.md @@ -11,8 +11,8 @@ title: ClientAppEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CoachingAnnotationList.md b/build/docs/CoachingAnnotationList.md index dadfc494f..f9123d0b4 100644 --- a/build/docs/CoachingAnnotationList.md +++ b/build/docs/CoachingAnnotationList.md @@ -11,8 +11,8 @@ title: CoachingAnnotationList | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CoachingAppointmentResponseList.md b/build/docs/CoachingAppointmentResponseList.md index 82a95ff4c..e7d29c20b 100644 --- a/build/docs/CoachingAppointmentResponseList.md +++ b/build/docs/CoachingAppointmentResponseList.md @@ -11,8 +11,8 @@ title: CoachingAppointmentResponseList | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CoachingNotificationList.md b/build/docs/CoachingNotificationList.md index b3af93256..4fb7170ff 100644 --- a/build/docs/CoachingNotificationList.md +++ b/build/docs/CoachingNotificationList.md @@ -11,8 +11,8 @@ title: CoachingNotificationList | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CobrowseConversationEntityListing.md b/build/docs/CobrowseConversationEntityListing.md index 5efab47b2..53c4cedb9 100644 --- a/build/docs/CobrowseConversationEntityListing.md +++ b/build/docs/CobrowseConversationEntityListing.md @@ -11,8 +11,8 @@ title: CobrowseConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CommandStatusEntityListing.md b/build/docs/CommandStatusEntityListing.md index 50cd304f4..534053fa0 100644 --- a/build/docs/CommandStatusEntityListing.md +++ b/build/docs/CommandStatusEntityListing.md @@ -11,8 +11,8 @@ title: CommandStatusEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CommonCampaignDivisionViewEntityListing.md b/build/docs/CommonCampaignDivisionViewEntityListing.md index f13e08643..855114527 100644 --- a/build/docs/CommonCampaignDivisionViewEntityListing.md +++ b/build/docs/CommonCampaignDivisionViewEntityListing.md @@ -11,8 +11,8 @@ title: CommonCampaignDivisionViewEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CommonCampaignEntityListing.md b/build/docs/CommonCampaignEntityListing.md index 544f46fab..618567f73 100644 --- a/build/docs/CommonCampaignEntityListing.md +++ b/build/docs/CommonCampaignEntityListing.md @@ -11,8 +11,8 @@ title: CommonCampaignEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CommonRuleContainer.md b/build/docs/CommonRuleContainer.md index 9365640cd..5df5bdf7e 100644 --- a/build/docs/CommonRuleContainer.md +++ b/build/docs/CommonRuleContainer.md @@ -11,8 +11,8 @@ title: CommonRuleContainer | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ConsumedResourcesEntityListing.md b/build/docs/ConsumedResourcesEntityListing.md index ae6487d9e..f1d89f611 100644 --- a/build/docs/ConsumedResourcesEntityListing.md +++ b/build/docs/ConsumedResourcesEntityListing.md @@ -11,8 +11,8 @@ title: ConsumedResourcesEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ConsumingResourcesEntityListing.md b/build/docs/ConsumingResourcesEntityListing.md index a730474f7..cce456417 100644 --- a/build/docs/ConsumingResourcesEntityListing.md +++ b/build/docs/ConsumingResourcesEntityListing.md @@ -11,8 +11,8 @@ title: ConsumingResourcesEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ContactListDivisionViewListing.md b/build/docs/ContactListDivisionViewListing.md index 6b30a6005..4301e89d2 100644 --- a/build/docs/ContactListDivisionViewListing.md +++ b/build/docs/ContactListDivisionViewListing.md @@ -11,8 +11,8 @@ title: ContactListDivisionViewListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ContactListEntityListing.md b/build/docs/ContactListEntityListing.md index 6152f79dd..5b0edddaa 100644 --- a/build/docs/ContactListEntityListing.md +++ b/build/docs/ContactListEntityListing.md @@ -11,8 +11,8 @@ title: ContactListEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ContactListFilterEntityListing.md b/build/docs/ContactListFilterEntityListing.md index 9f83ff2a2..d8af52588 100644 --- a/build/docs/ContactListFilterEntityListing.md +++ b/build/docs/ContactListFilterEntityListing.md @@ -11,8 +11,8 @@ title: ContactListFilterEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ContactListTemplateEntityListing.md b/build/docs/ContactListTemplateEntityListing.md index 933f3917c..52f7b4343 100644 --- a/build/docs/ContactListTemplateEntityListing.md +++ b/build/docs/ContactListTemplateEntityListing.md @@ -11,8 +11,8 @@ title: ContactListTemplateEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ContactListingResponse.md b/build/docs/ContactListingResponse.md index 1bb885741..6163b9910 100644 --- a/build/docs/ContactListingResponse.md +++ b/build/docs/ContactListingResponse.md @@ -12,8 +12,8 @@ title: ContactListingResponse | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **ContactsCount** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ConversationAppSettings.md b/build/docs/ConversationAppSettings.md index 593ec601b..54837b870 100644 --- a/build/docs/ConversationAppSettings.md +++ b/build/docs/ConversationAppSettings.md @@ -15,6 +15,7 @@ title: ConversationAppSettings | **ConversationDisconnect** | [**ConversationDisconnectSettings**](ConversationDisconnectSettings.html) | The conversation disconnect settings for the messenger app | [optional] | | **ConversationClear** | [**ConversationClearSettings**](ConversationClearSettings.html) | The conversation clear settings for the messenger app | [optional] | | **Humanize** | [**Humanize**](Humanize.html) | The humanize conversations settings for the messenger app | [optional] | +| **Notifications** | [**NotificationsSettings**](NotificationsSettings.html) | The notification settings for messenger apps | [optional] | {: class="table table-striped"} diff --git a/build/docs/ConversationCategoriesEntityListing.md b/build/docs/ConversationCategoriesEntityListing.md index 71ec42f33..28a2e35a0 100644 --- a/build/docs/ConversationCategoriesEntityListing.md +++ b/build/docs/ConversationCategoriesEntityListing.md @@ -11,8 +11,8 @@ title: ConversationCategoriesEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ConversationEntityListing.md b/build/docs/ConversationEntityListing.md index c9c933e2f..503df2f23 100644 --- a/build/docs/ConversationEntityListing.md +++ b/build/docs/ConversationEntityListing.md @@ -11,8 +11,8 @@ title: ConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ConversationProfile.md b/build/docs/ConversationProfile.md new file mode 100644 index 000000000..1e390c37e --- /dev/null +++ b/build/docs/ConversationProfile.md @@ -0,0 +1,14 @@ +--- +title: ConversationProfile +--- +## ININ.PureCloudApi.Model.ConversationProfile + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **LanguageCode** | **string** | The language code supported by the conversation profile belonging to a particular project for Dialogflow. | | +| **Name** | **string** | The name of the conversation profile belonging to a particular project for Dialogflow | | +{: class="table table-striped"} + + diff --git a/build/docs/Copilot.md b/build/docs/Copilot.md new file mode 100644 index 000000000..1297b0278 --- /dev/null +++ b/build/docs/Copilot.md @@ -0,0 +1,23 @@ +--- +title: Copilot +--- +## ININ.PureCloudApi.Model.Copilot + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Enabled** | **bool?** | Copilot is enabled. | [optional] | +| **LiveOnQueue** | **bool?** | Copilot is live on selected queue. | | +| **DefaultLanguage** | **string** | Copilot default language, e.g. [en-US, es-US, es-ES]. Once set, it can not be modified. | | +| **KnowledgeAnswerConfig** | [**KnowledgeAnswerConfig**](KnowledgeAnswerConfig.html) | Knowledge answer configuration. | [optional] | +| **SummaryGenerationConfig** | [**SummaryGenerationConfig**](SummaryGenerationConfig.html) | Copilot generated summary configuration. | [optional] | +| **WrapupCodePredictionConfig** | [**WrapupCodePredictionConfig**](WrapupCodePredictionConfig.html) | Copilot generated wrapup code prediction configuration. | [optional] | +| **AnswerGenerationConfig** | [**AnswerGenerationConfig**](AnswerGenerationConfig.html) | Answer generation configuration. | [optional] | +| **NluEngineType** | **string** | Language understanding engine type. | [optional] | +| **NluConfig** | [**NluConfig**](NluConfig.html) | NLU configuration. | [optional] | +| **RuleEngineConfig** | [**RuleEngineConfig**](RuleEngineConfig.html) | Rule engine configuration. | [optional] | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/CopilotAction.md b/build/docs/CopilotAction.md new file mode 100644 index 000000000..bfbb03f2a --- /dev/null +++ b/build/docs/CopilotAction.md @@ -0,0 +1,14 @@ +--- +title: CopilotAction +--- +## ININ.PureCloudApi.Model.CopilotAction + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **ActionType** | **string** | Type of action. | | +| **Attributes** | **Dictionary<string, string>** | Action specific attributes, if any. Maximum 100 of string key-value pair allowed. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/CopilotCondition.md b/build/docs/CopilotCondition.md new file mode 100644 index 000000000..c009d818f --- /dev/null +++ b/build/docs/CopilotCondition.md @@ -0,0 +1,14 @@ +--- +title: CopilotCondition +--- +## ININ.PureCloudApi.Model.CopilotCondition + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **ConditionType** | **string** | Type of condition. | | +| **ConditionValues** | **List<string>** | Condition values. | | +{: class="table table-striped"} + + diff --git a/build/docs/CopilotFallbackAction.md b/build/docs/CopilotFallbackAction.md new file mode 100644 index 000000000..02de6460b --- /dev/null +++ b/build/docs/CopilotFallbackAction.md @@ -0,0 +1,14 @@ +--- +title: CopilotFallbackAction +--- +## ININ.PureCloudApi.Model.CopilotFallbackAction + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **ActionType** | **string** | Type of action. | | +| **Attributes** | **Dictionary<string, string>** | Action specific attributes, if any. Maximum 100 of string key-value pair allowed. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/CopilotNluDomain.md b/build/docs/CopilotNluDomain.md new file mode 100644 index 000000000..0e3225c85 --- /dev/null +++ b/build/docs/CopilotNluDomain.md @@ -0,0 +1,16 @@ +--- +title: CopilotNluDomain +--- +## ININ.PureCloudApi.Model.CopilotNluDomain + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | Id of the NLU domain. | | +| **UseLatestVersion** | **bool?** | Use the latest version of the NLU domain. If false, version is required. | | +| **Version** | [**CopilotNluDomainVersion**](CopilotNluDomainVersion.html) | NLU domain version. | [optional] | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/CopilotNluDomainVersion.md b/build/docs/CopilotNluDomainVersion.md new file mode 100644 index 000000000..88bd09806 --- /dev/null +++ b/build/docs/CopilotNluDomainVersion.md @@ -0,0 +1,14 @@ +--- +title: CopilotNluDomainVersion +--- +## ININ.PureCloudApi.Model.CopilotNluDomainVersion + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | Id of the NLU v3 domain version. | | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/CopilotRule.md b/build/docs/CopilotRule.md new file mode 100644 index 000000000..4cc233eea --- /dev/null +++ b/build/docs/CopilotRule.md @@ -0,0 +1,14 @@ +--- +title: CopilotRule +--- +## ININ.PureCloudApi.Model.CopilotRule + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Conditions** | [**List<CopilotCondition>**](CopilotCondition.html) | List of conditions to execute actions, must have at least 1 element and maximum 100 elements. Operator in case of multiple conditions: 'OR'. | | +| **Actions** | [**List<CopilotAction>**](CopilotAction.html) | List of actions to execute, must have at least 1 element and maximum 100 elements. | | +{: class="table table-striped"} + + diff --git a/build/docs/CredentialInfoListing.md b/build/docs/CredentialInfoListing.md index 4bedf52fd..51e89751a 100644 --- a/build/docs/CredentialInfoListing.md +++ b/build/docs/CredentialInfoListing.md @@ -11,8 +11,8 @@ title: CredentialInfoListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CredentialTypeListing.md b/build/docs/CredentialTypeListing.md index af102f05d..8d856732e 100644 --- a/build/docs/CredentialTypeListing.md +++ b/build/docs/CredentialTypeListing.md @@ -11,8 +11,8 @@ title: CredentialTypeListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/CursorExternalSourceListing.md b/build/docs/CursorExternalSourceListing.md new file mode 100644 index 000000000..7f03ed701 --- /dev/null +++ b/build/docs/CursorExternalSourceListing.md @@ -0,0 +1,17 @@ +--- +title: CursorExternalSourceListing +--- +## ININ.PureCloudApi.Model.CursorExternalSourceListing + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Entities** | [**List<ExternalSource>**](ExternalSource.html) | | [optional] | +| **NextUri** | **string** | | [optional] | +| **SelfUri** | **string** | | [optional] | +| **PreviousUri** | **string** | | [optional] | +| **Cursors** | [**Cursors**](Cursors.html) | The cursor that points to the next set of entities being returned. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/DIDEntityListing.md b/build/docs/DIDEntityListing.md index a133d2f38..609a62503 100644 --- a/build/docs/DIDEntityListing.md +++ b/build/docs/DIDEntityListing.md @@ -12,8 +12,8 @@ title: DIDEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DIDNumberEntityListing.md b/build/docs/DIDNumberEntityListing.md index 4845a247d..32d4f3eb7 100644 --- a/build/docs/DIDNumberEntityListing.md +++ b/build/docs/DIDNumberEntityListing.md @@ -11,8 +11,8 @@ title: DIDNumberEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DIDPoolEntityListing.md b/build/docs/DIDPoolEntityListing.md index 1c6b2c5d3..88dee16b5 100644 --- a/build/docs/DIDPoolEntityListing.md +++ b/build/docs/DIDPoolEntityListing.md @@ -12,8 +12,8 @@ title: DIDPoolEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DashboardConfigurationListing.md b/build/docs/DashboardConfigurationListing.md index 0aab13c5f..04fb880a2 100644 --- a/build/docs/DashboardConfigurationListing.md +++ b/build/docs/DashboardConfigurationListing.md @@ -11,8 +11,8 @@ title: DashboardConfigurationListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DashboardUserListing.md b/build/docs/DashboardUserListing.md index 87ee70f95..056928f15 100644 --- a/build/docs/DashboardUserListing.md +++ b/build/docs/DashboardUserListing.md @@ -11,8 +11,8 @@ title: DashboardUserListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DataTableRowEntityListing.md b/build/docs/DataTableRowEntityListing.md index 1b172c0cc..26e264b95 100644 --- a/build/docs/DataTableRowEntityListing.md +++ b/build/docs/DataTableRowEntityListing.md @@ -11,8 +11,8 @@ title: DataTableRowEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DataTablesDomainEntityListing.md b/build/docs/DataTablesDomainEntityListing.md index d11b0d1c1..0541df287 100644 --- a/build/docs/DataTablesDomainEntityListing.md +++ b/build/docs/DataTablesDomainEntityListing.md @@ -11,8 +11,8 @@ title: DataTablesDomainEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DependencyObjectEntityListing.md b/build/docs/DependencyObjectEntityListing.md index f1f63b8ad..a76e4f6ba 100644 --- a/build/docs/DependencyObjectEntityListing.md +++ b/build/docs/DependencyObjectEntityListing.md @@ -11,8 +11,8 @@ title: DependencyObjectEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DependencyTypeEntityListing.md b/build/docs/DependencyTypeEntityListing.md index caebf2906..a8030e0df 100644 --- a/build/docs/DependencyTypeEntityListing.md +++ b/build/docs/DependencyTypeEntityListing.md @@ -11,8 +11,8 @@ title: DependencyTypeEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DevelopmentActivityListing.md b/build/docs/DevelopmentActivityListing.md index ea70d7789..ee572e7f0 100644 --- a/build/docs/DevelopmentActivityListing.md +++ b/build/docs/DevelopmentActivityListing.md @@ -11,8 +11,8 @@ title: DevelopmentActivityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DialerEventEntityListing.md b/build/docs/DialerEventEntityListing.md index ff488853c..3f622b85c 100644 --- a/build/docs/DialerEventEntityListing.md +++ b/build/docs/DialerEventEntityListing.md @@ -11,8 +11,8 @@ title: DialerEventEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DialogflowAgentSummaryEntityListing.md b/build/docs/DialogflowAgentSummaryEntityListing.md index 202badc9b..f10323894 100644 --- a/build/docs/DialogflowAgentSummaryEntityListing.md +++ b/build/docs/DialogflowAgentSummaryEntityListing.md @@ -11,8 +11,8 @@ title: DialogflowAgentSummaryEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DialogflowCXAgentSummaryEntityListing.md b/build/docs/DialogflowCXAgentSummaryEntityListing.md index 8151dd46f..c5a456ff0 100644 --- a/build/docs/DialogflowCXAgentSummaryEntityListing.md +++ b/build/docs/DialogflowCXAgentSummaryEntityListing.md @@ -11,8 +11,8 @@ title: DialogflowCXAgentSummaryEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DigitalRuleSetEntityListing.md b/build/docs/DigitalRuleSetEntityListing.md index 0b6da5399..6a42f284a 100644 --- a/build/docs/DigitalRuleSetEntityListing.md +++ b/build/docs/DigitalRuleSetEntityListing.md @@ -11,8 +11,8 @@ title: DigitalRuleSetEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DirectoryUserDevicesListing.md b/build/docs/DirectoryUserDevicesListing.md index cec8b057e..5bd09953c 100644 --- a/build/docs/DirectoryUserDevicesListing.md +++ b/build/docs/DirectoryUserDevicesListing.md @@ -11,8 +11,8 @@ title: DirectoryUserDevicesListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DivsPermittedEntityListing.md b/build/docs/DivsPermittedEntityListing.md index 15066d069..cabb6d265 100644 --- a/build/docs/DivsPermittedEntityListing.md +++ b/build/docs/DivsPermittedEntityListing.md @@ -12,8 +12,8 @@ title: DivsPermittedEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **AllDivsPermitted** | **bool?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DncListDivisionViewListing.md b/build/docs/DncListDivisionViewListing.md index 52e6260aa..5c7efb8f4 100644 --- a/build/docs/DncListDivisionViewListing.md +++ b/build/docs/DncListDivisionViewListing.md @@ -11,8 +11,8 @@ title: DncListDivisionViewListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DncListEntityListing.md b/build/docs/DncListEntityListing.md index c5f881edf..b3bd14841 100644 --- a/build/docs/DncListEntityListing.md +++ b/build/docs/DncListEntityListing.md @@ -11,8 +11,8 @@ title: DncListEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DocumentEntityListing.md b/build/docs/DocumentEntityListing.md index d94496481..7d5c3a0dd 100644 --- a/build/docs/DocumentEntityListing.md +++ b/build/docs/DocumentEntityListing.md @@ -11,8 +11,8 @@ title: DocumentEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DomainEdgeSoftwareVersionDtoEntityListing.md b/build/docs/DomainEdgeSoftwareVersionDtoEntityListing.md index 05177e46a..47be9f974 100644 --- a/build/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +++ b/build/docs/DomainEdgeSoftwareVersionDtoEntityListing.md @@ -11,8 +11,8 @@ title: DomainEdgeSoftwareVersionDtoEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DomainEntityListing.md b/build/docs/DomainEntityListing.md index 86cc0f45f..d7ca5a0ff 100644 --- a/build/docs/DomainEntityListing.md +++ b/build/docs/DomainEntityListing.md @@ -11,8 +11,8 @@ title: DomainEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DomainEntityListingEvaluationForm.md b/build/docs/DomainEntityListingEvaluationForm.md index dc2f01908..f7d0c75c6 100644 --- a/build/docs/DomainEntityListingEvaluationForm.md +++ b/build/docs/DomainEntityListingEvaluationForm.md @@ -11,8 +11,8 @@ title: DomainEntityListingEvaluationForm | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DomainEntityListingQueryResult.md b/build/docs/DomainEntityListingQueryResult.md index 149f5275c..f55b5b9e4 100644 --- a/build/docs/DomainEntityListingQueryResult.md +++ b/build/docs/DomainEntityListingQueryResult.md @@ -11,8 +11,8 @@ title: DomainEntityListingQueryResult | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/DomainEntityListingSurveyForm.md b/build/docs/DomainEntityListingSurveyForm.md index 09c2e0b6d..a01f43388 100644 --- a/build/docs/DomainEntityListingSurveyForm.md +++ b/build/docs/DomainEntityListingSurveyForm.md @@ -11,8 +11,8 @@ title: DomainEntityListingSurveyForm | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EdgeEntityListing.md b/build/docs/EdgeEntityListing.md index 6cd1f4d0b..7e2f2b031 100644 --- a/build/docs/EdgeEntityListing.md +++ b/build/docs/EdgeEntityListing.md @@ -12,8 +12,8 @@ title: EdgeEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EdgeGroupEntityListing.md b/build/docs/EdgeGroupEntityListing.md index 8f5a78a05..cb94c87d9 100644 --- a/build/docs/EdgeGroupEntityListing.md +++ b/build/docs/EdgeGroupEntityListing.md @@ -12,8 +12,8 @@ title: EdgeGroupEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EmailCampaignScheduleEntityListing.md b/build/docs/EmailCampaignScheduleEntityListing.md index 78cfc0632..a3b01ecfa 100644 --- a/build/docs/EmailCampaignScheduleEntityListing.md +++ b/build/docs/EmailCampaignScheduleEntityListing.md @@ -11,8 +11,8 @@ title: EmailCampaignScheduleEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EmailConversationEntityListing.md b/build/docs/EmailConversationEntityListing.md index 621117365..9e43d5b43 100644 --- a/build/docs/EmailConversationEntityListing.md +++ b/build/docs/EmailConversationEntityListing.md @@ -11,8 +11,8 @@ title: EmailConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EmailMessagePreviewListing.md b/build/docs/EmailMessagePreviewListing.md index a2eb16d88..6535eaf6d 100644 --- a/build/docs/EmailMessagePreviewListing.md +++ b/build/docs/EmailMessagePreviewListing.md @@ -11,8 +11,8 @@ title: EmailMessagePreviewListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EmergencyGroupDivisionViewEntityListing.md b/build/docs/EmergencyGroupDivisionViewEntityListing.md index c0eb8322f..58e0ae972 100644 --- a/build/docs/EmergencyGroupDivisionViewEntityListing.md +++ b/build/docs/EmergencyGroupDivisionViewEntityListing.md @@ -12,8 +12,8 @@ title: EmergencyGroupDivisionViewEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EmergencyGroupListing.md b/build/docs/EmergencyGroupListing.md index 1a6287c64..9e800f016 100644 --- a/build/docs/EmergencyGroupListing.md +++ b/build/docs/EmergencyGroupListing.md @@ -11,8 +11,8 @@ title: EmergencyGroupListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EncryptionKeyEntityListing.md b/build/docs/EncryptionKeyEntityListing.md index 9eb426fe3..f7996aa86 100644 --- a/build/docs/EncryptionKeyEntityListing.md +++ b/build/docs/EncryptionKeyEntityListing.md @@ -11,8 +11,8 @@ title: EncryptionKeyEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EvaluationEntityListing.md b/build/docs/EvaluationEntityListing.md index 02fc54ad6..797a25ff7 100644 --- a/build/docs/EvaluationEntityListing.md +++ b/build/docs/EvaluationEntityListing.md @@ -11,8 +11,8 @@ title: EvaluationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EvaluationFormResponseEntityListing.md b/build/docs/EvaluationFormResponseEntityListing.md index 004ad0fcd..f4ab684e3 100644 --- a/build/docs/EvaluationFormResponseEntityListing.md +++ b/build/docs/EvaluationFormResponseEntityListing.md @@ -11,8 +11,8 @@ title: EvaluationFormResponseEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/EvaluatorActivityEntityListing.md b/build/docs/EvaluatorActivityEntityListing.md index fac8f356b..5bc04ef71 100644 --- a/build/docs/EvaluatorActivityEntityListing.md +++ b/build/docs/EvaluatorActivityEntityListing.md @@ -11,8 +11,8 @@ title: EvaluatorActivityEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ExtensionEntityListing.md b/build/docs/ExtensionEntityListing.md index 75392de3b..dae08847b 100644 --- a/build/docs/ExtensionEntityListing.md +++ b/build/docs/ExtensionEntityListing.md @@ -12,8 +12,8 @@ title: ExtensionEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ExtensionPoolDivisionViewEntityListing.md b/build/docs/ExtensionPoolDivisionViewEntityListing.md index cd2aeb2a8..f93e0a56c 100644 --- a/build/docs/ExtensionPoolDivisionViewEntityListing.md +++ b/build/docs/ExtensionPoolDivisionViewEntityListing.md @@ -12,8 +12,8 @@ title: ExtensionPoolDivisionViewEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ExtensionPoolEntityListing.md b/build/docs/ExtensionPoolEntityListing.md index c5ad7394b..9e52081e0 100644 --- a/build/docs/ExtensionPoolEntityListing.md +++ b/build/docs/ExtensionPoolEntityListing.md @@ -12,8 +12,8 @@ title: ExtensionPoolEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ExternalContactsApi.md b/build/docs/ExternalContactsApi.md index cf6467e4e..afe83f2c2 100644 --- a/build/docs/ExternalContactsApi.md +++ b/build/docs/ExternalContactsApi.md @@ -10,6 +10,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**DeleteExternalcontactsContact**](ExternalContactsApi.html#deleteexternalcontactscontact) | **Delete** /api/v2/externalcontacts/contacts/{contactId} | Delete an external contact | | [**DeleteExternalcontactsContactNote**](ExternalContactsApi.html#deleteexternalcontactscontactnote) | **Delete** /api/v2/externalcontacts/contacts/{contactId}/notes/{noteId} | Delete a note for an external contact | | [**DeleteExternalcontactsContactsSchema**](ExternalContactsApi.html#deleteexternalcontactscontactsschema) | **Delete** /api/v2/externalcontacts/contacts/schemas/{schemaId} | Delete a schema | +| [**DeleteExternalcontactsExternalsource**](ExternalContactsApi.html#deleteexternalcontactsexternalsource) | **Delete** /api/v2/externalcontacts/externalsources/{externalSourceId} | Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. | | [**DeleteExternalcontactsOrganization**](ExternalContactsApi.html#deleteexternalcontactsorganization) | **Delete** /api/v2/externalcontacts/organizations/{externalOrganizationId} | Delete an external organization | | [**DeleteExternalcontactsOrganizationNote**](ExternalContactsApi.html#deleteexternalcontactsorganizationnote) | **Delete** /api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId} | Delete a note for an external organization | | [**DeleteExternalcontactsOrganizationTrustor**](ExternalContactsApi.html#deleteexternalcontactsorganizationtrustor) | **Delete** /api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor | Unlink the Trustor for this External Organization | @@ -25,6 +26,8 @@ All URIs are relative to *https://api.mypurecloud.com* | [**GetExternalcontactsContactsSchemaVersion**](ExternalContactsApi.html#getexternalcontactscontactsschemaversion) | **Get** /api/v2/externalcontacts/contacts/schemas/{schemaId}/versions/{versionId} | Get a specific version of a schema | | [**GetExternalcontactsContactsSchemaVersions**](ExternalContactsApi.html#getexternalcontactscontactsschemaversions) | **Get** /api/v2/externalcontacts/contacts/schemas/{schemaId}/versions | Get all versions of an external contact's schema | | [**GetExternalcontactsContactsSchemas**](ExternalContactsApi.html#getexternalcontactscontactsschemas) | **Get** /api/v2/externalcontacts/contacts/schemas | Get a list of schemas. | +| [**GetExternalcontactsExternalsource**](ExternalContactsApi.html#getexternalcontactsexternalsource) | **Get** /api/v2/externalcontacts/externalsources/{externalSourceId} | Fetch an External Source | +| [**GetExternalcontactsExternalsources**](ExternalContactsApi.html#getexternalcontactsexternalsources) | **Get** /api/v2/externalcontacts/externalsources | Fetch a list of External Sources | | [**GetExternalcontactsOrganization**](ExternalContactsApi.html#getexternalcontactsorganization) | **Get** /api/v2/externalcontacts/organizations/{externalOrganizationId} | Fetch an external organization | | [**GetExternalcontactsOrganizationContacts**](ExternalContactsApi.html#getexternalcontactsorganizationcontacts) | **Get** /api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts | Search for external contacts in an external organization | | [**GetExternalcontactsOrganizationNote**](ExternalContactsApi.html#getexternalcontactsorganizationnote) | **Get** /api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId} | Fetch a note for an external organization | @@ -63,6 +66,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**PostExternalcontactsContactPromotion**](ExternalContactsApi.html#postexternalcontactscontactpromotion) | **Post** /api/v2/externalcontacts/contacts/{contactId}/promotion | Promote an observed contact (ephemeral or identified) to a curated contact | | [**PostExternalcontactsContacts**](ExternalContactsApi.html#postexternalcontactscontacts) | **Post** /api/v2/externalcontacts/contacts | Create an external contact | | [**PostExternalcontactsContactsSchemas**](ExternalContactsApi.html#postexternalcontactscontactsschemas) | **Post** /api/v2/externalcontacts/contacts/schemas | Create a schema | +| [**PostExternalcontactsExternalsources**](ExternalContactsApi.html#postexternalcontactsexternalsources) | **Post** /api/v2/externalcontacts/externalsources | Create an External Source | | [**PostExternalcontactsIdentifierlookup**](ExternalContactsApi.html#postexternalcontactsidentifierlookup) | **Post** /api/v2/externalcontacts/identifierlookup | Fetch a contact using an identifier type and value. | | [**PostExternalcontactsMergeContacts**](ExternalContactsApi.html#postexternalcontactsmergecontacts) | **Post** /api/v2/externalcontacts/merge/contacts | Merge two contacts into a new contact record | | [**PostExternalcontactsOrganizationNotes**](ExternalContactsApi.html#postexternalcontactsorganizationnotes) | **Post** /api/v2/externalcontacts/organizations/{externalOrganizationId}/notes | Create a note for an external organization | @@ -73,6 +77,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**PutExternalcontactsContactNote**](ExternalContactsApi.html#putexternalcontactscontactnote) | **Put** /api/v2/externalcontacts/contacts/{contactId}/notes/{noteId} | Update a note for an external contact | | [**PutExternalcontactsContactsSchema**](ExternalContactsApi.html#putexternalcontactscontactsschema) | **Put** /api/v2/externalcontacts/contacts/schemas/{schemaId} | Update a schema | | [**PutExternalcontactsConversation**](ExternalContactsApi.html#putexternalcontactsconversation) | **Put** /api/v2/externalcontacts/conversations/{conversationId} | Associate/disassociate an external contact with a conversation | +| [**PutExternalcontactsExternalsource**](ExternalContactsApi.html#putexternalcontactsexternalsource) | **Put** /api/v2/externalcontacts/externalsources/{externalSourceId} | Update an External Source | | [**PutExternalcontactsOrganization**](ExternalContactsApi.html#putexternalcontactsorganization) | **Put** /api/v2/externalcontacts/organizations/{externalOrganizationId} | Update an external organization | | [**PutExternalcontactsOrganizationNote**](ExternalContactsApi.html#putexternalcontactsorganizationnote) | **Put** /api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId} | Update a note for an external organization | | [**PutExternalcontactsOrganizationTrustorTrustorId**](ExternalContactsApi.html#putexternalcontactsorganizationtrustortrustorid) | **Put** /api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor/{trustorId} | Links a Trustor with an External Organization | @@ -272,6 +277,71 @@ namespace Example void (empty response body) + + +## **Object** DeleteExternalcontactsExternalsource (string externalSourceId) + + + +Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. + +DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + +Requires ANY permissions: + +* externalContacts:externalSource:delete + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class DeleteExternalcontactsExternalsourceExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new ExternalContactsApi(); + var externalSourceId = externalSourceId_example; // string | External Source ID + + try + { + // Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. + Object result = apiInstance.DeleteExternalcontactsExternalsource(externalSourceId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ExternalContactsApi.DeleteExternalcontactsExternalsource: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **externalSourceId** | **string**| External Source ID | | +{: class="table table-striped"} + +### Return type + +**Object** + ## **Object** DeleteExternalcontactsOrganization (string externalOrganizationId) @@ -564,7 +634,7 @@ namespace Example var apiInstance = new ExternalContactsApi(); var contactId = contactId_example; // string | ExternalContact ID - var expand = new List(); // List | which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + var expand = new List(); // List | which fields, if any, to expand (optional) try { @@ -587,7 +657,7 @@ namespace Example |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **contactId** | **string**| ExternalContact ID | | -| **expand** | [**List**](string.html)| which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) | [optional]
**Values**: externalOrganization, externalDataSources, identifiers | +| **expand** | [**List**](string.html)| which fields, if any, to expand | [optional]
**Values**: externalOrganization, externalDataSources, identifiers, externalSources | {: class="table table-striped"} ### Return type @@ -996,7 +1066,7 @@ namespace Example | **pageNumber** | **int?**| Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) | [optional] [default to 1] | | **q** | **string**| User supplied search keywords (no special syntax is currently supported) | [optional] | | **sortOrder** | **string**| The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. \"firstName:asc\", \"title:desc\" | [optional] | -| **expand** | [**List**](string.html)| which fields, if any, to expand | [optional]
**Values**: externalOrganization, externalDataSources, identifiers | +| **expand** | [**List**](string.html)| which fields, if any, to expand | [optional]
**Values**: externalOrganization, externalDataSources, identifiers, externalSources | {: class="table table-striped"} ### Return type @@ -1252,6 +1322,146 @@ This endpoint does require any parameters. [**DataSchemaListing**](DataSchemaListing.html) + + +## [**ExternalSource**](ExternalSource.html) GetExternalcontactsExternalsource (string externalSourceId) + + + +Fetch an External Source + +GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + +Requires ANY permissions: + +* externalContacts:externalSource:view +* externalContacts:contact:view +* externalContacts:externalOrganization:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetExternalcontactsExternalsourceExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new ExternalContactsApi(); + var externalSourceId = externalSourceId_example; // string | External Source ID + + try + { + // Fetch an External Source + ExternalSource result = apiInstance.GetExternalcontactsExternalsource(externalSourceId); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ExternalContactsApi.GetExternalcontactsExternalsource: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **externalSourceId** | **string**| External Source ID | | +{: class="table table-striped"} + +### Return type + +[**ExternalSource**](ExternalSource.html) + + + +## [**CursorExternalSourceListing**](CursorExternalSourceListing.html) GetExternalcontactsExternalsources (string cursor = null, int? limit = null, string name = null, bool? active = null) + + + +Fetch a list of External Sources + +GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + +Requires ANY permissions: + +* externalContacts:externalSource:view +* externalContacts:contact:view +* externalContacts:externalOrganization:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetExternalcontactsExternalsourcesExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new ExternalContactsApi(); + var cursor = cursor_example; // string | Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + var limit = 56; // int? | The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + var name = name_example; // string | Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + var active = true; // bool? | Filter by active status of external source (optional) + + try + { + // Fetch a list of External Sources + CursorExternalSourceListing result = apiInstance.GetExternalcontactsExternalsources(cursor, limit, name, active); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ExternalContactsApi.GetExternalcontactsExternalsources: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **cursor** | **string**| Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL | [optional] | +| **limit** | **int?**| The number of ExternalSources per page; must be between 10 and 200, default is 100 | [optional] | +| **name** | **string**| Filter by external source name. Filtering is prefix filtering and not an exact match | [optional] | +| **active** | **bool?**| Filter by active status of external source | [optional] | +{: class="table table-striped"} + +### Return type + +[**CursorExternalSourceListing**](CursorExternalSourceListing.html) + ## [**ExternalOrganization**](ExternalOrganization.html) GetExternalcontactsOrganization (string externalOrganizationId, List expand = null, bool? includeTrustors = null) @@ -1387,7 +1597,7 @@ namespace Example | **pageNumber** | **int?**| Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) | [optional] [default to 1] | | **q** | **string**| User supplied search keywords (no special syntax is currently supported) | [optional] | | **sortOrder** | **string**| The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. \"firstName:asc\", \"title:desc\" | [optional] | -| **expand** | [**List**](string.html)| which fields, if any, to expand | [optional]
**Values**: externalOrganization, externalDataSources, identifiers | +| **expand** | [**List**](string.html)| which fields, if any, to expand | [optional]
**Values**: externalOrganization, externalDataSources, identifiers, externalSources | {: class="table table-striped"} ### Return type @@ -3726,6 +3936,71 @@ namespace Example [**DataSchema**](DataSchema.html) + + +## [**ExternalSource**](ExternalSource.html) PostExternalcontactsExternalsources (ExternalSource body) + + + +Create an External Source + +PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + +Requires ANY permissions: + +* externalContacts:externalSource:add + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PostExternalcontactsExternalsourcesExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new ExternalContactsApi(); + var body = new ExternalSource(); // ExternalSource | External Source + + try + { + // Create an External Source + ExternalSource result = apiInstance.PostExternalcontactsExternalsources(body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ExternalContactsApi.PostExternalcontactsExternalsources: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**ExternalSource**](ExternalSource.html)| External Source | | +{: class="table table-striped"} + +### Return type + +[**ExternalSource**](ExternalSource.html) + ## [**ExternalContact**](ExternalContact.html) PostExternalcontactsIdentifierlookup (ContactIdentifier identifier, List expand = null) @@ -3787,7 +4062,7 @@ namespace Example |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **identifier** | [**ContactIdentifier**](ContactIdentifier.html)| | | -| **expand** | [**List**](string.html)| which field, if any, to expand | [optional]
**Values**: externalOrganization, identifiers | +| **expand** | [**List**](string.html)| which field, if any, to expand | [optional]
**Values**: externalOrganization, identifiers, externalSources | {: class="table table-striped"} ### Return type @@ -4382,6 +4657,73 @@ namespace Example void (empty response body) + + +## [**ExternalSource**](ExternalSource.html) PutExternalcontactsExternalsource (string externalSourceId, ExternalSource body) + + + +Update an External Source + +PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + +Requires ANY permissions: + +* externalContacts:externalSource:edit + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PutExternalcontactsExternalsourceExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new ExternalContactsApi(); + var externalSourceId = externalSourceId_example; // string | External Source ID + var body = new ExternalSource(); // ExternalSource | External Source + + try + { + // Update an External Source + ExternalSource result = apiInstance.PutExternalcontactsExternalsource(externalSourceId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling ExternalContactsApi.PutExternalcontactsExternalsource: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **externalSourceId** | **string**| External Source ID | | +| **body** | [**ExternalSource**](ExternalSource.html)| External Source | | +{: class="table table-striped"} + +### Return type + +[**ExternalSource**](ExternalSource.html) + ## [**ExternalOrganization**](ExternalOrganization.html) PutExternalcontactsOrganization (string externalOrganizationId, ExternalOrganization body) diff --git a/build/docs/ExternalMetricDefinitionListing.md b/build/docs/ExternalMetricDefinitionListing.md index 9d92eae64..a9aa03bad 100644 --- a/build/docs/ExternalMetricDefinitionListing.md +++ b/build/docs/ExternalMetricDefinitionListing.md @@ -11,8 +11,8 @@ title: ExternalMetricDefinitionListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ExternalOrganizationListing.md b/build/docs/ExternalOrganizationListing.md index b6c3a8a3d..5f2794ee3 100644 --- a/build/docs/ExternalOrganizationListing.md +++ b/build/docs/ExternalOrganizationListing.md @@ -12,8 +12,8 @@ title: ExternalOrganizationListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **PartialResults** | **bool?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FacebookIntegrationEntityListing.md b/build/docs/FacebookIntegrationEntityListing.md index c053d30c7..9cdadba08 100644 --- a/build/docs/FacebookIntegrationEntityListing.md +++ b/build/docs/FacebookIntegrationEntityListing.md @@ -11,8 +11,8 @@ title: FacebookIntegrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FailedRecordingEntityListing.md b/build/docs/FailedRecordingEntityListing.md index e867bffec..63cf3adf6 100644 --- a/build/docs/FailedRecordingEntityListing.md +++ b/build/docs/FailedRecordingEntityListing.md @@ -11,8 +11,8 @@ title: FailedRecordingEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/Fallback.md b/build/docs/Fallback.md new file mode 100644 index 000000000..5b12826ea --- /dev/null +++ b/build/docs/Fallback.md @@ -0,0 +1,14 @@ +--- +title: Fallback +--- +## ININ.PureCloudApi.Model.Fallback + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Enabled** | **bool?** | Fallback actions are enabled. | [optional] | +| **Actions** | [**List<CopilotFallbackAction>**](CopilotFallbackAction.html) | Fallback actions. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/FaxDocumentEntityListing.md b/build/docs/FaxDocumentEntityListing.md index 494b7c67e..b7e1d9a9d 100644 --- a/build/docs/FaxDocumentEntityListing.md +++ b/build/docs/FaxDocumentEntityListing.md @@ -11,8 +11,8 @@ title: FaxDocumentEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FileSpecificationTemplateEntityListing.md b/build/docs/FileSpecificationTemplateEntityListing.md index ac3d2d490..de7e04228 100644 --- a/build/docs/FileSpecificationTemplateEntityListing.md +++ b/build/docs/FileSpecificationTemplateEntityListing.md @@ -11,8 +11,8 @@ title: FileSpecificationTemplateEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowDivisionViewEntityListing.md b/build/docs/FlowDivisionViewEntityListing.md index 437855b69..4cfa4378a 100644 --- a/build/docs/FlowDivisionViewEntityListing.md +++ b/build/docs/FlowDivisionViewEntityListing.md @@ -11,8 +11,8 @@ title: FlowDivisionViewEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowEntityListing.md b/build/docs/FlowEntityListing.md index 4330c4562..d265d4023 100644 --- a/build/docs/FlowEntityListing.md +++ b/build/docs/FlowEntityListing.md @@ -11,8 +11,8 @@ title: FlowEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowMilestoneDivisionViewEntityListing.md b/build/docs/FlowMilestoneDivisionViewEntityListing.md index a52db9315..8673230bc 100644 --- a/build/docs/FlowMilestoneDivisionViewEntityListing.md +++ b/build/docs/FlowMilestoneDivisionViewEntityListing.md @@ -11,8 +11,8 @@ title: FlowMilestoneDivisionViewEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowMilestoneListing.md b/build/docs/FlowMilestoneListing.md index c0e8658de..e683b8df6 100644 --- a/build/docs/FlowMilestoneListing.md +++ b/build/docs/FlowMilestoneListing.md @@ -11,8 +11,8 @@ title: FlowMilestoneListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowOutcomeDivisionViewEntityListing.md b/build/docs/FlowOutcomeDivisionViewEntityListing.md index a6a204b3f..272e8f95b 100644 --- a/build/docs/FlowOutcomeDivisionViewEntityListing.md +++ b/build/docs/FlowOutcomeDivisionViewEntityListing.md @@ -11,8 +11,8 @@ title: FlowOutcomeDivisionViewEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowOutcomeListing.md b/build/docs/FlowOutcomeListing.md index 8179f9ec7..992f5bbdb 100644 --- a/build/docs/FlowOutcomeListing.md +++ b/build/docs/FlowOutcomeListing.md @@ -11,8 +11,8 @@ title: FlowOutcomeListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowResultEntityListing.md b/build/docs/FlowResultEntityListing.md index 8de5ecd7a..7edb08f91 100644 --- a/build/docs/FlowResultEntityListing.md +++ b/build/docs/FlowResultEntityListing.md @@ -11,8 +11,8 @@ title: FlowResultEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowSettingsResponseEntityListing.md b/build/docs/FlowSettingsResponseEntityListing.md index 169008645..c3fc4b251 100644 --- a/build/docs/FlowSettingsResponseEntityListing.md +++ b/build/docs/FlowSettingsResponseEntityListing.md @@ -11,8 +11,8 @@ title: FlowSettingsResponseEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/FlowVersionEntityListing.md b/build/docs/FlowVersionEntityListing.md index f8c5869a9..e9537b71e 100644 --- a/build/docs/FlowVersionEntityListing.md +++ b/build/docs/FlowVersionEntityListing.md @@ -11,8 +11,8 @@ title: FlowVersionEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/Function.md b/build/docs/Function.md index da4d5c622..bced4865e 100644 --- a/build/docs/Function.md +++ b/build/docs/Function.md @@ -14,7 +14,7 @@ title: Function | **ZipId** | **string** | Zip file identifier. | [optional] | | **Handler** | **string** | Handler entry point into zip file to execute function. Should be path within upload function package to the invocation module without language extension, followed by a period and then exported invocation method name. e.g. 'src/index.handler' | | | **Runtime** | **string** | Runtime required for execution. Valid runtimes change over time as versions are deprecated. Use /api/v2/integrations/actions/functions/runtimes for current list. | | -| **TimeoutSeconds** | **int?** | Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 60. Default value 15 seconds. | [optional] | +| **TimeoutSeconds** | **int?** | Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 15. Default value 15 seconds. | [optional] | {: class="table table-striped"} diff --git a/build/docs/FunctionConfig.md b/build/docs/FunctionConfig.md index 75538e52d..e6fe83cec 100644 --- a/build/docs/FunctionConfig.md +++ b/build/docs/FunctionConfig.md @@ -10,6 +10,7 @@ title: FunctionConfig | **Id** | **string** | Action identifier. | [optional] | | **Function** | [**Function**](Function.html) | Function configuration. | [optional] | | **Zip** | [**FunctionZipConfig**](FunctionZipConfig.html) | Zip file configuration and state. | [optional] | +| **UploadExceptionHistory** | [**List<FunctionZipConfig>**](FunctionZipConfig.html) | History of failed zip upload file configuration including their state and error messages. Contains no more than last ten failures. | [optional] | | **SelfUri** | **string** | The URI for this object | [optional] | {: class="table table-striped"} diff --git a/build/docs/FunctionZipConfig.md b/build/docs/FunctionZipConfig.md index f7a4fe4dd..1e94cc51c 100644 --- a/build/docs/FunctionZipConfig.md +++ b/build/docs/FunctionZipConfig.md @@ -11,6 +11,8 @@ title: FunctionZipConfig | **Id** | **string** | Zip file Identifier | [optional] | | **Name** | **string** | Zip file name | [optional] | | **DateCreated** | **DateTime?** | Date and time zip record was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z | [optional] | +| **ErrorMessage** | **string** | Error message if upload failed. | [optional] | +| **RequestId** | **string** | Upload request id used for zip upload | [optional] | {: class="table table-striped"} diff --git a/build/docs/GDPRRequestEntityListing.md b/build/docs/GDPRRequestEntityListing.md index cc1c649fe..542b3f1b4 100644 --- a/build/docs/GDPRRequestEntityListing.md +++ b/build/docs/GDPRRequestEntityListing.md @@ -11,8 +11,8 @@ title: GDPRRequestEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/GDPRSubjectEntityListing.md b/build/docs/GDPRSubjectEntityListing.md index e0eebc8ab..a3a74949e 100644 --- a/build/docs/GDPRSubjectEntityListing.md +++ b/build/docs/GDPRSubjectEntityListing.md @@ -11,8 +11,8 @@ title: GDPRSubjectEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/GetCelebrationListing.md b/build/docs/GetCelebrationListing.md index f51c7b613..dee5f0433 100644 --- a/build/docs/GetCelebrationListing.md +++ b/build/docs/GetCelebrationListing.md @@ -11,8 +11,8 @@ title: GetCelebrationListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/GoogleDialogflowConfig.md b/build/docs/GoogleDialogflowConfig.md new file mode 100644 index 000000000..fe71bfdb5 --- /dev/null +++ b/build/docs/GoogleDialogflowConfig.md @@ -0,0 +1,14 @@ +--- +title: GoogleDialogflowConfig +--- +## ININ.PureCloudApi.Model.GoogleDialogflowConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **IntegrationId** | **string** | The integration identifier with which the assistant will fetch transcriptions and knowledge suggestions. | [optional] | +| **ConversationProfiles** | [**List<ConversationProfile>**](ConversationProfile.html) | The conversation profiles for which the assistant will fetch transcription and knowledge suggestions. | | +{: class="table table-striped"} + + diff --git a/build/docs/GrammarListing.md b/build/docs/GrammarListing.md index 345be221d..b1ddf33ee 100644 --- a/build/docs/GrammarListing.md +++ b/build/docs/GrammarListing.md @@ -11,8 +11,8 @@ title: GrammarListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/GreetingListing.md b/build/docs/GreetingListing.md index 59ee54c04..e2f78405b 100644 --- a/build/docs/GreetingListing.md +++ b/build/docs/GreetingListing.md @@ -11,8 +11,8 @@ title: GreetingListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/GroupEntityListing.md b/build/docs/GroupEntityListing.md index 2e54cc970..79164d40d 100644 --- a/build/docs/GroupEntityListing.md +++ b/build/docs/GroupEntityListing.md @@ -11,8 +11,8 @@ title: GroupEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/GroupProfileEntityListing.md b/build/docs/GroupProfileEntityListing.md index 2d228f872..b21974f85 100644 --- a/build/docs/GroupProfileEntityListing.md +++ b/build/docs/GroupProfileEntityListing.md @@ -11,8 +11,8 @@ title: GroupProfileEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/IVRDivisionViewEntityListing.md b/build/docs/IVRDivisionViewEntityListing.md index 9a7822885..175f85fb6 100644 --- a/build/docs/IVRDivisionViewEntityListing.md +++ b/build/docs/IVRDivisionViewEntityListing.md @@ -12,8 +12,8 @@ title: IVRDivisionViewEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/IVREntityListing.md b/build/docs/IVREntityListing.md index 95443747f..b30eb3f07 100644 --- a/build/docs/IVREntityListing.md +++ b/build/docs/IVREntityListing.md @@ -12,8 +12,8 @@ title: IVREntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/IdentityProviderEntityListing.md b/build/docs/IdentityProviderEntityListing.md index 506eeaf83..2468a5016 100644 --- a/build/docs/IdentityProviderEntityListing.md +++ b/build/docs/IdentityProviderEntityListing.md @@ -11,8 +11,8 @@ title: IdentityProviderEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ImportTemplateEntityListing.md b/build/docs/ImportTemplateEntityListing.md index b45cd7e69..697136de2 100644 --- a/build/docs/ImportTemplateEntityListing.md +++ b/build/docs/ImportTemplateEntityListing.md @@ -11,8 +11,8 @@ title: ImportTemplateEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/InboundDomainEntityListing.md b/build/docs/InboundDomainEntityListing.md index a37d46786..c785f28ed 100644 --- a/build/docs/InboundDomainEntityListing.md +++ b/build/docs/InboundDomainEntityListing.md @@ -11,8 +11,8 @@ title: InboundDomainEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/InboundRouteEntityListing.md b/build/docs/InboundRouteEntityListing.md index 3235c8b20..55bbbff05 100644 --- a/build/docs/InboundRouteEntityListing.md +++ b/build/docs/InboundRouteEntityListing.md @@ -11,8 +11,8 @@ title: InboundRouteEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/InstagramIntegrationEntityListing.md b/build/docs/InstagramIntegrationEntityListing.md index c00418459..5a633bb62 100644 --- a/build/docs/InstagramIntegrationEntityListing.md +++ b/build/docs/InstagramIntegrationEntityListing.md @@ -11,8 +11,8 @@ title: InstagramIntegrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/IntegrationEntityListing.md b/build/docs/IntegrationEntityListing.md index 9e8bf4a53..a95922057 100644 --- a/build/docs/IntegrationEntityListing.md +++ b/build/docs/IntegrationEntityListing.md @@ -11,8 +11,8 @@ title: IntegrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/IntegrationTypeEntityListing.md b/build/docs/IntegrationTypeEntityListing.md index dae8ebdaf..58ed95a17 100644 --- a/build/docs/IntegrationTypeEntityListing.md +++ b/build/docs/IntegrationTypeEntityListing.md @@ -11,8 +11,8 @@ title: IntegrationTypeEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/InteractionStatsAlertContainer.md b/build/docs/InteractionStatsAlertContainer.md index b4d8e91cc..ac9d3f2f5 100644 --- a/build/docs/InteractionStatsAlertContainer.md +++ b/build/docs/InteractionStatsAlertContainer.md @@ -11,8 +11,8 @@ title: InteractionStatsAlertContainer | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/InteractionStatsRuleContainer.md b/build/docs/InteractionStatsRuleContainer.md index cdacb7baa..195686f1f 100644 --- a/build/docs/InteractionStatsRuleContainer.md +++ b/build/docs/InteractionStatsRuleContainer.md @@ -11,8 +11,8 @@ title: InteractionStatsRuleContainer | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/JourneyApi.md b/build/docs/JourneyApi.md index 194b160e9..f6cd1270d 100644 --- a/build/docs/JourneyApi.md +++ b/build/docs/JourneyApi.md @@ -391,8 +391,6 @@ Delete a Journey View by ID deletes all versions -DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:views:delete @@ -1979,8 +1977,6 @@ Get a Journey View by ID returns the latest version -GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:views:view @@ -2044,8 +2040,6 @@ namespace Example Get a Journey View by ID and version -GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:views:view @@ -2113,8 +2107,6 @@ Get the job for a journey view version. used for long descriptions -GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:viewsJobs:view @@ -2184,8 +2176,6 @@ Get the result of a job for a journey view version. used for long descriptions -GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:viewsResults:view @@ -2255,8 +2245,6 @@ Get the latest job of a journey view version. used for long descriptions -GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:viewsJobs:view @@ -2316,14 +2304,12 @@ namespace Example -## [**JourneyViewListing**](JourneyViewListing.html) GetJourneyViews (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null) +## [**JourneyViewListing**](JourneyViewListing.html) GetJourneyViews (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null) Get a list of Journey Views -GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:views:view @@ -2354,11 +2340,12 @@ namespace Example var pageSize = 56; // int? | Page size (optional) (default to 25) var nameOrCreatedBy = nameOrCreatedBy_example; // string | Journey View Name or Created By (optional) var expand = expand_example; // string | Parameter to request additional data to return in Journey payload (optional) + var id = id_example; // string | Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) try { // Get a list of Journey Views - JourneyViewListing result = apiInstance.GetJourneyViews(pageNumber, pageSize, nameOrCreatedBy, expand); + JourneyViewListing result = apiInstance.GetJourneyViews(pageNumber, pageSize, nameOrCreatedBy, expand, id); Debug.WriteLine(result); } catch (Exception e) @@ -2379,6 +2366,7 @@ namespace Example | **pageSize** | **int?**| Page size | [optional] [default to 25] | | **nameOrCreatedBy** | **string**| Journey View Name or Created By | [optional] | | **expand** | **string**| Parameter to request additional data to return in Journey payload | [optional]
**Values**: charts | +| **id** | **string**| Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. | [optional] | {: class="table table-striped"} ### Return type @@ -2518,8 +2506,6 @@ This endpoint does require any parameters. Get the jobs for an organization. -GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:viewsJobs:view @@ -3723,8 +3709,6 @@ Submit a job request for a journey view version. used for long descriptions -PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:viewsJobs:add @@ -3792,8 +3776,6 @@ Update a Journey View by ID creates a new version -PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:views:edit @@ -3859,8 +3841,6 @@ namespace Example Create a new Journey View -PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ALL permissions: * journey:views:add diff --git a/build/docs/JourneyViewElementFilterRangeData.md b/build/docs/JourneyViewElementFilterRangeData.md index 9b916b217..f1d1c8cb1 100644 --- a/build/docs/JourneyViewElementFilterRangeData.md +++ b/build/docs/JourneyViewElementFilterRangeData.md @@ -7,8 +7,8 @@ title: JourneyViewElementFilterRangeData |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -| **Duration** | **string** | an ISO 8601 time duration.Only one of number or duration must be specified. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H | [optional] | -| **Number** | **int?** | an Integer value.Only one of number or duration must be specified. | [optional] | +| **Duration** | **string** | An ISO 8601 time duration. Only one of number or duration must be specified. | [optional] | +| **Number** | **double?** | A numeric value. Only one of number or duration must be specified. | [optional] | {: class="table table-striped"} diff --git a/build/docs/JourneyViewJobListing.md b/build/docs/JourneyViewJobListing.md index 36676e377..83b6abfbc 100644 --- a/build/docs/JourneyViewJobListing.md +++ b/build/docs/JourneyViewJobListing.md @@ -11,8 +11,8 @@ title: JourneyViewJobListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/JourneyViewListing.md b/build/docs/JourneyViewListing.md index cad8202e5..dc64f1aeb 100644 --- a/build/docs/JourneyViewListing.md +++ b/build/docs/JourneyViewListing.md @@ -11,8 +11,8 @@ title: JourneyViewListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/KnowledgeAnswerConfig.md b/build/docs/KnowledgeAnswerConfig.md new file mode 100644 index 000000000..614d338a5 --- /dev/null +++ b/build/docs/KnowledgeAnswerConfig.md @@ -0,0 +1,13 @@ +--- +title: KnowledgeAnswerConfig +--- +## ININ.PureCloudApi.Model.KnowledgeAnswerConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Enabled** | **bool?** | Knowledge answer is enabled. | | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeAnswerDocumentResponse.md b/build/docs/KnowledgeAnswerDocumentResponse.md new file mode 100644 index 000000000..3f4250f0d --- /dev/null +++ b/build/docs/KnowledgeAnswerDocumentResponse.md @@ -0,0 +1,16 @@ +--- +title: KnowledgeAnswerDocumentResponse +--- +## ININ.PureCloudApi.Model.KnowledgeAnswerDocumentResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | The document id. | [optional] | +| **Title** | **string** | The document title. | [optional] | +| **Answer** | **string** | The answer found inside a variationContent. | [optional] | +| **Variation** | [**DocumentVariationAnswer**](DocumentVariationAnswer.html) | The variation with the answer's highlight data. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeAnswerDocumentsResponse.md b/build/docs/KnowledgeAnswerDocumentsResponse.md new file mode 100644 index 000000000..b0a300f56 --- /dev/null +++ b/build/docs/KnowledgeAnswerDocumentsResponse.md @@ -0,0 +1,14 @@ +--- +title: KnowledgeAnswerDocumentsResponse +--- +## ININ.PureCloudApi.Model.KnowledgeAnswerDocumentsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Results** | [**List<KnowledgeAnswerDocumentResponse>**](KnowledgeAnswerDocumentResponse.html) | The results with answers if the answerMode request property is not set or contains \"AnswerHighlight\". Empty array otherwise. | [optional] | +| **AnswerGeneration** | [**KnowledgeAnswerGenerationResponse**](KnowledgeAnswerGenerationResponse.html) | The results with AI-generated answer if the answerMode request property contains \"AnswerGeneration\". | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeApi.md b/build/docs/KnowledgeApi.md index e4230e6c4..7c0fa894b 100644 --- a/build/docs/KnowledgeApi.md +++ b/build/docs/KnowledgeApi.md @@ -57,6 +57,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**PatchKnowledgeKnowledgebase**](KnowledgeApi.html#patchknowledgeknowledgebase) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId} | Update knowledge base | | [**PatchKnowledgeKnowledgebaseCategory**](KnowledgeApi.html#patchknowledgeknowledgebasecategory) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId} | Update category | | [**PatchKnowledgeKnowledgebaseDocument**](KnowledgeApi.html#patchknowledgeknowledgebasedocument) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId} | Update document. | +| [**PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId**](KnowledgeApi.html#patchknowledgeknowledgebasedocumentfeedbackfeedbackid) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId} | Update feedback on a document | | [**PatchKnowledgeKnowledgebaseDocumentVariation**](KnowledgeApi.html#patchknowledgeknowledgebasedocumentvariation) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId} | Update a variation for a document. | | [**PatchKnowledgeKnowledgebaseDocumentsSearchSearchId**](KnowledgeApi.html#patchknowledgeknowledgebasedocumentssearchsearchid) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/{searchId} | Update search result. | | [**PatchKnowledgeKnowledgebaseImportJob**](KnowledgeApi.html#patchknowledgeknowledgebaseimportjob) | **Patch** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId} | Start import job | @@ -71,6 +72,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**PostKnowledgeGuestSessionDocumentCopies**](KnowledgeApi.html#postknowledgeguestsessiondocumentcopies) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies | Indicate that the document was copied by the user. | | [**PostKnowledgeGuestSessionDocumentFeedback**](KnowledgeApi.html#postknowledgeguestsessiondocumentfeedback) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback | Give feedback on a document | | [**PostKnowledgeGuestSessionDocumentViews**](KnowledgeApi.html#postknowledgeguestsessiondocumentviews) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views | Create view event for a document. | +| [**PostKnowledgeGuestSessionDocumentsAnswers**](KnowledgeApi.html#postknowledgeguestsessiondocumentsanswers) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/answers | Answer documents. | | [**PostKnowledgeGuestSessionDocumentsPresentations**](KnowledgeApi.html#postknowledgeguestsessiondocumentspresentations) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations | Indicate that documents were presented to the user. | | [**PostKnowledgeGuestSessionDocumentsSearch**](KnowledgeApi.html#postknowledgeguestsessiondocumentssearch) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/search | Search the documents in a guest session. | | [**PostKnowledgeGuestSessionDocumentsSearchSuggestions**](KnowledgeApi.html#postknowledgeguestsessiondocumentssearchsuggestions) | **Post** /api/v2/knowledge/guest/sessions/{sessionId}/documents/search/suggestions | Query the knowledge documents to provide suggestions for auto completion. | @@ -82,6 +84,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**PostKnowledgeKnowledgebaseDocumentVersions**](KnowledgeApi.html#postknowledgeknowledgebasedocumentversions) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions | Creates or restores a document version. | | [**PostKnowledgeKnowledgebaseDocumentViews**](KnowledgeApi.html#postknowledgeknowledgebasedocumentviews) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/views | Create view for a document. | | [**PostKnowledgeKnowledgebaseDocuments**](KnowledgeApi.html#postknowledgeknowledgebasedocuments) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents | Create document. | +| [**PostKnowledgeKnowledgebaseDocumentsAnswers**](KnowledgeApi.html#postknowledgeknowledgebasedocumentsanswers) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers | Answer documents. | | [**PostKnowledgeKnowledgebaseDocumentsBulkRemove**](KnowledgeApi.html#postknowledgeknowledgebasedocumentsbulkremove) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/remove | Bulk remove documents. | | [**PostKnowledgeKnowledgebaseDocumentsBulkUpdate**](KnowledgeApi.html#postknowledgeknowledgebasedocumentsbulkupdate) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update | Bulk update documents. | | [**PostKnowledgeKnowledgebaseDocumentsPresentations**](KnowledgeApi.html#postknowledgeknowledgebasedocumentspresentations) | **Post** /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations | Indicate that documents were presented to the user. | @@ -3566,6 +3569,75 @@ namespace Example [**KnowledgeDocumentResponse**](KnowledgeDocumentResponse.html) + + +## [**KnowledgeDocumentFeedbackResponse**](KnowledgeDocumentFeedbackResponse.html) PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null) + + + +Update feedback on a document + +Requires ANY permissions: + +* knowledge:feedback:edit + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new KnowledgeApi(); + var knowledgeBaseId = knowledgeBaseId_example; // string | Knowledge base ID. + var documentId = documentId_example; // string | Document ID. + var feedbackId = feedbackId_example; // string | Feedback ID. + var body = new KnowledgeDocumentFeedbackUpdateRequest(); // KnowledgeDocumentFeedbackUpdateRequest | (optional) + + try + { + // Update feedback on a document + KnowledgeDocumentFeedbackResponse result = apiInstance.PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(knowledgeBaseId, documentId, feedbackId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling KnowledgeApi.PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **knowledgeBaseId** | **string**| Knowledge base ID. | | +| **documentId** | **string**| Document ID. | | +| **feedbackId** | **string**| Feedback ID. | | +| **body** | [**KnowledgeDocumentFeedbackUpdateRequest**](KnowledgeDocumentFeedbackUpdateRequest.html)| | [optional] | +{: class="table table-striped"} + +### Return type + +[**KnowledgeDocumentFeedbackResponse**](KnowledgeDocumentFeedbackResponse.html) + ## [**DocumentVariation**](DocumentVariation.html) PatchKnowledgeKnowledgebaseDocumentVariation (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) @@ -4489,6 +4561,64 @@ namespace Example void (empty response body) + + +## [**KnowledgeGuestAnswerDocumentsResponse**](KnowledgeGuestAnswerDocumentsResponse.html) PostKnowledgeGuestSessionDocumentsAnswers (string sessionId, KnowledgeDocumentsAnswerFilter body) + + + +Answer documents. + +Requires NO permissions: + + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PostKnowledgeGuestSessionDocumentsAnswersExample + { + public void main() + { + + var apiInstance = new KnowledgeApi(); + var sessionId = sessionId_example; // string | Knowledge guest session ID. + var body = new KnowledgeDocumentsAnswerFilter(); // KnowledgeDocumentsAnswerFilter | + + try + { + // Answer documents. + KnowledgeGuestAnswerDocumentsResponse result = apiInstance.PostKnowledgeGuestSessionDocumentsAnswers(sessionId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling KnowledgeApi.PostKnowledgeGuestSessionDocumentsAnswers: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **sessionId** | **string**| Knowledge guest session ID. | | +| **body** | [**KnowledgeDocumentsAnswerFilter**](KnowledgeDocumentsAnswerFilter.html)| | | +{: class="table table-striped"} + +### Return type + +[**KnowledgeGuestAnswerDocumentsResponse**](KnowledgeGuestAnswerDocumentsResponse.html) + ## void PostKnowledgeGuestSessionDocumentsPresentations (string sessionId, KnowledgeGuestDocumentPresentation body = null) @@ -5184,6 +5314,72 @@ namespace Example [**KnowledgeDocumentResponse**](KnowledgeDocumentResponse.html) + + +## [**KnowledgeAnswerDocumentsResponse**](KnowledgeAnswerDocumentsResponse.html) PostKnowledgeKnowledgebaseDocumentsAnswers (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body) + + + +Answer documents. + +Requires ALL permissions: + +* knowledge:document:view +* knowledge:documentAnswer:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class PostKnowledgeKnowledgebaseDocumentsAnswersExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new KnowledgeApi(); + var knowledgeBaseId = knowledgeBaseId_example; // string | Knowledge base ID + var body = new KnowledgeDocumentsAnswerFilter(); // KnowledgeDocumentsAnswerFilter | + + try + { + // Answer documents. + KnowledgeAnswerDocumentsResponse result = apiInstance.PostKnowledgeKnowledgebaseDocumentsAnswers(knowledgeBaseId, body); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling KnowledgeApi.PostKnowledgeKnowledgebaseDocumentsAnswers: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **knowledgeBaseId** | **string**| Knowledge base ID | | +| **body** | [**KnowledgeDocumentsAnswerFilter**](KnowledgeDocumentsAnswerFilter.html)| | | +{: class="table table-striped"} + +### Return type + +[**KnowledgeAnswerDocumentsResponse**](KnowledgeAnswerDocumentsResponse.html) + ## [**BulkResponse**](BulkResponse.html) PostKnowledgeKnowledgebaseDocumentsBulkRemove (string knowledgeBaseId, KnowledgeDocumentBulkRemoveRequest body) diff --git a/build/docs/KnowledgeBaseWithDialectReference.md b/build/docs/KnowledgeBaseWithDialectReference.md new file mode 100644 index 000000000..d44d69107 --- /dev/null +++ b/build/docs/KnowledgeBaseWithDialectReference.md @@ -0,0 +1,15 @@ +--- +title: KnowledgeBaseWithDialectReference +--- +## ININ.PureCloudApi.Model.KnowledgeBaseWithDialectReference + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | The globally unique identifier for the knowledge base. | | +| **LanguageCode** | **string** | The dialect for the knowledge base. | | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeDocumentFeedbackUpdateRequest.md b/build/docs/KnowledgeDocumentFeedbackUpdateRequest.md new file mode 100644 index 000000000..cb6667fe5 --- /dev/null +++ b/build/docs/KnowledgeDocumentFeedbackUpdateRequest.md @@ -0,0 +1,16 @@ +--- +title: KnowledgeDocumentFeedbackUpdateRequest +--- +## ININ.PureCloudApi.Model.KnowledgeDocumentFeedbackUpdateRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Rating** | **string** | Feedback rating. | | +| **Reason** | **string** | Feedback reason | [optional] | +| **Comment** | **string** | Feedback comment | [optional] | +| **State** | **string** | Feedback state | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeDocumentsAnswerFilter.md b/build/docs/KnowledgeDocumentsAnswerFilter.md new file mode 100644 index 000000000..2fc78d77d --- /dev/null +++ b/build/docs/KnowledgeDocumentsAnswerFilter.md @@ -0,0 +1,20 @@ +--- +title: KnowledgeDocumentsAnswerFilter +--- +## ININ.PureCloudApi.Model.KnowledgeDocumentsAnswerFilter + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Query** | **string** | The search query. | [optional] | +| **Language** | **string** | The language of the documents. | [optional] | +| **AppType** | **string** | The appType | [optional] | +| **QueryType** | **string** | The query type | [optional] | +| **SearchId** | **string** | The search id. | [optional] | +| **InsertHighlightIntoVariationContent** | **bool?** | If specified - insert highlight data into the variation content. | [optional] | +| **AnswerMode** | **List<string>** | Allows extracted answers from an article (AnswerHighlight) and/or AI-generated answers (AnswerGeneration). Default mode: AnswerHighlight | [optional] | +| **VariationIds** | **List<string>** | The variation Ids to answer. | | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeGuestAnswerDocumentResponse.md b/build/docs/KnowledgeGuestAnswerDocumentResponse.md new file mode 100644 index 000000000..07dd1c105 --- /dev/null +++ b/build/docs/KnowledgeGuestAnswerDocumentResponse.md @@ -0,0 +1,16 @@ +--- +title: KnowledgeGuestAnswerDocumentResponse +--- +## ININ.PureCloudApi.Model.KnowledgeGuestAnswerDocumentResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | The document id. | [optional] | +| **Title** | **string** | The document title. | [optional] | +| **Answer** | **string** | The answer found inside a variationContent. | [optional] | +| **Variation** | [**KnowledgeGuestDocumentVariationAnswer**](KnowledgeGuestDocumentVariationAnswer.html) | The variation with the answer's highlight data. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeGuestAnswerDocumentsResponse.md b/build/docs/KnowledgeGuestAnswerDocumentsResponse.md new file mode 100644 index 000000000..463d2c3b7 --- /dev/null +++ b/build/docs/KnowledgeGuestAnswerDocumentsResponse.md @@ -0,0 +1,13 @@ +--- +title: KnowledgeGuestAnswerDocumentsResponse +--- +## ININ.PureCloudApi.Model.KnowledgeGuestAnswerDocumentsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Results** | [**List<KnowledgeGuestAnswerDocumentResponse>**](KnowledgeGuestAnswerDocumentResponse.html) | The results with answers. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/KnowledgeSuggestionConfig.md b/build/docs/KnowledgeSuggestionConfig.md new file mode 100644 index 000000000..2d97bd93a --- /dev/null +++ b/build/docs/KnowledgeSuggestionConfig.md @@ -0,0 +1,15 @@ +--- +title: KnowledgeSuggestionConfig +--- +## ININ.PureCloudApi.Model.KnowledgeSuggestionConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **VendorName** | **string** | The name of vendor used for knowledge suggestions. | | +| **KnowledgeBase** | [**KnowledgeBaseReference**](KnowledgeBaseReference.html) | The ID of knowledge base to query when Genesys is the knowledge suggestions provider. | [optional] | +| **KnowledgeBases** | [**List<KnowledgeBaseWithDialectReference>**](KnowledgeBaseWithDialectReference.html) | The knowledge bases to query based on dialect, when Genesys is the knowledge suggestions provider. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/LanguageEntityListing.md b/build/docs/LanguageEntityListing.md index 31c615e3b..092d837a7 100644 --- a/build/docs/LanguageEntityListing.md +++ b/build/docs/LanguageEntityListing.md @@ -11,8 +11,8 @@ title: LanguageEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LearningAssignmentUserListing.md b/build/docs/LearningAssignmentUserListing.md index 742a5b0c7..4fcf07303 100644 --- a/build/docs/LearningAssignmentUserListing.md +++ b/build/docs/LearningAssignmentUserListing.md @@ -12,8 +12,8 @@ title: LearningAssignmentUserListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | The number of users matching search term | [optional] | | **UnfilteredTotal** | **int?** | The total number of users | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LearningAssignmentsDomainEntity.md b/build/docs/LearningAssignmentsDomainEntity.md index 3fb3e76fc..6098b578b 100644 --- a/build/docs/LearningAssignmentsDomainEntity.md +++ b/build/docs/LearningAssignmentsDomainEntity.md @@ -11,8 +11,8 @@ title: LearningAssignmentsDomainEntity | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LearningModulesDomainEntityListing.md b/build/docs/LearningModulesDomainEntityListing.md index 2dc5633e2..0f4c25a02 100644 --- a/build/docs/LearningModulesDomainEntityListing.md +++ b/build/docs/LearningModulesDomainEntityListing.md @@ -11,8 +11,8 @@ title: LearningModulesDomainEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LexBotAliasEntityListing.md b/build/docs/LexBotAliasEntityListing.md index 8f96c5040..f3b8f4198 100644 --- a/build/docs/LexBotAliasEntityListing.md +++ b/build/docs/LexBotAliasEntityListing.md @@ -11,8 +11,8 @@ title: LexBotAliasEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LexBotEntityListing.md b/build/docs/LexBotEntityListing.md index 450df12c2..f56b2a8e3 100644 --- a/build/docs/LexBotEntityListing.md +++ b/build/docs/LexBotEntityListing.md @@ -11,8 +11,8 @@ title: LexBotEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LexV2BotAliasEntityListing.md b/build/docs/LexV2BotAliasEntityListing.md index ff05852ef..e4f0406f0 100644 --- a/build/docs/LexV2BotAliasEntityListing.md +++ b/build/docs/LexV2BotAliasEntityListing.md @@ -11,8 +11,8 @@ title: LexV2BotAliasEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LexV2BotEntityListing.md b/build/docs/LexV2BotEntityListing.md index 3177df77a..cab7100d2 100644 --- a/build/docs/LexV2BotEntityListing.md +++ b/build/docs/LexV2BotEntityListing.md @@ -11,8 +11,8 @@ title: LexV2BotEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LibraryEntityListing.md b/build/docs/LibraryEntityListing.md index 87daa6dae..3f19ea4b0 100644 --- a/build/docs/LibraryEntityListing.md +++ b/build/docs/LibraryEntityListing.md @@ -11,8 +11,8 @@ title: LibraryEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LineBaseEntityListing.md b/build/docs/LineBaseEntityListing.md index e5e6b183e..8a903409a 100644 --- a/build/docs/LineBaseEntityListing.md +++ b/build/docs/LineBaseEntityListing.md @@ -12,8 +12,8 @@ title: LineBaseEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LineEntityListing.md b/build/docs/LineEntityListing.md index 490623303..69f694d7b 100644 --- a/build/docs/LineEntityListing.md +++ b/build/docs/LineEntityListing.md @@ -12,8 +12,8 @@ title: LineEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LocationEntityListing.md b/build/docs/LocationEntityListing.md index a18427c07..43d86b44b 100644 --- a/build/docs/LocationEntityListing.md +++ b/build/docs/LocationEntityListing.md @@ -11,8 +11,8 @@ title: LocationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/LogicalInterfaceEntityListing.md b/build/docs/LogicalInterfaceEntityListing.md index c081e8c40..c11efd3ad 100644 --- a/build/docs/LogicalInterfaceEntityListing.md +++ b/build/docs/LogicalInterfaceEntityListing.md @@ -11,8 +11,8 @@ title: LogicalInterfaceEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ManagementUnitListing.md b/build/docs/ManagementUnitListing.md index 83a38f431..f24bf0bf1 100644 --- a/build/docs/ManagementUnitListing.md +++ b/build/docs/ManagementUnitListing.md @@ -11,8 +11,8 @@ title: ManagementUnitListing | **PageSize** | **int?** | Deprecated, paging is not supported | [optional] | | **PageNumber** | **int?** | Deprecated, paging is not supported | [optional] | | **Total** | **long?** | Deprecated, paging is not supported | [optional] | -| **LastUri** | **string** | Deprecated, paging is not supported | [optional] | | **FirstUri** | **string** | Deprecated, paging is not supported | [optional] | +| **LastUri** | **string** | Deprecated, paging is not supported | [optional] | | **NextUri** | **string** | Deprecated, paging is not supported | [optional] | | **PageCount** | **int?** | Deprecated, paging is not supported | [optional] | | **PreviousUri** | **string** | Deprecated, paging is not supported | [optional] | diff --git a/build/docs/MessageConversationEntityListing.md b/build/docs/MessageConversationEntityListing.md index c9da3d13f..a459b3aca 100644 --- a/build/docs/MessageConversationEntityListing.md +++ b/build/docs/MessageConversationEntityListing.md @@ -11,8 +11,8 @@ title: MessageConversationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/MessagingCampaignDivisionViewEntityListing.md b/build/docs/MessagingCampaignDivisionViewEntityListing.md index a8974c675..680bdc595 100644 --- a/build/docs/MessagingCampaignDivisionViewEntityListing.md +++ b/build/docs/MessagingCampaignDivisionViewEntityListing.md @@ -11,8 +11,8 @@ title: MessagingCampaignDivisionViewEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/MessagingCampaignEntityListing.md b/build/docs/MessagingCampaignEntityListing.md index 7616ae561..4becc0a56 100644 --- a/build/docs/MessagingCampaignEntityListing.md +++ b/build/docs/MessagingCampaignEntityListing.md @@ -11,8 +11,8 @@ title: MessagingCampaignEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/MessagingCampaignScheduleEntityListing.md b/build/docs/MessagingCampaignScheduleEntityListing.md index a8c136e58..d1400fdc8 100644 --- a/build/docs/MessagingCampaignScheduleEntityListing.md +++ b/build/docs/MessagingCampaignScheduleEntityListing.md @@ -11,8 +11,8 @@ title: MessagingCampaignScheduleEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/MessagingConfigListing.md b/build/docs/MessagingConfigListing.md index 34148e66c..0af381466 100644 --- a/build/docs/MessagingConfigListing.md +++ b/build/docs/MessagingConfigListing.md @@ -11,8 +11,8 @@ title: MessagingConfigListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/MessagingIntegrationEntityListing.md b/build/docs/MessagingIntegrationEntityListing.md index 9e76c394d..592f029d7 100644 --- a/build/docs/MessagingIntegrationEntityListing.md +++ b/build/docs/MessagingIntegrationEntityListing.md @@ -11,8 +11,8 @@ title: MessagingIntegrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/NluConfig.md b/build/docs/NluConfig.md new file mode 100644 index 000000000..0a9ef57cb --- /dev/null +++ b/build/docs/NluConfig.md @@ -0,0 +1,14 @@ +--- +title: NluConfig +--- +## ININ.PureCloudApi.Model.NluConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Domain** | [**CopilotNluDomain**](CopilotNluDomain.html) | NLU domain. | | +| **IntentConfidenceThreshold** | **float?** | Minimum confidence value of accepting NLU intents, must be greater than 0 and less than 1. | | +{: class="table table-striped"} + + diff --git a/build/docs/NluDomainListing.md b/build/docs/NluDomainListing.md index 1949ad396..894adb6c8 100644 --- a/build/docs/NluDomainListing.md +++ b/build/docs/NluDomainListing.md @@ -11,8 +11,8 @@ title: NluDomainListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/NluDomainVersionListing.md b/build/docs/NluDomainVersionListing.md index 36b062f97..b111f0c24 100644 --- a/build/docs/NluDomainVersionListing.md +++ b/build/docs/NluDomainVersionListing.md @@ -11,8 +11,8 @@ title: NluDomainVersionListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/NluFeedbackListing.md b/build/docs/NluFeedbackListing.md index 2bc4317f2..c1a486c06 100644 --- a/build/docs/NluFeedbackListing.md +++ b/build/docs/NluFeedbackListing.md @@ -11,8 +11,8 @@ title: NluFeedbackListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/NoteListing.md b/build/docs/NoteListing.md index b7723bfaa..271b9c2c1 100644 --- a/build/docs/NoteListing.md +++ b/build/docs/NoteListing.md @@ -12,8 +12,8 @@ title: NoteListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **PartialResults** | **bool?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/NuanceBotEntityListing.md b/build/docs/NuanceBotEntityListing.md index cf8ab66ae..7dc3eea0d 100644 --- a/build/docs/NuanceBotEntityListing.md +++ b/build/docs/NuanceBotEntityListing.md @@ -11,8 +11,8 @@ title: NuanceBotEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OAuthClientEntityListing.md b/build/docs/OAuthClientEntityListing.md index d9d62dc81..e6e4724a5 100644 --- a/build/docs/OAuthClientEntityListing.md +++ b/build/docs/OAuthClientEntityListing.md @@ -11,8 +11,8 @@ title: OAuthClientEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OpenIntegrationEntityListing.md b/build/docs/OpenIntegrationEntityListing.md index 4d2ec9b48..b3c8ed2ac 100644 --- a/build/docs/OpenIntegrationEntityListing.md +++ b/build/docs/OpenIntegrationEntityListing.md @@ -11,8 +11,8 @@ title: OpenIntegrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OrganizationPresenceEntityListing.md b/build/docs/OrganizationPresenceEntityListing.md index 55f96c37d..d1478049b 100644 --- a/build/docs/OrganizationPresenceEntityListing.md +++ b/build/docs/OrganizationPresenceEntityListing.md @@ -11,8 +11,8 @@ title: OrganizationPresenceEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OrganizationRoleEntityListing.md b/build/docs/OrganizationRoleEntityListing.md index f629e88c2..efe52b48c 100644 --- a/build/docs/OrganizationRoleEntityListing.md +++ b/build/docs/OrganizationRoleEntityListing.md @@ -11,8 +11,8 @@ title: OrganizationRoleEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OrphanRecordingListing.md b/build/docs/OrphanRecordingListing.md index fca686447..b3e39ff0f 100644 --- a/build/docs/OrphanRecordingListing.md +++ b/build/docs/OrphanRecordingListing.md @@ -11,8 +11,8 @@ title: OrphanRecordingListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OutboundDomainEntityListing.md b/build/docs/OutboundDomainEntityListing.md index 51a6ad8d4..159096b01 100644 --- a/build/docs/OutboundDomainEntityListing.md +++ b/build/docs/OutboundDomainEntityListing.md @@ -11,8 +11,8 @@ title: OutboundDomainEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OutboundRouteBaseEntityListing.md b/build/docs/OutboundRouteBaseEntityListing.md index afb8ed6db..a2f02db52 100644 --- a/build/docs/OutboundRouteBaseEntityListing.md +++ b/build/docs/OutboundRouteBaseEntityListing.md @@ -12,8 +12,8 @@ title: OutboundRouteBaseEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OutboundRouteEntityListing.md b/build/docs/OutboundRouteEntityListing.md index c17833b77..e445cba76 100644 --- a/build/docs/OutboundRouteEntityListing.md +++ b/build/docs/OutboundRouteEntityListing.md @@ -12,8 +12,8 @@ title: OutboundRouteEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/OutcomeListing.md b/build/docs/OutcomeListing.md index 173cdde77..fe384dc64 100644 --- a/build/docs/OutcomeListing.md +++ b/build/docs/OutcomeListing.md @@ -11,8 +11,8 @@ title: OutcomeListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PermissionCollectionEntityListing.md b/build/docs/PermissionCollectionEntityListing.md index b55fa2ac8..2683fcf33 100644 --- a/build/docs/PermissionCollectionEntityListing.md +++ b/build/docs/PermissionCollectionEntityListing.md @@ -11,8 +11,8 @@ title: PermissionCollectionEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PhoneBaseEntityListing.md b/build/docs/PhoneBaseEntityListing.md index af044d5ee..dff438f2e 100644 --- a/build/docs/PhoneBaseEntityListing.md +++ b/build/docs/PhoneBaseEntityListing.md @@ -12,8 +12,8 @@ title: PhoneBaseEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PhoneEntityListing.md b/build/docs/PhoneEntityListing.md index ebeb1176e..671c2ac17 100644 --- a/build/docs/PhoneEntityListing.md +++ b/build/docs/PhoneEntityListing.md @@ -12,8 +12,8 @@ title: PhoneEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PhoneMetaBaseEntityListing.md b/build/docs/PhoneMetaBaseEntityListing.md index 1dae64fb2..c05a2cefa 100644 --- a/build/docs/PhoneMetaBaseEntityListing.md +++ b/build/docs/PhoneMetaBaseEntityListing.md @@ -12,8 +12,8 @@ title: PhoneMetaBaseEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PhysicalInterfaceEntityListing.md b/build/docs/PhysicalInterfaceEntityListing.md index f29504fa9..689deac9a 100644 --- a/build/docs/PhysicalInterfaceEntityListing.md +++ b/build/docs/PhysicalInterfaceEntityListing.md @@ -11,8 +11,8 @@ title: PhysicalInterfaceEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PolicyEntityListing.md b/build/docs/PolicyEntityListing.md index 5de77423a..92d3fa70b 100644 --- a/build/docs/PolicyEntityListing.md +++ b/build/docs/PolicyEntityListing.md @@ -11,8 +11,8 @@ title: PolicyEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PromptAssetEntityListing.md b/build/docs/PromptAssetEntityListing.md index adab33c19..b3602c386 100644 --- a/build/docs/PromptAssetEntityListing.md +++ b/build/docs/PromptAssetEntityListing.md @@ -11,8 +11,8 @@ title: PromptAssetEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/PromptEntityListing.md b/build/docs/PromptEntityListing.md index 56fbd27cf..32c036bec 100644 --- a/build/docs/PromptEntityListing.md +++ b/build/docs/PromptEntityListing.md @@ -11,8 +11,8 @@ title: PromptEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/QueueEntityListing.md b/build/docs/QueueEntityListing.md index e986e8762..ad799b987 100644 --- a/build/docs/QueueEntityListing.md +++ b/build/docs/QueueEntityListing.md @@ -11,8 +11,8 @@ title: QueueEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/QueueMemberEntityListingV1.md b/build/docs/QueueMemberEntityListingV1.md index 9be931396..91f215ea0 100644 --- a/build/docs/QueueMemberEntityListingV1.md +++ b/build/docs/QueueMemberEntityListingV1.md @@ -11,8 +11,8 @@ title: QueueMemberEntityListingV1 | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/RecipientListing.md b/build/docs/RecipientListing.md index 90c1e3604..00edfa2a8 100644 --- a/build/docs/RecipientListing.md +++ b/build/docs/RecipientListing.md @@ -11,8 +11,8 @@ title: RecipientListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/RecordingJobEntityListing.md b/build/docs/RecordingJobEntityListing.md index ef288a635..1137383e5 100644 --- a/build/docs/RecordingJobEntityListing.md +++ b/build/docs/RecordingJobEntityListing.md @@ -11,8 +11,8 @@ title: RecordingJobEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/RelationshipListing.md b/build/docs/RelationshipListing.md index 8545102fd..a10b3c500 100644 --- a/build/docs/RelationshipListing.md +++ b/build/docs/RelationshipListing.md @@ -12,8 +12,8 @@ title: RelationshipListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **PartialResults** | **bool?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ReportingExportJobListing.md b/build/docs/ReportingExportJobListing.md index 9f7272b8a..a080474c3 100644 --- a/build/docs/ReportingExportJobListing.md +++ b/build/docs/ReportingExportJobListing.md @@ -11,8 +11,8 @@ title: ReportingExportJobListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ReportingExportMetadataJobListing.md b/build/docs/ReportingExportMetadataJobListing.md index ef81fd96e..1a616690e 100644 --- a/build/docs/ReportingExportMetadataJobListing.md +++ b/build/docs/ReportingExportMetadataJobListing.md @@ -11,8 +11,8 @@ title: ReportingExportMetadataJobListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ResponseEntityList.md b/build/docs/ResponseEntityList.md index 7dddef8a2..00003905a 100644 --- a/build/docs/ResponseEntityList.md +++ b/build/docs/ResponseEntityList.md @@ -11,8 +11,8 @@ title: ResponseEntityList | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ResponseEntityListing.md b/build/docs/ResponseEntityListing.md index c2e6c419c..40e564ce0 100644 --- a/build/docs/ResponseEntityListing.md +++ b/build/docs/ResponseEntityListing.md @@ -11,8 +11,8 @@ title: ResponseEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ResponseSetEntityListing.md b/build/docs/ResponseSetEntityListing.md index 2d212f068..88d97061a 100644 --- a/build/docs/ResponseSetEntityListing.md +++ b/build/docs/ResponseSetEntityListing.md @@ -11,8 +11,8 @@ title: ResponseSetEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ResponseText.md b/build/docs/ResponseText.md index be57c2bd7..ba73010cc 100644 --- a/build/docs/ResponseText.md +++ b/build/docs/ResponseText.md @@ -9,6 +9,7 @@ title: ResponseText |------------ | ------------- | ------------- | -------------| | **Content** | **string** | Response text content. | | | **ContentType** | **string** | Response text content type. | [optional] | +| **Type** | **string** | Response text type. | [optional] | {: class="table table-striped"} diff --git a/build/docs/RoutingApi.md b/build/docs/RoutingApi.md index 2ab5d853a..bc56a7fc7 100644 --- a/build/docs/RoutingApi.md +++ b/build/docs/RoutingApi.md @@ -56,6 +56,7 @@ All URIs are relative to *https://api.mypurecloud.com* | [**GetRoutingPredictors**](RoutingApi.html#getroutingpredictors) | **Get** /api/v2/routing/predictors | Retrieve all predictors. | | [**GetRoutingPredictorsKeyperformanceindicators**](RoutingApi.html#getroutingpredictorskeyperformanceindicators) | **Get** /api/v2/routing/predictors/keyperformanceindicators | Get a list of Key Performance Indicators | | [**GetRoutingQueue**](RoutingApi.html#getroutingqueue) | **Get** /api/v2/routing/queues/{queueId} | Get details about this queue. | +| [**GetRoutingQueueAssistant**](RoutingApi.html#getroutingqueueassistant) | **Get** /api/v2/routing/queues/{queueId}/assistant | Get an assistant associated with a queue. | | [**GetRoutingQueueComparisonperiod**](RoutingApi.html#getroutingqueuecomparisonperiod) | **Get** /api/v2/routing/queues/{queueId}/comparisonperiods/{comparisonPeriodId} | Get a Comparison Period. | | [**GetRoutingQueueComparisonperiods**](RoutingApi.html#getroutingqueuecomparisonperiods) | **Get** /api/v2/routing/queues/{queueId}/comparisonperiods | Get list of comparison periods | | [**GetRoutingQueueEstimatedwaittime**](RoutingApi.html#getroutingqueueestimatedwaittime) | **Get** /api/v2/routing/queues/{queueId}/estimatedwaittime | Get Estimated Wait Time | @@ -3262,6 +3263,71 @@ namespace Example [**Queue**](Queue.html) + + +## [**AssistantQueue**](AssistantQueue.html) GetRoutingQueueAssistant (string queueId, string expand = null) + + + +Get an assistant associated with a queue. + +Requires ALL permissions: + +* assistants:queue:view + +### Example +```{"language":"csharp"} +using System; +using System.Diagnostics; +using PureCloudPlatform.Client.V2.Api; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace Example +{ + public class GetRoutingQueueAssistantExample + { + public void main() + { + // Configure OAuth2 access token for authorization: PureCloud OAuth + // The following example is using the Authorization Code Grant + var accessTokenInfo = Configuration.Default.ApiClient.PostToken("18a4c365-7ea3-4f0g-9fb7-884fb4d2e9c6", + "M7FfdYQyL5TA6BdbEZ8M9-Wx4uZai1rNQ7jcuFdcJJo", + "http://redirecturi.com/", + "6Zxcb0oASMBI55wQJ6bVmOmO57k8CxXBKgzDKtYXbtk"); + + var apiInstance = new RoutingApi(); + var queueId = queueId_example; // string | Queue ID + var expand = expand_example; // string | Which fields, if any, to expand. (optional) + + try + { + // Get an assistant associated with a queue. + AssistantQueue result = apiInstance.GetRoutingQueueAssistant(queueId, expand); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling RoutingApi.GetRoutingQueueAssistant: " + e.Message ); + } + } + } +} +``` + +### Parameters + + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **queueId** | **string**| Queue ID | | +| **expand** | **string**| Which fields, if any, to expand. | [optional]
**Values**: assistant | +{: class="table table-striped"} + +### Return type + +[**AssistantQueue**](AssistantQueue.html) + ## [**ComparisonPeriod**](ComparisonPeriod.html) GetRoutingQueueComparisonperiod (string queueId, string comparisonPeriodId) diff --git a/build/docs/RoutingConversationAttributesRequest.md b/build/docs/RoutingConversationAttributesRequest.md index f25d3970b..d1e9f2396 100644 --- a/build/docs/RoutingConversationAttributesRequest.md +++ b/build/docs/RoutingConversationAttributesRequest.md @@ -10,6 +10,7 @@ title: RoutingConversationAttributesRequest | **Priority** | **int?** | Priority for the conversation. Each point of priority is equivalent to one minute of time in queue. Range:[-25000000, 25000000]. To reset, specify 0. | [optional] | | **SkillIds** | **List<string>** | Skill requirements for the conversation. To remove all skill requirements, specify an empty list, i.e. []. | [optional] | | **LanguageId** | **string** | Language requirement for the conversation. To remove the language requirement, specify an empty string, i.e., \"\". | [optional] | +| **LabelId** | **string** | Label requirement for the conversation. To remove the label requirement (setting it to System Default Label), specify an empty string, i.e., \"\". | [optional] | | **RequestScoredAgents** | [**List<RequestScoredAgent>**](RequestScoredAgent.html) | | [optional] | {: class="table table-striped"} diff --git a/build/docs/RoutingConversationAttributesResponse.md b/build/docs/RoutingConversationAttributesResponse.md index 894616d90..6c0a20159 100644 --- a/build/docs/RoutingConversationAttributesResponse.md +++ b/build/docs/RoutingConversationAttributesResponse.md @@ -10,6 +10,7 @@ title: RoutingConversationAttributesResponse | **Priority** | **int?** | Current priority value on in-queue conversation. Range:[-25000000, 25000000] | [optional] | | **Skills** | [**List<RoutingSkill>**](RoutingSkill.html) | Current routing skills on in-queue conversation | [optional] | | **Language** | [**Language**](Language.html) | Current language on in-queue conversation | [optional] | +| **Label** | [**UtilizationLabel**](UtilizationLabel.html) | Current label on in-queue conversation | [optional] | | **ScoredAgents** | [**List<ScoredAgent>**](ScoredAgent.html) | Current scored agents on in-queue conversation | [optional] | {: class="table table-striped"} diff --git a/build/docs/RuleConfig.md b/build/docs/RuleConfig.md new file mode 100644 index 000000000..d40db2667 --- /dev/null +++ b/build/docs/RuleConfig.md @@ -0,0 +1,15 @@ +--- +title: RuleConfig +--- +## ININ.PureCloudApi.Model.RuleConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | Rule ID. | [optional] | +| **Enabled** | **bool?** | Rule enabled. | | +| **Rule** | [**CopilotRule**](CopilotRule.html) | Rule configuration. | | +{: class="table table-striped"} + + diff --git a/build/docs/RuleEngineConfig.md b/build/docs/RuleEngineConfig.md new file mode 100644 index 000000000..7a2a40a6e --- /dev/null +++ b/build/docs/RuleEngineConfig.md @@ -0,0 +1,14 @@ +--- +title: RuleEngineConfig +--- +## ININ.PureCloudApi.Model.RuleEngineConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Rules** | [**List<RuleConfig>**](RuleConfig.html) | List of rules to evaluate by the engine. | | +| **Fallback** | [**Fallback**](Fallback.html) | Fallback configuration. | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/RuleSetEntityListing.md b/build/docs/RuleSetEntityListing.md index 16784b560..bfc70cc8e 100644 --- a/build/docs/RuleSetEntityListing.md +++ b/build/docs/RuleSetEntityListing.md @@ -11,8 +11,8 @@ title: RuleSetEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ScheduleDivisionViewEntityListing.md b/build/docs/ScheduleDivisionViewEntityListing.md index 898a01a57..88f787530 100644 --- a/build/docs/ScheduleDivisionViewEntityListing.md +++ b/build/docs/ScheduleDivisionViewEntityListing.md @@ -12,8 +12,8 @@ title: ScheduleDivisionViewEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ScheduleEntityListing.md b/build/docs/ScheduleEntityListing.md index 117ed9bab..494b31ed6 100644 --- a/build/docs/ScheduleEntityListing.md +++ b/build/docs/ScheduleEntityListing.md @@ -12,8 +12,8 @@ title: ScheduleEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ScheduleGroupDivisionViewEntityListing.md b/build/docs/ScheduleGroupDivisionViewEntityListing.md index 51b250c66..7ef76f030 100644 --- a/build/docs/ScheduleGroupDivisionViewEntityListing.md +++ b/build/docs/ScheduleGroupDivisionViewEntityListing.md @@ -12,8 +12,8 @@ title: ScheduleGroupDivisionViewEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ScheduleGroupEntityListing.md b/build/docs/ScheduleGroupEntityListing.md index f8cfefaec..cb60ebb78 100644 --- a/build/docs/ScheduleGroupEntityListing.md +++ b/build/docs/ScheduleGroupEntityListing.md @@ -12,8 +12,8 @@ title: ScheduleGroupEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ScreenRecordingSessionListing.md b/build/docs/ScreenRecordingSessionListing.md index 42505f54a..9c653b70b 100644 --- a/build/docs/ScreenRecordingSessionListing.md +++ b/build/docs/ScreenRecordingSessionListing.md @@ -11,8 +11,8 @@ title: ScreenRecordingSessionListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/ScriptEntityListing.md b/build/docs/ScriptEntityListing.md index 3a5acd84e..24a026647 100644 --- a/build/docs/ScriptEntityListing.md +++ b/build/docs/ScriptEntityListing.md @@ -11,8 +11,8 @@ title: ScriptEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SecurityProfileEntityListing.md b/build/docs/SecurityProfileEntityListing.md index 1771bbbab..b6f137c4a 100644 --- a/build/docs/SecurityProfileEntityListing.md +++ b/build/docs/SecurityProfileEntityListing.md @@ -11,8 +11,8 @@ title: SecurityProfileEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SegmentListing.md b/build/docs/SegmentListing.md index cae4a88f7..41b225ebe 100644 --- a/build/docs/SegmentListing.md +++ b/build/docs/SegmentListing.md @@ -11,8 +11,8 @@ title: SegmentListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SettingsApi.md b/build/docs/SettingsApi.md index 4ccfa1863..b2f3d25e2 100644 --- a/build/docs/SettingsApi.md +++ b/build/docs/SettingsApi.md @@ -147,8 +147,6 @@ Get the execution history enabled setting. Get the execution history enabled setting. -GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ANY permissions: * settings:executiondata:view @@ -335,8 +333,6 @@ Edit the execution history on off setting. Edit the execution history on off setting. -PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice - Requires ANY permissions: * settings:executiondata:edit diff --git a/build/docs/ShareEntityListing.md b/build/docs/ShareEntityListing.md index 798464717..d74a0c715 100644 --- a/build/docs/ShareEntityListing.md +++ b/build/docs/ShareEntityListing.md @@ -11,8 +11,8 @@ title: ShareEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SiteEntityListing.md b/build/docs/SiteEntityListing.md index 4717a70fd..89592d31c 100644 --- a/build/docs/SiteEntityListing.md +++ b/build/docs/SiteEntityListing.md @@ -12,8 +12,8 @@ title: SiteEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SkillEntityListing.md b/build/docs/SkillEntityListing.md index 8eeb60982..7f59865d6 100644 --- a/build/docs/SkillEntityListing.md +++ b/build/docs/SkillEntityListing.md @@ -11,8 +11,8 @@ title: SkillEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SmsAddressEntityListing.md b/build/docs/SmsAddressEntityListing.md index 75a841895..bf0cc85a1 100644 --- a/build/docs/SmsAddressEntityListing.md +++ b/build/docs/SmsAddressEntityListing.md @@ -11,8 +11,8 @@ title: SmsAddressEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SmsPhoneNumberEntityListing.md b/build/docs/SmsPhoneNumberEntityListing.md index 16f46f156..ea06eadd7 100644 --- a/build/docs/SmsPhoneNumberEntityListing.md +++ b/build/docs/SmsPhoneNumberEntityListing.md @@ -11,8 +11,8 @@ title: SmsPhoneNumberEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/StationEntityListing.md b/build/docs/StationEntityListing.md index 98b712f98..a3ae3fb58 100644 --- a/build/docs/StationEntityListing.md +++ b/build/docs/StationEntityListing.md @@ -12,8 +12,8 @@ title: StationEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SttEngineEntityListing.md b/build/docs/SttEngineEntityListing.md index dbf4fed8a..39e7f95cf 100644 --- a/build/docs/SttEngineEntityListing.md +++ b/build/docs/SttEngineEntityListing.md @@ -11,8 +11,8 @@ title: SttEngineEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SubjectDivisionGrantsEntityListing.md b/build/docs/SubjectDivisionGrantsEntityListing.md index d438aa592..f9b5a2266 100644 --- a/build/docs/SubjectDivisionGrantsEntityListing.md +++ b/build/docs/SubjectDivisionGrantsEntityListing.md @@ -11,8 +11,8 @@ title: SubjectDivisionGrantsEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SummaryGenerationConfig.md b/build/docs/SummaryGenerationConfig.md new file mode 100644 index 000000000..8d6063495 --- /dev/null +++ b/build/docs/SummaryGenerationConfig.md @@ -0,0 +1,13 @@ +--- +title: SummaryGenerationConfig +--- +## ININ.PureCloudApi.Model.SummaryGenerationConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Enabled** | **bool?** | Copilot generated summary is enabled. | | +{: class="table table-striped"} + + diff --git a/build/docs/SupportedContentListing.md b/build/docs/SupportedContentListing.md index 3e7bb01c1..597d3b2a0 100644 --- a/build/docs/SupportedContentListing.md +++ b/build/docs/SupportedContentListing.md @@ -11,8 +11,8 @@ title: SupportedContentListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SurveyFormEntityListing.md b/build/docs/SurveyFormEntityListing.md index cf4ec134c..f1f49dc4b 100644 --- a/build/docs/SurveyFormEntityListing.md +++ b/build/docs/SurveyFormEntityListing.md @@ -11,8 +11,8 @@ title: SurveyFormEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SystemPromptAssetEntityListing.md b/build/docs/SystemPromptAssetEntityListing.md index 53d583bc2..1c04f2a04 100644 --- a/build/docs/SystemPromptAssetEntityListing.md +++ b/build/docs/SystemPromptAssetEntityListing.md @@ -11,8 +11,8 @@ title: SystemPromptAssetEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/SystemPromptEntityListing.md b/build/docs/SystemPromptEntityListing.md index cb797d813..dc9326b9b 100644 --- a/build/docs/SystemPromptEntityListing.md +++ b/build/docs/SystemPromptEntityListing.md @@ -11,8 +11,8 @@ title: SystemPromptEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TagValueEntityListing.md b/build/docs/TagValueEntityListing.md index 8f9babd3c..00f416652 100644 --- a/build/docs/TagValueEntityListing.md +++ b/build/docs/TagValueEntityListing.md @@ -11,8 +11,8 @@ title: TagValueEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TaskManagementApi.md b/build/docs/TaskManagementApi.md index f820eb52d..75b67b89e 100644 --- a/build/docs/TaskManagementApi.md +++ b/build/docs/TaskManagementApi.md @@ -1491,7 +1491,7 @@ namespace Example |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **worktypeId** | **string**| Worktype id | | -| **expands** | [**List**](string.html)| Which fields, if any, to expand. | [optional]
**Values**: defaultQueue, defaultSkills, defaultLanguage, schema | +| **expands** | [**List**](string.html)| Which fields, if any, to expand. | [optional]
**Values**: defaultQueue, defaultSkills, defaultLanguage, schema, flow | {: class="table table-striped"} ### Return type diff --git a/build/docs/TimeZoneEntityListing.md b/build/docs/TimeZoneEntityListing.md index 8cd81bfa0..d27c41916 100644 --- a/build/docs/TimeZoneEntityListing.md +++ b/build/docs/TimeZoneEntityListing.md @@ -11,8 +11,8 @@ title: TimeZoneEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TranscriptionConfig.md b/build/docs/TranscriptionConfig.md new file mode 100644 index 000000000..e7d730f18 --- /dev/null +++ b/build/docs/TranscriptionConfig.md @@ -0,0 +1,13 @@ +--- +title: TranscriptionConfig +--- +## ININ.PureCloudApi.Model.TranscriptionConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **VendorName** | **string** | The name of the vendor used for speech transcription. | | +{: class="table table-striped"} + + diff --git a/build/docs/TransferRequest.md b/build/docs/TransferRequest.md index b9dc0dbc9..31fed9db1 100644 --- a/build/docs/TransferRequest.md +++ b/build/docs/TransferRequest.md @@ -8,6 +8,7 @@ title: TransferRequest |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **TransferType** | **string** | The type of transfer to perform. Attended, where the initiating agent maintains ownership of the conversation until the intended recipient accepts the transfer, or Unattended, where the initiating agent immediately disconnects. Default is Unattended. | [optional] | +| **KeepInternalMessageAlive** | **bool?** | If true, the digital internal message will NOT be terminated. | [optional] | | **UserId** | **string** | The user ID of the transfer target. | [optional] | | **Address** | **string** | The user ID or queue ID of the transfer target. Address like a phone number can not be used for callbacks, but they can be used for other forms of communication. | [optional] | | **UserName** | **string** | The user name of the transfer target. | [optional] | diff --git a/build/docs/TransferToAgentRequest.md b/build/docs/TransferToAgentRequest.md index 835f16044..eaad6dd6a 100644 --- a/build/docs/TransferToAgentRequest.md +++ b/build/docs/TransferToAgentRequest.md @@ -8,6 +8,7 @@ title: TransferToAgentRequest |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **TransferType** | **string** | The type of transfer to perform. Attended, where the initiating agent maintains ownership of the conversation until the intended recipient accepts the transfer, or Unattended, where the initiating agent immediately disconnects. Default is Unattended. | [optional] | +| **KeepInternalMessageAlive** | **bool?** | If true, the digital internal message will NOT be terminated. | [optional] | | **UserId** | **string** | The id of the internal user. | [optional] | | **UserName** | **string** | The userName (like user’s email) of the internal user. | [optional] | | **UserDisplayName** | **string** | The name of the internal user. | [optional] | diff --git a/build/docs/TransferToExternalRequest.md b/build/docs/TransferToExternalRequest.md index b8b9250f9..3a2b8bb8a 100644 --- a/build/docs/TransferToExternalRequest.md +++ b/build/docs/TransferToExternalRequest.md @@ -8,6 +8,7 @@ title: TransferToExternalRequest |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **TransferType** | **string** | The type of transfer to perform. Attended, where the initiating agent maintains ownership of the conversation until the intended recipient accepts the transfer, or Unattended, where the initiating agent immediately disconnects. Default is Unattended. | [optional] | +| **KeepInternalMessageAlive** | **bool?** | If true, the digital internal message will NOT be terminated. | [optional] | | **Address** | **string** | The address (like phone number) of the external contact. | [optional] | {: class="table table-striped"} diff --git a/build/docs/TransferToQueueRequest.md b/build/docs/TransferToQueueRequest.md index bef862870..57cd0e96f 100644 --- a/build/docs/TransferToQueueRequest.md +++ b/build/docs/TransferToQueueRequest.md @@ -8,6 +8,7 @@ title: TransferToQueueRequest |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **TransferType** | **string** | The type of transfer to perform. Attended, where the initiating agent maintains ownership of the conversation until the intended recipient accepts the transfer, or Unattended, where the initiating agent immediately disconnects. Default is Unattended. | [optional] | +| **KeepInternalMessageAlive** | **bool?** | If true, the digital internal message will NOT be terminated. | [optional] | | **QueueId** | **string** | The id of the queue. | [optional] | | **QueueName** | **string** | The name of the queue. | [optional] | {: class="table table-striped"} diff --git a/build/docs/TrunkBaseEntityListing.md b/build/docs/TrunkBaseEntityListing.md index 5707a5eb9..2edf056cf 100644 --- a/build/docs/TrunkBaseEntityListing.md +++ b/build/docs/TrunkBaseEntityListing.md @@ -12,8 +12,8 @@ title: TrunkBaseEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TrunkEntityListing.md b/build/docs/TrunkEntityListing.md index b80ef1495..1c9a17da2 100644 --- a/build/docs/TrunkEntityListing.md +++ b/build/docs/TrunkEntityListing.md @@ -12,8 +12,8 @@ title: TrunkEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TrunkMetabaseEntityListing.md b/build/docs/TrunkMetabaseEntityListing.md index e4baf2113..973b27ee1 100644 --- a/build/docs/TrunkMetabaseEntityListing.md +++ b/build/docs/TrunkMetabaseEntityListing.md @@ -12,8 +12,8 @@ title: TrunkMetabaseEntityListing | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | | **TotalNumberOfEntities** | **long?** | The total organization-wide number of entities. | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TrustEntityListing.md b/build/docs/TrustEntityListing.md index 0364d3365..e49ead0b6 100644 --- a/build/docs/TrustEntityListing.md +++ b/build/docs/TrustEntityListing.md @@ -11,8 +11,8 @@ title: TrustEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TrustGroupEntityListing.md b/build/docs/TrustGroupEntityListing.md index 07ef71ce4..bb0926aef 100644 --- a/build/docs/TrustGroupEntityListing.md +++ b/build/docs/TrustGroupEntityListing.md @@ -11,8 +11,8 @@ title: TrustGroupEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TrustUserEntityListing.md b/build/docs/TrustUserEntityListing.md index f9450af3f..6544d5aac 100644 --- a/build/docs/TrustUserEntityListing.md +++ b/build/docs/TrustUserEntityListing.md @@ -11,8 +11,8 @@ title: TrustUserEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TrustorEntityListing.md b/build/docs/TrustorEntityListing.md index 599521d7a..e7f6e8d64 100644 --- a/build/docs/TrustorEntityListing.md +++ b/build/docs/TrustorEntityListing.md @@ -11,8 +11,8 @@ title: TrustorEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TtsEngineEntityListing.md b/build/docs/TtsEngineEntityListing.md index cb391df3e..112faf07a 100644 --- a/build/docs/TtsEngineEntityListing.md +++ b/build/docs/TtsEngineEntityListing.md @@ -11,8 +11,8 @@ title: TtsEngineEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/TtsVoiceEntityListing.md b/build/docs/TtsVoiceEntityListing.md index de3156713..8251abfd3 100644 --- a/build/docs/TtsVoiceEntityListing.md +++ b/build/docs/TtsVoiceEntityListing.md @@ -11,8 +11,8 @@ title: TtsVoiceEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UCIntegrationListing.md b/build/docs/UCIntegrationListing.md index d999bac45..1b1566dab 100644 --- a/build/docs/UCIntegrationListing.md +++ b/build/docs/UCIntegrationListing.md @@ -11,8 +11,8 @@ title: UCIntegrationListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UnifiedCommunicationsIntegrationListing.md b/build/docs/UnifiedCommunicationsIntegrationListing.md index 01dc7e147..400d01e35 100644 --- a/build/docs/UnifiedCommunicationsIntegrationListing.md +++ b/build/docs/UnifiedCommunicationsIntegrationListing.md @@ -11,8 +11,8 @@ title: UnifiedCommunicationsIntegrationListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserAppEntityListing.md b/build/docs/UserAppEntityListing.md index 8704b185c..27c10711f 100644 --- a/build/docs/UserAppEntityListing.md +++ b/build/docs/UserAppEntityListing.md @@ -11,8 +11,8 @@ title: UserAppEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserEntityListing.md b/build/docs/UserEntityListing.md index 270f893d1..983451dbd 100644 --- a/build/docs/UserEntityListing.md +++ b/build/docs/UserEntityListing.md @@ -11,8 +11,8 @@ title: UserEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserLanguageEntityListing.md b/build/docs/UserLanguageEntityListing.md index de6b7b877..3c75fa271 100644 --- a/build/docs/UserLanguageEntityListing.md +++ b/build/docs/UserLanguageEntityListing.md @@ -11,8 +11,8 @@ title: UserLanguageEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserProfileEntityListing.md b/build/docs/UserProfileEntityListing.md index 02d67015c..f670f95d8 100644 --- a/build/docs/UserProfileEntityListing.md +++ b/build/docs/UserProfileEntityListing.md @@ -11,8 +11,8 @@ title: UserProfileEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserQueueEntityListing.md b/build/docs/UserQueueEntityListing.md index 46d31cb38..9e26d44a7 100644 --- a/build/docs/UserQueueEntityListing.md +++ b/build/docs/UserQueueEntityListing.md @@ -11,8 +11,8 @@ title: UserQueueEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserRecordingEntityListing.md b/build/docs/UserRecordingEntityListing.md index 37efdd8e4..5a9a30b9d 100644 --- a/build/docs/UserRecordingEntityListing.md +++ b/build/docs/UserRecordingEntityListing.md @@ -11,8 +11,8 @@ title: UserRecordingEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UserSkillEntityListing.md b/build/docs/UserSkillEntityListing.md index 8f561f239..077b8b1b2 100644 --- a/build/docs/UserSkillEntityListing.md +++ b/build/docs/UserSkillEntityListing.md @@ -11,8 +11,8 @@ title: UserSkillEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UsersApi.md b/build/docs/UsersApi.md index 671b9f8d4..4389b0c2b 100644 --- a/build/docs/UsersApi.md +++ b/build/docs/UsersApi.md @@ -425,6 +425,7 @@ Delete user Requires ANY permissions: +* admin * directory:user:delete * directory:organization:admin @@ -3534,6 +3535,7 @@ Update user Requires ANY permissions: +* admin * directory:user:edit * directory:organization:admin @@ -4850,6 +4852,7 @@ Send an activation email to the user Requires ANY permissions: +* admin * directory:organization:admin * directory:userPassword:edit diff --git a/build/docs/UtilizationLabelEntityListing.md b/build/docs/UtilizationLabelEntityListing.md index d7515e641..684192d04 100644 --- a/build/docs/UtilizationLabelEntityListing.md +++ b/build/docs/UtilizationLabelEntityListing.md @@ -11,8 +11,8 @@ title: UtilizationLabelEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/UtilizationTagEntityListing.md b/build/docs/UtilizationTagEntityListing.md index 5fc86961a..19e34c7a7 100644 --- a/build/docs/UtilizationTagEntityListing.md +++ b/build/docs/UtilizationTagEntityListing.md @@ -11,8 +11,8 @@ title: UtilizationTagEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/VoicemailMessageEntityListing.md b/build/docs/VoicemailMessageEntityListing.md index 7da59970f..84c71215f 100644 --- a/build/docs/VoicemailMessageEntityListing.md +++ b/build/docs/VoicemailMessageEntityListing.md @@ -11,8 +11,8 @@ title: VoicemailMessageEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/WebChatMemberInfoEntityList.md b/build/docs/WebChatMemberInfoEntityList.md index 2fa78d54d..6d681427e 100644 --- a/build/docs/WebChatMemberInfoEntityList.md +++ b/build/docs/WebChatMemberInfoEntityList.md @@ -11,8 +11,8 @@ title: WebChatMemberInfoEntityList | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/WhatsAppIntegrationEntityListing.md b/build/docs/WhatsAppIntegrationEntityListing.md index ee00779f4..0da4955c0 100644 --- a/build/docs/WhatsAppIntegrationEntityListing.md +++ b/build/docs/WhatsAppIntegrationEntityListing.md @@ -11,8 +11,8 @@ title: WhatsAppIntegrationEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/WorkforceManagementApi.md b/build/docs/WorkforceManagementApi.md index 83205eed8..cac2ecf32 100644 --- a/build/docs/WorkforceManagementApi.md +++ b/build/docs/WorkforceManagementApi.md @@ -2539,7 +2539,7 @@ namespace Example |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **businessUnitId** | **string**| The ID of the business unit, or 'mine' for the business unit of the logged-in user. | | -| **expand** | [**List**](string.html)| Include to access additional data on the business unit | [optional]
**Values**: settings, settings.timeZone, settings.startDayOfWeek, settings.shortTermForecasting, settings.scheduling | +| **expand** | [**List**](string.html)| Include to access additional data on the business unit | [optional]
**Values**: settings, settings.timeZone, settings.startDayOfWeek, settings.shortTermForecasting, settings.scheduling, settings.notifications.scheduling, settings.learning, settings.coaching | {: class="table table-striped"} ### Return type diff --git a/build/docs/WorkitemFlowReference.md b/build/docs/WorkitemFlowReference.md new file mode 100644 index 000000000..2883c9a33 --- /dev/null +++ b/build/docs/WorkitemFlowReference.md @@ -0,0 +1,15 @@ +--- +title: WorkitemFlowReference +--- +## ININ.PureCloudApi.Model.WorkitemFlowReference + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Id** | **string** | The globally unique identifier for the object. | [optional] | +| **Name** | **string** | | [optional] | +| **SelfUri** | **string** | The URI for this object | [optional] | +{: class="table table-striped"} + + diff --git a/build/docs/WorkitemRuleSettings.md b/build/docs/WorkitemRuleSettings.md new file mode 100644 index 000000000..87d5d06b1 --- /dev/null +++ b/build/docs/WorkitemRuleSettings.md @@ -0,0 +1,12 @@ +--- +title: WorkitemRuleSettings +--- +## ININ.PureCloudApi.Model.WorkitemRuleSettings + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +{: class="table table-striped"} + + diff --git a/build/docs/WorkspaceEntityListing.md b/build/docs/WorkspaceEntityListing.md index 3bd536606..69e43c031 100644 --- a/build/docs/WorkspaceEntityListing.md +++ b/build/docs/WorkspaceEntityListing.md @@ -11,8 +11,8 @@ title: WorkspaceEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/WorkspaceMemberEntityListing.md b/build/docs/WorkspaceMemberEntityListing.md index ce2ccb6c2..016e4a66d 100644 --- a/build/docs/WorkspaceMemberEntityListing.md +++ b/build/docs/WorkspaceMemberEntityListing.md @@ -11,8 +11,8 @@ title: WorkspaceMemberEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/WrapupCodeEntityListing.md b/build/docs/WrapupCodeEntityListing.md index 7e6e82d7b..8bc45fe00 100644 --- a/build/docs/WrapupCodeEntityListing.md +++ b/build/docs/WrapupCodeEntityListing.md @@ -11,8 +11,8 @@ title: WrapupCodeEntityListing | **PageSize** | **int?** | | [optional] | | **PageNumber** | **int?** | | [optional] | | **Total** | **long?** | | [optional] | -| **LastUri** | **string** | | [optional] | | **FirstUri** | **string** | | [optional] | +| **LastUri** | **string** | | [optional] | | **SelfUri** | **string** | | [optional] | | **NextUri** | **string** | | [optional] | | **PreviousUri** | **string** | | [optional] | diff --git a/build/docs/WrapupCodePredictionConfig.md b/build/docs/WrapupCodePredictionConfig.md new file mode 100644 index 000000000..b203f6b84 --- /dev/null +++ b/build/docs/WrapupCodePredictionConfig.md @@ -0,0 +1,13 @@ +--- +title: WrapupCodePredictionConfig +--- +## ININ.PureCloudApi.Model.WrapupCodePredictionConfig + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +| **Enabled** | **bool?** | Copilot generated wrapup code prediction is enabled. | | +{: class="table table-striped"} + + diff --git a/build/docs/releaseNotes.md b/build/docs/releaseNotes.md index eefb2672f..122a24cb7 100644 --- a/build/docs/releaseNotes.md +++ b/build/docs/releaseNotes.md @@ -1,12 +1,338 @@ -Platform API version: 8358 +Platform API version: 8400 -# Major Changes (0 changes) +# Major Changes (8 changes) +**GET /api/v2/analytics/reporting/settings/dashboards/query** (1 change) -# Minor Changes (0 changes) +* Parameter name was added +**GET /api/v2/journey/views** (1 change) -# Point Changes (0 changes) +* Parameter id was added + +**JourneyViewElementFilterRangeData** (1 change) + +* Property number was changed from integer to number + +**ActivityCodesReference** (1 change) + +* Property id was removed + +**FunctionZipConfig** (4 changes) + +* status has been made readonly +* id has been made readonly +* name has been made readonly +* dateCreated has been made readonly + + +# Minor Changes (95 changes) + +**/api/v2/assistants/{assistantId}/copilot** (3 changes) + +* Path was added +* Operation GET was added +* Operation PUT was added + +**/api/v2/assistants/{assistantId}/queues/{queueId}** (4 changes) + +* Path was added +* Operation GET was added +* Operation PUT was added +* Operation DELETE was added + +**/api/v2/assistants/{assistantId}/queues** (4 changes) + +* Path was added +* Operation GET was added +* Operation DELETE was added +* Operation PATCH was added + +**/api/v2/assistants/{assistantId}** (4 changes) + +* Path was added +* Operation GET was added +* Operation DELETE was added +* Operation PATCH was added + +**/api/v2/assistants** (3 changes) + +* Path was added +* Operation GET was added +* Operation POST was added + +**/api/v2/assistants/queues** (2 changes) + +* Path was added +* Operation GET was added + +**/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers** (2 changes) + +* Path was added +* Operation POST was added + +**/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}** (1 change) + +* Operation patch was added. Summary: Update feedback on a document + +**/api/v2/knowledge/guest/sessions/{sessionId}/documents/answers** (2 changes) + +* Path was added +* Operation POST was added + +**/api/v2/routing/queues/{queueId}/assistant** (2 changes) + +* Path was added +* Operation GET was added + +**/api/v2/externalcontacts/externalsources/{externalSourceId}** (4 changes) + +* Path was added +* Operation GET was added +* Operation PUT was added +* Operation DELETE was added + +**/api/v2/externalcontacts/externalsources** (3 changes) + +* Path was added +* Operation GET was added +* Operation POST was added + +**ReportingTurnAction** (2 changes) + +* Enum value GetAttributesAction was added to property actionType +* Enum value SetAttributesAction was added to property actionType + +**ReportingExportJobResponse** (2 changes) + +* Enum value SOCIAL_LISTENING_POSTS_VIEW was added to property viewType +* Enum value AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW was added to property viewType + +**ReportingExportMetadataJobResponse** (2 changes) + +* Enum value SOCIAL_LISTENING_POSTS_VIEW was added to property viewType +* Enum value AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW was added to property viewType + +**ReportingExportJobRequest** (2 changes) + +* Enum value SOCIAL_LISTENING_POSTS_VIEW was added to property viewType +* Enum value AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW was added to property viewType + +**AnswerGenerationConfig** (1 change) + +* Model was added + +**Copilot** (1 change) + +* Model was added + +**CopilotAction** (1 change) + +* Model was added + +**CopilotCondition** (1 change) + +* Model was added + +**CopilotFallbackAction** (1 change) + +* Model was added + +**CopilotNluDomain** (1 change) + +* Model was added + +**CopilotNluDomainVersion** (1 change) + +* Model was added + +**CopilotRule** (1 change) + +* Model was added + +**Fallback** (1 change) + +* Model was added + +**KnowledgeAnswerConfig** (1 change) + +* Model was added + +**NluConfig** (1 change) + +* Model was added + +**RuleConfig** (1 change) + +* Model was added + +**RuleEngineConfig** (1 change) + +* Model was added + +**SummaryGenerationConfig** (1 change) + +* Model was added + +**WrapupCodePredictionConfig** (1 change) + +* Model was added + +**Assistant** (1 change) + +* Model was added + +**AssistantQueue** (1 change) + +* Model was added + +**ConversationProfile** (1 change) + +* Model was added + +**GoogleDialogflowConfig** (1 change) + +* Model was added + +**KnowledgeBaseWithDialectReference** (1 change) + +* Model was added + +**KnowledgeSuggestionConfig** (1 change) + +* Model was added + +**TranscriptionConfig** (1 change) + +* Model was added + +**AssistantQueueListing** (1 change) + +* Model was added + +**AssistantListing** (1 change) + +* Model was added + +**TransferRequest** (1 change) + +* Optional property keepInternalMessageAlive was added + +**TransferToAgentRequest** (1 change) + +* Optional property keepInternalMessageAlive was added + +**TransferToQueueRequest** (1 change) + +* Optional property keepInternalMessageAlive was added + +**TransferToExternalRequest** (1 change) + +* Optional property keepInternalMessageAlive was added + +**CampaignRuleConditionGroup** (1 change) + +* Model was added + +**KnowledgeAnswerDocumentResponse** (1 change) + +* Model was added + +**KnowledgeAnswerDocumentsResponse** (1 change) + +* Model was added + +**KnowledgeDocumentsAnswerFilter** (1 change) + +* Model was added + +**KnowledgeDocumentFeedbackUpdateRequest** (1 change) + +* Model was added + +**IpAddressRange** (1 change) + +* Enum value audio-connector was added to property service + +**KnowledgeGuestAnswerDocumentResponse** (1 change) + +* Model was added + +**KnowledgeGuestAnswerDocumentsResponse** (1 change) + +* Model was added + +**ResponseText** (1 change) + +* Optional property type was added + +**RoutingConversationAttributesResponse** (1 change) + +* Optional property label was added + +**RoutingConversationAttributesRequest** (1 change) + +* Optional property labelId was added + +**ConversationAppSettings** (1 change) + +* Optional property notifications was added + +**BuActivitySettingsResponse** (1 change) + +* Model was added + +**BuNotificationSettingsResponse** (1 change) + +* Model was added + +**BuScheduleNotificationsCategorySettings** (1 change) + +* Model was added + +**BuScheduleNotificationsSettingsResponse** (1 change) + +* Model was added + +**BuActivitySettingsRequest** (1 change) + +* Model was added + +**BuNotificationSettingsRequest** (1 change) + +* Model was added + +**BuScheduleNotificationsSettingsRequest** (1 change) + +* Model was added + +**WorkitemFlowReference** (1 change) + +* Model was added + +**WorkitemRuleSettings** (1 change) + +* Model was added + +**CursorExternalSourceListing** (1 change) + +* Model was added + +**FunctionConfig** (1 change) + +* Optional property uploadExceptionHistory was added + +**FunctionZipConfig** (2 changes) + +* Optional property errorMessage was added +* Optional property requestId was added + + +# Point Changes (1 change) + +**GET /api/v2/externalcontacts/contacts/{contactId}** (1 change) + +* Description was changed for parameter expand diff --git a/build/src/PureCloudPlatform.Client.V2/Api/AgentAssistantsApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/AgentAssistantsApi.cs new file mode 100644 index 000000000..0538f1cb5 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Api/AgentAssistantsApi.cs @@ -0,0 +1,3521 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace PureCloudPlatform.Client.V2.Api +{ + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IAgentAssistantsApi : IApiAccessor + { + #region Synchronous Operations + + /// + /// Delete an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + + void DeleteAssistant (string assistantId); + + /// + /// Delete an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// ApiResponse of Object(void) + + ApiResponse DeleteAssistantWithHttpInfo (string assistantId); + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + + void DeleteAssistantQueue (string assistantId, string queueId); + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// ApiResponse of Object(void) + + ApiResponse DeleteAssistantQueueWithHttpInfo (string assistantId, string queueId); + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// + + void DeleteAssistantQueues (string assistantId, string queueIds = null); + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// ApiResponse of Object(void) + + ApiResponse DeleteAssistantQueuesWithHttpInfo (string assistantId, string queueIds = null); + + /// + /// Get an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// Assistant + + Assistant GetAssistant (string assistantId, string expand = null); + + /// + /// Get an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// ApiResponse of Assistant + + ApiResponse GetAssistantWithHttpInfo (string assistantId, string expand = null); + + /// + /// Get queue Information for an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// AssistantQueue + + AssistantQueue GetAssistantQueue (string assistantId, string queueId, string expand = null); + + /// + /// Get queue Information for an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueue + + ApiResponse GetAssistantQueueWithHttpInfo (string assistantId, string queueId, string expand = null); + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// AssistantQueueListing + + AssistantQueueListing GetAssistantQueues (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null); + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueueListing + + ApiResponse GetAssistantQueuesWithHttpInfo (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null); + + /// + /// Get all assistants. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// AssistantListing + + AssistantListing GetAssistants (string before = null, string after = null, string limit = null, string pageSize = null, string name = null); + + /// + /// Get all assistants. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// ApiResponse of AssistantListing + + ApiResponse GetAssistantsWithHttpInfo (string before = null, string after = null, string limit = null, string pageSize = null, string name = null); + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// AssistantQueueListing + + AssistantQueueListing GetAssistantsQueues (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null); + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueueListing + + ApiResponse GetAssistantsQueuesWithHttpInfo (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null); + + /// + /// Update an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Assistant + + Assistant PatchAssistant (string assistantId, Assistant body); + + /// + /// Update an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// ApiResponse of Assistant + + ApiResponse PatchAssistantWithHttpInfo (string assistantId, Assistant body); + + /// + /// Update Queues for an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// AssistantQueueListing + + AssistantQueueListing PatchAssistantQueues (string assistantId, List body); + + /// + /// Update Queues for an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// ApiResponse of AssistantQueueListing + + ApiResponse PatchAssistantQueuesWithHttpInfo (string assistantId, List body); + + /// + /// Create an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// + /// Assistant + + Assistant PostAssistants (Assistant body); + + /// + /// Create an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// + /// ApiResponse of Assistant + + ApiResponse PostAssistantsWithHttpInfo (Assistant body); + + /// + /// Create a queue assistant association. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// AssistantQueue + + AssistantQueue PutAssistantQueue (string assistantId, string queueId, AssistantQueue body); + + /// + /// Create a queue assistant association. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// ApiResponse of AssistantQueue + + ApiResponse PutAssistantQueueWithHttpInfo (string assistantId, string queueId, AssistantQueue body); + + #endregion Synchronous Operations + + #region Asynchronous Operations + + /// + /// Delete an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of void + + System.Threading.Tasks.Task DeleteAssistantAsync (string assistantId); + + /// + /// Delete an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of ApiResponse + + System.Threading.Tasks.Task> DeleteAssistantAsyncWithHttpInfo (string assistantId); + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Task of void + + System.Threading.Tasks.Task DeleteAssistantQueueAsync (string assistantId, string queueId); + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Task of ApiResponse + + System.Threading.Tasks.Task> DeleteAssistantQueueAsyncWithHttpInfo (string assistantId, string queueId); + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// Task of void + + System.Threading.Tasks.Task DeleteAssistantQueuesAsync (string assistantId, string queueIds = null); + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// Task of ApiResponse + + System.Threading.Tasks.Task> DeleteAssistantQueuesAsyncWithHttpInfo (string assistantId, string queueIds = null); + + /// + /// Get an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// Task of Assistant + + System.Threading.Tasks.Task GetAssistantAsync (string assistantId, string expand = null); + + /// + /// Get an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (Assistant) + + System.Threading.Tasks.Task> GetAssistantAsyncWithHttpInfo (string assistantId, string expand = null); + + /// + /// Get queue Information for an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueue + + System.Threading.Tasks.Task GetAssistantQueueAsync (string assistantId, string queueId, string expand = null); + + /// + /// Get queue Information for an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueue) + + System.Threading.Tasks.Task> GetAssistantQueueAsyncWithHttpInfo (string assistantId, string queueId, string expand = null); + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueueListing + + System.Threading.Tasks.Task GetAssistantQueuesAsync (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null); + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueueListing) + + System.Threading.Tasks.Task> GetAssistantQueuesAsyncWithHttpInfo (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null); + + /// + /// Get all assistants. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// Task of AssistantListing + + System.Threading.Tasks.Task GetAssistantsAsync (string before = null, string after = null, string limit = null, string pageSize = null, string name = null); + + /// + /// Get all assistants. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// Task of ApiResponse (AssistantListing) + + System.Threading.Tasks.Task> GetAssistantsAsyncWithHttpInfo (string before = null, string after = null, string limit = null, string pageSize = null, string name = null); + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueueListing + + System.Threading.Tasks.Task GetAssistantsQueuesAsync (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null); + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueueListing) + + System.Threading.Tasks.Task> GetAssistantsQueuesAsyncWithHttpInfo (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null); + + /// + /// Update an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of Assistant + + System.Threading.Tasks.Task PatchAssistantAsync (string assistantId, Assistant body); + + /// + /// Update an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of ApiResponse (Assistant) + + System.Threading.Tasks.Task> PatchAssistantAsyncWithHttpInfo (string assistantId, Assistant body); + + /// + /// Update Queues for an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of AssistantQueueListing + + System.Threading.Tasks.Task PatchAssistantQueuesAsync (string assistantId, List body); + + /// + /// Update Queues for an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of ApiResponse (AssistantQueueListing) + + System.Threading.Tasks.Task> PatchAssistantQueuesAsyncWithHttpInfo (string assistantId, List body); + + /// + /// Create an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// + /// Task of Assistant + + System.Threading.Tasks.Task PostAssistantsAsync (Assistant body); + + /// + /// Create an Assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// + /// Task of ApiResponse (Assistant) + + System.Threading.Tasks.Task> PostAssistantsAsyncWithHttpInfo (Assistant body); + + /// + /// Create a queue assistant association. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// Task of AssistantQueue + + System.Threading.Tasks.Task PutAssistantQueueAsync (string assistantId, string queueId, AssistantQueue body); + + /// + /// Create a queue assistant association. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// Task of ApiResponse (AssistantQueue) + + System.Threading.Tasks.Task> PutAssistantQueueAsyncWithHttpInfo (string assistantId, string queueId, AssistantQueue body); + + #endregion Asynchronous Operations + + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class AgentAssistantsApi : IAgentAssistantsApi + { + /// + /// Initializes a new instance of the class. + /// + /// + public AgentAssistantsApi(String basePath) + { + this.Configuration = new PureCloudPlatform.Client.V2.Client.Configuration(new ApiClient(basePath)); + + // ensure API client has configuration ready + if (this.Configuration.ApiClient.Configuration == null) + { + this.Configuration.ApiClient.Configuration = this.Configuration; + } + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public AgentAssistantsApi(PureCloudPlatform.Client.V2.Client.Configuration configuration = null) + { + if (configuration == null) // use the default one in Configuration + this.Configuration = PureCloudPlatform.Client.V2.Client.Configuration.Default; + else + this.Configuration = configuration; + + // ensure API client has configuration ready + if (this.Configuration.ApiClient.Configuration == null) + { + this.Configuration.ApiClient.Configuration = this.Configuration; + } + } + + /// + /// Gets the base path of the API client. + /// + /// The base path + public String GetBasePath() + { + return this.Configuration.ApiClient.ClientOptions.BaseUrl.ToString(); + } + + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'this.Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(String basePath) + { + // do nothing + } + + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + public PureCloudPlatform.Client.V2.Client.Configuration Configuration {get; set;} + + /// + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use this.Configuration.DefaultHeader instead.")] + public Dictionary DefaultHeader() + { + return this.Configuration.DefaultHeader; + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use this.Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + this.Configuration.AddDefaultHeader(key, value); + } + + + /// + /// Delete an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + + public void DeleteAssistant (string assistantId) + { + DeleteAssistantWithHttpInfo(assistantId); + } + + /// + /// Delete an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// ApiResponse of Object(void) + + public ApiResponse DeleteAssistantWithHttpInfo (string assistantId) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->DeleteAssistant"); + + var localVarPath = "/api/v2/assistants/{assistantId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Delete an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of void + + public async System.Threading.Tasks.Task DeleteAssistantAsync (string assistantId) + { + await DeleteAssistantAsyncWithHttpInfo(assistantId); + + } + + /// + /// Delete an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of ApiResponse + + public async System.Threading.Tasks.Task> DeleteAssistantAsyncWithHttpInfo (string assistantId) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->DeleteAssistant"); + + + var localVarPath = "/api/v2/assistants/{assistantId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + + public void DeleteAssistantQueue (string assistantId, string queueId) + { + DeleteAssistantQueueWithHttpInfo(assistantId, queueId); + } + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// ApiResponse of Object(void) + + public ApiResponse DeleteAssistantQueueWithHttpInfo (string assistantId, string queueId) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->DeleteAssistantQueue"); + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling AgentAssistantsApi->DeleteAssistantQueue"); + + var localVarPath = "/api/v2/assistants/{assistantId}/queues/{queueId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueue: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueue: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Task of void + + public async System.Threading.Tasks.Task DeleteAssistantQueueAsync (string assistantId, string queueId) + { + await DeleteAssistantQueueAsyncWithHttpInfo(assistantId, queueId); + + } + + /// + /// Disassociate a queue from an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Task of ApiResponse + + public async System.Threading.Tasks.Task> DeleteAssistantQueueAsyncWithHttpInfo (string assistantId, string queueId) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->DeleteAssistantQueue"); + + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling AgentAssistantsApi->DeleteAssistantQueue"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/queues/{queueId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueue: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueue: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// + + public void DeleteAssistantQueues (string assistantId, string queueIds = null) + { + DeleteAssistantQueuesWithHttpInfo(assistantId, queueIds); + } + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// ApiResponse of Object(void) + + public ApiResponse DeleteAssistantQueuesWithHttpInfo (string assistantId, string queueIds = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->DeleteAssistantQueues"); + + var localVarPath = "/api/v2/assistants/{assistantId}/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + if (queueIds != null) localVarQueryParams.Add(new Tuple("queueIds", this.Configuration.ApiClient.ParameterToString(queueIds))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// Task of void + + public async System.Threading.Tasks.Task DeleteAssistantQueuesAsync (string assistantId, string queueIds = null) + { + await DeleteAssistantQueuesAsyncWithHttpInfo(assistantId, queueIds); + + } + + /// + /// Disassociate the queues from an assistant for the given assistant ID and queue IDs. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Comma-separated identifiers of the queues that need to be deleted. (optional) + /// Task of ApiResponse + + public async System.Threading.Tasks.Task> DeleteAssistantQueuesAsyncWithHttpInfo (string assistantId, string queueIds = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->DeleteAssistantQueues"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + if (queueIds != null) localVarQueryParams.Add(new Tuple("queueIds", this.Configuration.ApiClient.ParameterToString(queueIds))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteAssistantQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Get an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// Assistant + + public Assistant GetAssistant (string assistantId, string expand = null) + { + ApiResponse localVarResponse = GetAssistantWithHttpInfo(assistantId, expand); + return localVarResponse.Data; + } + + /// + /// Get an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// ApiResponse of Assistant + + public ApiResponse< Assistant > GetAssistantWithHttpInfo (string assistantId, string expand = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->GetAssistant"); + + var localVarPath = "/api/v2/assistants/{assistantId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Assistant) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Assistant)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// Task of Assistant + + public async System.Threading.Tasks.Task GetAssistantAsync (string assistantId, string expand = null) + { + ApiResponse localVarResponse = await GetAssistantAsyncWithHttpInfo(assistantId, expand); + return localVarResponse.Data; + + } + + /// + /// Get an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (Assistant) + + public async System.Threading.Tasks.Task> GetAssistantAsyncWithHttpInfo (string assistantId, string expand = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->GetAssistant"); + + + var localVarPath = "/api/v2/assistants/{assistantId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Assistant) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Assistant)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Get queue Information for an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// AssistantQueue + + public AssistantQueue GetAssistantQueue (string assistantId, string queueId, string expand = null) + { + ApiResponse localVarResponse = GetAssistantQueueWithHttpInfo(assistantId, queueId, expand); + return localVarResponse.Data; + } + + /// + /// Get queue Information for an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueue + + public ApiResponse< AssistantQueue > GetAssistantQueueWithHttpInfo (string assistantId, string queueId, string expand = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->GetAssistantQueue"); + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling AgentAssistantsApi->GetAssistantQueue"); + + var localVarPath = "/api/v2/assistants/{assistantId}/queues/{queueId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueue: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueue: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueue) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueue)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get queue Information for an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueue + + public async System.Threading.Tasks.Task GetAssistantQueueAsync (string assistantId, string queueId, string expand = null) + { + ApiResponse localVarResponse = await GetAssistantQueueAsyncWithHttpInfo(assistantId, queueId, expand); + return localVarResponse.Data; + + } + + /// + /// Get queue Information for an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueue) + + public async System.Threading.Tasks.Task> GetAssistantQueueAsyncWithHttpInfo (string assistantId, string queueId, string expand = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->GetAssistantQueue"); + + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling AgentAssistantsApi->GetAssistantQueue"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/queues/{queueId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueue: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueue: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueue) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueue)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// AssistantQueueListing + + public AssistantQueueListing GetAssistantQueues (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null) + { + ApiResponse localVarResponse = GetAssistantQueuesWithHttpInfo(assistantId, before, after, pageSize, expand); + return localVarResponse.Data; + } + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueueListing + + public ApiResponse< AssistantQueueListing > GetAssistantQueuesWithHttpInfo (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->GetAssistantQueues"); + + var localVarPath = "/api/v2/assistants/{assistantId}/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + if (before != null) localVarQueryParams.Add(new Tuple("before", this.Configuration.ApiClient.ParameterToString(before))); + if (after != null) localVarQueryParams.Add(new Tuple("after", this.Configuration.ApiClient.ParameterToString(after))); + if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueueListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueueListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueueListing + + public async System.Threading.Tasks.Task GetAssistantQueuesAsync (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null) + { + ApiResponse localVarResponse = await GetAssistantQueuesAsyncWithHttpInfo(assistantId, before, after, pageSize, expand); + return localVarResponse.Data; + + } + + /// + /// Get all the queues associated with an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueueListing) + + public async System.Threading.Tasks.Task> GetAssistantQueuesAsyncWithHttpInfo (string assistantId, string before = null, string after = null, string pageSize = null, string expand = null) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->GetAssistantQueues"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + if (before != null) localVarQueryParams.Add(new Tuple("before", this.Configuration.ApiClient.ParameterToString(before))); + if (after != null) localVarQueryParams.Add(new Tuple("after", this.Configuration.ApiClient.ParameterToString(after))); + if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueueListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueueListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Get all assistants. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// AssistantListing + + public AssistantListing GetAssistants (string before = null, string after = null, string limit = null, string pageSize = null, string name = null) + { + ApiResponse localVarResponse = GetAssistantsWithHttpInfo(before, after, limit, pageSize, name); + return localVarResponse.Data; + } + + /// + /// Get all assistants. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// ApiResponse of AssistantListing + + public ApiResponse< AssistantListing > GetAssistantsWithHttpInfo (string before = null, string after = null, string limit = null, string pageSize = null, string name = null) + { + + var localVarPath = "/api/v2/assistants"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + if (before != null) localVarQueryParams.Add(new Tuple("before", this.Configuration.ApiClient.ParameterToString(before))); + if (after != null) localVarQueryParams.Add(new Tuple("after", this.Configuration.ApiClient.ParameterToString(after))); + if (limit != null) localVarQueryParams.Add(new Tuple("limit", this.Configuration.ApiClient.ParameterToString(limit))); + if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); + if (name != null) localVarQueryParams.Add(new Tuple("name", this.Configuration.ApiClient.ParameterToString(name))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistants: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistants: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get all assistants. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// Task of AssistantListing + + public async System.Threading.Tasks.Task GetAssistantsAsync (string before = null, string after = null, string limit = null, string pageSize = null, string name = null) + { + ApiResponse localVarResponse = await GetAssistantsAsyncWithHttpInfo(before, after, limit, pageSize, name); + return localVarResponse.Data; + + } + + /// + /// Get all assistants. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Return the assistant by the given name. (optional) + /// Task of ApiResponse (AssistantListing) + + public async System.Threading.Tasks.Task> GetAssistantsAsyncWithHttpInfo (string before = null, string after = null, string limit = null, string pageSize = null, string name = null) + { + + var localVarPath = "/api/v2/assistants"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + if (before != null) localVarQueryParams.Add(new Tuple("before", this.Configuration.ApiClient.ParameterToString(before))); + if (after != null) localVarQueryParams.Add(new Tuple("after", this.Configuration.ApiClient.ParameterToString(after))); + if (limit != null) localVarQueryParams.Add(new Tuple("limit", this.Configuration.ApiClient.ParameterToString(limit))); + if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); + if (name != null) localVarQueryParams.Add(new Tuple("name", this.Configuration.ApiClient.ParameterToString(name))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistants: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistants: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// AssistantQueueListing + + public AssistantQueueListing GetAssistantsQueues (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null) + { + ApiResponse localVarResponse = GetAssistantsQueuesWithHttpInfo(before, after, pageSize, queueIds, expand); + return localVarResponse.Data; + } + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueueListing + + public ApiResponse< AssistantQueueListing > GetAssistantsQueuesWithHttpInfo (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null) + { + + var localVarPath = "/api/v2/assistants/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + if (before != null) localVarQueryParams.Add(new Tuple("before", this.Configuration.ApiClient.ParameterToString(before))); + if (after != null) localVarQueryParams.Add(new Tuple("after", this.Configuration.ApiClient.ParameterToString(after))); + if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); + if (queueIds != null) localVarQueryParams.Add(new Tuple("queueIds", this.Configuration.ApiClient.ParameterToString(queueIds))); + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantsQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantsQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueueListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueueListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueueListing + + public async System.Threading.Tasks.Task GetAssistantsQueuesAsync (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null) + { + ApiResponse localVarResponse = await GetAssistantsQueuesAsyncWithHttpInfo(before, after, pageSize, queueIds, expand); + return localVarResponse.Data; + + } + + /// + /// Get all queues assigned to any assistant. + /// + /// + /// Thrown when fails to make API call + /// The cursor that points to the start of the set of entities that has been returned. (optional) + /// The cursor that points to the end of the set of entities that has been returned. (optional) + /// Number of entities to return. Maximum of 200. (optional) + /// Comma-separated identifiers of the queues that need to be retrieved. (optional) + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueueListing) + + public async System.Threading.Tasks.Task> GetAssistantsQueuesAsyncWithHttpInfo (string before = null, string after = null, string pageSize = null, string queueIds = null, string expand = null) + { + + var localVarPath = "/api/v2/assistants/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + if (before != null) localVarQueryParams.Add(new Tuple("before", this.Configuration.ApiClient.ParameterToString(before))); + if (after != null) localVarQueryParams.Add(new Tuple("after", this.Configuration.ApiClient.ParameterToString(after))); + if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); + if (queueIds != null) localVarQueryParams.Add(new Tuple("queueIds", this.Configuration.ApiClient.ParameterToString(queueIds))); + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantsQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantsQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueueListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueueListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Update an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Assistant + + public Assistant PatchAssistant (string assistantId, Assistant body) + { + ApiResponse localVarResponse = PatchAssistantWithHttpInfo(assistantId, body); + return localVarResponse.Data; + } + + /// + /// Update an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// ApiResponse of Assistant + + public ApiResponse< Assistant > PatchAssistantWithHttpInfo (string assistantId, Assistant body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->PatchAssistant"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PatchAssistant"); + + var localVarPath = "/api/v2/assistants/{assistantId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Assistant) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Assistant)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Update an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of Assistant + + public async System.Threading.Tasks.Task PatchAssistantAsync (string assistantId, Assistant body) + { + ApiResponse localVarResponse = await PatchAssistantAsyncWithHttpInfo(assistantId, body); + return localVarResponse.Data; + + } + + /// + /// Update an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of ApiResponse (Assistant) + + public async System.Threading.Tasks.Task> PatchAssistantAsyncWithHttpInfo (string assistantId, Assistant body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->PatchAssistant"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PatchAssistant"); + + + var localVarPath = "/api/v2/assistants/{assistantId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Assistant) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Assistant)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Update Queues for an Assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// AssistantQueueListing + + public AssistantQueueListing PatchAssistantQueues (string assistantId, List body) + { + ApiResponse localVarResponse = PatchAssistantQueuesWithHttpInfo(assistantId, body); + return localVarResponse.Data; + } + + /// + /// Update Queues for an Assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// ApiResponse of AssistantQueueListing + + public ApiResponse< AssistantQueueListing > PatchAssistantQueuesWithHttpInfo (string assistantId, List body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->PatchAssistantQueues"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PatchAssistantQueues"); + + var localVarPath = "/api/v2/assistants/{assistantId}/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistantQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistantQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueueListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueueListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Update Queues for an Assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of AssistantQueueListing + + public async System.Threading.Tasks.Task PatchAssistantQueuesAsync (string assistantId, List body) + { + ApiResponse localVarResponse = await PatchAssistantQueuesAsyncWithHttpInfo(assistantId, body); + return localVarResponse.Data; + + } + + /// + /// Update Queues for an Assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of ApiResponse (AssistantQueueListing) + + public async System.Threading.Tasks.Task> PatchAssistantQueuesAsyncWithHttpInfo (string assistantId, List body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->PatchAssistantQueues"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PatchAssistantQueues"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/queues"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistantQueues: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PatchAssistantQueues: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueueListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueueListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Create an Assistant. + /// + /// + /// Thrown when fails to make API call + /// + /// Assistant + + public Assistant PostAssistants (Assistant body) + { + ApiResponse localVarResponse = PostAssistantsWithHttpInfo(body); + return localVarResponse.Data; + } + + /// + /// Create an Assistant. + /// + /// + /// Thrown when fails to make API call + /// + /// ApiResponse of Assistant + + public ApiResponse< Assistant > PostAssistantsWithHttpInfo (Assistant body) + { + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PostAssistants"); + + var localVarPath = "/api/v2/assistants"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostAssistants: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostAssistants: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Assistant) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Assistant)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Create an Assistant. + /// + /// + /// Thrown when fails to make API call + /// + /// Task of Assistant + + public async System.Threading.Tasks.Task PostAssistantsAsync (Assistant body) + { + ApiResponse localVarResponse = await PostAssistantsAsyncWithHttpInfo(body); + return localVarResponse.Data; + + } + + /// + /// Create an Assistant. + /// + /// + /// Thrown when fails to make API call + /// + /// Task of ApiResponse (Assistant) + + public async System.Threading.Tasks.Task> PostAssistantsAsyncWithHttpInfo (Assistant body) + { + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PostAssistants"); + + + var localVarPath = "/api/v2/assistants"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostAssistants: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostAssistants: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Assistant) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Assistant)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Create a queue assistant association. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// AssistantQueue + + public AssistantQueue PutAssistantQueue (string assistantId, string queueId, AssistantQueue body) + { + ApiResponse localVarResponse = PutAssistantQueueWithHttpInfo(assistantId, queueId, body); + return localVarResponse.Data; + } + + /// + /// Create a queue assistant association. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// ApiResponse of AssistantQueue + + public ApiResponse< AssistantQueue > PutAssistantQueueWithHttpInfo (string assistantId, string queueId, AssistantQueue body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->PutAssistantQueue"); + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling AgentAssistantsApi->PutAssistantQueue"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PutAssistantQueue"); + + var localVarPath = "/api/v2/assistants/{assistantId}/queues/{queueId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Put, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantQueue: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantQueue: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueue) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueue)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Create a queue assistant association. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// Task of AssistantQueue + + public async System.Threading.Tasks.Task PutAssistantQueueAsync (string assistantId, string queueId, AssistantQueue body) + { + ApiResponse localVarResponse = await PutAssistantQueueAsyncWithHttpInfo(assistantId, queueId, body); + return localVarResponse.Data; + + } + + /// + /// Create a queue assistant association. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Queue ID + /// + /// Task of ApiResponse (AssistantQueue) + + public async System.Threading.Tasks.Task> PutAssistantQueueAsyncWithHttpInfo (string assistantId, string queueId, AssistantQueue body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentAssistantsApi->PutAssistantQueue"); + + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling AgentAssistantsApi->PutAssistantQueue"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentAssistantsApi->PutAssistantQueue"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/queues/{queueId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Put, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantQueue: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantQueue: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueue) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueue)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Api/AgentCopilotApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/AgentCopilotApi.cs new file mode 100644 index 000000000..8514bc3da --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Api/AgentCopilotApi.cs @@ -0,0 +1,666 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; +using PureCloudPlatform.Client.V2.Client; +using PureCloudPlatform.Client.V2.Model; + +namespace PureCloudPlatform.Client.V2.Api +{ + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public interface IAgentCopilotApi : IApiAccessor + { + #region Synchronous Operations + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Copilot + + Copilot GetAssistantCopilot (string assistantId); + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// ApiResponse of Copilot + + ApiResponse GetAssistantCopilotWithHttpInfo (string assistantId); + + /// + /// Update agent copilot configuration + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Copilot + + Copilot PutAssistantCopilot (string assistantId, Copilot body); + + /// + /// Update agent copilot configuration + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// ApiResponse of Copilot + + ApiResponse PutAssistantCopilotWithHttpInfo (string assistantId, Copilot body); + + #endregion Synchronous Operations + + #region Asynchronous Operations + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of Copilot + + System.Threading.Tasks.Task GetAssistantCopilotAsync (string assistantId); + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of ApiResponse (Copilot) + + System.Threading.Tasks.Task> GetAssistantCopilotAsyncWithHttpInfo (string assistantId); + + /// + /// Update agent copilot configuration + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of Copilot + + System.Threading.Tasks.Task PutAssistantCopilotAsync (string assistantId, Copilot body); + + /// + /// Update agent copilot configuration + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of ApiResponse (Copilot) + + System.Threading.Tasks.Task> PutAssistantCopilotAsyncWithHttpInfo (string assistantId, Copilot body); + + #endregion Asynchronous Operations + + } + + /// + /// Represents a collection of functions to interact with the API endpoints + /// + public partial class AgentCopilotApi : IAgentCopilotApi + { + /// + /// Initializes a new instance of the class. + /// + /// + public AgentCopilotApi(String basePath) + { + this.Configuration = new PureCloudPlatform.Client.V2.Client.Configuration(new ApiClient(basePath)); + + // ensure API client has configuration ready + if (this.Configuration.ApiClient.Configuration == null) + { + this.Configuration.ApiClient.Configuration = this.Configuration; + } + } + + /// + /// Initializes a new instance of the class + /// using Configuration object + /// + /// An instance of Configuration + /// + public AgentCopilotApi(PureCloudPlatform.Client.V2.Client.Configuration configuration = null) + { + if (configuration == null) // use the default one in Configuration + this.Configuration = PureCloudPlatform.Client.V2.Client.Configuration.Default; + else + this.Configuration = configuration; + + // ensure API client has configuration ready + if (this.Configuration.ApiClient.Configuration == null) + { + this.Configuration.ApiClient.Configuration = this.Configuration; + } + } + + /// + /// Gets the base path of the API client. + /// + /// The base path + public String GetBasePath() + { + return this.Configuration.ApiClient.ClientOptions.BaseUrl.ToString(); + } + + /// + /// Sets the base path of the API client. + /// + /// The base path + [Obsolete("SetBasePath is deprecated, please do 'this.Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")] + public void SetBasePath(String basePath) + { + // do nothing + } + + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + public PureCloudPlatform.Client.V2.Client.Configuration Configuration {get; set;} + + /// + /// Gets the default header. + /// + /// Dictionary of HTTP header + [Obsolete("DefaultHeader is deprecated, please use this.Configuration.DefaultHeader instead.")] + public Dictionary DefaultHeader() + { + return this.Configuration.DefaultHeader; + } + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + [Obsolete("AddDefaultHeader is deprecated, please use this.Configuration.AddDefaultHeader instead.")] + public void AddDefaultHeader(string key, string value) + { + this.Configuration.AddDefaultHeader(key, value); + } + + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Copilot + + public Copilot GetAssistantCopilot (string assistantId) + { + ApiResponse localVarResponse = GetAssistantCopilotWithHttpInfo(assistantId); + return localVarResponse.Data; + } + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// ApiResponse of Copilot + + public ApiResponse< Copilot > GetAssistantCopilotWithHttpInfo (string assistantId) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentCopilotApi->GetAssistantCopilot"); + + var localVarPath = "/api/v2/assistants/{assistantId}/copilot"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantCopilot: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantCopilot: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Copilot) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Copilot)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of Copilot + + public async System.Threading.Tasks.Task GetAssistantCopilotAsync (string assistantId) + { + ApiResponse localVarResponse = await GetAssistantCopilotAsyncWithHttpInfo(assistantId); + return localVarResponse.Data; + + } + + /// + /// Get copilot configuration of an assistant. + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// Task of ApiResponse (Copilot) + + public async System.Threading.Tasks.Task> GetAssistantCopilotAsyncWithHttpInfo (string assistantId) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentCopilotApi->GetAssistantCopilot"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/copilot"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantCopilot: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetAssistantCopilot: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Copilot) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Copilot)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Update agent copilot configuration + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Copilot + + public Copilot PutAssistantCopilot (string assistantId, Copilot body) + { + ApiResponse localVarResponse = PutAssistantCopilotWithHttpInfo(assistantId, body); + return localVarResponse.Data; + } + + /// + /// Update agent copilot configuration + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// ApiResponse of Copilot + + public ApiResponse< Copilot > PutAssistantCopilotWithHttpInfo (string assistantId, Copilot body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentCopilotApi->PutAssistantCopilot"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentCopilotApi->PutAssistantCopilot"); + + var localVarPath = "/api/v2/assistants/{assistantId}/copilot"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Put, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantCopilot: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantCopilot: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Copilot) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Copilot)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Update agent copilot configuration + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of Copilot + + public async System.Threading.Tasks.Task PutAssistantCopilotAsync (string assistantId, Copilot body) + { + ApiResponse localVarResponse = await PutAssistantCopilotAsyncWithHttpInfo(assistantId, body); + return localVarResponse.Data; + + } + + /// + /// Update agent copilot configuration + /// + /// + /// Thrown when fails to make API call + /// Assistant ID + /// + /// Task of ApiResponse (Copilot) + + public async System.Threading.Tasks.Task> PutAssistantCopilotAsyncWithHttpInfo (string assistantId, Copilot body) + { + // verify the required parameter 'assistantId' is set + if (assistantId == null) + throw new ApiException(400, "Missing required parameter 'assistantId' when calling AgentCopilotApi->PutAssistantCopilot"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling AgentCopilotApi->PutAssistantCopilot"); + + + var localVarPath = "/api/v2/assistants/{assistantId}/copilot"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (assistantId != null) localVarPathParams.Add("assistantId", this.Configuration.ApiClient.ParameterToString(assistantId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Put, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantCopilot: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PutAssistantCopilot: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Copilot) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Copilot)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Api/AnalyticsApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/AnalyticsApi.cs index b6ff464dd..d3093244b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Api/AnalyticsApi.cs +++ b/build/src/PureCloudPlatform.Client.V2/Api/AnalyticsApi.cs @@ -939,12 +939,13 @@ public interface IAnalyticsApi : IApiAccessor /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// DashboardConfigurationListing - DashboardConfigurationListing GetAnalyticsReportingSettingsDashboardsQuery (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null); + DashboardConfigurationListing GetAnalyticsReportingSettingsDashboardsQuery (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null); /// /// Get list of dashboard configurations @@ -955,12 +956,13 @@ public interface IAnalyticsApi : IApiAccessor /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// ApiResponse of DashboardConfigurationListing - ApiResponse GetAnalyticsReportingSettingsDashboardsQueryWithHttpInfo (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null); + ApiResponse GetAnalyticsReportingSettingsDashboardsQueryWithHttpInfo (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null); /// /// Get list of dashboards for an user @@ -1447,7 +1449,6 @@ public interface IAnalyticsApi : IApiAccessor /// /// /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -1460,7 +1461,6 @@ public interface IAnalyticsApi : IApiAccessor /// /// /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -3475,12 +3475,13 @@ public interface IAnalyticsApi : IApiAccessor /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// Task of DashboardConfigurationListing - System.Threading.Tasks.Task GetAnalyticsReportingSettingsDashboardsQueryAsync (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null); + System.Threading.Tasks.Task GetAnalyticsReportingSettingsDashboardsQueryAsync (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null); /// /// Get list of dashboard configurations @@ -3491,12 +3492,13 @@ public interface IAnalyticsApi : IApiAccessor /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// Task of ApiResponse (DashboardConfigurationListing) - System.Threading.Tasks.Task> GetAnalyticsReportingSettingsDashboardsQueryAsyncWithHttpInfo (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null); + System.Threading.Tasks.Task> GetAnalyticsReportingSettingsDashboardsQueryAsyncWithHttpInfo (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null); /// /// Get list of dashboards for an user @@ -3983,7 +3985,6 @@ public interface IAnalyticsApi : IApiAccessor /// /// /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -3996,7 +3997,6 @@ public interface IAnalyticsApi : IApiAccessor /// /// /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -12630,14 +12630,15 @@ public async System.Threading.Tasks.Task /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// DashboardConfigurationListing - public DashboardConfigurationListing GetAnalyticsReportingSettingsDashboardsQuery (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null) + public DashboardConfigurationListing GetAnalyticsReportingSettingsDashboardsQuery (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null) { - ApiResponse localVarResponse = GetAnalyticsReportingSettingsDashboardsQueryWithHttpInfo(dashboardType, dashboardAccessFilter, sortBy, pageNumber, pageSize); + ApiResponse localVarResponse = GetAnalyticsReportingSettingsDashboardsQueryWithHttpInfo(dashboardType, dashboardAccessFilter, name, sortBy, pageNumber, pageSize); return localVarResponse.Data; } @@ -12648,12 +12649,13 @@ public DashboardConfigurationListing GetAnalyticsReportingSettingsDashboardsQuer /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// ApiResponse of DashboardConfigurationListing - public ApiResponse< DashboardConfigurationListing > GetAnalyticsReportingSettingsDashboardsQueryWithHttpInfo (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null) + public ApiResponse< DashboardConfigurationListing > GetAnalyticsReportingSettingsDashboardsQueryWithHttpInfo (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null) { // verify the required parameter 'dashboardType' is set if (dashboardType == null) @@ -12694,6 +12696,7 @@ public ApiResponse< DashboardConfigurationListing > GetAnalyticsReportingSetting // Path params // Query params + if (name != null) localVarQueryParams.Add(new Tuple("name", this.Configuration.ApiClient.ParameterToString(name))); if (dashboardType != null) localVarQueryParams.Add(new Tuple("dashboardType", this.Configuration.ApiClient.ParameterToString(dashboardType))); if (dashboardAccessFilter != null) localVarQueryParams.Add(new Tuple("dashboardAccessFilter", this.Configuration.ApiClient.ParameterToString(dashboardAccessFilter))); if (sortBy != null) localVarQueryParams.Add(new Tuple("sortBy", this.Configuration.ApiClient.ParameterToString(sortBy))); @@ -12750,14 +12753,15 @@ public ApiResponse< DashboardConfigurationListing > GetAnalyticsReportingSetting /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// Task of DashboardConfigurationListing - public async System.Threading.Tasks.Task GetAnalyticsReportingSettingsDashboardsQueryAsync (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null) + public async System.Threading.Tasks.Task GetAnalyticsReportingSettingsDashboardsQueryAsync (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null) { - ApiResponse localVarResponse = await GetAnalyticsReportingSettingsDashboardsQueryAsyncWithHttpInfo(dashboardType, dashboardAccessFilter, sortBy, pageNumber, pageSize); + ApiResponse localVarResponse = await GetAnalyticsReportingSettingsDashboardsQueryAsyncWithHttpInfo(dashboardType, dashboardAccessFilter, name, sortBy, pageNumber, pageSize); return localVarResponse.Data; } @@ -12769,12 +12773,13 @@ public async System.Threading.Tasks.Task GetAnaly /// Thrown when fails to make API call /// List dashboard of given type /// Filter dashboard based on the owner of dashboard + /// name of the dashboard (optional) /// (optional, default to "desc") /// (optional, default to 1) /// (optional, default to 9) /// Task of ApiResponse (DashboardConfigurationListing) - public async System.Threading.Tasks.Task> GetAnalyticsReportingSettingsDashboardsQueryAsyncWithHttpInfo (string dashboardType, string dashboardAccessFilter, string sortBy = null, int? pageNumber = null, int? pageSize = null) + public async System.Threading.Tasks.Task> GetAnalyticsReportingSettingsDashboardsQueryAsyncWithHttpInfo (string dashboardType, string dashboardAccessFilter, string name = null, string sortBy = null, int? pageNumber = null, int? pageSize = null) { // verify the required parameter 'dashboardType' is set if (dashboardType == null) @@ -12817,6 +12822,7 @@ public async System.Threading.Tasks.Task("name", this.Configuration.ApiClient.ParameterToString(name))); if (dashboardType != null) localVarQueryParams.Add(new Tuple("dashboardType", this.Configuration.ApiClient.ParameterToString(dashboardType))); if (dashboardAccessFilter != null) localVarQueryParams.Add(new Tuple("dashboardAccessFilter", this.Configuration.ApiClient.ParameterToString(dashboardAccessFilter))); if (sortBy != null) localVarQueryParams.Add(new Tuple("sortBy", this.Configuration.ApiClient.ParameterToString(sortBy))); @@ -16857,7 +16863,6 @@ public async System.Threading.Tasks.Task> PostAn /// /// Query for agent copilot aggregates /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -16872,7 +16877,6 @@ public AgentCopilotAggregateQueryResponse PostAnalyticsAgentcopilotsAggregatesQu /// /// Query for agent copilot aggregates /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -16969,7 +16973,6 @@ public ApiResponse< AgentCopilotAggregateQueryResponse > PostAnalyticsAgentcopil /// /// Query for agent copilot aggregates /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query @@ -16985,7 +16988,6 @@ public async System.Threading.Tasks.Task Pos /// /// Query for agent copilot aggregates /// - /// PostAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// query diff --git a/build/src/PureCloudPlatform.Client.V2/Api/ExternalContactsApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/ExternalContactsApi.cs index 84aa55a50..a7f86f08e 100644 --- a/build/src/PureCloudPlatform.Client.V2/Api/ExternalContactsApi.cs +++ b/build/src/PureCloudPlatform.Client.V2/Api/ExternalContactsApi.cs @@ -90,6 +90,32 @@ public interface IExternalContactsApi : IApiAccessor ApiResponse DeleteExternalcontactsContactsSchemaWithHttpInfo (string schemaId); + /// + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. + /// + /// + /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Object + + Object DeleteExternalcontactsExternalsource (string externalSourceId); + + /// + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. + /// + /// + /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// ApiResponse of Object + + ApiResponse DeleteExternalcontactsExternalsourceWithHttpInfo (string externalSourceId); + /// /// Delete an external organization /// @@ -196,7 +222,7 @@ public interface IExternalContactsApi : IApiAccessor /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// ExternalContact ExternalContact GetExternalcontactsContact (string contactId, List expand = null); @@ -209,7 +235,7 @@ public interface IExternalContactsApi : IApiAccessor /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// ApiResponse of ExternalContact ApiResponse GetExternalcontactsContactWithHttpInfo (string contactId, List expand = null); @@ -482,6 +508,64 @@ public interface IExternalContactsApi : IApiAccessor ApiResponse GetExternalcontactsContactsSchemasWithHttpInfo (); + /// + /// Fetch an External Source + /// + /// + /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// ExternalSource + + ExternalSource GetExternalcontactsExternalsource (string externalSourceId); + + /// + /// Fetch an External Source + /// + /// + /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// ApiResponse of ExternalSource + + ApiResponse GetExternalcontactsExternalsourceWithHttpInfo (string externalSourceId); + + /// + /// Fetch a list of External Sources + /// + /// + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// CursorExternalSourceListing + + CursorExternalSourceListing GetExternalcontactsExternalsources (string cursor = null, int? limit = null, string name = null, bool? active = null); + + /// + /// Fetch a list of External Sources + /// + /// + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// ApiResponse of CursorExternalSourceListing + + ApiResponse GetExternalcontactsExternalsourcesWithHttpInfo (string cursor = null, int? limit = null, string name = null, bool? active = null); + /// /// Fetch an external organization /// @@ -1456,6 +1540,32 @@ public interface IExternalContactsApi : IApiAccessor ApiResponse PostExternalcontactsContactsSchemasWithHttpInfo (DataSchema body); + /// + /// Create an External Source + /// + /// + /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source + /// ExternalSource + + ExternalSource PostExternalcontactsExternalsources (ExternalSource body); + + /// + /// Create an External Source + /// + /// + /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source + /// ApiResponse of ExternalSource + + ApiResponse PostExternalcontactsExternalsourcesWithHttpInfo (ExternalSource body); + /// /// Fetch a contact using an identifier type and value. /// @@ -1710,6 +1820,34 @@ public interface IExternalContactsApi : IApiAccessor ApiResponse PutExternalcontactsConversationWithHttpInfo (string conversationId, ConversationAssociation body); + /// + /// Update an External Source + /// + /// + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// ExternalSource + + ExternalSource PutExternalcontactsExternalsource (string externalSourceId, ExternalSource body); + + /// + /// Update an External Source + /// + /// + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// ApiResponse of ExternalSource + + ApiResponse PutExternalcontactsExternalsourceWithHttpInfo (string externalSourceId, ExternalSource body); + /// /// Update an external organization /// @@ -1920,6 +2058,32 @@ public interface IExternalContactsApi : IApiAccessor System.Threading.Tasks.Task> DeleteExternalcontactsContactsSchemaAsyncWithHttpInfo (string schemaId); + /// + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. + /// + /// + /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Task of Object + + System.Threading.Tasks.Task DeleteExternalcontactsExternalsourceAsync (string externalSourceId); + + /// + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. + /// + /// + /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Task of ApiResponse (Object) + + System.Threading.Tasks.Task> DeleteExternalcontactsExternalsourceAsyncWithHttpInfo (string externalSourceId); + /// /// Delete an external organization /// @@ -2026,7 +2190,7 @@ public interface IExternalContactsApi : IApiAccessor /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// Task of ExternalContact System.Threading.Tasks.Task GetExternalcontactsContactAsync (string contactId, List expand = null); @@ -2039,7 +2203,7 @@ public interface IExternalContactsApi : IApiAccessor /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// Task of ApiResponse (ExternalContact) System.Threading.Tasks.Task> GetExternalcontactsContactAsyncWithHttpInfo (string contactId, List expand = null); @@ -2312,6 +2476,64 @@ public interface IExternalContactsApi : IApiAccessor System.Threading.Tasks.Task> GetExternalcontactsContactsSchemasAsyncWithHttpInfo (); + /// + /// Fetch an External Source + /// + /// + /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Task of ExternalSource + + System.Threading.Tasks.Task GetExternalcontactsExternalsourceAsync (string externalSourceId); + + /// + /// Fetch an External Source + /// + /// + /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Task of ApiResponse (ExternalSource) + + System.Threading.Tasks.Task> GetExternalcontactsExternalsourceAsyncWithHttpInfo (string externalSourceId); + + /// + /// Fetch a list of External Sources + /// + /// + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// Task of CursorExternalSourceListing + + System.Threading.Tasks.Task GetExternalcontactsExternalsourcesAsync (string cursor = null, int? limit = null, string name = null, bool? active = null); + + /// + /// Fetch a list of External Sources + /// + /// + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// Task of ApiResponse (CursorExternalSourceListing) + + System.Threading.Tasks.Task> GetExternalcontactsExternalsourcesAsyncWithHttpInfo (string cursor = null, int? limit = null, string name = null, bool? active = null); + /// /// Fetch an external organization /// @@ -3286,6 +3508,32 @@ public interface IExternalContactsApi : IApiAccessor System.Threading.Tasks.Task> PostExternalcontactsContactsSchemasAsyncWithHttpInfo (DataSchema body); + /// + /// Create an External Source + /// + /// + /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source + /// Task of ExternalSource + + System.Threading.Tasks.Task PostExternalcontactsExternalsourcesAsync (ExternalSource body); + + /// + /// Create an External Source + /// + /// + /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source + /// Task of ApiResponse (ExternalSource) + + System.Threading.Tasks.Task> PostExternalcontactsExternalsourcesAsyncWithHttpInfo (ExternalSource body); + /// /// Fetch a contact using an identifier type and value. /// @@ -3540,6 +3788,34 @@ public interface IExternalContactsApi : IApiAccessor System.Threading.Tasks.Task> PutExternalcontactsConversationAsyncWithHttpInfo (string conversationId, ConversationAssociation body); + /// + /// Update an External Source + /// + /// + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// Task of ExternalSource + + System.Threading.Tasks.Task PutExternalcontactsExternalsourceAsync (string externalSourceId, ExternalSource body); + + /// + /// Update an External Source + /// + /// + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// Task of ApiResponse (ExternalSource) + + System.Threading.Tasks.Task> PutExternalcontactsExternalsourceAsyncWithHttpInfo (string externalSourceId, ExternalSource body); + /// /// Update an external organization /// @@ -4415,34 +4691,36 @@ public async System.Threading.Tasks.Task> DeleteExternalcont /// - /// Delete an external organization + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// External Organization ID + /// External Source ID /// Object - public Object DeleteExternalcontactsOrganization (string externalOrganizationId) + public Object DeleteExternalcontactsExternalsource (string externalSourceId) { - ApiResponse localVarResponse = DeleteExternalcontactsOrganizationWithHttpInfo(externalOrganizationId); + ApiResponse localVarResponse = DeleteExternalcontactsExternalsourceWithHttpInfo(externalSourceId); return localVarResponse.Data; } /// - /// Delete an external organization + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// External Organization ID + /// External Source ID /// ApiResponse of Object - public ApiResponse< Object > DeleteExternalcontactsOrganizationWithHttpInfo (string externalOrganizationId) + public ApiResponse< Object > DeleteExternalcontactsExternalsourceWithHttpInfo (string externalSourceId) { - // verify the required parameter 'externalOrganizationId' is set - if (externalOrganizationId == null) - throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganization"); + // verify the required parameter 'externalSourceId' is set + if (externalSourceId == null) + throw new ApiException(400, "Missing required parameter 'externalSourceId' when calling ExternalContactsApi->DeleteExternalcontactsExternalsource"); - var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}"; + var localVarPath = "/api/v2/externalcontacts/externalsources/{externalSourceId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -4472,7 +4750,7 @@ public ApiResponse< Object > DeleteExternalcontactsOrganizationWithHttpInfo (str localVarPathParams.Add("format", "json"); // Path params - if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); + if (externalSourceId != null) localVarPathParams.Add("externalSourceId", this.Configuration.ApiClient.ParameterToString(externalSourceId)); // Query params @@ -4507,9 +4785,9 @@ public ApiResponse< Object > DeleteExternalcontactsOrganizationWithHttpInfo (str ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsExternalsource: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsExternalsource: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); return new ApiResponse(localVarStatusCode, localVarHeaders, @@ -4520,36 +4798,38 @@ public ApiResponse< Object > DeleteExternalcontactsOrganizationWithHttpInfo (str /// - /// Delete an external organization + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// External Organization ID + /// External Source ID /// Task of Object - public async System.Threading.Tasks.Task DeleteExternalcontactsOrganizationAsync (string externalOrganizationId) + public async System.Threading.Tasks.Task DeleteExternalcontactsExternalsourceAsync (string externalSourceId) { - ApiResponse localVarResponse = await DeleteExternalcontactsOrganizationAsyncWithHttpInfo(externalOrganizationId); + ApiResponse localVarResponse = await DeleteExternalcontactsExternalsourceAsyncWithHttpInfo(externalSourceId); return localVarResponse.Data; } /// - /// Delete an external organization + /// Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable. /// + /// DeleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// External Organization ID + /// External Source ID /// Task of ApiResponse (Object) - public async System.Threading.Tasks.Task> DeleteExternalcontactsOrganizationAsyncWithHttpInfo (string externalOrganizationId) + public async System.Threading.Tasks.Task> DeleteExternalcontactsExternalsourceAsyncWithHttpInfo (string externalSourceId) { - // verify the required parameter 'externalOrganizationId' is set - if (externalOrganizationId == null) - throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganization"); + // verify the required parameter 'externalSourceId' is set + if (externalSourceId == null) + throw new ApiException(400, "Missing required parameter 'externalSourceId' when calling ExternalContactsApi->DeleteExternalcontactsExternalsource"); - var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}"; + var localVarPath = "/api/v2/externalcontacts/externalsources/{externalSourceId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -4579,7 +4859,7 @@ public async System.Threading.Tasks.Task> DeleteExternalcont localVarPathParams.Add("format", "json"); // Path params - if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); + if (externalSourceId != null) localVarPathParams.Add("externalSourceId", this.Configuration.ApiClient.ParameterToString(externalSourceId)); // Query params @@ -4614,9 +4894,9 @@ public async System.Threading.Tasks.Task> DeleteExternalcont ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsExternalsource: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsExternalsource: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); return new ApiResponse(localVarStatusCode, localVarHeaders, @@ -4628,39 +4908,34 @@ public async System.Threading.Tasks.Task> DeleteExternalcont /// - /// Delete a note for an external organization + /// Delete an external organization /// /// /// Thrown when fails to make API call - /// External Organization Id - /// Note Id + /// External Organization ID /// Object - public Object DeleteExternalcontactsOrganizationNote (string externalOrganizationId, string noteId) + public Object DeleteExternalcontactsOrganization (string externalOrganizationId) { - ApiResponse localVarResponse = DeleteExternalcontactsOrganizationNoteWithHttpInfo(externalOrganizationId, noteId); + ApiResponse localVarResponse = DeleteExternalcontactsOrganizationWithHttpInfo(externalOrganizationId); return localVarResponse.Data; } /// - /// Delete a note for an external organization + /// Delete an external organization /// /// /// Thrown when fails to make API call - /// External Organization Id - /// Note Id + /// External Organization ID /// ApiResponse of Object - public ApiResponse< Object > DeleteExternalcontactsOrganizationNoteWithHttpInfo (string externalOrganizationId, string noteId) + public ApiResponse< Object > DeleteExternalcontactsOrganizationWithHttpInfo (string externalOrganizationId) { // verify the required parameter 'externalOrganizationId' is set if (externalOrganizationId == null) - throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); - // verify the required parameter 'noteId' is set - if (noteId == null) - throw new ApiException(400, "Missing required parameter 'noteId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); + throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganization"); - var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}"; + var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -4691,7 +4966,6 @@ public ApiResponse< Object > DeleteExternalcontactsOrganizationNoteWithHttpInfo // Path params if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); - if (noteId != null) localVarPathParams.Add("noteId", this.Configuration.ApiClient.ParameterToString(noteId)); // Query params @@ -4726,9 +5000,9 @@ public ApiResponse< Object > DeleteExternalcontactsOrganizationNoteWithHttpInfo ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganizationNote: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganizationNote: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); return new ApiResponse(localVarStatusCode, localVarHeaders, @@ -4739,42 +5013,261 @@ public ApiResponse< Object > DeleteExternalcontactsOrganizationNoteWithHttpInfo /// - /// Delete a note for an external organization + /// Delete an external organization /// /// /// Thrown when fails to make API call - /// External Organization Id - /// Note Id + /// External Organization ID /// Task of Object - public async System.Threading.Tasks.Task DeleteExternalcontactsOrganizationNoteAsync (string externalOrganizationId, string noteId) + public async System.Threading.Tasks.Task DeleteExternalcontactsOrganizationAsync (string externalOrganizationId) { - ApiResponse localVarResponse = await DeleteExternalcontactsOrganizationNoteAsyncWithHttpInfo(externalOrganizationId, noteId); + ApiResponse localVarResponse = await DeleteExternalcontactsOrganizationAsyncWithHttpInfo(externalOrganizationId); return localVarResponse.Data; } /// - /// Delete a note for an external organization + /// Delete an external organization /// /// /// Thrown when fails to make API call - /// External Organization Id - /// Note Id + /// External Organization ID /// Task of ApiResponse (Object) - public async System.Threading.Tasks.Task> DeleteExternalcontactsOrganizationNoteAsyncWithHttpInfo (string externalOrganizationId, string noteId) + public async System.Threading.Tasks.Task> DeleteExternalcontactsOrganizationAsyncWithHttpInfo (string externalOrganizationId) { // verify the required parameter 'externalOrganizationId' is set if (externalOrganizationId == null) - throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); - - // verify the required parameter 'noteId' is set - if (noteId == null) - throw new ApiException(400, "Missing required parameter 'noteId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); + throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganization"); - var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}"; + var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganization: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Object) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Object)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Delete a note for an external organization + /// + /// + /// Thrown when fails to make API call + /// External Organization Id + /// Note Id + /// Object + + public Object DeleteExternalcontactsOrganizationNote (string externalOrganizationId, string noteId) + { + ApiResponse localVarResponse = DeleteExternalcontactsOrganizationNoteWithHttpInfo(externalOrganizationId, noteId); + return localVarResponse.Data; + } + + /// + /// Delete a note for an external organization + /// + /// + /// Thrown when fails to make API call + /// External Organization Id + /// Note Id + /// ApiResponse of Object + + public ApiResponse< Object > DeleteExternalcontactsOrganizationNoteWithHttpInfo (string externalOrganizationId, string noteId) + { + // verify the required parameter 'externalOrganizationId' is set + if (externalOrganizationId == null) + throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); + // verify the required parameter 'noteId' is set + if (noteId == null) + throw new ApiException(400, "Missing required parameter 'noteId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); + + var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); + if (noteId != null) localVarPathParams.Add("noteId", this.Configuration.ApiClient.ParameterToString(noteId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Delete, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganizationNote: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling DeleteExternalcontactsOrganizationNote: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (Object) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Object)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Delete a note for an external organization + /// + /// + /// Thrown when fails to make API call + /// External Organization Id + /// Note Id + /// Task of Object + + public async System.Threading.Tasks.Task DeleteExternalcontactsOrganizationNoteAsync (string externalOrganizationId, string noteId) + { + ApiResponse localVarResponse = await DeleteExternalcontactsOrganizationNoteAsyncWithHttpInfo(externalOrganizationId, noteId); + return localVarResponse.Data; + + } + + /// + /// Delete a note for an external organization + /// + /// + /// Thrown when fails to make API call + /// External Organization Id + /// Note Id + /// Task of ApiResponse (Object) + + public async System.Threading.Tasks.Task> DeleteExternalcontactsOrganizationNoteAsyncWithHttpInfo (string externalOrganizationId, string noteId) + { + // verify the required parameter 'externalOrganizationId' is set + if (externalOrganizationId == null) + throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); + + // verify the required parameter 'noteId' is set + if (noteId == null) + throw new ApiException(400, "Missing required parameter 'noteId' when calling ExternalContactsApi->DeleteExternalcontactsOrganizationNote"); + + + var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -5283,7 +5776,7 @@ public async System.Threading.Tasks.Task> DeleteExternalcont /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// ExternalContact public ExternalContact GetExternalcontactsContact (string contactId, List expand = null) @@ -5298,7 +5791,7 @@ public ExternalContact GetExternalcontactsContact (string contactId, List /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// ApiResponse of ExternalContact public ApiResponse< ExternalContact > GetExternalcontactsContactWithHttpInfo (string contactId, List expand = null) @@ -5391,7 +5884,7 @@ public ApiResponse< ExternalContact > GetExternalcontactsContactWithHttpInfo (st /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// Task of ExternalContact public async System.Threading.Tasks.Task GetExternalcontactsContactAsync (string contactId, List expand = null) @@ -5407,7 +5900,7 @@ public async System.Threading.Tasks.Task GetExternalcontactsCon /// /// Thrown when fails to make API call /// ExternalContact ID - /// which fields, if any, to expand (externalOrganization,externalDataSources,identifiers) (optional) + /// which fields, if any, to expand (optional) /// Task of ApiResponse (ExternalContact) public async System.Threading.Tasks.Task> GetExternalcontactsContactAsyncWithHttpInfo (string contactId, List expand = null) @@ -7711,38 +8204,36 @@ public async System.Threading.Tasks.Task> GetExte /// - /// Fetch an external organization + /// Fetch an External Source /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// External Organization ID - /// which fields, if any, to expand (externalDataSources) (optional) - /// (true or false) whether or not to include trustor information embedded in the externalOrganization (optional) - /// ExternalOrganization + /// External Source ID + /// ExternalSource - public ExternalOrganization GetExternalcontactsOrganization (string externalOrganizationId, List expand = null, bool? includeTrustors = null) + public ExternalSource GetExternalcontactsExternalsource (string externalSourceId) { - ApiResponse localVarResponse = GetExternalcontactsOrganizationWithHttpInfo(externalOrganizationId, expand, includeTrustors); + ApiResponse localVarResponse = GetExternalcontactsExternalsourceWithHttpInfo(externalSourceId); return localVarResponse.Data; } /// - /// Fetch an external organization + /// Fetch an External Source /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// External Organization ID - /// which fields, if any, to expand (externalDataSources) (optional) - /// (true or false) whether or not to include trustor information embedded in the externalOrganization (optional) - /// ApiResponse of ExternalOrganization + /// External Source ID + /// ApiResponse of ExternalSource - public ApiResponse< ExternalOrganization > GetExternalcontactsOrganizationWithHttpInfo (string externalOrganizationId, List expand = null, bool? includeTrustors = null) + public ApiResponse< ExternalSource > GetExternalcontactsExternalsourceWithHttpInfo (string externalSourceId) { - // verify the required parameter 'externalOrganizationId' is set - if (externalOrganizationId == null) - throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->GetExternalcontactsOrganization"); + // verify the required parameter 'externalSourceId' is set + if (externalSourceId == null) + throw new ApiException(400, "Missing required parameter 'externalSourceId' when calling ExternalContactsApi->GetExternalcontactsExternalsource"); - var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}"; + var localVarPath = "/api/v2/externalcontacts/externalsources/{externalSourceId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -7772,11 +8263,9 @@ public ApiResponse< ExternalOrganization > GetExternalcontactsOrganizationWithHt localVarPathParams.Add("format", "json"); // Path params - if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); + if (externalSourceId != null) localVarPathParams.Add("externalSourceId", this.Configuration.ApiClient.ParameterToString(externalSourceId)); // Query params - if (expand != null) expand.ForEach(obj => { localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(obj))); }); - if (includeTrustors != null) localVarQueryParams.Add(new Tuple("includeTrustors", this.Configuration.ApiClient.ParameterToString(includeTrustors))); // Header params @@ -7809,11 +8298,460 @@ public ApiResponse< ExternalOrganization > GetExternalcontactsOrganizationWithHt ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsOrganization: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsource: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsOrganization: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsource: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (ExternalSource) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalSource)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Fetch an External Source + /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Task of ExternalSource + + public async System.Threading.Tasks.Task GetExternalcontactsExternalsourceAsync (string externalSourceId) + { + ApiResponse localVarResponse = await GetExternalcontactsExternalsourceAsyncWithHttpInfo(externalSourceId); + return localVarResponse.Data; + + } + + /// + /// Fetch an External Source + /// + /// GetExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// Task of ApiResponse (ExternalSource) + + public async System.Threading.Tasks.Task> GetExternalcontactsExternalsourceAsyncWithHttpInfo (string externalSourceId) + { + // verify the required parameter 'externalSourceId' is set + if (externalSourceId == null) + throw new ApiException(400, "Missing required parameter 'externalSourceId' when calling ExternalContactsApi->GetExternalcontactsExternalsource"); + + + var localVarPath = "/api/v2/externalcontacts/externalsources/{externalSourceId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (externalSourceId != null) localVarPathParams.Add("externalSourceId", this.Configuration.ApiClient.ParameterToString(externalSourceId)); + + // Query params + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsource: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsource: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (ExternalSource) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalSource)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Fetch a list of External Sources + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// CursorExternalSourceListing + + public CursorExternalSourceListing GetExternalcontactsExternalsources (string cursor = null, int? limit = null, string name = null, bool? active = null) + { + ApiResponse localVarResponse = GetExternalcontactsExternalsourcesWithHttpInfo(cursor, limit, name, active); + return localVarResponse.Data; + } + + /// + /// Fetch a list of External Sources + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// ApiResponse of CursorExternalSourceListing + + public ApiResponse< CursorExternalSourceListing > GetExternalcontactsExternalsourcesWithHttpInfo (string cursor = null, int? limit = null, string name = null, bool? active = null) + { + + var localVarPath = "/api/v2/externalcontacts/externalsources"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + if (cursor != null) localVarQueryParams.Add(new Tuple("cursor", this.Configuration.ApiClient.ParameterToString(cursor))); + if (limit != null) localVarQueryParams.Add(new Tuple("limit", this.Configuration.ApiClient.ParameterToString(limit))); + if (name != null) localVarQueryParams.Add(new Tuple("name", this.Configuration.ApiClient.ParameterToString(name))); + if (active != null) localVarQueryParams.Add(new Tuple("active", this.Configuration.ApiClient.ParameterToString(active))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsources: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsources: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (CursorExternalSourceListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(CursorExternalSourceListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Fetch a list of External Sources + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// Task of CursorExternalSourceListing + + public async System.Threading.Tasks.Task GetExternalcontactsExternalsourcesAsync (string cursor = null, int? limit = null, string name = null, bool? active = null) + { + ApiResponse localVarResponse = await GetExternalcontactsExternalsourcesAsyncWithHttpInfo(cursor, limit, name, active); + return localVarResponse.Data; + + } + + /// + /// Fetch a list of External Sources + /// + /// GetExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL (optional) + /// The number of ExternalSources per page; must be between 10 and 200, default is 100 (optional) + /// Filter by external source name. Filtering is prefix filtering and not an exact match (optional) + /// Filter by active status of external source (optional) + /// Task of ApiResponse (CursorExternalSourceListing) + + public async System.Threading.Tasks.Task> GetExternalcontactsExternalsourcesAsyncWithHttpInfo (string cursor = null, int? limit = null, string name = null, bool? active = null) + { + + var localVarPath = "/api/v2/externalcontacts/externalsources"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + if (cursor != null) localVarQueryParams.Add(new Tuple("cursor", this.Configuration.ApiClient.ParameterToString(cursor))); + if (limit != null) localVarQueryParams.Add(new Tuple("limit", this.Configuration.ApiClient.ParameterToString(limit))); + if (name != null) localVarQueryParams.Add(new Tuple("name", this.Configuration.ApiClient.ParameterToString(name))); + if (active != null) localVarQueryParams.Add(new Tuple("active", this.Configuration.ApiClient.ParameterToString(active))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsources: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsExternalsources: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (CursorExternalSourceListing) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(CursorExternalSourceListing)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Fetch an external organization + /// + /// + /// Thrown when fails to make API call + /// External Organization ID + /// which fields, if any, to expand (externalDataSources) (optional) + /// (true or false) whether or not to include trustor information embedded in the externalOrganization (optional) + /// ExternalOrganization + + public ExternalOrganization GetExternalcontactsOrganization (string externalOrganizationId, List expand = null, bool? includeTrustors = null) + { + ApiResponse localVarResponse = GetExternalcontactsOrganizationWithHttpInfo(externalOrganizationId, expand, includeTrustors); + return localVarResponse.Data; + } + + /// + /// Fetch an external organization + /// + /// + /// Thrown when fails to make API call + /// External Organization ID + /// which fields, if any, to expand (externalDataSources) (optional) + /// (true or false) whether or not to include trustor information embedded in the externalOrganization (optional) + /// ApiResponse of ExternalOrganization + + public ApiResponse< ExternalOrganization > GetExternalcontactsOrganizationWithHttpInfo (string externalOrganizationId, List expand = null, bool? includeTrustors = null) + { + // verify the required parameter 'externalOrganizationId' is set + if (externalOrganizationId == null) + throw new ApiException(400, "Missing required parameter 'externalOrganizationId' when calling ExternalContactsApi->GetExternalcontactsOrganization"); + + var localVarPath = "/api/v2/externalcontacts/organizations/{externalOrganizationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (externalOrganizationId != null) localVarPathParams.Add("externalOrganizationId", this.Configuration.ApiClient.ParameterToString(externalOrganizationId)); + + // Query params + if (expand != null) expand.ForEach(obj => { localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(obj))); }); + if (includeTrustors != null) localVarQueryParams.Add(new Tuple("includeTrustors", this.Configuration.ApiClient.ParameterToString(includeTrustors))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsOrganization: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetExternalcontactsOrganization: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, localVarHeaders, (ExternalOrganization) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalOrganization)), localVarResponse.Content, @@ -15844,43 +16782,266 @@ public ApiResponse< ExternalContact > PostExternalcontactsContactsWithHttpInfo ( return new ApiResponse(localVarStatusCode, localVarHeaders, - (ExternalContact) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalContact)), + (ExternalContact) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalContact)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Create an external contact + /// + /// + /// Thrown when fails to make API call + /// ExternalContact + /// Task of ExternalContact + + public async System.Threading.Tasks.Task PostExternalcontactsContactsAsync (ExternalContact body) + { + ApiResponse localVarResponse = await PostExternalcontactsContactsAsyncWithHttpInfo(body); + return localVarResponse.Data; + + } + + /// + /// Create an external contact + /// + /// + /// Thrown when fails to make API call + /// ExternalContact + /// Task of ApiResponse (ExternalContact) + + public async System.Threading.Tasks.Task> PostExternalcontactsContactsAsyncWithHttpInfo (ExternalContact body) + { + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsContacts"); + + + var localVarPath = "/api/v2/externalcontacts/contacts"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContacts: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContacts: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (ExternalContact) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalContact)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Create a schema + /// + /// + /// Thrown when fails to make API call + /// Schema + /// DataSchema + + public DataSchema PostExternalcontactsContactsSchemas (DataSchema body) + { + ApiResponse localVarResponse = PostExternalcontactsContactsSchemasWithHttpInfo(body); + return localVarResponse.Data; + } + + /// + /// Create a schema + /// + /// + /// Thrown when fails to make API call + /// Schema + /// ApiResponse of DataSchema + + public ApiResponse< DataSchema > PostExternalcontactsContactsSchemasWithHttpInfo (DataSchema body) + { + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsContactsSchemas"); + + var localVarPath = "/api/v2/externalcontacts/contacts/schemas"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (DataSchema) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSchema)), localVarResponse.Content, localVarResponse.StatusDescription); } /// - /// Create an external contact + /// Create a schema /// /// /// Thrown when fails to make API call - /// ExternalContact - /// Task of ExternalContact + /// Schema + /// Task of DataSchema - public async System.Threading.Tasks.Task PostExternalcontactsContactsAsync (ExternalContact body) + public async System.Threading.Tasks.Task PostExternalcontactsContactsSchemasAsync (DataSchema body) { - ApiResponse localVarResponse = await PostExternalcontactsContactsAsyncWithHttpInfo(body); + ApiResponse localVarResponse = await PostExternalcontactsContactsSchemasAsyncWithHttpInfo(body); return localVarResponse.Data; } /// - /// Create an external contact + /// Create a schema /// /// /// Thrown when fails to make API call - /// ExternalContact - /// Task of ApiResponse (ExternalContact) + /// Schema + /// Task of ApiResponse (DataSchema) - public async System.Threading.Tasks.Task> PostExternalcontactsContactsAsyncWithHttpInfo (ExternalContact body) + public async System.Threading.Tasks.Task> PostExternalcontactsContactsSchemasAsyncWithHttpInfo (DataSchema body) { // verify the required parameter 'body' is set if (body == null) - throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsContacts"); + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsContactsSchemas"); - var localVarPath = "/api/v2/externalcontacts/contacts"; + var localVarPath = "/api/v2/externalcontacts/contacts/schemas"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -15950,13 +17111,13 @@ public async System.Threading.Tasks.Task> PostExter ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContacts: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContacts: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - (ExternalContact) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalContact)), + (DataSchema) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSchema)), localVarResponse.Content, localVarResponse.StatusDescription); } @@ -15964,34 +17125,36 @@ public async System.Threading.Tasks.Task> PostExter /// - /// Create a schema + /// Create an External Source /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// Schema - /// DataSchema + /// External Source + /// ExternalSource - public DataSchema PostExternalcontactsContactsSchemas (DataSchema body) + public ExternalSource PostExternalcontactsExternalsources (ExternalSource body) { - ApiResponse localVarResponse = PostExternalcontactsContactsSchemasWithHttpInfo(body); + ApiResponse localVarResponse = PostExternalcontactsExternalsourcesWithHttpInfo(body); return localVarResponse.Data; } /// - /// Create a schema + /// Create an External Source /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// Schema - /// ApiResponse of DataSchema + /// External Source + /// ApiResponse of ExternalSource - public ApiResponse< DataSchema > PostExternalcontactsContactsSchemasWithHttpInfo (DataSchema body) + public ApiResponse< ExternalSource > PostExternalcontactsExternalsourcesWithHttpInfo (ExternalSource body) { // verify the required parameter 'body' is set if (body == null) - throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsContactsSchemas"); + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsExternalsources"); - var localVarPath = "/api/v2/externalcontacts/contacts/schemas"; + var localVarPath = "/api/v2/externalcontacts/externalsources"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -16061,49 +17224,51 @@ public ApiResponse< DataSchema > PostExternalcontactsContactsSchemasWithHttpInfo ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsExternalsources: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsExternalsources: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - (DataSchema) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSchema)), + (ExternalSource) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalSource)), localVarResponse.Content, localVarResponse.StatusDescription); } /// - /// Create a schema + /// Create an External Source /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// Schema - /// Task of DataSchema + /// External Source + /// Task of ExternalSource - public async System.Threading.Tasks.Task PostExternalcontactsContactsSchemasAsync (DataSchema body) + public async System.Threading.Tasks.Task PostExternalcontactsExternalsourcesAsync (ExternalSource body) { - ApiResponse localVarResponse = await PostExternalcontactsContactsSchemasAsyncWithHttpInfo(body); + ApiResponse localVarResponse = await PostExternalcontactsExternalsourcesAsyncWithHttpInfo(body); return localVarResponse.Data; } /// - /// Create a schema + /// Create an External Source /// + /// PostExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call - /// Schema - /// Task of ApiResponse (DataSchema) + /// External Source + /// Task of ApiResponse (ExternalSource) - public async System.Threading.Tasks.Task> PostExternalcontactsContactsSchemasAsyncWithHttpInfo (DataSchema body) + public async System.Threading.Tasks.Task> PostExternalcontactsExternalsourcesAsyncWithHttpInfo (ExternalSource body) { // verify the required parameter 'body' is set if (body == null) - throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsContactsSchemas"); + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PostExternalcontactsExternalsources"); - var localVarPath = "/api/v2/externalcontacts/contacts/schemas"; + var localVarPath = "/api/v2/externalcontacts/externalsources"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -16173,13 +17338,13 @@ public async System.Threading.Tasks.Task> PostExternalco ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsExternalsources: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsContactsSchemas: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PostExternalcontactsExternalsources: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - (DataSchema) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DataSchema)), + (ExternalSource) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalSource)), localVarResponse.Content, localVarResponse.StatusDescription); } @@ -18498,6 +19663,246 @@ public async System.Threading.Tasks.Task> PutExternalcontact + /// + /// Update an External Source + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// ExternalSource + + public ExternalSource PutExternalcontactsExternalsource (string externalSourceId, ExternalSource body) + { + ApiResponse localVarResponse = PutExternalcontactsExternalsourceWithHttpInfo(externalSourceId, body); + return localVarResponse.Data; + } + + /// + /// Update an External Source + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// ApiResponse of ExternalSource + + public ApiResponse< ExternalSource > PutExternalcontactsExternalsourceWithHttpInfo (string externalSourceId, ExternalSource body) + { + // verify the required parameter 'externalSourceId' is set + if (externalSourceId == null) + throw new ApiException(400, "Missing required parameter 'externalSourceId' when calling ExternalContactsApi->PutExternalcontactsExternalsource"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PutExternalcontactsExternalsource"); + + var localVarPath = "/api/v2/externalcontacts/externalsources/{externalSourceId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (externalSourceId != null) localVarPathParams.Add("externalSourceId", this.Configuration.ApiClient.ParameterToString(externalSourceId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Put, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PutExternalcontactsExternalsource: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PutExternalcontactsExternalsource: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (ExternalSource) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalSource)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Update an External Source + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// Task of ExternalSource + + public async System.Threading.Tasks.Task PutExternalcontactsExternalsourceAsync (string externalSourceId, ExternalSource body) + { + ApiResponse localVarResponse = await PutExternalcontactsExternalsourceAsyncWithHttpInfo(externalSourceId, body); + return localVarResponse.Data; + + } + + /// + /// Update an External Source + /// + /// PutExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice + /// + /// Thrown when fails to make API call + /// External Source ID + /// External Source + /// Task of ApiResponse (ExternalSource) + + public async System.Threading.Tasks.Task> PutExternalcontactsExternalsourceAsyncWithHttpInfo (string externalSourceId, ExternalSource body) + { + // verify the required parameter 'externalSourceId' is set + if (externalSourceId == null) + throw new ApiException(400, "Missing required parameter 'externalSourceId' when calling ExternalContactsApi->PutExternalcontactsExternalsource"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling ExternalContactsApi->PutExternalcontactsExternalsource"); + + + var localVarPath = "/api/v2/externalcontacts/externalsources/{externalSourceId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (externalSourceId != null) localVarPathParams.Add("externalSourceId", this.Configuration.ApiClient.ParameterToString(externalSourceId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Put, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PutExternalcontactsExternalsource: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PutExternalcontactsExternalsource: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (ExternalSource) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(ExternalSource)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// /// Update an external organization /// diff --git a/build/src/PureCloudPlatform.Client.V2/Api/JourneyApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/JourneyApi.cs index a9bd7ae6e..0aad0547b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Api/JourneyApi.cs +++ b/build/src/PureCloudPlatform.Client.V2/Api/JourneyApi.cs @@ -143,7 +143,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -156,7 +155,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -803,7 +801,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -816,7 +813,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -829,7 +825,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -843,7 +838,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -857,7 +851,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -872,7 +865,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -887,7 +879,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -902,7 +893,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -917,7 +907,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -931,7 +920,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -945,32 +933,32 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// JourneyViewListing - JourneyViewListing GetJourneyViews (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null); + JourneyViewListing GetJourneyViews (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null); /// /// Get a list of Journey Views /// /// /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// ApiResponse of JourneyViewListing - ApiResponse GetJourneyViewsWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null); + ApiResponse GetJourneyViewsWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null); /// /// Get an Event Definition @@ -1027,7 +1015,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -1043,7 +1030,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -1511,7 +1497,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -1525,7 +1510,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -1539,7 +1523,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -1553,7 +1536,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -1567,7 +1549,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -1580,7 +1561,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -1745,7 +1725,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -1758,7 +1737,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -2405,7 +2383,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -2418,7 +2395,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -2431,7 +2407,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -2445,7 +2420,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -2459,7 +2433,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -2474,7 +2447,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -2489,7 +2461,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -2504,7 +2475,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -2519,7 +2489,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -2533,7 +2502,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -2547,32 +2515,32 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// Task of JourneyViewListing - System.Threading.Tasks.Task GetJourneyViewsAsync (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null); + System.Threading.Tasks.Task GetJourneyViewsAsync (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null); /// /// Get a list of Journey Views /// /// /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// Task of ApiResponse (JourneyViewListing) - System.Threading.Tasks.Task> GetJourneyViewsAsyncWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null); + System.Threading.Tasks.Task> GetJourneyViewsAsyncWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null); /// /// Get an Event Definition @@ -2629,7 +2597,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -2645,7 +2612,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -3113,7 +3079,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -3127,7 +3092,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -3141,7 +3105,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -3155,7 +3118,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -3169,7 +3131,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -3182,7 +3143,6 @@ public interface IJourneyApi : IApiAccessor /// /// /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -4372,7 +4332,6 @@ public async System.Threading.Tasks.Task> DeleteJourneySegme /// /// Delete a Journey View by ID /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -4386,7 +4345,6 @@ public void DeleteJourneyView (string viewId) /// /// Delete a Journey View by ID /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -4478,7 +4436,6 @@ public ApiResponse DeleteJourneyViewWithHttpInfo (string viewId) /// /// Delete a Journey View by ID /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -4493,7 +4450,6 @@ public async System.Threading.Tasks.Task DeleteJourneyViewAsync (string viewId) /// /// Delete a Journey View by ID /// deletes all versions - /// DeleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -9675,7 +9631,6 @@ public async System.Threading.Tasks.Task> GetJo /// /// Get a Journey View by ID /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -9690,7 +9645,6 @@ public JourneyView GetJourneyView (string viewId) /// /// Get a Journey View by ID /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -9782,7 +9736,6 @@ public ApiResponse< JourneyView > GetJourneyViewWithHttpInfo (string viewId) /// /// Get a Journey View by ID /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -9798,7 +9751,6 @@ public async System.Threading.Tasks.Task GetJourneyViewAsync (strin /// /// Get a Journey View by ID /// returns the latest version - /// GetJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -9892,7 +9844,6 @@ public async System.Threading.Tasks.Task> GetJourneyVie /// /// Get a Journey View by ID and version /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -9908,7 +9859,6 @@ public JourneyView GetJourneyViewVersion (string viewId, string versionId) /// /// Get a Journey View by ID and version /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -10005,7 +9955,6 @@ public ApiResponse< JourneyView > GetJourneyViewVersionWithHttpInfo (string view /// /// Get a Journey View by ID and version /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -10022,7 +9971,6 @@ public async System.Threading.Tasks.Task GetJourneyViewVersionAsync /// /// Get a Journey View by ID and version /// - /// GetJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -10122,7 +10070,6 @@ public async System.Threading.Tasks.Task> GetJourneyVie /// /// Get the job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10139,7 +10086,6 @@ public JourneyViewJob GetJourneyViewVersionJob (string viewId, string journeyVer /// /// Get the job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10241,7 +10187,6 @@ public ApiResponse< JourneyViewJob > GetJourneyViewVersionJobWithHttpInfo (strin /// /// Get the job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10259,7 +10204,6 @@ public async System.Threading.Tasks.Task GetJourneyViewVersionJo /// /// Get the job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10365,7 +10309,6 @@ public async System.Threading.Tasks.Task> GetJourney /// /// Get the result of a job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -10382,7 +10325,6 @@ public JourneyViewResult GetJourneyViewVersionJobResults (string viewId, string /// /// Get the result of a job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -10484,7 +10426,6 @@ public ApiResponse< JourneyViewResult > GetJourneyViewVersionJobResultsWithHttpI /// /// Get the result of a job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -10502,7 +10443,6 @@ public async System.Threading.Tasks.Task GetJourneyViewVersio /// /// Get the result of a job for a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyViewResult id @@ -10608,7 +10548,6 @@ public async System.Threading.Tasks.Task> GetJour /// /// Get the latest job of a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10624,7 +10563,6 @@ public JourneyViewJob GetJourneyViewVersionJobsLatest (string viewId, string jou /// /// Get the latest job of a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10721,7 +10659,6 @@ public ApiResponse< JourneyViewJob > GetJourneyViewVersionJobsLatestWithHttpInfo /// /// Get the latest job of a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10738,7 +10675,6 @@ public async System.Threading.Tasks.Task GetJourneyViewVersionJo /// /// Get the latest job of a journey view version. /// used for long descriptions - /// GetJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -10838,34 +10774,34 @@ public async System.Threading.Tasks.Task> GetJourney /// /// Get a list of Journey Views /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// JourneyViewListing - public JourneyViewListing GetJourneyViews (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null) + public JourneyViewListing GetJourneyViews (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null) { - ApiResponse localVarResponse = GetJourneyViewsWithHttpInfo(pageNumber, pageSize, nameOrCreatedBy, expand); + ApiResponse localVarResponse = GetJourneyViewsWithHttpInfo(pageNumber, pageSize, nameOrCreatedBy, expand, id); return localVarResponse.Data; } /// /// Get a list of Journey Views /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// ApiResponse of JourneyViewListing - public ApiResponse< JourneyViewListing > GetJourneyViewsWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null) + public ApiResponse< JourneyViewListing > GetJourneyViewsWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null) { var localVarPath = "/api/v2/journey/views"; @@ -10904,6 +10840,7 @@ public ApiResponse< JourneyViewListing > GetJourneyViewsWithHttpInfo (int? pageN if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); if (nameOrCreatedBy != null) localVarQueryParams.Add(new Tuple("nameOrCreatedBy", this.Configuration.ApiClient.ParameterToString(nameOrCreatedBy))); if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + if (id != null) localVarQueryParams.Add(new Tuple("id", this.Configuration.ApiClient.ParameterToString(id))); // Header params @@ -10951,18 +10888,18 @@ public ApiResponse< JourneyViewListing > GetJourneyViewsWithHttpInfo (int? pageN /// /// Get a list of Journey Views /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// Task of JourneyViewListing - public async System.Threading.Tasks.Task GetJourneyViewsAsync (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null) + public async System.Threading.Tasks.Task GetJourneyViewsAsync (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null) { - ApiResponse localVarResponse = await GetJourneyViewsAsyncWithHttpInfo(pageNumber, pageSize, nameOrCreatedBy, expand); + ApiResponse localVarResponse = await GetJourneyViewsAsyncWithHttpInfo(pageNumber, pageSize, nameOrCreatedBy, expand, id); return localVarResponse.Data; } @@ -10970,16 +10907,16 @@ public async System.Threading.Tasks.Task GetJourneyViewsAsyn /// /// Get a list of Journey Views /// - /// GetJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Page number (optional, default to 1) /// Page size (optional, default to 25) /// Journey View Name or Created By (optional) /// Parameter to request additional data to return in Journey payload (optional) + /// Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items. (optional) /// Task of ApiResponse (JourneyViewListing) - public async System.Threading.Tasks.Task> GetJourneyViewsAsyncWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null) + public async System.Threading.Tasks.Task> GetJourneyViewsAsyncWithHttpInfo (int? pageNumber = null, int? pageSize = null, string nameOrCreatedBy = null, string expand = null, string id = null) { var localVarPath = "/api/v2/journey/views"; @@ -11018,6 +10955,7 @@ public async System.Threading.Tasks.Task> GetJou if (pageSize != null) localVarQueryParams.Add(new Tuple("pageSize", this.Configuration.ApiClient.ParameterToString(pageSize))); if (nameOrCreatedBy != null) localVarQueryParams.Add(new Tuple("nameOrCreatedBy", this.Configuration.ApiClient.ParameterToString(nameOrCreatedBy))); if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + if (id != null) localVarQueryParams.Add(new Tuple("id", this.Configuration.ApiClient.ParameterToString(id))); // Header params @@ -11487,7 +11425,6 @@ public async System.Threading.Tasks.Task /// Get the jobs for an organization. /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -11505,7 +11442,6 @@ public JourneyViewJobListing GetJourneyViewsJobs (int? pageNumber = null, int? p /// /// Get the jobs for an organization. /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -11600,7 +11536,6 @@ public ApiResponse< JourneyViewJobListing > GetJourneyViewsJobsWithHttpInfo (int /// /// Get the jobs for an organization. /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -11619,7 +11554,6 @@ public async System.Threading.Tasks.Task GetJourneyViewsJ /// /// Get the jobs for an organization. /// - /// GetJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// The number of the page to return (optional, default to 1) @@ -15699,7 +15633,6 @@ public async System.Threading.Tasks.Task> PostJourne /// /// Submit a job request for a journey view version. /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -15715,7 +15648,6 @@ public JourneyViewJob PostJourneyViewVersionJobs (string viewId, string journeyV /// /// Submit a job request for a journey view version. /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -15812,7 +15744,6 @@ public ApiResponse< JourneyViewJob > PostJourneyViewVersionJobsWithHttpInfo (str /// /// Submit a job request for a journey view version. /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -15829,7 +15760,6 @@ public async System.Threading.Tasks.Task PostJourneyViewVersionJ /// /// Submit a job request for a journey view version. /// used for long descriptions - /// PostJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Journey View Id @@ -15929,7 +15859,6 @@ public async System.Threading.Tasks.Task> PostJourne /// /// Update a Journey View by ID /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -15945,7 +15874,6 @@ public JourneyView PostJourneyViewVersions (string viewId, JourneyView body) /// /// Update a Journey View by ID /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -16047,7 +15975,6 @@ public ApiResponse< JourneyView > PostJourneyViewVersionsWithHttpInfo (string vi /// /// Update a Journey View by ID /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -16064,7 +15991,6 @@ public async System.Threading.Tasks.Task PostJourneyViewVersionsAsy /// /// Update a Journey View by ID /// creates a new version - /// PostJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// viewId @@ -16169,7 +16095,6 @@ public async System.Threading.Tasks.Task> PostJourneyVi /// /// Create a new Journey View /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -16184,7 +16109,6 @@ public JourneyView PostJourneyViews (JourneyView body) /// /// Create a new Journey View /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -16281,7 +16205,6 @@ public ApiResponse< JourneyView > PostJourneyViewsWithHttpInfo (JourneyView body /// /// Create a new Journey View /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView @@ -16297,7 +16220,6 @@ public async System.Threading.Tasks.Task PostJourneyViewsAsync (Jou /// /// Create a new Journey View /// - /// PostJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// JourneyView diff --git a/build/src/PureCloudPlatform.Client.V2/Api/KnowledgeApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/KnowledgeApi.cs index b6e82fbc9..d5dbdbada 100644 --- a/build/src/PureCloudPlatform.Client.V2/Api/KnowledgeApi.cs +++ b/build/src/PureCloudPlatform.Client.V2/Api/KnowledgeApi.cs @@ -1560,6 +1560,36 @@ public interface IKnowledgeApi : IApiAccessor ApiResponse PatchKnowledgeKnowledgebaseDocumentWithHttpInfo (string knowledgeBaseId, string documentId, KnowledgeDocumentReq body); + /// + /// Update feedback on a document + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// KnowledgeDocumentFeedbackResponse + + KnowledgeDocumentFeedbackResponse PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null); + + /// + /// Update feedback on a document + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// ApiResponse of KnowledgeDocumentFeedbackResponse + + ApiResponse PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdWithHttpInfo (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null); + /// /// Update a variation for a document. /// @@ -1960,6 +1990,32 @@ public interface IKnowledgeApi : IApiAccessor ApiResponse PostKnowledgeGuestSessionDocumentViewsWithHttpInfo (string sessionId, string documentId, KnowledgeGuestDocumentView body = null); + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// + /// KnowledgeGuestAnswerDocumentsResponse + + KnowledgeGuestAnswerDocumentsResponse PostKnowledgeGuestSessionDocumentsAnswers (string sessionId, KnowledgeDocumentsAnswerFilter body); + + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// + /// ApiResponse of KnowledgeGuestAnswerDocumentsResponse + + ApiResponse PostKnowledgeGuestSessionDocumentsAnswersWithHttpInfo (string sessionId, KnowledgeDocumentsAnswerFilter body); + /// /// Indicate that documents were presented to the user. /// @@ -2256,6 +2312,32 @@ public interface IKnowledgeApi : IApiAccessor ApiResponse PostKnowledgeKnowledgebaseDocumentsWithHttpInfo (string knowledgeBaseId, KnowledgeDocumentReq body); + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// KnowledgeAnswerDocumentsResponse + + KnowledgeAnswerDocumentsResponse PostKnowledgeKnowledgebaseDocumentsAnswers (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body); + + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// ApiResponse of KnowledgeAnswerDocumentsResponse + + ApiResponse PostKnowledgeKnowledgebaseDocumentsAnswersWithHttpInfo (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body); + /// /// Bulk remove documents. /// @@ -4380,6 +4462,36 @@ public interface IKnowledgeApi : IApiAccessor System.Threading.Tasks.Task> PatchKnowledgeKnowledgebaseDocumentAsyncWithHttpInfo (string knowledgeBaseId, string documentId, KnowledgeDocumentReq body); + /// + /// Update feedback on a document + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// Task of KnowledgeDocumentFeedbackResponse + + System.Threading.Tasks.Task PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdAsync (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null); + + /// + /// Update feedback on a document + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// Task of ApiResponse (KnowledgeDocumentFeedbackResponse) + + System.Threading.Tasks.Task> PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdAsyncWithHttpInfo (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null); + /// /// Update a variation for a document. /// @@ -4780,6 +4892,32 @@ public interface IKnowledgeApi : IApiAccessor System.Threading.Tasks.Task> PostKnowledgeGuestSessionDocumentViewsAsyncWithHttpInfo (string sessionId, string documentId, KnowledgeGuestDocumentView body = null); + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// + /// Task of KnowledgeGuestAnswerDocumentsResponse + + System.Threading.Tasks.Task PostKnowledgeGuestSessionDocumentsAnswersAsync (string sessionId, KnowledgeDocumentsAnswerFilter body); + + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// + /// Task of ApiResponse (KnowledgeGuestAnswerDocumentsResponse) + + System.Threading.Tasks.Task> PostKnowledgeGuestSessionDocumentsAnswersAsyncWithHttpInfo (string sessionId, KnowledgeDocumentsAnswerFilter body); + /// /// Indicate that documents were presented to the user. /// @@ -5076,6 +5214,32 @@ public interface IKnowledgeApi : IApiAccessor System.Threading.Tasks.Task> PostKnowledgeKnowledgebaseDocumentsAsyncWithHttpInfo (string knowledgeBaseId, KnowledgeDocumentReq body); + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// Task of KnowledgeAnswerDocumentsResponse + + System.Threading.Tasks.Task PostKnowledgeKnowledgebaseDocumentsAnswersAsync (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body); + + /// + /// Answer documents. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// Task of ApiResponse (KnowledgeAnswerDocumentsResponse) + + System.Threading.Tasks.Task> PostKnowledgeKnowledgebaseDocumentsAnswersAsyncWithHttpInfo (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body); + /// /// Bulk remove documents. /// @@ -17795,49 +17959,46 @@ public async System.Threading.Tasks.Task> /// - /// Update a variation for a document. + /// Update feedback on a document /// /// /// Thrown when fails to make API call - /// Globally unique identifier for a document variation. - /// Globally unique identifier for a document. - /// Globally unique identifier for a knowledge base. - /// - /// DocumentVariation + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// KnowledgeDocumentFeedbackResponse - public DocumentVariation PatchKnowledgeKnowledgebaseDocumentVariation (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + public KnowledgeDocumentFeedbackResponse PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null) { - ApiResponse localVarResponse = PatchKnowledgeKnowledgebaseDocumentVariationWithHttpInfo(documentVariationId, documentId, knowledgeBaseId, body); + ApiResponse localVarResponse = PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdWithHttpInfo(knowledgeBaseId, documentId, feedbackId, body); return localVarResponse.Data; } /// - /// Update a variation for a document. + /// Update feedback on a document /// /// /// Thrown when fails to make API call - /// Globally unique identifier for a document variation. - /// Globally unique identifier for a document. - /// Globally unique identifier for a knowledge base. - /// - /// ApiResponse of DocumentVariation + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// ApiResponse of KnowledgeDocumentFeedbackResponse - public ApiResponse< DocumentVariation > PatchKnowledgeKnowledgebaseDocumentVariationWithHttpInfo (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + public ApiResponse< KnowledgeDocumentFeedbackResponse > PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdWithHttpInfo (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null) { - // verify the required parameter 'documentVariationId' is set - if (documentVariationId == null) - throw new ApiException(400, "Missing required parameter 'documentVariationId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); // verify the required parameter 'knowledgeBaseId' is set if (knowledgeBaseId == null) - throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); - // verify the required parameter 'body' is set - if (body == null) - throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId"); + // verify the required parameter 'feedbackId' is set + if (feedbackId == null) + throw new ApiException(400, "Missing required parameter 'feedbackId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId"); - var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}"; + var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -17868,9 +18029,9 @@ public ApiResponse< DocumentVariation > PatchKnowledgeKnowledgebaseDocumentVaria localVarPathParams.Add("format", "json"); // Path params - if (documentVariationId != null) localVarPathParams.Add("documentVariationId", this.Configuration.ApiClient.ParameterToString(documentVariationId)); - if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); if (knowledgeBaseId != null) localVarPathParams.Add("knowledgeBaseId", this.Configuration.ApiClient.ParameterToString(knowledgeBaseId)); + if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); + if (feedbackId != null) localVarPathParams.Add("feedbackId", this.Configuration.ApiClient.ParameterToString(feedbackId)); // Query params @@ -17910,67 +18071,63 @@ public ApiResponse< DocumentVariation > PatchKnowledgeKnowledgebaseDocumentVaria ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - (DocumentVariation) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DocumentVariation)), + (KnowledgeDocumentFeedbackResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(KnowledgeDocumentFeedbackResponse)), localVarResponse.Content, localVarResponse.StatusDescription); } /// - /// Update a variation for a document. + /// Update feedback on a document /// /// /// Thrown when fails to make API call - /// Globally unique identifier for a document variation. - /// Globally unique identifier for a document. - /// Globally unique identifier for a knowledge base. - /// - /// Task of DocumentVariation + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// Task of KnowledgeDocumentFeedbackResponse - public async System.Threading.Tasks.Task PatchKnowledgeKnowledgebaseDocumentVariationAsync (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + public async System.Threading.Tasks.Task PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdAsync (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null) { - ApiResponse localVarResponse = await PatchKnowledgeKnowledgebaseDocumentVariationAsyncWithHttpInfo(documentVariationId, documentId, knowledgeBaseId, body); + ApiResponse localVarResponse = await PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdAsyncWithHttpInfo(knowledgeBaseId, documentId, feedbackId, body); return localVarResponse.Data; } /// - /// Update a variation for a document. + /// Update feedback on a document /// /// /// Thrown when fails to make API call - /// Globally unique identifier for a document variation. - /// Globally unique identifier for a document. - /// Globally unique identifier for a knowledge base. - /// - /// Task of ApiResponse (DocumentVariation) + /// Knowledge base ID. + /// Document ID. + /// Feedback ID. + /// (optional) + /// Task of ApiResponse (KnowledgeDocumentFeedbackResponse) - public async System.Threading.Tasks.Task> PatchKnowledgeKnowledgebaseDocumentVariationAsyncWithHttpInfo (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + public async System.Threading.Tasks.Task> PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdAsyncWithHttpInfo (string knowledgeBaseId, string documentId, string feedbackId, KnowledgeDocumentFeedbackUpdateRequest body = null) { - // verify the required parameter 'documentVariationId' is set - if (documentVariationId == null) - throw new ApiException(400, "Missing required parameter 'documentVariationId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + // verify the required parameter 'knowledgeBaseId' is set + if (knowledgeBaseId == null) + throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId"); // verify the required parameter 'documentId' is set if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); - - // verify the required parameter 'knowledgeBaseId' is set - if (knowledgeBaseId == null) - throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId"); - // verify the required parameter 'body' is set - if (body == null) - throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + // verify the required parameter 'feedbackId' is set + if (feedbackId == null) + throw new ApiException(400, "Missing required parameter 'feedbackId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId"); - var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}"; + var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -18001,9 +18158,9 @@ public async System.Threading.Tasks.Task> PatchKn localVarPathParams.Add("format", "json"); // Path params - if (documentVariationId != null) localVarPathParams.Add("documentVariationId", this.Configuration.ApiClient.ParameterToString(documentVariationId)); - if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); if (knowledgeBaseId != null) localVarPathParams.Add("knowledgeBaseId", this.Configuration.ApiClient.ParameterToString(knowledgeBaseId)); + if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); + if (feedbackId != null) localVarPathParams.Add("feedbackId", this.Configuration.ApiClient.ParameterToString(feedbackId)); // Query params @@ -18043,13 +18200,13 @@ public async System.Threading.Tasks.Task> PatchKn ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - (DocumentVariation) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DocumentVariation)), + (KnowledgeDocumentFeedbackResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(KnowledgeDocumentFeedbackResponse)), localVarResponse.Content, localVarResponse.StatusDescription); } @@ -18057,28 +18214,290 @@ public async System.Threading.Tasks.Task> PatchKn /// - /// Update search result. + /// Update a variation for a document. /// /// /// Thrown when fails to make API call - /// The ID of knowledge base containing the documents to query. - /// Search Result ID - /// (optional) - /// + /// Globally unique identifier for a document variation. + /// Globally unique identifier for a document. + /// Globally unique identifier for a knowledge base. + /// + /// DocumentVariation - public void PatchKnowledgeKnowledgebaseDocumentsSearchSearchId (string knowledgeBaseId, string searchId, SearchUpdateRequest body = null) + public DocumentVariation PatchKnowledgeKnowledgebaseDocumentVariation (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) { - PatchKnowledgeKnowledgebaseDocumentsSearchSearchIdWithHttpInfo(knowledgeBaseId, searchId, body); + ApiResponse localVarResponse = PatchKnowledgeKnowledgebaseDocumentVariationWithHttpInfo(documentVariationId, documentId, knowledgeBaseId, body); + return localVarResponse.Data; } /// - /// Update search result. + /// Update a variation for a document. /// /// /// Thrown when fails to make API call - /// The ID of knowledge base containing the documents to query. - /// Search Result ID - /// (optional) + /// Globally unique identifier for a document variation. + /// Globally unique identifier for a document. + /// Globally unique identifier for a knowledge base. + /// + /// ApiResponse of DocumentVariation + + public ApiResponse< DocumentVariation > PatchKnowledgeKnowledgebaseDocumentVariationWithHttpInfo (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + { + // verify the required parameter 'documentVariationId' is set + if (documentVariationId == null) + throw new ApiException(400, "Missing required parameter 'documentVariationId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + // verify the required parameter 'knowledgeBaseId' is set + if (knowledgeBaseId == null) + throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + + var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (documentVariationId != null) localVarPathParams.Add("documentVariationId", this.Configuration.ApiClient.ParameterToString(documentVariationId)); + if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); + if (knowledgeBaseId != null) localVarPathParams.Add("knowledgeBaseId", this.Configuration.ApiClient.ParameterToString(knowledgeBaseId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (DocumentVariation) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DocumentVariation)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Update a variation for a document. + /// + /// + /// Thrown when fails to make API call + /// Globally unique identifier for a document variation. + /// Globally unique identifier for a document. + /// Globally unique identifier for a knowledge base. + /// + /// Task of DocumentVariation + + public async System.Threading.Tasks.Task PatchKnowledgeKnowledgebaseDocumentVariationAsync (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + { + ApiResponse localVarResponse = await PatchKnowledgeKnowledgebaseDocumentVariationAsyncWithHttpInfo(documentVariationId, documentId, knowledgeBaseId, body); + return localVarResponse.Data; + + } + + /// + /// Update a variation for a document. + /// + /// + /// Thrown when fails to make API call + /// Globally unique identifier for a document variation. + /// Globally unique identifier for a document. + /// Globally unique identifier for a knowledge base. + /// + /// Task of ApiResponse (DocumentVariation) + + public async System.Threading.Tasks.Task> PatchKnowledgeKnowledgebaseDocumentVariationAsyncWithHttpInfo (string documentVariationId, string documentId, string knowledgeBaseId, DocumentVariation body) + { + // verify the required parameter 'documentVariationId' is set + if (documentVariationId == null) + throw new ApiException(400, "Missing required parameter 'documentVariationId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + + // verify the required parameter 'knowledgeBaseId' is set + if (knowledgeBaseId == null) + throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PatchKnowledgeKnowledgebaseDocumentVariation"); + + + var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (documentVariationId != null) localVarPathParams.Add("documentVariationId", this.Configuration.ApiClient.ParameterToString(documentVariationId)); + if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); + if (knowledgeBaseId != null) localVarPathParams.Add("knowledgeBaseId", this.Configuration.ApiClient.ParameterToString(knowledgeBaseId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Patch, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PatchKnowledgeKnowledgebaseDocumentVariation: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (DocumentVariation) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(DocumentVariation)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Update search result. + /// + /// + /// Thrown when fails to make API call + /// The ID of knowledge base containing the documents to query. + /// Search Result ID + /// (optional) + /// + + public void PatchKnowledgeKnowledgebaseDocumentsSearchSearchId (string knowledgeBaseId, string searchId, SearchUpdateRequest body = null) + { + PatchKnowledgeKnowledgebaseDocumentsSearchSearchIdWithHttpInfo(knowledgeBaseId, searchId, body); + } + + /// + /// Update search result. + /// + /// + /// Thrown when fails to make API call + /// The ID of knowledge base containing the documents to query. + /// Search Result ID + /// (optional) /// ApiResponse of Object(void) public ApiResponse PatchKnowledgeKnowledgebaseDocumentsSearchSearchIdWithHttpInfo (string knowledgeBaseId, string searchId, SearchUpdateRequest body = null) @@ -21029,31 +21448,256 @@ public async System.Threading.Tasks.Task (optional) /// - public void PostKnowledgeGuestSessionDocumentViews (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + public void PostKnowledgeGuestSessionDocumentViews (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + { + PostKnowledgeGuestSessionDocumentViewsWithHttpInfo(sessionId, documentId, body); + } + + /// + /// Create view event for a document. + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// Document ID + /// (optional) + /// ApiResponse of Object(void) + + public ApiResponse PostKnowledgeGuestSessionDocumentViewsWithHttpInfo (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + { + // verify the required parameter 'sessionId' is set + if (sessionId == null) + throw new ApiException(400, "Missing required parameter 'sessionId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + + var localVarPath = "/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (sessionId != null) localVarPathParams.Add("sessionId", this.Configuration.ApiClient.ParameterToString(sessionId)); + if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Create view event for a document. + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// Document ID + /// (optional) + /// Task of void + + public async System.Threading.Tasks.Task PostKnowledgeGuestSessionDocumentViewsAsync (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + { + await PostKnowledgeGuestSessionDocumentViewsAsyncWithHttpInfo(sessionId, documentId, body); + + } + + /// + /// Create view event for a document. + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// Document ID + /// (optional) + /// Task of ApiResponse + + public async System.Threading.Tasks.Task> PostKnowledgeGuestSessionDocumentViewsAsyncWithHttpInfo (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + { + // verify the required parameter 'sessionId' is set + if (sessionId == null) + throw new ApiException(400, "Missing required parameter 'sessionId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + + + var localVarPath = "/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (sessionId != null) localVarPathParams.Add("sessionId", this.Configuration.ApiClient.ParameterToString(sessionId)); + if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + null, + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + + /// + /// Answer documents. + /// + /// + /// Thrown when fails to make API call + /// Knowledge guest session ID. + /// + /// KnowledgeGuestAnswerDocumentsResponse + + public KnowledgeGuestAnswerDocumentsResponse PostKnowledgeGuestSessionDocumentsAnswers (string sessionId, KnowledgeDocumentsAnswerFilter body) { - PostKnowledgeGuestSessionDocumentViewsWithHttpInfo(sessionId, documentId, body); + ApiResponse localVarResponse = PostKnowledgeGuestSessionDocumentsAnswersWithHttpInfo(sessionId, body); + return localVarResponse.Data; } /// - /// Create view event for a document. + /// Answer documents. /// /// /// Thrown when fails to make API call /// Knowledge guest session ID. - /// Document ID - /// (optional) - /// ApiResponse of Object(void) + /// + /// ApiResponse of KnowledgeGuestAnswerDocumentsResponse - public ApiResponse PostKnowledgeGuestSessionDocumentViewsWithHttpInfo (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + public ApiResponse< KnowledgeGuestAnswerDocumentsResponse > PostKnowledgeGuestSessionDocumentsAnswersWithHttpInfo (string sessionId, KnowledgeDocumentsAnswerFilter body) { // verify the required parameter 'sessionId' is set if (sessionId == null) - throw new ApiException(400, "Missing required parameter 'sessionId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + throw new ApiException(400, "Missing required parameter 'sessionId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentsAnswers"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentsAnswers"); - var localVarPath = "/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views"; + var localVarPath = "/api/v2/knowledge/guest/sessions/{sessionId}/documents/answers"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -21085,7 +21729,6 @@ public ApiResponse PostKnowledgeGuestSessionDocumentViewsWithHttpInfo (s // Path params if (sessionId != null) localVarPathParams.Add("sessionId", this.Configuration.ApiClient.ParameterToString(sessionId)); - if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); // Query params @@ -21118,56 +21761,55 @@ public ApiResponse PostKnowledgeGuestSessionDocumentViewsWithHttpInfo (s ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentsAnswers: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentsAnswers: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - null, + (KnowledgeGuestAnswerDocumentsResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(KnowledgeGuestAnswerDocumentsResponse)), localVarResponse.Content, localVarResponse.StatusDescription); } /// - /// Create view event for a document. + /// Answer documents. /// /// /// Thrown when fails to make API call /// Knowledge guest session ID. - /// Document ID - /// (optional) - /// Task of void + /// + /// Task of KnowledgeGuestAnswerDocumentsResponse - public async System.Threading.Tasks.Task PostKnowledgeGuestSessionDocumentViewsAsync (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + public async System.Threading.Tasks.Task PostKnowledgeGuestSessionDocumentsAnswersAsync (string sessionId, KnowledgeDocumentsAnswerFilter body) { - await PostKnowledgeGuestSessionDocumentViewsAsyncWithHttpInfo(sessionId, documentId, body); + ApiResponse localVarResponse = await PostKnowledgeGuestSessionDocumentsAnswersAsyncWithHttpInfo(sessionId, body); + return localVarResponse.Data; } /// - /// Create view event for a document. + /// Answer documents. /// /// /// Thrown when fails to make API call /// Knowledge guest session ID. - /// Document ID - /// (optional) - /// Task of ApiResponse + /// + /// Task of ApiResponse (KnowledgeGuestAnswerDocumentsResponse) - public async System.Threading.Tasks.Task> PostKnowledgeGuestSessionDocumentViewsAsyncWithHttpInfo (string sessionId, string documentId, KnowledgeGuestDocumentView body = null) + public async System.Threading.Tasks.Task> PostKnowledgeGuestSessionDocumentsAnswersAsyncWithHttpInfo (string sessionId, KnowledgeDocumentsAnswerFilter body) { // verify the required parameter 'sessionId' is set if (sessionId == null) - throw new ApiException(400, "Missing required parameter 'sessionId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + throw new ApiException(400, "Missing required parameter 'sessionId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentsAnswers"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentViews"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PostKnowledgeGuestSessionDocumentsAnswers"); - var localVarPath = "/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views"; + var localVarPath = "/api/v2/knowledge/guest/sessions/{sessionId}/documents/answers"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new List>(); var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); @@ -21199,7 +21841,6 @@ public async System.Threading.Tasks.Task> PostKnowledgeGuest // Path params if (sessionId != null) localVarPathParams.Add("sessionId", this.Configuration.ApiClient.ParameterToString(sessionId)); - if (documentId != null) localVarPathParams.Add("documentId", this.Configuration.ApiClient.ParameterToString(documentId)); // Query params @@ -21232,13 +21873,13 @@ public async System.Threading.Tasks.Task> PostKnowledgeGuest ?? new Dictionary(); if (localVarStatusCode >= 400) - throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentsAnswers: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); else if (localVarStatusCode == 0) - throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentViews: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeGuestSessionDocumentsAnswers: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarHeaders, - null, + (KnowledgeGuestAnswerDocumentsResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(KnowledgeGuestAnswerDocumentsResponse)), localVarResponse.Content, localVarResponse.StatusDescription); } @@ -23795,6 +24436,242 @@ public async System.Threading.Tasks.Task> + /// + /// Answer documents. + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// KnowledgeAnswerDocumentsResponse + + public KnowledgeAnswerDocumentsResponse PostKnowledgeKnowledgebaseDocumentsAnswers (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body) + { + ApiResponse localVarResponse = PostKnowledgeKnowledgebaseDocumentsAnswersWithHttpInfo(knowledgeBaseId, body); + return localVarResponse.Data; + } + + /// + /// Answer documents. + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// ApiResponse of KnowledgeAnswerDocumentsResponse + + public ApiResponse< KnowledgeAnswerDocumentsResponse > PostKnowledgeKnowledgebaseDocumentsAnswersWithHttpInfo (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body) + { + // verify the required parameter 'knowledgeBaseId' is set + if (knowledgeBaseId == null) + throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PostKnowledgeKnowledgebaseDocumentsAnswers"); + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PostKnowledgeKnowledgebaseDocumentsAnswers"); + + var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (knowledgeBaseId != null) localVarPathParams.Add("knowledgeBaseId", this.Configuration.ApiClient.ParameterToString(knowledgeBaseId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeKnowledgebaseDocumentsAnswers: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeKnowledgebaseDocumentsAnswers: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (KnowledgeAnswerDocumentsResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(KnowledgeAnswerDocumentsResponse)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Answer documents. + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// Task of KnowledgeAnswerDocumentsResponse + + public async System.Threading.Tasks.Task PostKnowledgeKnowledgebaseDocumentsAnswersAsync (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body) + { + ApiResponse localVarResponse = await PostKnowledgeKnowledgebaseDocumentsAnswersAsyncWithHttpInfo(knowledgeBaseId, body); + return localVarResponse.Data; + + } + + /// + /// Answer documents. + /// + /// + /// Thrown when fails to make API call + /// Knowledge base ID + /// + /// Task of ApiResponse (KnowledgeAnswerDocumentsResponse) + + public async System.Threading.Tasks.Task> PostKnowledgeKnowledgebaseDocumentsAnswersAsyncWithHttpInfo (string knowledgeBaseId, KnowledgeDocumentsAnswerFilter body) + { + // verify the required parameter 'knowledgeBaseId' is set + if (knowledgeBaseId == null) + throw new ApiException(400, "Missing required parameter 'knowledgeBaseId' when calling KnowledgeApi->PostKnowledgeKnowledgebaseDocumentsAnswers"); + + // verify the required parameter 'body' is set + if (body == null) + throw new ApiException(400, "Missing required parameter 'body' when calling KnowledgeApi->PostKnowledgeKnowledgebaseDocumentsAnswers"); + + + var localVarPath = "/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (knowledgeBaseId != null) localVarPathParams.Add("knowledgeBaseId", this.Configuration.ApiClient.ParameterToString(knowledgeBaseId)); + + // Query params + + // Header params + + // Form params + + // Body param + if (body != null && body.GetType() != typeof(byte[])) + localVarPostBody = this.Configuration.ApiClient.Serialize(body); // http body (model) parameter + else + localVarPostBody = body; // byte array + + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Post, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeKnowledgebaseDocumentsAnswers: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling PostKnowledgeKnowledgebaseDocumentsAnswers: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (KnowledgeAnswerDocumentsResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(KnowledgeAnswerDocumentsResponse)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// /// Bulk remove documents. /// diff --git a/build/src/PureCloudPlatform.Client.V2/Api/RoutingApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/RoutingApi.cs index d057db1fa..f0c55c1fb 100644 --- a/build/src/PureCloudPlatform.Client.V2/Api/RoutingApi.cs +++ b/build/src/PureCloudPlatform.Client.V2/Api/RoutingApi.cs @@ -1248,6 +1248,32 @@ public interface IRoutingApi : IApiAccessor ApiResponse GetRoutingQueueWithHttpInfo (string queueId); + /// + /// Get an assistant associated with a queue. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// AssistantQueue + + AssistantQueue GetRoutingQueueAssistant (string queueId, string expand = null); + + /// + /// Get an assistant associated with a queue. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueue + + ApiResponse GetRoutingQueueAssistantWithHttpInfo (string queueId, string expand = null); + /// /// Get a Comparison Period. /// @@ -5184,6 +5210,32 @@ public interface IRoutingApi : IApiAccessor System.Threading.Tasks.Task> GetRoutingQueueAsyncWithHttpInfo (string queueId); + /// + /// Get an assistant associated with a queue. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueue + + System.Threading.Tasks.Task GetRoutingQueueAssistantAsync (string queueId, string expand = null); + + /// + /// Get an assistant associated with a queue. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueue) + + System.Threading.Tasks.Task> GetRoutingQueueAssistantAsyncWithHttpInfo (string queueId, string expand = null); + /// /// Get a Comparison Period. /// @@ -18489,6 +18541,225 @@ public async System.Threading.Tasks.Task> GetRoutingQueueAsyn + /// + /// Get an assistant associated with a queue. + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// AssistantQueue + + public AssistantQueue GetRoutingQueueAssistant (string queueId, string expand = null) + { + ApiResponse localVarResponse = GetRoutingQueueAssistantWithHttpInfo(queueId, expand); + return localVarResponse.Data; + } + + /// + /// Get an assistant associated with a queue. + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// ApiResponse of AssistantQueue + + public ApiResponse< AssistantQueue > GetRoutingQueueAssistantWithHttpInfo (string queueId, string expand = null) + { + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling RoutingApi->GetRoutingQueueAssistant"); + + var localVarPath = "/api/v2/routing/queues/{queueId}/assistant"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetRoutingQueueAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetRoutingQueueAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueue) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueue)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// + /// Get an assistant associated with a queue. + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of AssistantQueue + + public async System.Threading.Tasks.Task GetRoutingQueueAssistantAsync (string queueId, string expand = null) + { + ApiResponse localVarResponse = await GetRoutingQueueAssistantAsyncWithHttpInfo(queueId, expand); + return localVarResponse.Data; + + } + + /// + /// Get an assistant associated with a queue. + /// + /// + /// Thrown when fails to make API call + /// Queue ID + /// Which fields, if any, to expand. (optional) + /// Task of ApiResponse (AssistantQueue) + + public async System.Threading.Tasks.Task> GetRoutingQueueAssistantAsyncWithHttpInfo (string queueId, string expand = null) + { + // verify the required parameter 'queueId' is set + if (queueId == null) + throw new ApiException(400, "Missing required parameter 'queueId' when calling RoutingApi->GetRoutingQueueAssistant"); + + + var localVarPath = "/api/v2/routing/queues/{queueId}/assistant"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + "application/json" + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + + "application/json" + + + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + // set "format" to json by default + // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json + localVarPathParams.Add("format", "json"); + + // Path params + if (queueId != null) localVarPathParams.Add("queueId", this.Configuration.ApiClient.ParameterToString(queueId)); + + // Query params + if (expand != null) localVarQueryParams.Add(new Tuple("expand", this.Configuration.ApiClient.ParameterToString(expand))); + + // Header params + + // Form params + + // Body param + + + // authentication (PureCloud OAuth) required + // oauth required + if (!String.IsNullOrEmpty(Configuration.AccessToken)) + { + localVarHeaderParams["Authorization"] = "Bearer " + this.Configuration.AccessToken; + } + + // make the HTTP request + RestResponse localVarResponse = (RestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.Get, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + Dictionary localVarHeaders = localVarResponse.Headers? + .GroupBy(header => header.GetType().GetProperty("Name")?.GetValue(header)) + .Select(header => new + { + Name = header.First().GetType().GetProperty("Name")?.GetValue(header.First()), + Value = header.Select(x => x.GetType().GetProperty("Value")?.GetValue(x)).ToList() + }).ToDictionary(header => header?.Name?.ToString(), header => String.Join(", ", header?.Value?.ToArray())) + ?? new Dictionary(); + + if (localVarStatusCode >= 400) + throw new ApiException (localVarStatusCode, "Error calling GetRoutingQueueAssistant: " + localVarResponse.Content, localVarResponse.Content, localVarHeaders); + else if (localVarStatusCode == 0) + throw new ApiException (localVarStatusCode, "Error calling GetRoutingQueueAssistant: " + localVarResponse.ErrorMessage, localVarResponse.ErrorMessage); + + return new ApiResponse(localVarStatusCode, + localVarHeaders, + (AssistantQueue) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(AssistantQueue)), + localVarResponse.Content, + localVarResponse.StatusDescription); + } + + + /// /// Get a Comparison Period. /// diff --git a/build/src/PureCloudPlatform.Client.V2/Api/SettingsApi.cs b/build/src/PureCloudPlatform.Client.V2/Api/SettingsApi.cs index 4a7005d26..ccf05e8a5 100644 --- a/build/src/PureCloudPlatform.Client.V2/Api/SettingsApi.cs +++ b/build/src/PureCloudPlatform.Client.V2/Api/SettingsApi.cs @@ -67,7 +67,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// ExecutionDataGlobalSettingsResponse @@ -79,7 +78,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// ApiResponse of ExecutionDataGlobalSettingsResponse @@ -139,7 +137,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -152,7 +149,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -267,7 +263,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Task of ExecutionDataGlobalSettingsResponse @@ -279,7 +274,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Task of ApiResponse (ExecutionDataGlobalSettingsResponse) @@ -339,7 +333,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -352,7 +345,6 @@ public interface ISettingsApi : IApiAccessor /// /// /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -918,7 +910,6 @@ public async System.Threading.Tasks.Task> GetEmailsSe /// /// Get the execution history enabled setting. /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// ExecutionDataGlobalSettingsResponse @@ -932,7 +923,6 @@ public ExecutionDataGlobalSettingsResponse GetSettingsExecutiondata () /// /// Get the execution history enabled setting. /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// ApiResponse of ExecutionDataGlobalSettingsResponse @@ -1019,7 +1009,6 @@ public ApiResponse< ExecutionDataGlobalSettingsResponse > GetSettingsExecutionda /// /// Get the execution history enabled setting. /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Task of ExecutionDataGlobalSettingsResponse @@ -1034,7 +1023,6 @@ public async System.Threading.Tasks.Task Ge /// /// Get the execution history enabled setting. /// Get the execution history enabled setting. - /// GetSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// Task of ApiResponse (ExecutionDataGlobalSettingsResponse) @@ -1551,7 +1539,6 @@ public async System.Threading.Tasks.Task> PatchEmails /// /// Edit the execution history on off setting. /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -1566,7 +1553,6 @@ public ExecutionDataGlobalSettingsResponse PatchSettingsExecutiondata (Execution /// /// Edit the execution history on off setting. /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -1663,7 +1649,6 @@ public ApiResponse< ExecutionDataGlobalSettingsResponse > PatchSettingsExecution /// /// Edit the execution history on off setting. /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting @@ -1679,7 +1664,6 @@ public async System.Threading.Tasks.Task Pa /// /// Edit the execution history on off setting. /// Edit the execution history on off setting. - /// PatchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice /// /// Thrown when fails to make API call /// New Execution Data Setting diff --git a/build/src/PureCloudPlatform.Client.V2/Client/ApiClient.cs b/build/src/PureCloudPlatform.Client.V2/Client/ApiClient.cs index d02269b8d..35c80a0e9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Client/ApiClient.cs +++ b/build/src/PureCloudPlatform.Client.V2/Client/ApiClient.cs @@ -222,7 +222,7 @@ public Object CallApi( pathParams, contentType); // Set SDK version - request.AddHeader("purecloud-sdk", "214.0.0"); + request.AddHeader("purecloud-sdk", "215.0.0"); Retry retry = new Retry(this.RetryConfig); RestResponse response; diff --git a/build/src/PureCloudPlatform.Client.V2/Client/Configuration.cs b/build/src/PureCloudPlatform.Client.V2/Client/Configuration.cs index f8cb47fda..62db13714 100644 --- a/build/src/PureCloudPlatform.Client.V2/Client/Configuration.cs +++ b/build/src/PureCloudPlatform.Client.V2/Client/Configuration.cs @@ -207,7 +207,7 @@ private void onChanged(object source, FileSystemEventArgs e) /// Version of the package. /// /// Version of the package. - public const string Version = "214.0.0"; + public const string Version = "215.0.0"; /// /// Gets or sets the default Configuration. @@ -463,7 +463,7 @@ public static String ToDebugReport() .GetReferencedAssemblies() .Where(x => x.Name == "System.Core").First().Version.ToString() + "\n"; report += " Version of the API: v2\n"; - report += " SDK Package Version: 214.0.0\n"; + report += " SDK Package Version: 215.0.0\n"; return report; } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AcceleratorList.cs b/build/src/PureCloudPlatform.Client.V2/Model/AcceleratorList.cs index 83d641ecb..9e6c573be 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AcceleratorList.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AcceleratorList.cs @@ -25,20 +25,20 @@ public partial class AcceleratorList : IEquatable, IPagedResou /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public AcceleratorList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public AcceleratorList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public AcceleratorList(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(AcceleratorList other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AcdEndDetailEventTopicAcdEndEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/AcdEndDetailEventTopicAcdEndEvent.cs index e28f58a5b..52cad366a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AcdEndDetailEventTopicAcdEndEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AcdEndDetailEventTopicAcdEndEvent.cs @@ -312,7 +312,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets AcdOutcome @@ -563,7 +569,9 @@ public enum UsedRoutingEnum /// ConnectedDurationMs. /// ConversationExternalContactIds. /// ConversationExternalOrganizationIds. - public AcdEndDetailEventTopicAcdEndEvent(int? EventTime = null, string ConversationId = null, string ParticipantId = null, string SessionId = null, DisconnectTypeEnum? DisconnectType = null, MediaTypeEnum? MediaType = null, string Provider = null, DirectionEnum? Direction = null, string Ani = null, string Dnis = null, string AddressTo = null, string AddressFrom = null, string CallbackUserName = null, List CallbackNumbers = null, int? CallbackScheduledTime = null, string Subject = null, MessageTypeEnum? MessageType = null, string QueueId = null, string DivisionId = null, AcdOutcomeEnum? AcdOutcome = null, string AnsweredUserId = null, List RequestedRoutings = null, UsedRoutingEnum? UsedRouting = null, List RequestedRoutingSkillIds = null, string RequestedLanguageId = null, List RequestedRoutingUserIds = null, int? RoutingPriority = null, int? ConnectedDurationMs = null, List ConversationExternalContactIds = null, List ConversationExternalOrganizationIds = null) + /// UtilizationLabel. + /// FlowType. + public AcdEndDetailEventTopicAcdEndEvent(int? EventTime = null, string ConversationId = null, string ParticipantId = null, string SessionId = null, DisconnectTypeEnum? DisconnectType = null, MediaTypeEnum? MediaType = null, string Provider = null, DirectionEnum? Direction = null, string Ani = null, string Dnis = null, string AddressTo = null, string AddressFrom = null, string CallbackUserName = null, List CallbackNumbers = null, int? CallbackScheduledTime = null, string Subject = null, MessageTypeEnum? MessageType = null, string QueueId = null, string DivisionId = null, AcdOutcomeEnum? AcdOutcome = null, string AnsweredUserId = null, List RequestedRoutings = null, UsedRoutingEnum? UsedRouting = null, List RequestedRoutingSkillIds = null, string RequestedLanguageId = null, List RequestedRoutingUserIds = null, int? RoutingPriority = null, int? ConnectedDurationMs = null, List ConversationExternalContactIds = null, List ConversationExternalOrganizationIds = null, string UtilizationLabel = null, string FlowType = null) { this.EventTime = EventTime; this.ConversationId = ConversationId; @@ -595,6 +603,8 @@ public AcdEndDetailEventTopicAcdEndEvent(int? EventTime = null, string Conversat this.ConnectedDurationMs = ConnectedDurationMs; this.ConversationExternalContactIds = ConversationExternalContactIds; this.ConversationExternalOrganizationIds = ConversationExternalOrganizationIds; + this.UtilizationLabel = UtilizationLabel; + this.FlowType = FlowType; } @@ -803,6 +813,22 @@ public AcdEndDetailEventTopicAcdEndEvent(int? EventTime = null, string Conversat public List ConversationExternalOrganizationIds { get; set; } + + /// + /// Gets or Sets UtilizationLabel + /// + [DataMember(Name="utilizationLabel", EmitDefaultValue=false)] + public string UtilizationLabel { get; set; } + + + + /// + /// Gets or Sets FlowType + /// + [DataMember(Name="flowType", EmitDefaultValue=false)] + public string FlowType { get; set; } + + /// /// Returns the string presentation of the object /// @@ -842,6 +868,8 @@ public override string ToString() sb.Append(" ConnectedDurationMs: ").Append(ConnectedDurationMs).Append("\n"); sb.Append(" ConversationExternalContactIds: ").Append(ConversationExternalContactIds).Append("\n"); sb.Append(" ConversationExternalOrganizationIds: ").Append(ConversationExternalOrganizationIds).Append("\n"); + sb.Append(" UtilizationLabel: ").Append(UtilizationLabel).Append("\n"); + sb.Append(" FlowType: ").Append(FlowType).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -1031,6 +1059,16 @@ public bool Equals(AcdEndDetailEventTopicAcdEndEvent other) this.ConversationExternalOrganizationIds == other.ConversationExternalOrganizationIds || this.ConversationExternalOrganizationIds != null && this.ConversationExternalOrganizationIds.SequenceEqual(other.ConversationExternalOrganizationIds) + ) && + ( + this.UtilizationLabel == other.UtilizationLabel || + this.UtilizationLabel != null && + this.UtilizationLabel.Equals(other.UtilizationLabel) + ) && + ( + this.FlowType == other.FlowType || + this.FlowType != null && + this.FlowType.Equals(other.FlowType) ); } @@ -1135,6 +1173,12 @@ public override int GetHashCode() if (this.ConversationExternalOrganizationIds != null) hash = hash * 59 + this.ConversationExternalOrganizationIds.GetHashCode(); + if (this.UtilizationLabel != null) + hash = hash * 59 + this.UtilizationLabel.GetHashCode(); + + if (this.FlowType != null) + hash = hash * 59 + this.FlowType.GetHashCode(); + return hash; } } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AcdStartDetailEventTopicAcdStartEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/AcdStartDetailEventTopicAcdStartEvent.cs index 7ff290a08..9dd075524 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AcdStartDetailEventTopicAcdStartEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AcdStartDetailEventTopicAcdStartEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets MediaType @@ -224,7 +230,10 @@ public enum MessageTypeEnum /// DivisionId. /// ConversationExternalContactIds. /// ConversationExternalOrganizationIds. - public AcdStartDetailEventTopicAcdStartEvent(int? EventTime = null, string ConversationId = null, string ParticipantId = null, string SessionId = null, MediaTypeEnum? MediaType = null, string Provider = null, DirectionEnum? Direction = null, string Ani = null, string Dnis = null, string AddressTo = null, string AddressFrom = null, string CallbackUserName = null, List CallbackNumbers = null, int? CallbackScheduledTime = null, string Subject = null, MessageTypeEnum? MessageType = null, string QueueId = null, string DivisionId = null, List ConversationExternalContactIds = null, List ConversationExternalOrganizationIds = null) + /// UtilizationLabel. + /// RoutingPriority. + /// RequestedRoutingSkillIds. + public AcdStartDetailEventTopicAcdStartEvent(int? EventTime = null, string ConversationId = null, string ParticipantId = null, string SessionId = null, MediaTypeEnum? MediaType = null, string Provider = null, DirectionEnum? Direction = null, string Ani = null, string Dnis = null, string AddressTo = null, string AddressFrom = null, string CallbackUserName = null, List CallbackNumbers = null, int? CallbackScheduledTime = null, string Subject = null, MessageTypeEnum? MessageType = null, string QueueId = null, string DivisionId = null, List ConversationExternalContactIds = null, List ConversationExternalOrganizationIds = null, string UtilizationLabel = null, int? RoutingPriority = null, List RequestedRoutingSkillIds = null) { this.EventTime = EventTime; this.ConversationId = ConversationId; @@ -246,6 +255,9 @@ public AcdStartDetailEventTopicAcdStartEvent(int? EventTime = null, string Conve this.DivisionId = DivisionId; this.ConversationExternalContactIds = ConversationExternalContactIds; this.ConversationExternalOrganizationIds = ConversationExternalOrganizationIds; + this.UtilizationLabel = UtilizationLabel; + this.RoutingPriority = RoutingPriority; + this.RequestedRoutingSkillIds = RequestedRoutingSkillIds; } @@ -392,6 +404,30 @@ public AcdStartDetailEventTopicAcdStartEvent(int? EventTime = null, string Conve public List ConversationExternalOrganizationIds { get; set; } + + /// + /// Gets or Sets UtilizationLabel + /// + [DataMember(Name="utilizationLabel", EmitDefaultValue=false)] + public string UtilizationLabel { get; set; } + + + + /// + /// Gets or Sets RoutingPriority + /// + [DataMember(Name="routingPriority", EmitDefaultValue=false)] + public int? RoutingPriority { get; set; } + + + + /// + /// Gets or Sets RequestedRoutingSkillIds + /// + [DataMember(Name="requestedRoutingSkillIds", EmitDefaultValue=false)] + public List RequestedRoutingSkillIds { get; set; } + + /// /// Returns the string presentation of the object /// @@ -421,6 +457,9 @@ public override string ToString() sb.Append(" DivisionId: ").Append(DivisionId).Append("\n"); sb.Append(" ConversationExternalContactIds: ").Append(ConversationExternalContactIds).Append("\n"); sb.Append(" ConversationExternalOrganizationIds: ").Append(ConversationExternalOrganizationIds).Append("\n"); + sb.Append(" UtilizationLabel: ").Append(UtilizationLabel).Append("\n"); + sb.Append(" RoutingPriority: ").Append(RoutingPriority).Append("\n"); + sb.Append(" RequestedRoutingSkillIds: ").Append(RequestedRoutingSkillIds).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -560,6 +599,21 @@ public bool Equals(AcdStartDetailEventTopicAcdStartEvent other) this.ConversationExternalOrganizationIds == other.ConversationExternalOrganizationIds || this.ConversationExternalOrganizationIds != null && this.ConversationExternalOrganizationIds.SequenceEqual(other.ConversationExternalOrganizationIds) + ) && + ( + this.UtilizationLabel == other.UtilizationLabel || + this.UtilizationLabel != null && + this.UtilizationLabel.Equals(other.UtilizationLabel) + ) && + ( + this.RoutingPriority == other.RoutingPriority || + this.RoutingPriority != null && + this.RoutingPriority.Equals(other.RoutingPriority) + ) && + ( + this.RequestedRoutingSkillIds == other.RequestedRoutingSkillIds || + this.RequestedRoutingSkillIds != null && + this.RequestedRoutingSkillIds.SequenceEqual(other.RequestedRoutingSkillIds) ); } @@ -634,6 +688,15 @@ public override int GetHashCode() if (this.ConversationExternalOrganizationIds != null) hash = hash * 59 + this.ConversationExternalOrganizationIds.GetHashCode(); + if (this.UtilizationLabel != null) + hash = hash * 59 + this.UtilizationLabel.GetHashCode(); + + if (this.RoutingPriority != null) + hash = hash * 59 + this.RoutingPriority.GetHashCode(); + + if (this.RequestedRoutingSkillIds != null) + hash = hash * 59 + this.RequestedRoutingSkillIds.GetHashCode(); + return hash; } } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ActionCertificateListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ActionCertificateListing.cs index fa2c17f89..89a9a5f62 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ActionCertificateListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ActionCertificateListing.cs @@ -25,20 +25,20 @@ public partial class ActionCertificateListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ActionCertificateListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ActionCertificateListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ActionCertificateListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ActionCertificateListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ActionEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ActionEntityListing.cs index 8d07fde92..e654c5008 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ActionEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ActionEntityListing.cs @@ -25,20 +25,20 @@ public partial class ActionEntityListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ActionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ActionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ActionEntityListing(List Entiti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ActionEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ActionMapListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ActionMapListing.cs index 24034e0a4..78e91c973 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ActionMapListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ActionMapListing.cs @@ -25,20 +25,20 @@ public partial class ActionMapListing : IEquatable, IPagedRes /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ActionMapListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ActionMapListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ActionMapListing(List Entities = null, int? PageSize = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ActionMapListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ActionTargetListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ActionTargetListing.cs index c84a67115..8baf31dec 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ActionTargetListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ActionTargetListing.cs @@ -25,20 +25,20 @@ public partial class ActionTargetListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ActionTargetListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ActionTargetListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ActionTargetListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ActionTargetListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ActionTemplateListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ActionTemplateListing.cs index 44e6a47d4..481fd619a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ActionTemplateListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ActionTemplateListing.cs @@ -25,20 +25,20 @@ public partial class ActionTemplateListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ActionTemplateListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ActionTemplateListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ActionTemplateListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ActionTemplateListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ActivityCodesReference.cs b/build/src/PureCloudPlatform.Client.V2/Model/ActivityCodesReference.cs index 10ef946a0..8857b802f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ActivityCodesReference.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ActivityCodesReference.cs @@ -30,15 +30,6 @@ public ActivityCodesReference(List Ids = null) - /// - /// The globally unique identifier for the object. - /// - /// The globally unique identifier for the object. - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; private set; } - - - /// /// The IDs of activity codes /// @@ -65,7 +56,6 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class ActivityCodesReference {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Ids: ").Append(Ids).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append("}\n"); @@ -108,11 +98,6 @@ public bool Equals(ActivityCodesReference other) return false; return true && - ( - this.Id == other.Id || - this.Id != null && - this.Id.Equals(other.Id) - ) && ( this.Ids == other.Ids || this.Ids != null && @@ -136,9 +121,6 @@ public override int GetHashCode() { int hash = 41; // Suitable nullity checks etc, of course :) - if (this.Id != null) - hash = hash * 59 + this.Id.GetHashCode(); - if (this.Ids != null) hash = hash * 59 + this.Ids.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AcwDetailEventTopicAfterCallWorkEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/AcwDetailEventTopicAfterCallWorkEvent.cs index 0ec418d37..90d77b7f6 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AcwDetailEventTopicAfterCallWorkEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AcwDetailEventTopicAfterCallWorkEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets MediaType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AgentActivityEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AgentActivityEntityListing.cs index a3db61353..3b8f94204 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AgentActivityEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AgentActivityEntityListing.cs @@ -25,20 +25,20 @@ public partial class AgentActivityEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public AgentActivityEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public AgentActivityEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public AgentActivityEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(AgentActivityEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AlertListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AlertListing.cs index 62f2b83e5..e11541dd8 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AlertListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AlertListing.cs @@ -25,20 +25,20 @@ public partial class AlertListing : IEquatable, IPagedResourcePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public AlertListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public AlertListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public AlertListing(List Entities = null, int? PageSize = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(AlertListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AnswerGenerationConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/AnswerGenerationConfig.cs new file mode 100644 index 000000000..8ca9591c7 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/AnswerGenerationConfig.cs @@ -0,0 +1,123 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// AnswerGenerationConfig + /// + [DataContract] + public partial class AnswerGenerationConfig : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected AnswerGenerationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// Answer generation is enabled. (required). + public AnswerGenerationConfig(bool? Enabled = null) + { + this.Enabled = Enabled; + + } + + + + /// + /// Answer generation is enabled. + /// + /// Answer generation is enabled. + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class AnswerGenerationConfig {\n"); + + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as AnswerGenerationConfig); + } + + /// + /// Returns true if AnswerGenerationConfig instances are equal + /// + /// Instance of AnswerGenerationConfig to be compared + /// Boolean + public bool Equals(AnswerGenerationConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AssignedLearningModuleDomainEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AssignedLearningModuleDomainEntityListing.cs index 28d8e026f..deba0011c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AssignedLearningModuleDomainEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AssignedLearningModuleDomainEntityListing.cs @@ -25,20 +25,20 @@ public partial class AssignedLearningModuleDomainEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public AssignedLearningModuleDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public AssignedLearningModuleDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public AssignedLearningModuleDomainEntityListing(List En /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(AssignedLearningModuleDomainEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/Assistant.cs b/build/src/PureCloudPlatform.Client.V2/Model/Assistant.cs new file mode 100644 index 000000000..cf36a70bf --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/Assistant.cs @@ -0,0 +1,353 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// Assistant + /// + [DataContract] + public partial class Assistant : IEquatable + { + /// + /// State of the assistant. + /// + /// State of the assistant. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum StateEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Active for "Active" + /// + [EnumMember(Value = "Active")] + Active, + + /// + /// Enum Inactive for "Inactive" + /// + [EnumMember(Value = "Inactive")] + Inactive + } + /// + /// State of the assistant. + /// + /// State of the assistant. + [DataMember(Name="state", EmitDefaultValue=false)] + public StateEnum? State { get; private set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Assistant() { } + /// + /// Initializes a new instance of the class. + /// + /// The name of the assistant that will assist the agent. (required). + /// Configuration of Dialogflow used to assist the agent with transcriptions and knowledge suggestions.. + /// Configuration for speech transcription used to assist the agent. (required). + /// Configuration that defines how to produce knowledge suggestions. (required). + public Assistant(string Name = null, GoogleDialogflowConfig GoogleDialogflowConfig = null, TranscriptionConfig TranscriptionConfig = null, KnowledgeSuggestionConfig KnowledgeSuggestionConfig = null) + { + this.Name = Name; + this.GoogleDialogflowConfig = GoogleDialogflowConfig; + this.TranscriptionConfig = TranscriptionConfig; + this.KnowledgeSuggestionConfig = KnowledgeSuggestionConfig; + + } + + + + /// + /// The globally unique identifier for the object. + /// + /// The globally unique identifier for the object. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; private set; } + + + + /// + /// The name of the assistant that will assist the agent. + /// + /// The name of the assistant that will assist the agent. + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + + + /// + /// Date when the assistant was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + /// + /// Date when the assistant was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + [DataMember(Name="dateCreated", EmitDefaultValue=false)] + public DateTime? DateCreated { get; private set; } + + + + /// + /// Date when the assistant was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + /// + /// Date when the assistant was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + [DataMember(Name="dateModified", EmitDefaultValue=false)] + public DateTime? DateModified { get; private set; } + + + + /// + /// The user who created the assistant. + /// + /// The user who created the assistant. + [DataMember(Name="createdBy", EmitDefaultValue=false)] + public UserReference CreatedBy { get; private set; } + + + + /// + /// The user who last modified the assistant. + /// + /// The user who last modified the assistant. + [DataMember(Name="modifiedBy", EmitDefaultValue=false)] + public UserReference ModifiedBy { get; private set; } + + + + /// + /// Configuration of Dialogflow used to assist the agent with transcriptions and knowledge suggestions. + /// + /// Configuration of Dialogflow used to assist the agent with transcriptions and knowledge suggestions. + [DataMember(Name="googleDialogflowConfig", EmitDefaultValue=false)] + public GoogleDialogflowConfig GoogleDialogflowConfig { get; set; } + + + + /// + /// Configuration for speech transcription used to assist the agent. + /// + /// Configuration for speech transcription used to assist the agent. + [DataMember(Name="transcriptionConfig", EmitDefaultValue=false)] + public TranscriptionConfig TranscriptionConfig { get; set; } + + + + /// + /// Configuration that defines how to produce knowledge suggestions. + /// + /// Configuration that defines how to produce knowledge suggestions. + [DataMember(Name="knowledgeSuggestionConfig", EmitDefaultValue=false)] + public KnowledgeSuggestionConfig KnowledgeSuggestionConfig { get; set; } + + + + + + /// + /// Agent copilot configuration. + /// + /// Agent copilot configuration. + [DataMember(Name="copilot", EmitDefaultValue=false)] + public Copilot Copilot { get; private set; } + + + + /// + /// The URI for this object + /// + /// The URI for this object + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; private set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Assistant {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" DateCreated: ").Append(DateCreated).Append("\n"); + sb.Append(" DateModified: ").Append(DateModified).Append("\n"); + sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n"); + sb.Append(" ModifiedBy: ").Append(ModifiedBy).Append("\n"); + sb.Append(" GoogleDialogflowConfig: ").Append(GoogleDialogflowConfig).Append("\n"); + sb.Append(" TranscriptionConfig: ").Append(TranscriptionConfig).Append("\n"); + sb.Append(" KnowledgeSuggestionConfig: ").Append(KnowledgeSuggestionConfig).Append("\n"); + sb.Append(" State: ").Append(State).Append("\n"); + sb.Append(" Copilot: ").Append(Copilot).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Assistant); + } + + /// + /// Returns true if Assistant instances are equal + /// + /// Instance of Assistant to be compared + /// Boolean + public bool Equals(Assistant other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ) && + ( + this.DateCreated == other.DateCreated || + this.DateCreated != null && + this.DateCreated.Equals(other.DateCreated) + ) && + ( + this.DateModified == other.DateModified || + this.DateModified != null && + this.DateModified.Equals(other.DateModified) + ) && + ( + this.CreatedBy == other.CreatedBy || + this.CreatedBy != null && + this.CreatedBy.Equals(other.CreatedBy) + ) && + ( + this.ModifiedBy == other.ModifiedBy || + this.ModifiedBy != null && + this.ModifiedBy.Equals(other.ModifiedBy) + ) && + ( + this.GoogleDialogflowConfig == other.GoogleDialogflowConfig || + this.GoogleDialogflowConfig != null && + this.GoogleDialogflowConfig.Equals(other.GoogleDialogflowConfig) + ) && + ( + this.TranscriptionConfig == other.TranscriptionConfig || + this.TranscriptionConfig != null && + this.TranscriptionConfig.Equals(other.TranscriptionConfig) + ) && + ( + this.KnowledgeSuggestionConfig == other.KnowledgeSuggestionConfig || + this.KnowledgeSuggestionConfig != null && + this.KnowledgeSuggestionConfig.Equals(other.KnowledgeSuggestionConfig) + ) && + ( + this.State == other.State || + this.State != null && + this.State.Equals(other.State) + ) && + ( + this.Copilot == other.Copilot || + this.Copilot != null && + this.Copilot.Equals(other.Copilot) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + + if (this.DateCreated != null) + hash = hash * 59 + this.DateCreated.GetHashCode(); + + if (this.DateModified != null) + hash = hash * 59 + this.DateModified.GetHashCode(); + + if (this.CreatedBy != null) + hash = hash * 59 + this.CreatedBy.GetHashCode(); + + if (this.ModifiedBy != null) + hash = hash * 59 + this.ModifiedBy.GetHashCode(); + + if (this.GoogleDialogflowConfig != null) + hash = hash * 59 + this.GoogleDialogflowConfig.GetHashCode(); + + if (this.TranscriptionConfig != null) + hash = hash * 59 + this.TranscriptionConfig.GetHashCode(); + + if (this.KnowledgeSuggestionConfig != null) + hash = hash * 59 + this.KnowledgeSuggestionConfig.GetHashCode(); + + if (this.State != null) + hash = hash * 59 + this.State.GetHashCode(); + + if (this.Copilot != null) + hash = hash * 59 + this.Copilot.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AssistantListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AssistantListing.cs new file mode 100644 index 000000000..9d710a36c --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/AssistantListing.cs @@ -0,0 +1,173 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// AssistantListing + /// + [DataContract] + public partial class AssistantListing : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Entities. + /// NextUri. + /// SelfUri. + /// PreviousUri. + public AssistantListing(List Entities = null, string NextUri = null, string SelfUri = null, string PreviousUri = null) + { + this.Entities = Entities; + this.NextUri = NextUri; + this.SelfUri = SelfUri; + this.PreviousUri = PreviousUri; + + } + + + + /// + /// Gets or Sets Entities + /// + [DataMember(Name="entities", EmitDefaultValue=false)] + public List Entities { get; set; } + + + + /// + /// Gets or Sets NextUri + /// + [DataMember(Name="nextUri", EmitDefaultValue=false)] + public string NextUri { get; set; } + + + + /// + /// Gets or Sets SelfUri + /// + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; set; } + + + + /// + /// Gets or Sets PreviousUri + /// + [DataMember(Name="previousUri", EmitDefaultValue=false)] + public string PreviousUri { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class AssistantListing {\n"); + + sb.Append(" Entities: ").Append(Entities).Append("\n"); + sb.Append(" NextUri: ").Append(NextUri).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as AssistantListing); + } + + /// + /// Returns true if AssistantListing instances are equal + /// + /// Instance of AssistantListing to be compared + /// Boolean + public bool Equals(AssistantListing other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Entities == other.Entities || + this.Entities != null && + this.Entities.SequenceEqual(other.Entities) + ) && + ( + this.NextUri == other.NextUri || + this.NextUri != null && + this.NextUri.Equals(other.NextUri) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ) && + ( + this.PreviousUri == other.PreviousUri || + this.PreviousUri != null && + this.PreviousUri.Equals(other.PreviousUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Entities != null) + hash = hash * 59 + this.Entities.GetHashCode(); + + if (this.NextUri != null) + hash = hash * 59 + this.NextUri.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + if (this.PreviousUri != null) + hash = hash * 59 + this.PreviousUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AssistantQueue.cs b/build/src/PureCloudPlatform.Client.V2/Model/AssistantQueue.cs new file mode 100644 index 000000000..967d105cb --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/AssistantQueue.cs @@ -0,0 +1,247 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// AssistantQueue + /// + [DataContract] + public partial class AssistantQueue : IEquatable + { + /// + /// Gets or Sets MediaTypes + /// + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum MediaTypesEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Call for "Call" + /// + [EnumMember(Value = "Call")] + Call, + + /// + /// Enum Email for "Email" + /// + [EnumMember(Value = "Email")] + Email, + + /// + /// Enum Message for "Message" + /// + [EnumMember(Value = "Message")] + Message + } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected AssistantQueue() { } + /// + /// Initializes a new instance of the class. + /// + /// The globally unique identifier for the queue. (required). + /// List of media Types in which the assistant is activated for this queue. (required). + public AssistantQueue(string Id = null, List MediaTypes = null) + { + this.Id = Id; + this.MediaTypes = MediaTypes; + + } + + + + /// + /// The globally unique identifier for the queue. + /// + /// The globally unique identifier for the queue. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + /// + /// List of media Types in which the assistant is activated for this queue. + /// + /// List of media Types in which the assistant is activated for this queue. + [DataMember(Name="mediaTypes", EmitDefaultValue=false)] + public List MediaTypes { get; set; } + + + + /// + /// Assistant to which the queue is assigned. + /// + /// Assistant to which the queue is assigned. + [DataMember(Name="assistant", EmitDefaultValue=false)] + public Assistant Assistant { get; private set; } + + + + /// + /// Date when the assistant queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + /// + /// Date when the assistant queue was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + [DataMember(Name="dateCreated", EmitDefaultValue=false)] + public DateTime? DateCreated { get; private set; } + + + + /// + /// Date when the assistant queue was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + /// + /// Date when the assistant queue was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z + [DataMember(Name="dateModified", EmitDefaultValue=false)] + public DateTime? DateModified { get; private set; } + + + + /// + /// The URI for this object + /// + /// The URI for this object + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; private set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class AssistantQueue {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" MediaTypes: ").Append(MediaTypes).Append("\n"); + sb.Append(" Assistant: ").Append(Assistant).Append("\n"); + sb.Append(" DateCreated: ").Append(DateCreated).Append("\n"); + sb.Append(" DateModified: ").Append(DateModified).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as AssistantQueue); + } + + /// + /// Returns true if AssistantQueue instances are equal + /// + /// Instance of AssistantQueue to be compared + /// Boolean + public bool Equals(AssistantQueue other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.MediaTypes == other.MediaTypes || + this.MediaTypes != null && + this.MediaTypes.SequenceEqual(other.MediaTypes) + ) && + ( + this.Assistant == other.Assistant || + this.Assistant != null && + this.Assistant.Equals(other.Assistant) + ) && + ( + this.DateCreated == other.DateCreated || + this.DateCreated != null && + this.DateCreated.Equals(other.DateCreated) + ) && + ( + this.DateModified == other.DateModified || + this.DateModified != null && + this.DateModified.Equals(other.DateModified) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.MediaTypes != null) + hash = hash * 59 + this.MediaTypes.GetHashCode(); + + if (this.Assistant != null) + hash = hash * 59 + this.Assistant.GetHashCode(); + + if (this.DateCreated != null) + hash = hash * 59 + this.DateCreated.GetHashCode(); + + if (this.DateModified != null) + hash = hash * 59 + this.DateModified.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AssistantQueueListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AssistantQueueListing.cs new file mode 100644 index 000000000..91629668d --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/AssistantQueueListing.cs @@ -0,0 +1,173 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// AssistantQueueListing + /// + [DataContract] + public partial class AssistantQueueListing : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Entities. + /// NextUri. + /// SelfUri. + /// PreviousUri. + public AssistantQueueListing(List Entities = null, string NextUri = null, string SelfUri = null, string PreviousUri = null) + { + this.Entities = Entities; + this.NextUri = NextUri; + this.SelfUri = SelfUri; + this.PreviousUri = PreviousUri; + + } + + + + /// + /// Gets or Sets Entities + /// + [DataMember(Name="entities", EmitDefaultValue=false)] + public List Entities { get; set; } + + + + /// + /// Gets or Sets NextUri + /// + [DataMember(Name="nextUri", EmitDefaultValue=false)] + public string NextUri { get; set; } + + + + /// + /// Gets or Sets SelfUri + /// + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; set; } + + + + /// + /// Gets or Sets PreviousUri + /// + [DataMember(Name="previousUri", EmitDefaultValue=false)] + public string PreviousUri { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class AssistantQueueListing {\n"); + + sb.Append(" Entities: ").Append(Entities).Append("\n"); + sb.Append(" NextUri: ").Append(NextUri).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as AssistantQueueListing); + } + + /// + /// Returns true if AssistantQueueListing instances are equal + /// + /// Instance of AssistantQueueListing to be compared + /// Boolean + public bool Equals(AssistantQueueListing other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Entities == other.Entities || + this.Entities != null && + this.Entities.SequenceEqual(other.Entities) + ) && + ( + this.NextUri == other.NextUri || + this.NextUri != null && + this.NextUri.Equals(other.NextUri) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ) && + ( + this.PreviousUri == other.PreviousUri || + this.PreviousUri != null && + this.PreviousUri.Equals(other.PreviousUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Entities != null) + hash = hash * 59 + this.Entities.GetHashCode(); + + if (this.NextUri != null) + hash = hash * 59 + this.NextUri.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + if (this.PreviousUri != null) + hash = hash * 59 + this.PreviousUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AttemptLimitsEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AttemptLimitsEntityListing.cs index 6d7ae9349..6966d380b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AttemptLimitsEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AttemptLimitsEntityListing.cs @@ -25,20 +25,20 @@ public partial class AttemptLimitsEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public AttemptLimitsEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public AttemptLimitsEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public AttemptLimitsEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(AttemptLimitsEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/AuthzDivisionEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/AuthzDivisionEntityListing.cs index 1f741bb87..afe898022 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/AuthzDivisionEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/AuthzDivisionEntityListing.cs @@ -25,20 +25,20 @@ public partial class AuthzDivisionEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public AuthzDivisionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public AuthzDivisionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public AuthzDivisionEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(AuthzDivisionEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotSummaryEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotSummaryEntityListing.cs index 1aa944a0b..f7656603a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotSummaryEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotSummaryEntityListing.cs @@ -25,20 +25,20 @@ public partial class BotConnectorBotSummaryEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public BotConnectorBotSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public BotConnectorBotSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public BotConnectorBotSummaryEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(BotConnectorBotSummaryEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotVersionSummaryEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotVersionSummaryEntityListing.cs index b078c2a6e..66827bb9e 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotVersionSummaryEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/BotConnectorBotVersionSummaryEntityListing.cs @@ -25,20 +25,20 @@ public partial class BotConnectorBotVersionSummaryEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public BotConnectorBotVersionSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public BotConnectorBotVersionSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public BotConnectorBotVersionSummaryEntityListing(List Entiti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(BotConnectorBotVersionSummaryEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsRequest.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsRequest.cs new file mode 100644 index 000000000..12204e774 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsRequest.cs @@ -0,0 +1,117 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuActivitySettingsRequest + /// + [DataContract] + public partial class BuActivitySettingsRequest : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Default Activity Code ID settings. + public BuActivitySettingsRequest(string DefaultActivityCodeId = null) + { + this.DefaultActivityCodeId = DefaultActivityCodeId; + + } + + + + /// + /// Default Activity Code ID settings + /// + /// Default Activity Code ID settings + [DataMember(Name="defaultActivityCodeId", EmitDefaultValue=false)] + public string DefaultActivityCodeId { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuActivitySettingsRequest {\n"); + + sb.Append(" DefaultActivityCodeId: ").Append(DefaultActivityCodeId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuActivitySettingsRequest); + } + + /// + /// Returns true if BuActivitySettingsRequest instances are equal + /// + /// Instance of BuActivitySettingsRequest to be compared + /// Boolean + public bool Equals(BuActivitySettingsRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.DefaultActivityCodeId == other.DefaultActivityCodeId || + this.DefaultActivityCodeId != null && + this.DefaultActivityCodeId.Equals(other.DefaultActivityCodeId) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DefaultActivityCodeId != null) + hash = hash * 59 + this.DefaultActivityCodeId.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsResponse.cs new file mode 100644 index 000000000..27c320f6e --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuActivitySettingsResponse.cs @@ -0,0 +1,117 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuActivitySettingsResponse + /// + [DataContract] + public partial class BuActivitySettingsResponse : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Default Activity Code settings. + public BuActivitySettingsResponse(ActivityCodeReference DefaultActivityCode = null) + { + this.DefaultActivityCode = DefaultActivityCode; + + } + + + + /// + /// Default Activity Code settings + /// + /// Default Activity Code settings + [DataMember(Name="defaultActivityCode", EmitDefaultValue=false)] + public ActivityCodeReference DefaultActivityCode { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuActivitySettingsResponse {\n"); + + sb.Append(" DefaultActivityCode: ").Append(DefaultActivityCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuActivitySettingsResponse); + } + + /// + /// Returns true if BuActivitySettingsResponse instances are equal + /// + /// Instance of BuActivitySettingsResponse to be compared + /// Boolean + public bool Equals(BuActivitySettingsResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.DefaultActivityCode == other.DefaultActivityCode || + this.DefaultActivityCode != null && + this.DefaultActivityCode.Equals(other.DefaultActivityCode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.DefaultActivityCode != null) + hash = hash * 59 + this.DefaultActivityCode.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsRequest.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsRequest.cs new file mode 100644 index 000000000..ce222f41e --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsRequest.cs @@ -0,0 +1,117 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuNotificationSettingsRequest + /// + [DataContract] + public partial class BuNotificationSettingsRequest : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Schedule notification settings. + public BuNotificationSettingsRequest(BuScheduleNotificationsSettingsRequest Scheduling = null) + { + this.Scheduling = Scheduling; + + } + + + + /// + /// Schedule notification settings + /// + /// Schedule notification settings + [DataMember(Name="scheduling", EmitDefaultValue=false)] + public BuScheduleNotificationsSettingsRequest Scheduling { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuNotificationSettingsRequest {\n"); + + sb.Append(" Scheduling: ").Append(Scheduling).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuNotificationSettingsRequest); + } + + /// + /// Returns true if BuNotificationSettingsRequest instances are equal + /// + /// Instance of BuNotificationSettingsRequest to be compared + /// Boolean + public bool Equals(BuNotificationSettingsRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Scheduling == other.Scheduling || + this.Scheduling != null && + this.Scheduling.Equals(other.Scheduling) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Scheduling != null) + hash = hash * 59 + this.Scheduling.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsResponse.cs new file mode 100644 index 000000000..76f22d2c7 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuNotificationSettingsResponse.cs @@ -0,0 +1,117 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuNotificationSettingsResponse + /// + [DataContract] + public partial class BuNotificationSettingsResponse : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Schedule notification settings. + public BuNotificationSettingsResponse(BuScheduleNotificationsSettingsResponse Scheduling = null) + { + this.Scheduling = Scheduling; + + } + + + + /// + /// Schedule notification settings + /// + /// Schedule notification settings + [DataMember(Name="scheduling", EmitDefaultValue=false)] + public BuScheduleNotificationsSettingsResponse Scheduling { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuNotificationSettingsResponse {\n"); + + sb.Append(" Scheduling: ").Append(Scheduling).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuNotificationSettingsResponse); + } + + /// + /// Returns true if BuNotificationSettingsResponse instances are equal + /// + /// Instance of BuNotificationSettingsResponse to be compared + /// Boolean + public bool Equals(BuNotificationSettingsResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Scheduling == other.Scheduling || + this.Scheduling != null && + this.Scheduling.Equals(other.Scheduling) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Scheduling != null) + hash = hash * 59 + this.Scheduling.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsCategorySettings.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsCategorySettings.cs new file mode 100644 index 000000000..a51a3416c --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsCategorySettings.cs @@ -0,0 +1,231 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuScheduleNotificationsCategorySettings + /// + [DataContract] + public partial class BuScheduleNotificationsCategorySettings : IEquatable + { + /// + /// The activity category + /// + /// The activity category + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum ActivityCategoryEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Onqueuework for "OnQueueWork" + /// + [EnumMember(Value = "OnQueueWork")] + Onqueuework, + + /// + /// Enum Break for "Break" + /// + [EnumMember(Value = "Break")] + Break, + + /// + /// Enum Meal for "Meal" + /// + [EnumMember(Value = "Meal")] + Meal, + + /// + /// Enum Meeting for "Meeting" + /// + [EnumMember(Value = "Meeting")] + Meeting, + + /// + /// Enum Offqueuework for "OffQueueWork" + /// + [EnumMember(Value = "OffQueueWork")] + Offqueuework, + + /// + /// Enum Timeoff for "TimeOff" + /// + [EnumMember(Value = "TimeOff")] + Timeoff, + + /// + /// Enum Training for "Training" + /// + [EnumMember(Value = "Training")] + Training, + + /// + /// Enum Unavailable for "Unavailable" + /// + [EnumMember(Value = "Unavailable")] + Unavailable, + + /// + /// Enum Unscheduled for "Unscheduled" + /// + [EnumMember(Value = "Unscheduled")] + Unscheduled + } + /// + /// The activity category + /// + /// The activity category + [DataMember(Name="activityCategory", EmitDefaultValue=false)] + public ActivityCategoryEnum? ActivityCategory { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected BuScheduleNotificationsCategorySettings() { } + /// + /// Initializes a new instance of the class. + /// + /// The activity category (required). + /// Indicates if agents should receive early schedule reminder notifications. (required). + /// Indicates if agents should receive out of adherence notifications. (required). + public BuScheduleNotificationsCategorySettings(ActivityCategoryEnum? ActivityCategory = null, bool? EarlyReminderEnabled = null, bool? OnTimeReminderEnabled = null) + { + this.ActivityCategory = ActivityCategory; + this.EarlyReminderEnabled = EarlyReminderEnabled; + this.OnTimeReminderEnabled = OnTimeReminderEnabled; + + } + + + + + + /// + /// Indicates if agents should receive early schedule reminder notifications. + /// + /// Indicates if agents should receive early schedule reminder notifications. + [DataMember(Name="earlyReminderEnabled", EmitDefaultValue=false)] + public bool? EarlyReminderEnabled { get; set; } + + + + /// + /// Indicates if agents should receive out of adherence notifications. + /// + /// Indicates if agents should receive out of adherence notifications. + [DataMember(Name="onTimeReminderEnabled", EmitDefaultValue=false)] + public bool? OnTimeReminderEnabled { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuScheduleNotificationsCategorySettings {\n"); + + sb.Append(" ActivityCategory: ").Append(ActivityCategory).Append("\n"); + sb.Append(" EarlyReminderEnabled: ").Append(EarlyReminderEnabled).Append("\n"); + sb.Append(" OnTimeReminderEnabled: ").Append(OnTimeReminderEnabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuScheduleNotificationsCategorySettings); + } + + /// + /// Returns true if BuScheduleNotificationsCategorySettings instances are equal + /// + /// Instance of BuScheduleNotificationsCategorySettings to be compared + /// Boolean + public bool Equals(BuScheduleNotificationsCategorySettings other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.ActivityCategory == other.ActivityCategory || + this.ActivityCategory != null && + this.ActivityCategory.Equals(other.ActivityCategory) + ) && + ( + this.EarlyReminderEnabled == other.EarlyReminderEnabled || + this.EarlyReminderEnabled != null && + this.EarlyReminderEnabled.Equals(other.EarlyReminderEnabled) + ) && + ( + this.OnTimeReminderEnabled == other.OnTimeReminderEnabled || + this.OnTimeReminderEnabled != null && + this.OnTimeReminderEnabled.Equals(other.OnTimeReminderEnabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ActivityCategory != null) + hash = hash * 59 + this.ActivityCategory.GetHashCode(); + + if (this.EarlyReminderEnabled != null) + hash = hash * 59 + this.EarlyReminderEnabled.GetHashCode(); + + if (this.OnTimeReminderEnabled != null) + hash = hash * 59 + this.OnTimeReminderEnabled.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsRequest.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsRequest.cs new file mode 100644 index 000000000..72748ddbf --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsRequest.cs @@ -0,0 +1,137 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuScheduleNotificationsSettingsRequest + /// + [DataContract] + public partial class BuScheduleNotificationsSettingsRequest : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The number of minutes prior to the scheduled event to display an early reminder notification. + /// List of activity category notification settings. + public BuScheduleNotificationsSettingsRequest(int? EarlyReminderMinutes = null, List ActivityCategorySettings = null) + { + this.EarlyReminderMinutes = EarlyReminderMinutes; + this.ActivityCategorySettings = ActivityCategorySettings; + + } + + + + /// + /// The number of minutes prior to the scheduled event to display an early reminder notification + /// + /// The number of minutes prior to the scheduled event to display an early reminder notification + [DataMember(Name="earlyReminderMinutes", EmitDefaultValue=false)] + public int? EarlyReminderMinutes { get; set; } + + + + /// + /// List of activity category notification settings + /// + /// List of activity category notification settings + [DataMember(Name="activityCategorySettings", EmitDefaultValue=false)] + public List ActivityCategorySettings { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuScheduleNotificationsSettingsRequest {\n"); + + sb.Append(" EarlyReminderMinutes: ").Append(EarlyReminderMinutes).Append("\n"); + sb.Append(" ActivityCategorySettings: ").Append(ActivityCategorySettings).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuScheduleNotificationsSettingsRequest); + } + + /// + /// Returns true if BuScheduleNotificationsSettingsRequest instances are equal + /// + /// Instance of BuScheduleNotificationsSettingsRequest to be compared + /// Boolean + public bool Equals(BuScheduleNotificationsSettingsRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.EarlyReminderMinutes == other.EarlyReminderMinutes || + this.EarlyReminderMinutes != null && + this.EarlyReminderMinutes.Equals(other.EarlyReminderMinutes) + ) && + ( + this.ActivityCategorySettings == other.ActivityCategorySettings || + this.ActivityCategorySettings != null && + this.ActivityCategorySettings.SequenceEqual(other.ActivityCategorySettings) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EarlyReminderMinutes != null) + hash = hash * 59 + this.EarlyReminderMinutes.GetHashCode(); + + if (this.ActivityCategorySettings != null) + hash = hash * 59 + this.ActivityCategorySettings.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsResponse.cs new file mode 100644 index 000000000..9810934cb --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/BuScheduleNotificationsSettingsResponse.cs @@ -0,0 +1,143 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// BuScheduleNotificationsSettingsResponse + /// + [DataContract] + public partial class BuScheduleNotificationsSettingsResponse : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected BuScheduleNotificationsSettingsResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// The number of minutes prior to the scheduled event to display an early reminder notification (required). + /// List of activity category notification settings (required). + public BuScheduleNotificationsSettingsResponse(int? EarlyReminderMinutes = null, List ActivityCategorySettings = null) + { + this.EarlyReminderMinutes = EarlyReminderMinutes; + this.ActivityCategorySettings = ActivityCategorySettings; + + } + + + + /// + /// The number of minutes prior to the scheduled event to display an early reminder notification + /// + /// The number of minutes prior to the scheduled event to display an early reminder notification + [DataMember(Name="earlyReminderMinutes", EmitDefaultValue=false)] + public int? EarlyReminderMinutes { get; set; } + + + + /// + /// List of activity category notification settings + /// + /// List of activity category notification settings + [DataMember(Name="activityCategorySettings", EmitDefaultValue=false)] + public List ActivityCategorySettings { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BuScheduleNotificationsSettingsResponse {\n"); + + sb.Append(" EarlyReminderMinutes: ").Append(EarlyReminderMinutes).Append("\n"); + sb.Append(" ActivityCategorySettings: ").Append(ActivityCategorySettings).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BuScheduleNotificationsSettingsResponse); + } + + /// + /// Returns true if BuScheduleNotificationsSettingsResponse instances are equal + /// + /// Instance of BuScheduleNotificationsSettingsResponse to be compared + /// Boolean + public bool Equals(BuScheduleNotificationsSettingsResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.EarlyReminderMinutes == other.EarlyReminderMinutes || + this.EarlyReminderMinutes != null && + this.EarlyReminderMinutes.Equals(other.EarlyReminderMinutes) + ) && + ( + this.ActivityCategorySettings == other.ActivityCategorySettings || + this.ActivityCategorySettings != null && + this.ActivityCategorySettings.SequenceEqual(other.ActivityCategorySettings) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.EarlyReminderMinutes != null) + hash = hash * 59 + this.EarlyReminderMinutes.GetHashCode(); + + if (this.ActivityCategorySettings != null) + hash = hash * 59 + this.ActivityCategorySettings.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CachedMediaItemEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CachedMediaItemEntityListing.cs index 2d2b234ee..14a57e517 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CachedMediaItemEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CachedMediaItemEntityListing.cs @@ -25,20 +25,20 @@ public partial class CachedMediaItemEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CachedMediaItemEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CachedMediaItemEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CachedMediaItemEntityListing(List Entities = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CachedMediaItemEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CalibrationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CalibrationEntityListing.cs index 2734dd7ad..0af7a9089 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CalibrationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CalibrationEntityListing.cs @@ -25,20 +25,20 @@ public partial class CalibrationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CalibrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CalibrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CalibrationEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CalibrationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CallConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CallConversationEntityListing.cs index f114f0de5..4da1655c1 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CallConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CallConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class CallConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CallConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CallConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CallConversationEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CallConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CallHistoryConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CallHistoryConversationEntityListing.cs index f08d7f19e..deb41a52a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CallHistoryConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CallHistoryConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class CallHistoryConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CallHistoryConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CallHistoryConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CallHistoryConversationEntityListing(List Entiti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CallHistoryConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CallableTimeSetEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CallableTimeSetEntityListing.cs index 2d7dec9a1..8ef267ce4 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CallableTimeSetEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CallableTimeSetEntityListing.cs @@ -25,20 +25,20 @@ public partial class CallableTimeSetEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CallableTimeSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CallableTimeSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CallableTimeSetEntityListing(List Entities = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CallableTimeSetEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CallbackConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CallbackConversationEntityListing.cs index 0c1189e88..f27e2abe9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CallbackConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CallbackConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class CallbackConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CallbackConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CallbackConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CallbackConversationEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CallbackConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CampaignDivisionViewListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CampaignDivisionViewListing.cs index 9df801ac2..6fb9aeb51 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CampaignDivisionViewListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CampaignDivisionViewListing.cs @@ -25,20 +25,20 @@ public partial class CampaignDivisionViewListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CampaignDivisionViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CampaignDivisionViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CampaignDivisionViewListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CampaignDivisionViewListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CampaignEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CampaignEntityListing.cs index 86e70c815..747529b8b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CampaignEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CampaignEntityListing.cs @@ -25,20 +25,20 @@ public partial class CampaignEntityListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CampaignEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CampaignEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CampaignEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CampaignEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleConditionGroup.cs b/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleConditionGroup.cs new file mode 100644 index 000000000..ec2dc7eed --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleConditionGroup.cs @@ -0,0 +1,143 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CampaignRuleConditionGroup + /// + [DataContract] + public partial class CampaignRuleConditionGroup : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CampaignRuleConditionGroup() { } + /// + /// Initializes a new instance of the class. + /// + /// Whether or not this condition group should be evaluated as true if any of sub conditions is matched (required). + /// The parameters for the CampaignRuleCondition. (required). + public CampaignRuleConditionGroup(bool? MatchAnyConditions = null, List Conditions = null) + { + this.MatchAnyConditions = MatchAnyConditions; + this.Conditions = Conditions; + + } + + + + /// + /// Whether or not this condition group should be evaluated as true if any of sub conditions is matched + /// + /// Whether or not this condition group should be evaluated as true if any of sub conditions is matched + [DataMember(Name="matchAnyConditions", EmitDefaultValue=false)] + public bool? MatchAnyConditions { get; set; } + + + + /// + /// The parameters for the CampaignRuleCondition. + /// + /// The parameters for the CampaignRuleCondition. + [DataMember(Name="conditions", EmitDefaultValue=false)] + public List Conditions { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CampaignRuleConditionGroup {\n"); + + sb.Append(" MatchAnyConditions: ").Append(MatchAnyConditions).Append("\n"); + sb.Append(" Conditions: ").Append(Conditions).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CampaignRuleConditionGroup); + } + + /// + /// Returns true if CampaignRuleConditionGroup instances are equal + /// + /// Instance of CampaignRuleConditionGroup to be compared + /// Boolean + public bool Equals(CampaignRuleConditionGroup other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.MatchAnyConditions == other.MatchAnyConditions || + this.MatchAnyConditions != null && + this.MatchAnyConditions.Equals(other.MatchAnyConditions) + ) && + ( + this.Conditions == other.Conditions || + this.Conditions != null && + this.Conditions.SequenceEqual(other.Conditions) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.MatchAnyConditions != null) + hash = hash * 59 + this.MatchAnyConditions.GetHashCode(); + + if (this.Conditions != null) + hash = hash * 59 + this.Conditions.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleEntityListing.cs index 1889b19d5..d9950bb95 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CampaignRuleEntityListing.cs @@ -25,20 +25,20 @@ public partial class CampaignRuleEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CampaignRuleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CampaignRuleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CampaignRuleEntityListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CampaignRuleEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CampaignSequenceEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CampaignSequenceEntityListing.cs index 614e6754a..c8df40fee 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CampaignSequenceEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CampaignSequenceEntityListing.cs @@ -25,20 +25,20 @@ public partial class CampaignSequenceEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CampaignSequenceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CampaignSequenceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CampaignSequenceEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CampaignSequenceEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CategoriesEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CategoriesEntityListing.cs index fe9f3e197..45c2ac9fb 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CategoriesEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CategoriesEntityListing.cs @@ -25,20 +25,20 @@ public partial class CategoriesEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CategoriesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CategoriesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CategoriesEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CategoriesEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CertificateAuthorityEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CertificateAuthorityEntityListing.cs index b5afca4ad..d1c07577c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CertificateAuthorityEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CertificateAuthorityEntityListing.cs @@ -25,20 +25,20 @@ public partial class CertificateAuthorityEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CertificateAuthorityEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CertificateAuthorityEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CertificateAuthorityEntityListing(List Entiti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CertificateAuthorityEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ChatConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ChatConversationEntityListing.cs index 697980498..aea0c6eab 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ChatConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ChatConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class ChatConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ChatConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ChatConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ChatConversationEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ChatConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ClientAppEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ClientAppEntityListing.cs index 7a6de9c41..e51d78d28 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ClientAppEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ClientAppEntityListing.cs @@ -25,20 +25,20 @@ public partial class ClientAppEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ClientAppEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ClientAppEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ClientAppEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ClientAppEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CoachingAnnotationList.cs b/build/src/PureCloudPlatform.Client.V2/Model/CoachingAnnotationList.cs index 48f817305..a73e977be 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CoachingAnnotationList.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CoachingAnnotationList.cs @@ -25,20 +25,20 @@ public partial class CoachingAnnotationList : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CoachingAnnotationList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CoachingAnnotationList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CoachingAnnotationList(List Entities = null, int? Pag /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CoachingAnnotationList other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CoachingAppointmentResponseList.cs b/build/src/PureCloudPlatform.Client.V2/Model/CoachingAppointmentResponseList.cs index 7ed8c069d..921a1b69f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CoachingAppointmentResponseList.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CoachingAppointmentResponseList.cs @@ -25,20 +25,20 @@ public partial class CoachingAppointmentResponseList : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CoachingAppointmentResponseList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CoachingAppointmentResponseList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CoachingAppointmentResponseList(List Entitie /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CoachingAppointmentResponseList other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CoachingNotificationList.cs b/build/src/PureCloudPlatform.Client.V2/Model/CoachingNotificationList.cs index f670f5477..dfa1b7f52 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CoachingNotificationList.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CoachingNotificationList.cs @@ -25,20 +25,20 @@ public partial class CoachingNotificationList : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CoachingNotificationList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CoachingNotificationList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CoachingNotificationList(List Entities = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CoachingNotificationList other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CobrowseConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CobrowseConversationEntityListing.cs index be2441dda..ae9c31ba6 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CobrowseConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CobrowseConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class CobrowseConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CobrowseConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CobrowseConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CobrowseConversationEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CobrowseConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CommandStatusEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CommandStatusEntityListing.cs index a5a41cdb7..e9b41664b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CommandStatusEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CommandStatusEntityListing.cs @@ -25,20 +25,20 @@ public partial class CommandStatusEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CommandStatusEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CommandStatusEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CommandStatusEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CommandStatusEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignDivisionViewEntityListing.cs index fa04288a1..59459f58a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignDivisionViewEntityListing.cs @@ -25,20 +25,20 @@ public partial class CommonCampaignDivisionViewEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CommonCampaignDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CommonCampaignDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CommonCampaignDivisionViewEntityListing(List /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CommonCampaignDivisionViewEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignEntityListing.cs index 90aa053f0..605ff7551 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CommonCampaignEntityListing.cs @@ -25,20 +25,20 @@ public partial class CommonCampaignEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CommonCampaignEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CommonCampaignEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CommonCampaignEntityListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CommonCampaignEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CommonRuleContainer.cs b/build/src/PureCloudPlatform.Client.V2/Model/CommonRuleContainer.cs index 8ef647491..644d71114 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CommonRuleContainer.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CommonRuleContainer.cs @@ -25,20 +25,20 @@ public partial class CommonRuleContainer : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CommonRuleContainer(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CommonRuleContainer(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CommonRuleContainer(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CommonRuleContainer other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ConsumedResourcesEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ConsumedResourcesEntityListing.cs index e47f3bacf..8c56b9db0 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ConsumedResourcesEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ConsumedResourcesEntityListing.cs @@ -25,20 +25,20 @@ public partial class ConsumedResourcesEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ConsumedResourcesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ConsumedResourcesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ConsumedResourcesEntityListing(List Entities = null, int? Pag /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ConsumedResourcesEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ConsumingResourcesEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ConsumingResourcesEntityListing.cs index dfef5f084..b2546eccc 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ConsumingResourcesEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ConsumingResourcesEntityListing.cs @@ -25,20 +25,20 @@ public partial class ConsumingResourcesEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ConsumingResourcesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ConsumingResourcesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ConsumingResourcesEntityListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ConsumingResourcesEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ContactDetailEventTopicContactUpdateEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/ContactDetailEventTopicContactUpdateEvent.cs index 742ebe75c..362f6eb82 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ContactDetailEventTopicContactUpdateEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ContactDetailEventTopicContactUpdateEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets MediaType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ContactListDivisionViewListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ContactListDivisionViewListing.cs index 75d866181..d4b3ff740 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ContactListDivisionViewListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ContactListDivisionViewListing.cs @@ -25,20 +25,20 @@ public partial class ContactListDivisionViewListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ContactListDivisionViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ContactListDivisionViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ContactListDivisionViewListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ContactListDivisionViewListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ContactListEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ContactListEntityListing.cs index 6bbd65d0f..4a99cf2eb 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ContactListEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ContactListEntityListing.cs @@ -25,20 +25,20 @@ public partial class ContactListEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ContactListEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ContactListEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ContactListEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ContactListEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ContactListFilterEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ContactListFilterEntityListing.cs index ce71e8fde..53f95d5d7 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ContactListFilterEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ContactListFilterEntityListing.cs @@ -25,20 +25,20 @@ public partial class ContactListFilterEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ContactListFilterEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ContactListFilterEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ContactListFilterEntityListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ContactListFilterEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ContactListTemplateEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ContactListTemplateEntityListing.cs index eb0dd9707..93e152cbf 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ContactListTemplateEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ContactListTemplateEntityListing.cs @@ -25,20 +25,20 @@ public partial class ContactListTemplateEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ContactListTemplateEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ContactListTemplateEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ContactListTemplateEntityListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ContactListTemplateEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ContactListingResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/ContactListingResponse.cs index a4ad865b1..a27eb55a8 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ContactListingResponse.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ContactListingResponse.cs @@ -26,21 +26,21 @@ public partial class ContactListingResponse : IEquatablePageNumber. /// Total. /// ContactsCount. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ContactListingResponse(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? ContactsCount = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ContactListingResponse(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? ContactsCount = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.ContactsCount = ContactsCount; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -91,18 +91,18 @@ public ContactListingResponse(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -151,8 +151,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" ContactsCount: ").Append(ContactsCount).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -222,16 +222,16 @@ public bool Equals(ContactListingResponse other) this.ContactsCount != null && this.ContactsCount.Equals(other.ContactsCount) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -280,12 +280,12 @@ public override int GetHashCode() if (this.ContactsCount != null) hash = hash * 59 + this.ContactsCount.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ConversationAppSettings.cs b/build/src/PureCloudPlatform.Client.V2/Model/ConversationAppSettings.cs index 286ab9a64..3fabcc6fb 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ConversationAppSettings.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ConversationAppSettings.cs @@ -29,7 +29,8 @@ public partial class ConversationAppSettings : IEquatableThe conversation disconnect settings for the messenger app. /// The conversation clear settings for the messenger app. /// The humanize conversations settings for the messenger app. - public ConversationAppSettings(bool? Enabled = null, bool? ShowAgentTypingIndicator = null, bool? ShowUserTypingIndicator = null, AutoStart AutoStart = null, Markdown Markdown = null, ConversationDisconnectSettings ConversationDisconnect = null, ConversationClearSettings ConversationClear = null, Humanize Humanize = null) + /// The notification settings for messenger apps. + public ConversationAppSettings(bool? Enabled = null, bool? ShowAgentTypingIndicator = null, bool? ShowUserTypingIndicator = null, AutoStart AutoStart = null, Markdown Markdown = null, ConversationDisconnectSettings ConversationDisconnect = null, ConversationClearSettings ConversationClear = null, Humanize Humanize = null, NotificationsSettings Notifications = null) { this.Enabled = Enabled; this.ShowAgentTypingIndicator = ShowAgentTypingIndicator; @@ -39,6 +40,7 @@ public ConversationAppSettings(bool? Enabled = null, bool? ShowAgentTypingIndica this.ConversationDisconnect = ConversationDisconnect; this.ConversationClear = ConversationClear; this.Humanize = Humanize; + this.Notifications = Notifications; } @@ -115,6 +117,15 @@ public ConversationAppSettings(bool? Enabled = null, bool? ShowAgentTypingIndica public Humanize Humanize { get; set; } + + /// + /// The notification settings for messenger apps + /// + /// The notification settings for messenger apps + [DataMember(Name="notifications", EmitDefaultValue=false)] + public NotificationsSettings Notifications { get; set; } + + /// /// Returns the string presentation of the object /// @@ -132,6 +143,7 @@ public override string ToString() sb.Append(" ConversationDisconnect: ").Append(ConversationDisconnect).Append("\n"); sb.Append(" ConversationClear: ").Append(ConversationClear).Append("\n"); sb.Append(" Humanize: ").Append(Humanize).Append("\n"); + sb.Append(" Notifications: ").Append(Notifications).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -211,6 +223,11 @@ public bool Equals(ConversationAppSettings other) this.Humanize == other.Humanize || this.Humanize != null && this.Humanize.Equals(other.Humanize) + ) && + ( + this.Notifications == other.Notifications || + this.Notifications != null && + this.Notifications.Equals(other.Notifications) ); } @@ -249,6 +266,9 @@ public override int GetHashCode() if (this.Humanize != null) hash = hash * 59 + this.Humanize.GetHashCode(); + if (this.Notifications != null) + hash = hash * 59 + this.Notifications.GetHashCode(); + return hash; } } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ConversationCategoriesEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ConversationCategoriesEntityListing.cs index 003358c89..545e35300 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ConversationCategoriesEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ConversationCategoriesEntityListing.cs @@ -25,20 +25,20 @@ public partial class ConversationCategoriesEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ConversationCategoriesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ConversationCategoriesEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ConversationCategoriesEntityListing(List Entities = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ConversationCategoriesEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ConversationEntityListing.cs index 3946ef67f..eee00a824 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class ConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ConversationEntityListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ConversationProfile.cs b/build/src/PureCloudPlatform.Client.V2/Model/ConversationProfile.cs new file mode 100644 index 000000000..4b7d68b22 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/ConversationProfile.cs @@ -0,0 +1,193 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// ConversationProfile + /// + [DataContract] + public partial class ConversationProfile : IEquatable + { + /// + /// The language code supported by the conversation profile belonging to a particular project for Dialogflow. + /// + /// The language code supported by the conversation profile belonging to a particular project for Dialogflow. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum LanguageCodeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum En for "en" + /// + [EnumMember(Value = "en")] + En, + + /// + /// Enum Enau for "en-AU" + /// + [EnumMember(Value = "en-AU")] + Enau, + + /// + /// Enum Enca for "en-CA" + /// + [EnumMember(Value = "en-CA")] + Enca, + + /// + /// Enum Engb for "en-GB" + /// + [EnumMember(Value = "en-GB")] + Engb, + + /// + /// Enum Enin for "en-IN" + /// + [EnumMember(Value = "en-IN")] + Enin, + + /// + /// Enum Enus for "en-US" + /// + [EnumMember(Value = "en-US")] + Enus + } + /// + /// The language code supported by the conversation profile belonging to a particular project for Dialogflow. + /// + /// The language code supported by the conversation profile belonging to a particular project for Dialogflow. + [DataMember(Name="languageCode", EmitDefaultValue=false)] + public LanguageCodeEnum? LanguageCode { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ConversationProfile() { } + /// + /// Initializes a new instance of the class. + /// + /// The language code supported by the conversation profile belonging to a particular project for Dialogflow. (required). + /// The name of the conversation profile belonging to a particular project for Dialogflow (required). + public ConversationProfile(LanguageCodeEnum? LanguageCode = null, string Name = null) + { + this.LanguageCode = LanguageCode; + this.Name = Name; + + } + + + + + + /// + /// The name of the conversation profile belonging to a particular project for Dialogflow + /// + /// The name of the conversation profile belonging to a particular project for Dialogflow + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ConversationProfile {\n"); + + sb.Append(" LanguageCode: ").Append(LanguageCode).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as ConversationProfile); + } + + /// + /// Returns true if ConversationProfile instances are equal + /// + /// Instance of ConversationProfile to be compared + /// Boolean + public bool Equals(ConversationProfile other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.LanguageCode == other.LanguageCode || + this.LanguageCode != null && + this.LanguageCode.Equals(other.LanguageCode) + ) && + ( + this.Name == other.Name || + this.Name != null && + this.Name.Equals(other.Name) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.LanguageCode != null) + hash = hash * 59 + this.LanguageCode.GetHashCode(); + + if (this.Name != null) + hash = hash * 59 + this.Name.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/Copilot.cs b/build/src/PureCloudPlatform.Client.V2/Model/Copilot.cs new file mode 100644 index 000000000..b98abaddb --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/Copilot.cs @@ -0,0 +1,339 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// Copilot + /// + [DataContract] + public partial class Copilot : IEquatable + { + /// + /// Language understanding engine type. + /// + /// Language understanding engine type. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum NluEngineTypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Nluv3 for "NluV3" + /// + [EnumMember(Value = "NluV3")] + Nluv3 + } + /// + /// Language understanding engine type. + /// + /// Language understanding engine type. + [DataMember(Name="nluEngineType", EmitDefaultValue=false)] + public NluEngineTypeEnum? NluEngineType { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected Copilot() { } + /// + /// Initializes a new instance of the class. + /// + /// Copilot is live on selected queue. (required). + /// Copilot default language, e.g. [en-US, es-US, es-ES]. Once set, it can not be modified. (required). + /// Knowledge answer configuration.. + /// Copilot generated summary configuration.. + /// Copilot generated wrapup code prediction configuration.. + /// Answer generation configuration.. + /// Language understanding engine type.. + /// NLU configuration.. + /// Rule engine configuration.. + public Copilot(bool? LiveOnQueue = null, string DefaultLanguage = null, KnowledgeAnswerConfig KnowledgeAnswerConfig = null, SummaryGenerationConfig SummaryGenerationConfig = null, WrapupCodePredictionConfig WrapupCodePredictionConfig = null, AnswerGenerationConfig AnswerGenerationConfig = null, NluEngineTypeEnum? NluEngineType = null, NluConfig NluConfig = null, RuleEngineConfig RuleEngineConfig = null) + { + this.LiveOnQueue = LiveOnQueue; + this.DefaultLanguage = DefaultLanguage; + this.KnowledgeAnswerConfig = KnowledgeAnswerConfig; + this.SummaryGenerationConfig = SummaryGenerationConfig; + this.WrapupCodePredictionConfig = WrapupCodePredictionConfig; + this.AnswerGenerationConfig = AnswerGenerationConfig; + this.NluEngineType = NluEngineType; + this.NluConfig = NluConfig; + this.RuleEngineConfig = RuleEngineConfig; + + } + + + + /// + /// Copilot is enabled. + /// + /// Copilot is enabled. + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; private set; } + + + + /// + /// Copilot is live on selected queue. + /// + /// Copilot is live on selected queue. + [DataMember(Name="liveOnQueue", EmitDefaultValue=false)] + public bool? LiveOnQueue { get; set; } + + + + /// + /// Copilot default language, e.g. [en-US, es-US, es-ES]. Once set, it can not be modified. + /// + /// Copilot default language, e.g. [en-US, es-US, es-ES]. Once set, it can not be modified. + [DataMember(Name="defaultLanguage", EmitDefaultValue=false)] + public string DefaultLanguage { get; set; } + + + + /// + /// Knowledge answer configuration. + /// + /// Knowledge answer configuration. + [DataMember(Name="knowledgeAnswerConfig", EmitDefaultValue=false)] + public KnowledgeAnswerConfig KnowledgeAnswerConfig { get; set; } + + + + /// + /// Copilot generated summary configuration. + /// + /// Copilot generated summary configuration. + [DataMember(Name="summaryGenerationConfig", EmitDefaultValue=false)] + public SummaryGenerationConfig SummaryGenerationConfig { get; set; } + + + + /// + /// Copilot generated wrapup code prediction configuration. + /// + /// Copilot generated wrapup code prediction configuration. + [DataMember(Name="wrapupCodePredictionConfig", EmitDefaultValue=false)] + public WrapupCodePredictionConfig WrapupCodePredictionConfig { get; set; } + + + + /// + /// Answer generation configuration. + /// + /// Answer generation configuration. + [DataMember(Name="answerGenerationConfig", EmitDefaultValue=false)] + public AnswerGenerationConfig AnswerGenerationConfig { get; set; } + + + + + + /// + /// NLU configuration. + /// + /// NLU configuration. + [DataMember(Name="nluConfig", EmitDefaultValue=false)] + public NluConfig NluConfig { get; set; } + + + + /// + /// Rule engine configuration. + /// + /// Rule engine configuration. + [DataMember(Name="ruleEngineConfig", EmitDefaultValue=false)] + public RuleEngineConfig RuleEngineConfig { get; set; } + + + + /// + /// The URI for this object + /// + /// The URI for this object + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; private set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Copilot {\n"); + + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" LiveOnQueue: ").Append(LiveOnQueue).Append("\n"); + sb.Append(" DefaultLanguage: ").Append(DefaultLanguage).Append("\n"); + sb.Append(" KnowledgeAnswerConfig: ").Append(KnowledgeAnswerConfig).Append("\n"); + sb.Append(" SummaryGenerationConfig: ").Append(SummaryGenerationConfig).Append("\n"); + sb.Append(" WrapupCodePredictionConfig: ").Append(WrapupCodePredictionConfig).Append("\n"); + sb.Append(" AnswerGenerationConfig: ").Append(AnswerGenerationConfig).Append("\n"); + sb.Append(" NluEngineType: ").Append(NluEngineType).Append("\n"); + sb.Append(" NluConfig: ").Append(NluConfig).Append("\n"); + sb.Append(" RuleEngineConfig: ").Append(RuleEngineConfig).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Copilot); + } + + /// + /// Returns true if Copilot instances are equal + /// + /// Instance of Copilot to be compared + /// Boolean + public bool Equals(Copilot other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.LiveOnQueue == other.LiveOnQueue || + this.LiveOnQueue != null && + this.LiveOnQueue.Equals(other.LiveOnQueue) + ) && + ( + this.DefaultLanguage == other.DefaultLanguage || + this.DefaultLanguage != null && + this.DefaultLanguage.Equals(other.DefaultLanguage) + ) && + ( + this.KnowledgeAnswerConfig == other.KnowledgeAnswerConfig || + this.KnowledgeAnswerConfig != null && + this.KnowledgeAnswerConfig.Equals(other.KnowledgeAnswerConfig) + ) && + ( + this.SummaryGenerationConfig == other.SummaryGenerationConfig || + this.SummaryGenerationConfig != null && + this.SummaryGenerationConfig.Equals(other.SummaryGenerationConfig) + ) && + ( + this.WrapupCodePredictionConfig == other.WrapupCodePredictionConfig || + this.WrapupCodePredictionConfig != null && + this.WrapupCodePredictionConfig.Equals(other.WrapupCodePredictionConfig) + ) && + ( + this.AnswerGenerationConfig == other.AnswerGenerationConfig || + this.AnswerGenerationConfig != null && + this.AnswerGenerationConfig.Equals(other.AnswerGenerationConfig) + ) && + ( + this.NluEngineType == other.NluEngineType || + this.NluEngineType != null && + this.NluEngineType.Equals(other.NluEngineType) + ) && + ( + this.NluConfig == other.NluConfig || + this.NluConfig != null && + this.NluConfig.Equals(other.NluConfig) + ) && + ( + this.RuleEngineConfig == other.RuleEngineConfig || + this.RuleEngineConfig != null && + this.RuleEngineConfig.Equals(other.RuleEngineConfig) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + + if (this.LiveOnQueue != null) + hash = hash * 59 + this.LiveOnQueue.GetHashCode(); + + if (this.DefaultLanguage != null) + hash = hash * 59 + this.DefaultLanguage.GetHashCode(); + + if (this.KnowledgeAnswerConfig != null) + hash = hash * 59 + this.KnowledgeAnswerConfig.GetHashCode(); + + if (this.SummaryGenerationConfig != null) + hash = hash * 59 + this.SummaryGenerationConfig.GetHashCode(); + + if (this.WrapupCodePredictionConfig != null) + hash = hash * 59 + this.WrapupCodePredictionConfig.GetHashCode(); + + if (this.AnswerGenerationConfig != null) + hash = hash * 59 + this.AnswerGenerationConfig.GetHashCode(); + + if (this.NluEngineType != null) + hash = hash * 59 + this.NluEngineType.GetHashCode(); + + if (this.NluConfig != null) + hash = hash * 59 + this.NluConfig.GetHashCode(); + + if (this.RuleEngineConfig != null) + hash = hash * 59 + this.RuleEngineConfig.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CopilotAction.cs b/build/src/PureCloudPlatform.Client.V2/Model/CopilotAction.cs new file mode 100644 index 000000000..ee3cc297d --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CopilotAction.cs @@ -0,0 +1,175 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CopilotAction + /// + [DataContract] + public partial class CopilotAction : IEquatable + { + /// + /// Type of action. + /// + /// Type of action. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum ActionTypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Knowledgearticle for "KnowledgeArticle" + /// + [EnumMember(Value = "KnowledgeArticle")] + Knowledgearticle, + + /// + /// Enum Cannedresponse for "CannedResponse" + /// + [EnumMember(Value = "CannedResponse")] + Cannedresponse, + + /// + /// Enum Script for "Script" + /// + [EnumMember(Value = "Script")] + Script + } + /// + /// Type of action. + /// + /// Type of action. + [DataMember(Name="actionType", EmitDefaultValue=false)] + public ActionTypeEnum? ActionType { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CopilotAction() { } + /// + /// Initializes a new instance of the class. + /// + /// Type of action. (required). + /// Action specific attributes, if any. Maximum 100 of string key-value pair allowed.. + public CopilotAction(ActionTypeEnum? ActionType = null, Dictionary Attributes = null) + { + this.ActionType = ActionType; + this.Attributes = Attributes; + + } + + + + + + /// + /// Action specific attributes, if any. Maximum 100 of string key-value pair allowed. + /// + /// Action specific attributes, if any. Maximum 100 of string key-value pair allowed. + [DataMember(Name="attributes", EmitDefaultValue=false)] + public Dictionary Attributes { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CopilotAction {\n"); + + sb.Append(" ActionType: ").Append(ActionType).Append("\n"); + sb.Append(" Attributes: ").Append(Attributes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CopilotAction); + } + + /// + /// Returns true if CopilotAction instances are equal + /// + /// Instance of CopilotAction to be compared + /// Boolean + public bool Equals(CopilotAction other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.ActionType == other.ActionType || + this.ActionType != null && + this.ActionType.Equals(other.ActionType) + ) && + ( + this.Attributes == other.Attributes || + this.Attributes != null && + this.Attributes.SequenceEqual(other.Attributes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ActionType != null) + hash = hash * 59 + this.ActionType.GetHashCode(); + + if (this.Attributes != null) + hash = hash * 59 + this.Attributes.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CopilotCondition.cs b/build/src/PureCloudPlatform.Client.V2/Model/CopilotCondition.cs new file mode 100644 index 000000000..41614900f --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CopilotCondition.cs @@ -0,0 +1,181 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CopilotCondition + /// + [DataContract] + public partial class CopilotCondition : IEquatable + { + /// + /// Type of condition. + /// + /// Type of condition. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum ConditionTypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Intent for "Intent" + /// + [EnumMember(Value = "Intent")] + Intent, + + /// + /// Enum Conversationstart for "ConversationStart" + /// + [EnumMember(Value = "ConversationStart")] + Conversationstart, + + /// + /// Enum Conversationtransfer for "ConversationTransfer" + /// + [EnumMember(Value = "ConversationTransfer")] + Conversationtransfer, + + /// + /// Enum Conversationend for "ConversationEnd" + /// + [EnumMember(Value = "ConversationEnd")] + Conversationend + } + /// + /// Type of condition. + /// + /// Type of condition. + [DataMember(Name="conditionType", EmitDefaultValue=false)] + public ConditionTypeEnum? ConditionType { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CopilotCondition() { } + /// + /// Initializes a new instance of the class. + /// + /// Type of condition. (required). + /// Condition values. (required). + public CopilotCondition(ConditionTypeEnum? ConditionType = null, List ConditionValues = null) + { + this.ConditionType = ConditionType; + this.ConditionValues = ConditionValues; + + } + + + + + + /// + /// Condition values. + /// + /// Condition values. + [DataMember(Name="conditionValues", EmitDefaultValue=false)] + public List ConditionValues { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CopilotCondition {\n"); + + sb.Append(" ConditionType: ").Append(ConditionType).Append("\n"); + sb.Append(" ConditionValues: ").Append(ConditionValues).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CopilotCondition); + } + + /// + /// Returns true if CopilotCondition instances are equal + /// + /// Instance of CopilotCondition to be compared + /// Boolean + public bool Equals(CopilotCondition other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.ConditionType == other.ConditionType || + this.ConditionType != null && + this.ConditionType.Equals(other.ConditionType) + ) && + ( + this.ConditionValues == other.ConditionValues || + this.ConditionValues != null && + this.ConditionValues.SequenceEqual(other.ConditionValues) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ConditionType != null) + hash = hash * 59 + this.ConditionType.GetHashCode(); + + if (this.ConditionValues != null) + hash = hash * 59 + this.ConditionValues.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CopilotFallbackAction.cs b/build/src/PureCloudPlatform.Client.V2/Model/CopilotFallbackAction.cs new file mode 100644 index 000000000..23f58eb7e --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CopilotFallbackAction.cs @@ -0,0 +1,181 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CopilotFallbackAction + /// + [DataContract] + public partial class CopilotFallbackAction : IEquatable + { + /// + /// Type of action. + /// + /// Type of action. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum ActionTypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Knowledgearticle for "KnowledgeArticle" + /// + [EnumMember(Value = "KnowledgeArticle")] + Knowledgearticle, + + /// + /// Enum Cannedresponse for "CannedResponse" + /// + [EnumMember(Value = "CannedResponse")] + Cannedresponse, + + /// + /// Enum Script for "Script" + /// + [EnumMember(Value = "Script")] + Script, + + /// + /// Enum Knowledgesearch for "KnowledgeSearch" + /// + [EnumMember(Value = "KnowledgeSearch")] + Knowledgesearch + } + /// + /// Type of action. + /// + /// Type of action. + [DataMember(Name="actionType", EmitDefaultValue=false)] + public ActionTypeEnum? ActionType { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CopilotFallbackAction() { } + /// + /// Initializes a new instance of the class. + /// + /// Type of action. (required). + /// Action specific attributes, if any. Maximum 100 of string key-value pair allowed.. + public CopilotFallbackAction(ActionTypeEnum? ActionType = null, Dictionary Attributes = null) + { + this.ActionType = ActionType; + this.Attributes = Attributes; + + } + + + + + + /// + /// Action specific attributes, if any. Maximum 100 of string key-value pair allowed. + /// + /// Action specific attributes, if any. Maximum 100 of string key-value pair allowed. + [DataMember(Name="attributes", EmitDefaultValue=false)] + public Dictionary Attributes { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CopilotFallbackAction {\n"); + + sb.Append(" ActionType: ").Append(ActionType).Append("\n"); + sb.Append(" Attributes: ").Append(Attributes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CopilotFallbackAction); + } + + /// + /// Returns true if CopilotFallbackAction instances are equal + /// + /// Instance of CopilotFallbackAction to be compared + /// Boolean + public bool Equals(CopilotFallbackAction other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.ActionType == other.ActionType || + this.ActionType != null && + this.ActionType.Equals(other.ActionType) + ) && + ( + this.Attributes == other.Attributes || + this.Attributes != null && + this.Attributes.SequenceEqual(other.Attributes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.ActionType != null) + hash = hash * 59 + this.ActionType.GetHashCode(); + + if (this.Attributes != null) + hash = hash * 59 + this.Attributes.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CopilotNluDomain.cs b/build/src/PureCloudPlatform.Client.V2/Model/CopilotNluDomain.cs new file mode 100644 index 000000000..5aaf8c739 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CopilotNluDomain.cs @@ -0,0 +1,181 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CopilotNluDomain + /// + [DataContract] + public partial class CopilotNluDomain : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CopilotNluDomain() { } + /// + /// Initializes a new instance of the class. + /// + /// Id of the NLU domain. (required). + /// Use the latest version of the NLU domain. If false, version is required. (required). + /// NLU domain version.. + public CopilotNluDomain(string Id = null, bool? UseLatestVersion = null, CopilotNluDomainVersion Version = null) + { + this.Id = Id; + this.UseLatestVersion = UseLatestVersion; + this.Version = Version; + + } + + + + /// + /// Id of the NLU domain. + /// + /// Id of the NLU domain. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + /// + /// Use the latest version of the NLU domain. If false, version is required. + /// + /// Use the latest version of the NLU domain. If false, version is required. + [DataMember(Name="useLatestVersion", EmitDefaultValue=false)] + public bool? UseLatestVersion { get; set; } + + + + /// + /// NLU domain version. + /// + /// NLU domain version. + [DataMember(Name="version", EmitDefaultValue=false)] + public CopilotNluDomainVersion Version { get; set; } + + + + /// + /// The URI for this object + /// + /// The URI for this object + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; private set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CopilotNluDomain {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" UseLatestVersion: ").Append(UseLatestVersion).Append("\n"); + sb.Append(" Version: ").Append(Version).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CopilotNluDomain); + } + + /// + /// Returns true if CopilotNluDomain instances are equal + /// + /// Instance of CopilotNluDomain to be compared + /// Boolean + public bool Equals(CopilotNluDomain other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.UseLatestVersion == other.UseLatestVersion || + this.UseLatestVersion != null && + this.UseLatestVersion.Equals(other.UseLatestVersion) + ) && + ( + this.Version == other.Version || + this.Version != null && + this.Version.Equals(other.Version) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.UseLatestVersion != null) + hash = hash * 59 + this.UseLatestVersion.GetHashCode(); + + if (this.Version != null) + hash = hash * 59 + this.Version.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CopilotNluDomainVersion.cs b/build/src/PureCloudPlatform.Client.V2/Model/CopilotNluDomainVersion.cs new file mode 100644 index 000000000..802a56235 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CopilotNluDomainVersion.cs @@ -0,0 +1,141 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CopilotNluDomainVersion + /// + [DataContract] + public partial class CopilotNluDomainVersion : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CopilotNluDomainVersion() { } + /// + /// Initializes a new instance of the class. + /// + /// Id of the NLU v3 domain version. (required). + public CopilotNluDomainVersion(string Id = null) + { + this.Id = Id; + + } + + + + /// + /// Id of the NLU v3 domain version. + /// + /// Id of the NLU v3 domain version. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + /// + /// The URI for this object + /// + /// The URI for this object + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; private set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CopilotNluDomainVersion {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CopilotNluDomainVersion); + } + + /// + /// Returns true if CopilotNluDomainVersion instances are equal + /// + /// Instance of CopilotNluDomainVersion to be compared + /// Boolean + public bool Equals(CopilotNluDomainVersion other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CopilotRule.cs b/build/src/PureCloudPlatform.Client.V2/Model/CopilotRule.cs new file mode 100644 index 000000000..427bd1156 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CopilotRule.cs @@ -0,0 +1,143 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CopilotRule + /// + [DataContract] + public partial class CopilotRule : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected CopilotRule() { } + /// + /// Initializes a new instance of the class. + /// + /// List of conditions to execute actions, must have at least 1 element and maximum 100 elements. Operator in case of multiple conditions: 'OR'. (required). + /// List of actions to execute, must have at least 1 element and maximum 100 elements. (required). + public CopilotRule(List Conditions = null, List Actions = null) + { + this.Conditions = Conditions; + this.Actions = Actions; + + } + + + + /// + /// List of conditions to execute actions, must have at least 1 element and maximum 100 elements. Operator in case of multiple conditions: 'OR'. + /// + /// List of conditions to execute actions, must have at least 1 element and maximum 100 elements. Operator in case of multiple conditions: 'OR'. + [DataMember(Name="conditions", EmitDefaultValue=false)] + public List Conditions { get; set; } + + + + /// + /// List of actions to execute, must have at least 1 element and maximum 100 elements. + /// + /// List of actions to execute, must have at least 1 element and maximum 100 elements. + [DataMember(Name="actions", EmitDefaultValue=false)] + public List Actions { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CopilotRule {\n"); + + sb.Append(" Conditions: ").Append(Conditions).Append("\n"); + sb.Append(" Actions: ").Append(Actions).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CopilotRule); + } + + /// + /// Returns true if CopilotRule instances are equal + /// + /// Instance of CopilotRule to be compared + /// Boolean + public bool Equals(CopilotRule other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Conditions == other.Conditions || + this.Conditions != null && + this.Conditions.SequenceEqual(other.Conditions) + ) && + ( + this.Actions == other.Actions || + this.Actions != null && + this.Actions.SequenceEqual(other.Actions) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Conditions != null) + hash = hash * 59 + this.Conditions.GetHashCode(); + + if (this.Actions != null) + hash = hash * 59 + this.Actions.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CredentialInfoListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CredentialInfoListing.cs index d1640339a..33069a850 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CredentialInfoListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CredentialInfoListing.cs @@ -25,20 +25,20 @@ public partial class CredentialInfoListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CredentialInfoListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CredentialInfoListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CredentialInfoListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CredentialInfoListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CredentialTypeListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CredentialTypeListing.cs index b845613f0..3025cc1b2 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CredentialTypeListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CredentialTypeListing.cs @@ -25,20 +25,20 @@ public partial class CredentialTypeListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public CredentialTypeListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public CredentialTypeListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public CredentialTypeListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(CredentialTypeListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CursorExternalSourceListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/CursorExternalSourceListing.cs new file mode 100644 index 000000000..72a398097 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/CursorExternalSourceListing.cs @@ -0,0 +1,193 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// CursorExternalSourceListing + /// + [DataContract] + public partial class CursorExternalSourceListing : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Entities. + /// NextUri. + /// SelfUri. + /// PreviousUri. + /// The cursor that points to the next set of entities being returned.. + public CursorExternalSourceListing(List Entities = null, string NextUri = null, string SelfUri = null, string PreviousUri = null, Cursors Cursors = null) + { + this.Entities = Entities; + this.NextUri = NextUri; + this.SelfUri = SelfUri; + this.PreviousUri = PreviousUri; + this.Cursors = Cursors; + + } + + + + /// + /// Gets or Sets Entities + /// + [DataMember(Name="entities", EmitDefaultValue=false)] + public List Entities { get; set; } + + + + /// + /// Gets or Sets NextUri + /// + [DataMember(Name="nextUri", EmitDefaultValue=false)] + public string NextUri { get; set; } + + + + /// + /// Gets or Sets SelfUri + /// + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; set; } + + + + /// + /// Gets or Sets PreviousUri + /// + [DataMember(Name="previousUri", EmitDefaultValue=false)] + public string PreviousUri { get; set; } + + + + /// + /// The cursor that points to the next set of entities being returned. + /// + /// The cursor that points to the next set of entities being returned. + [DataMember(Name="cursors", EmitDefaultValue=false)] + public Cursors Cursors { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CursorExternalSourceListing {\n"); + + sb.Append(" Entities: ").Append(Entities).Append("\n"); + sb.Append(" NextUri: ").Append(NextUri).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); + sb.Append(" Cursors: ").Append(Cursors).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as CursorExternalSourceListing); + } + + /// + /// Returns true if CursorExternalSourceListing instances are equal + /// + /// Instance of CursorExternalSourceListing to be compared + /// Boolean + public bool Equals(CursorExternalSourceListing other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Entities == other.Entities || + this.Entities != null && + this.Entities.SequenceEqual(other.Entities) + ) && + ( + this.NextUri == other.NextUri || + this.NextUri != null && + this.NextUri.Equals(other.NextUri) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ) && + ( + this.PreviousUri == other.PreviousUri || + this.PreviousUri != null && + this.PreviousUri.Equals(other.PreviousUri) + ) && + ( + this.Cursors == other.Cursors || + this.Cursors != null && + this.Cursors.Equals(other.Cursors) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Entities != null) + hash = hash * 59 + this.Entities.GetHashCode(); + + if (this.NextUri != null) + hash = hash * 59 + this.NextUri.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + if (this.PreviousUri != null) + hash = hash * 59 + this.PreviousUri.GetHashCode(); + + if (this.Cursors != null) + hash = hash * 59 + this.Cursors.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CustomerEndDetailEventTopicCustomerEndEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/CustomerEndDetailEventTopicCustomerEndEvent.cs index b76ea1875..368986d63 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CustomerEndDetailEventTopicCustomerEndEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CustomerEndDetailEventTopicCustomerEndEvent.cs @@ -312,7 +312,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets DisconnectType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/CustomerStartDetailEventTopicCustomerStartEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/CustomerStartDetailEventTopicCustomerStartEvent.cs index f5cc07058..37d596575 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/CustomerStartDetailEventTopicCustomerStartEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/CustomerStartDetailEventTopicCustomerStartEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets MediaType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DIDEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DIDEntityListing.cs index 587ba665b..107dd1471 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DIDEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DIDEntityListing.cs @@ -26,21 +26,21 @@ public partial class DIDEntityListing : IEquatable, IPagedRes /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DIDEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DIDEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public DIDEntityListing(List Entities = null, int? PageSize = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(DIDEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DIDNumberEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DIDNumberEntityListing.cs index d0f37743c..882686603 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DIDNumberEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DIDNumberEntityListing.cs @@ -25,20 +25,20 @@ public partial class DIDNumberEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DIDNumberEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DIDNumberEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DIDNumberEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DIDNumberEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DIDPoolEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DIDPoolEntityListing.cs index eef2e6eec..74b35c1d4 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DIDPoolEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DIDPoolEntityListing.cs @@ -26,21 +26,21 @@ public partial class DIDPoolEntityListing : IEquatable, I /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DIDPoolEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DIDPoolEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public DIDPoolEntityListing(List Entities = null, int? PageSize = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(DIDPoolEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DashboardConfigurationListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DashboardConfigurationListing.cs index 281a559ed..5af22b552 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DashboardConfigurationListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DashboardConfigurationListing.cs @@ -25,20 +25,20 @@ public partial class DashboardConfigurationListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DashboardConfigurationListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DashboardConfigurationListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DashboardConfigurationListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DashboardConfigurationListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DashboardUserListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DashboardUserListing.cs index 06db65148..4abd4aac6 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DashboardUserListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DashboardUserListing.cs @@ -25,20 +25,20 @@ public partial class DashboardUserListing : IEquatable, I /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DashboardUserListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DashboardUserListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DashboardUserListing(List Entities = null, int? PageSize = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DashboardUserListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DataTableRowEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DataTableRowEntityListing.cs index a89e05c28..56af9021c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DataTableRowEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DataTableRowEntityListing.cs @@ -25,20 +25,20 @@ public partial class DataTableRowEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DataTableRowEntityListing(List> Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DataTableRowEntityListing(List> Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DataTableRowEntityListing(List> Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DataTableRowEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DataTablesDomainEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DataTablesDomainEntityListing.cs index 7e763d0d8..3bf508ad5 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DataTablesDomainEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DataTablesDomainEntityListing.cs @@ -25,20 +25,20 @@ public partial class DataTablesDomainEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DataTablesDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DataTablesDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DataTablesDomainEntityListing(List Entities = null, int? PageS /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DataTablesDomainEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DependencyObjectEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DependencyObjectEntityListing.cs index 86dde2560..f027199da 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DependencyObjectEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DependencyObjectEntityListing.cs @@ -25,20 +25,20 @@ public partial class DependencyObjectEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DependencyObjectEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DependencyObjectEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DependencyObjectEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DependencyObjectEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DependencyTypeEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DependencyTypeEntityListing.cs index 9db04cdfe..ce4c07c74 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DependencyTypeEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DependencyTypeEntityListing.cs @@ -25,20 +25,20 @@ public partial class DependencyTypeEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DependencyTypeEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DependencyTypeEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DependencyTypeEntityListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DependencyTypeEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DevelopmentActivityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DevelopmentActivityListing.cs index 109c20ace..9e11375b9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DevelopmentActivityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DevelopmentActivityListing.cs @@ -25,20 +25,20 @@ public partial class DevelopmentActivityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DevelopmentActivityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DevelopmentActivityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DevelopmentActivityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DevelopmentActivityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DialerEventEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DialerEventEntityListing.cs index aa282fb31..bd168fe12 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DialerEventEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DialerEventEntityListing.cs @@ -25,20 +25,20 @@ public partial class DialerEventEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DialerEventEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DialerEventEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DialerEventEntityListing(List Entities = null, int? PageSize = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DialerEventEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DialogflowAgentSummaryEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DialogflowAgentSummaryEntityListing.cs index 4f2b4727b..0230b1924 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DialogflowAgentSummaryEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DialogflowAgentSummaryEntityListing.cs @@ -25,20 +25,20 @@ public partial class DialogflowAgentSummaryEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DialogflowAgentSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DialogflowAgentSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DialogflowAgentSummaryEntityListing(List Entities /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DialogflowAgentSummaryEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DialogflowCXAgentSummaryEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DialogflowCXAgentSummaryEntityListing.cs index 161cf0fb2..fca681c26 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DialogflowCXAgentSummaryEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DialogflowCXAgentSummaryEntityListing.cs @@ -25,20 +25,20 @@ public partial class DialogflowCXAgentSummaryEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DialogflowCXAgentSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DialogflowCXAgentSummaryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DialogflowCXAgentSummaryEntityListing(List Enti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DialogflowCXAgentSummaryEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DigitalRuleSetEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DigitalRuleSetEntityListing.cs index 7b1e2b1d5..f5fce2bc0 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DigitalRuleSetEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DigitalRuleSetEntityListing.cs @@ -25,20 +25,20 @@ public partial class DigitalRuleSetEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DigitalRuleSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DigitalRuleSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DigitalRuleSetEntityListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DigitalRuleSetEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DirectoryUserDevicesListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DirectoryUserDevicesListing.cs index c1c0c7157..297eb5cde 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DirectoryUserDevicesListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DirectoryUserDevicesListing.cs @@ -25,20 +25,20 @@ public partial class DirectoryUserDevicesListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DirectoryUserDevicesListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DirectoryUserDevicesListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DirectoryUserDevicesListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DirectoryUserDevicesListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DivsPermittedEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DivsPermittedEntityListing.cs index 3bf9467aa..bf3cea662 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DivsPermittedEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DivsPermittedEntityListing.cs @@ -26,21 +26,21 @@ public partial class DivsPermittedEntityListing : IEquatablePageNumber. /// Total. /// AllDivsPermitted. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DivsPermittedEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? AllDivsPermitted = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DivsPermittedEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? AllDivsPermitted = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.AllDivsPermitted = AllDivsPermitted; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -91,18 +91,18 @@ public DivsPermittedEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -151,8 +151,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" AllDivsPermitted: ").Append(AllDivsPermitted).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -222,16 +222,16 @@ public bool Equals(DivsPermittedEntityListing other) this.AllDivsPermitted != null && this.AllDivsPermitted.Equals(other.AllDivsPermitted) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -280,12 +280,12 @@ public override int GetHashCode() if (this.AllDivsPermitted != null) hash = hash * 59 + this.AllDivsPermitted.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DncListDivisionViewListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DncListDivisionViewListing.cs index aa3e5de3a..d5314c028 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DncListDivisionViewListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DncListDivisionViewListing.cs @@ -25,20 +25,20 @@ public partial class DncListDivisionViewListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DncListDivisionViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DncListDivisionViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DncListDivisionViewListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DncListDivisionViewListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DncListEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DncListEntityListing.cs index 3fbbded1e..993fb49e4 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DncListEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DncListEntityListing.cs @@ -25,20 +25,20 @@ public partial class DncListEntityListing : IEquatable, I /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DncListEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DncListEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DncListEntityListing(List Entities = null, int? PageSize = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DncListEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DocumentEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DocumentEntityListing.cs index 23b1cfdd1..93036cc18 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DocumentEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DocumentEntityListing.cs @@ -25,20 +25,20 @@ public partial class DocumentEntityListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DocumentEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DocumentEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DocumentEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DocumentEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DomainEdgeSoftwareVersionDtoEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DomainEdgeSoftwareVersionDtoEntityListing.cs index a6740e906..ce8d5ef33 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DomainEdgeSoftwareVersionDtoEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DomainEdgeSoftwareVersionDtoEntityListing.cs @@ -25,20 +25,20 @@ public partial class DomainEdgeSoftwareVersionDtoEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DomainEdgeSoftwareVersionDtoEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DomainEdgeSoftwareVersionDtoEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DomainEdgeSoftwareVersionDtoEntityListing(List - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DomainEdgeSoftwareVersionDtoEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListing.cs index 6e8136a30..7450a2906 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListing.cs @@ -25,20 +25,20 @@ public partial class DomainEntityListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DomainEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DomainEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingEvaluationForm.cs b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingEvaluationForm.cs index 8e51e9c8e..a11b8f1cd 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingEvaluationForm.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingEvaluationForm.cs @@ -25,20 +25,20 @@ public partial class DomainEntityListingEvaluationForm : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DomainEntityListingEvaluationForm(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DomainEntityListingEvaluationForm(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DomainEntityListingEvaluationForm(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DomainEntityListingEvaluationForm other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingQueryResult.cs b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingQueryResult.cs index 755a12576..8b866a1b5 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingQueryResult.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingQueryResult.cs @@ -25,20 +25,20 @@ public partial class DomainEntityListingQueryResult : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DomainEntityListingQueryResult(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DomainEntityListingQueryResult(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DomainEntityListingQueryResult(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DomainEntityListingQueryResult other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingSurveyForm.cs b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingSurveyForm.cs index 424c56a63..6b7cedc2f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingSurveyForm.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/DomainEntityListingSurveyForm.cs @@ -25,20 +25,20 @@ public partial class DomainEntityListingSurveyForm : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public DomainEntityListingSurveyForm(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public DomainEntityListingSurveyForm(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public DomainEntityListingSurveyForm(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(DomainEntityListingSurveyForm other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EdgeEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EdgeEntityListing.cs index 54708d437..6b04f446d 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EdgeEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EdgeEntityListing.cs @@ -26,21 +26,21 @@ public partial class EdgeEntityListing : IEquatable, IPagedR /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EdgeEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EdgeEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public EdgeEntityListing(List Entities = null, int? PageSize = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(EdgeEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EdgeGroupEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EdgeGroupEntityListing.cs index 00985cd11..208952a2d 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EdgeGroupEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EdgeGroupEntityListing.cs @@ -26,21 +26,21 @@ public partial class EdgeGroupEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EdgeGroupEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EdgeGroupEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public EdgeGroupEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(EdgeGroupEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EmailCampaignScheduleEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EmailCampaignScheduleEntityListing.cs index 31c0b7428..747b94afa 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EmailCampaignScheduleEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EmailCampaignScheduleEntityListing.cs @@ -25,20 +25,20 @@ public partial class EmailCampaignScheduleEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EmailCampaignScheduleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EmailCampaignScheduleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EmailCampaignScheduleEntityListing(List Entities = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EmailCampaignScheduleEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EmailConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EmailConversationEntityListing.cs index 58293723a..8266e93c9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EmailConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EmailConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class EmailConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EmailConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EmailConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EmailConversationEntityListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EmailConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EmailMessagePreviewListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EmailMessagePreviewListing.cs index 87de89e62..2cc027690 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EmailMessagePreviewListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EmailMessagePreviewListing.cs @@ -25,20 +25,20 @@ public partial class EmailMessagePreviewListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EmailMessagePreviewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EmailMessagePreviewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EmailMessagePreviewListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EmailMessagePreviewListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupDivisionViewEntityListing.cs index 26bf101fe..1c689a8a2 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupDivisionViewEntityListing.cs @@ -26,21 +26,21 @@ public partial class EmergencyGroupDivisionViewEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EmergencyGroupDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EmergencyGroupDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public EmergencyGroupDivisionViewEntityListing(List /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(EmergencyGroupDivisionViewEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupListing.cs index cbfe77415..e5d0c6143 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EmergencyGroupListing.cs @@ -25,20 +25,20 @@ public partial class EmergencyGroupListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EmergencyGroupListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EmergencyGroupListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EmergencyGroupListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EmergencyGroupListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EncryptionKeyEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EncryptionKeyEntityListing.cs index b4c4c88b8..d39eb54ce 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EncryptionKeyEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EncryptionKeyEntityListing.cs @@ -25,20 +25,20 @@ public partial class EncryptionKeyEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EncryptionKeyEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EncryptionKeyEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EncryptionKeyEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EncryptionKeyEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EvaluationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EvaluationEntityListing.cs index 818d5d2ea..92e2e14da 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EvaluationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EvaluationEntityListing.cs @@ -25,20 +25,20 @@ public partial class EvaluationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EvaluationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EvaluationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EvaluationEntityListing(List Entities = null, int? PageSize = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EvaluationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EvaluationFormResponseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EvaluationFormResponseEntityListing.cs index 0bcd9a4b8..29e7f8b2a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EvaluationFormResponseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EvaluationFormResponseEntityListing.cs @@ -25,20 +25,20 @@ public partial class EvaluationFormResponseEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EvaluationFormResponseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EvaluationFormResponseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EvaluationFormResponseEntityListing(List Entities /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EvaluationFormResponseEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/EvaluatorActivityEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/EvaluatorActivityEntityListing.cs index 8cc9f1e06..048522090 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/EvaluatorActivityEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/EvaluatorActivityEntityListing.cs @@ -25,20 +25,20 @@ public partial class EvaluatorActivityEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public EvaluatorActivityEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public EvaluatorActivityEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public EvaluatorActivityEntityListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(EvaluatorActivityEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ExtensionEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ExtensionEntityListing.cs index 5d259d2ce..cf0f8e919 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ExtensionEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ExtensionEntityListing.cs @@ -26,21 +26,21 @@ public partial class ExtensionEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ExtensionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ExtensionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ExtensionEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ExtensionEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolDivisionViewEntityListing.cs index eb839a476..49f282447 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolDivisionViewEntityListing.cs @@ -26,21 +26,21 @@ public partial class ExtensionPoolDivisionViewEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ExtensionPoolDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ExtensionPoolDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ExtensionPoolDivisionViewEntityListing(List En /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ExtensionPoolDivisionViewEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolEntityListing.cs index 5121b6b41..437661cf8 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ExtensionPoolEntityListing.cs @@ -26,21 +26,21 @@ public partial class ExtensionPoolEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ExtensionPoolEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ExtensionPoolEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ExtensionPoolEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ExtensionPoolEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ExternalMetricDefinitionListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ExternalMetricDefinitionListing.cs index e9f0dc3ff..370b0ec94 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ExternalMetricDefinitionListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ExternalMetricDefinitionListing.cs @@ -25,20 +25,20 @@ public partial class ExternalMetricDefinitionListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ExternalMetricDefinitionListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ExternalMetricDefinitionListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ExternalMetricDefinitionListing(List Entities = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ExternalMetricDefinitionListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ExternalOrganizationListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ExternalOrganizationListing.cs index f0f37fb51..3fcb9f84a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ExternalOrganizationListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ExternalOrganizationListing.cs @@ -26,21 +26,21 @@ public partial class ExternalOrganizationListing : IEquatablePageNumber. /// Total. /// PartialResults. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ExternalOrganizationListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? PartialResults = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ExternalOrganizationListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? PartialResults = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.PartialResults = PartialResults; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -91,18 +91,18 @@ public ExternalOrganizationListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -151,8 +151,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" PartialResults: ").Append(PartialResults).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -222,16 +222,16 @@ public bool Equals(ExternalOrganizationListing other) this.PartialResults != null && this.PartialResults.Equals(other.PartialResults) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -280,12 +280,12 @@ public override int GetHashCode() if (this.PartialResults != null) hash = hash * 59 + this.PartialResults.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FacebookIntegrationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FacebookIntegrationEntityListing.cs index 73a5adcb0..d54ce8c4f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FacebookIntegrationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FacebookIntegrationEntityListing.cs @@ -25,20 +25,20 @@ public partial class FacebookIntegrationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FacebookIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FacebookIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FacebookIntegrationEntityListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FacebookIntegrationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FailedRecordingEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FailedRecordingEntityListing.cs index 7a8853911..cfe24bd0f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FailedRecordingEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FailedRecordingEntityListing.cs @@ -25,20 +25,20 @@ public partial class FailedRecordingEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FailedRecordingEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FailedRecordingEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FailedRecordingEntityListing(List Entities = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FailedRecordingEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/Fallback.cs b/build/src/PureCloudPlatform.Client.V2/Model/Fallback.cs new file mode 100644 index 000000000..739dc06d1 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/Fallback.cs @@ -0,0 +1,137 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// Fallback + /// + [DataContract] + public partial class Fallback : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// Fallback actions are enabled.. + /// Fallback actions.. + public Fallback(bool? Enabled = null, List Actions = null) + { + this.Enabled = Enabled; + this.Actions = Actions; + + } + + + + /// + /// Fallback actions are enabled. + /// + /// Fallback actions are enabled. + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + + /// + /// Fallback actions. + /// + /// Fallback actions. + [DataMember(Name="actions", EmitDefaultValue=false)] + public List Actions { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Fallback {\n"); + + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Actions: ").Append(Actions).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as Fallback); + } + + /// + /// Returns true if Fallback instances are equal + /// + /// Instance of Fallback to be compared + /// Boolean + public bool Equals(Fallback other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Actions == other.Actions || + this.Actions != null && + this.Actions.SequenceEqual(other.Actions) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + + if (this.Actions != null) + hash = hash * 59 + this.Actions.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FaxDocumentEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FaxDocumentEntityListing.cs index a59a79cf6..acc96a9ea 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FaxDocumentEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FaxDocumentEntityListing.cs @@ -25,20 +25,20 @@ public partial class FaxDocumentEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FaxDocumentEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FaxDocumentEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FaxDocumentEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FaxDocumentEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FileSpecificationTemplateEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FileSpecificationTemplateEntityListing.cs index 3c1ffc547..29f9b5dac 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FileSpecificationTemplateEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FileSpecificationTemplateEntityListing.cs @@ -25,20 +25,20 @@ public partial class FileSpecificationTemplateEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FileSpecificationTemplateEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FileSpecificationTemplateEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FileSpecificationTemplateEntityListing(List En /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FileSpecificationTemplateEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowDivisionViewEntityListing.cs index 8b4239619..81d006f69 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowDivisionViewEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowDivisionViewEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowDivisionViewEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowDivisionViewEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowEndDetailEventTopicFlowEndEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowEndDetailEventTopicFlowEndEvent.cs index 68214c126..2f96ed0eb 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowEndDetailEventTopicFlowEndEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowEndDetailEventTopicFlowEndEvent.cs @@ -312,7 +312,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets FlowType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowEntityListing.cs index feee12213..b9e90071d 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowEntityListing : IEquatable, IPagedR /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowEntityListing(List Entities = null, int? PageSize = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneDivisionViewEntityListing.cs index 94ec5ba8a..dbc499def 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneDivisionViewEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowMilestoneDivisionViewEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowMilestoneDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowMilestoneDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowMilestoneDivisionViewEntityListing(List En /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowMilestoneDivisionViewEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneListing.cs index ecf46ea71..5d1f2da73 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowMilestoneListing.cs @@ -25,20 +25,20 @@ public partial class FlowMilestoneListing : IEquatable, I /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowMilestoneListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowMilestoneListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowMilestoneListing(List Entities = null, int? PageSize = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowMilestoneListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDetailEventTopicFlowOutcomeEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDetailEventTopicFlowOutcomeEvent.cs index 38cf786d9..1426d4b6a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDetailEventTopicFlowOutcomeEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDetailEventTopicFlowOutcomeEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets FlowType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDivisionViewEntityListing.cs index e0bc8d647..323c38f6f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeDivisionViewEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowOutcomeDivisionViewEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowOutcomeDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowOutcomeDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowOutcomeDivisionViewEntityListing(List Entiti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowOutcomeDivisionViewEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeListing.cs index 0066062ae..3e39d527c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowOutcomeListing.cs @@ -25,20 +25,20 @@ public partial class FlowOutcomeListing : IEquatable, IPage /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowOutcomeListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowOutcomeListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowOutcomeListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowOutcomeListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowResultEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowResultEntityListing.cs index 27fe92a02..9463a3582 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowResultEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowResultEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowResultEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowResultEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowResultEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowResultEntityListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowResultEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowSettingsResponseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowSettingsResponseEntityListing.cs index 84dfade74..da2d84e93 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowSettingsResponseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowSettingsResponseEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowSettingsResponseEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowSettingsResponseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowSettingsResponseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowSettingsResponseEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowSettingsResponseEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowStartDetailEventTopicFlowStartEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowStartDetailEventTopicFlowStartEvent.cs index 6e9cb6b66..72d0d387b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowStartDetailEventTopicFlowStartEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowStartDetailEventTopicFlowStartEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets FlowType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FlowVersionEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/FlowVersionEntityListing.cs index 02f1c3cd0..a502652d6 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FlowVersionEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FlowVersionEntityListing.cs @@ -25,20 +25,20 @@ public partial class FlowVersionEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public FlowVersionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public FlowVersionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public FlowVersionEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(FlowVersionEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/Function.cs b/build/src/PureCloudPlatform.Client.V2/Model/Function.cs index cd6d904d3..0b44c1572 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/Function.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/Function.cs @@ -30,7 +30,7 @@ protected Function() { } /// Description of the function. Limit 255 characters. (required). /// Handler entry point into zip file to execute function. Should be path within upload function package to the invocation module without language extension, followed by a period and then exported invocation method name. e.g. 'src/index.handler' (required). /// Runtime required for execution. Valid runtimes change over time as versions are deprecated. Use /api/v2/integrations/actions/functions/runtimes for current list. (required). - /// Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 60. Default value 15 seconds.. + /// Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 15. Default value 15 seconds.. public Function(string Description = null, string Handler = null, string Runtime = null, int? TimeoutSeconds = null) { this.Description = Description; @@ -106,9 +106,9 @@ public Function(string Description = null, string Handler = null, string Runtime /// - /// Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 60. Default value 15 seconds. + /// Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 15. Default value 15 seconds. /// - /// Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 60. Default value 15 seconds. + /// Execution timeout to apply to function. Value is in seconds. Range allowed 1 to 15. Default value 15 seconds. [DataMember(Name="timeoutSeconds", EmitDefaultValue=false)] public int? TimeoutSeconds { get; set; } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FunctionConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/FunctionConfig.cs index f665a0058..8d85ba4cf 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FunctionConfig.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FunctionConfig.cs @@ -55,6 +55,15 @@ public FunctionConfig() + /// + /// History of failed zip upload file configuration including their state and error messages. Contains no more than last ten failures. + /// + /// History of failed zip upload file configuration including their state and error messages. Contains no more than last ten failures. + [DataMember(Name="uploadExceptionHistory", EmitDefaultValue=false)] + public List UploadExceptionHistory { get; private set; } + + + /// /// The URI for this object /// @@ -75,6 +84,7 @@ public override string ToString() sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Function: ").Append(Function).Append("\n"); sb.Append(" Zip: ").Append(Zip).Append("\n"); + sb.Append(" UploadExceptionHistory: ").Append(UploadExceptionHistory).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -131,6 +141,11 @@ public bool Equals(FunctionConfig other) this.Zip != null && this.Zip.Equals(other.Zip) ) && + ( + this.UploadExceptionHistory == other.UploadExceptionHistory || + this.UploadExceptionHistory != null && + this.UploadExceptionHistory.SequenceEqual(other.UploadExceptionHistory) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -158,6 +173,9 @@ public override int GetHashCode() if (this.Zip != null) hash = hash * 59 + this.Zip.GetHashCode(); + if (this.UploadExceptionHistory != null) + hash = hash * 59 + this.UploadExceptionHistory.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/FunctionZipConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/FunctionZipConfig.cs index e04009060..cc94e2217 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/FunctionZipConfig.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/FunctionZipConfig.cs @@ -13,7 +13,7 @@ namespace PureCloudPlatform.Client.V2.Model { /// - /// Action function current zip file upload settings and state. + /// Action function zip file upload settings and state. /// [DataContract] public partial class FunctionZipConfig : IEquatable @@ -80,20 +80,12 @@ public enum StatusEnum /// /// Status of zip upload. [DataMember(Name="status", EmitDefaultValue=false)] - public StatusEnum? Status { get; set; } + public StatusEnum? Status { get; private set; } /// /// Initializes a new instance of the class. /// - /// Status of zip upload.. - /// Zip file Identifier. - /// Zip file name. - /// Date and time zip record was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z. - public FunctionZipConfig(StatusEnum? Status = null, string Id = null, string Name = null, DateTime? DateCreated = null) + public FunctionZipConfig() { - this.Status = Status; - this.Id = Id; - this.Name = Name; - this.DateCreated = DateCreated; } @@ -106,7 +98,7 @@ public FunctionZipConfig(StatusEnum? Status = null, string Id = null, string Nam /// /// Zip file Identifier [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } + public string Id { get; private set; } @@ -115,7 +107,7 @@ public FunctionZipConfig(StatusEnum? Status = null, string Id = null, string Nam /// /// Zip file name [DataMember(Name="name", EmitDefaultValue=false)] - public string Name { get; set; } + public string Name { get; private set; } @@ -124,7 +116,25 @@ public FunctionZipConfig(StatusEnum? Status = null, string Id = null, string Nam /// /// Date and time zip record was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z [DataMember(Name="dateCreated", EmitDefaultValue=false)] - public DateTime? DateCreated { get; set; } + public DateTime? DateCreated { get; private set; } + + + + /// + /// Error message if upload failed. + /// + /// Error message if upload failed. + [DataMember(Name="errorMessage", EmitDefaultValue=false)] + public string ErrorMessage { get; private set; } + + + + /// + /// Upload request id used for zip upload + /// + /// Upload request id used for zip upload + [DataMember(Name="requestId", EmitDefaultValue=false)] + public string RequestId { get; private set; } /// @@ -140,6 +150,8 @@ public override string ToString() sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" DateCreated: ").Append(DateCreated).Append("\n"); + sb.Append(" ErrorMessage: ").Append(ErrorMessage).Append("\n"); + sb.Append(" RequestId: ").Append(RequestId).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -199,6 +211,16 @@ public bool Equals(FunctionZipConfig other) this.DateCreated == other.DateCreated || this.DateCreated != null && this.DateCreated.Equals(other.DateCreated) + ) && + ( + this.ErrorMessage == other.ErrorMessage || + this.ErrorMessage != null && + this.ErrorMessage.Equals(other.ErrorMessage) + ) && + ( + this.RequestId == other.RequestId || + this.RequestId != null && + this.RequestId.Equals(other.RequestId) ); } @@ -225,6 +247,12 @@ public override int GetHashCode() if (this.DateCreated != null) hash = hash * 59 + this.DateCreated.GetHashCode(); + if (this.ErrorMessage != null) + hash = hash * 59 + this.ErrorMessage.GetHashCode(); + + if (this.RequestId != null) + hash = hash * 59 + this.RequestId.GetHashCode(); + return hash; } } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GDPRRequestEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GDPRRequestEntityListing.cs index 13513442d..c6c2f7c62 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GDPRRequestEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GDPRRequestEntityListing.cs @@ -25,20 +25,20 @@ public partial class GDPRRequestEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GDPRRequestEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GDPRRequestEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GDPRRequestEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GDPRRequestEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GDPRSubjectEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GDPRSubjectEntityListing.cs index ca8bdb605..5cb3cda66 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GDPRSubjectEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GDPRSubjectEntityListing.cs @@ -25,20 +25,20 @@ public partial class GDPRSubjectEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GDPRSubjectEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GDPRSubjectEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GDPRSubjectEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GDPRSubjectEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GetCelebrationListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GetCelebrationListing.cs index f2e222aab..aba1bec25 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GetCelebrationListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GetCelebrationListing.cs @@ -25,20 +25,20 @@ public partial class GetCelebrationListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GetCelebrationListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GetCelebrationListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GetCelebrationListing(List Entities = null, int? PageSize = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GetCelebrationListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GoogleDialogflowConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/GoogleDialogflowConfig.cs new file mode 100644 index 000000000..a73bc1f0b --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/GoogleDialogflowConfig.cs @@ -0,0 +1,143 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// GoogleDialogflowConfig + /// + [DataContract] + public partial class GoogleDialogflowConfig : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected GoogleDialogflowConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// The integration identifier with which the assistant will fetch transcriptions and knowledge suggestions.. + /// The conversation profiles for which the assistant will fetch transcription and knowledge suggestions. (required). + public GoogleDialogflowConfig(string IntegrationId = null, List ConversationProfiles = null) + { + this.IntegrationId = IntegrationId; + this.ConversationProfiles = ConversationProfiles; + + } + + + + /// + /// The integration identifier with which the assistant will fetch transcriptions and knowledge suggestions. + /// + /// The integration identifier with which the assistant will fetch transcriptions and knowledge suggestions. + [DataMember(Name="integrationId", EmitDefaultValue=false)] + public string IntegrationId { get; set; } + + + + /// + /// The conversation profiles for which the assistant will fetch transcription and knowledge suggestions. + /// + /// The conversation profiles for which the assistant will fetch transcription and knowledge suggestions. + [DataMember(Name="conversationProfiles", EmitDefaultValue=false)] + public List ConversationProfiles { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class GoogleDialogflowConfig {\n"); + + sb.Append(" IntegrationId: ").Append(IntegrationId).Append("\n"); + sb.Append(" ConversationProfiles: ").Append(ConversationProfiles).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as GoogleDialogflowConfig); + } + + /// + /// Returns true if GoogleDialogflowConfig instances are equal + /// + /// Instance of GoogleDialogflowConfig to be compared + /// Boolean + public bool Equals(GoogleDialogflowConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.IntegrationId == other.IntegrationId || + this.IntegrationId != null && + this.IntegrationId.Equals(other.IntegrationId) + ) && + ( + this.ConversationProfiles == other.ConversationProfiles || + this.ConversationProfiles != null && + this.ConversationProfiles.SequenceEqual(other.ConversationProfiles) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.IntegrationId != null) + hash = hash * 59 + this.IntegrationId.GetHashCode(); + + if (this.ConversationProfiles != null) + hash = hash * 59 + this.ConversationProfiles.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GrammarListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GrammarListing.cs index e92a2cf5c..5dcdf18ea 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GrammarListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GrammarListing.cs @@ -25,20 +25,20 @@ public partial class GrammarListing : IEquatable, IPagedResourc /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GrammarListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GrammarListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GrammarListing(List Entities = null, int? PageSize = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GrammarListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GreetingListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GreetingListing.cs index e15ab23a0..bd7847fa5 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GreetingListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GreetingListing.cs @@ -25,20 +25,20 @@ public partial class GreetingListing : IEquatable, IPagedResou /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GreetingListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GreetingListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GreetingListing(List Entities = null, int? PageSize = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GreetingListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GroupEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GroupEntityListing.cs index 1dfde8fca..bea0995c5 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GroupEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GroupEntityListing.cs @@ -25,20 +25,20 @@ public partial class GroupEntityListing : IEquatable, IPage /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GroupEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GroupEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GroupEntityListing(List Entities = null, int? PageSize = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GroupEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/GroupProfileEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/GroupProfileEntityListing.cs index 25693b81c..0867a382c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/GroupProfileEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/GroupProfileEntityListing.cs @@ -25,20 +25,20 @@ public partial class GroupProfileEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public GroupProfileEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public GroupProfileEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public GroupProfileEntityListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(GroupProfileEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/IVRDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/IVRDivisionViewEntityListing.cs index 72cdb6e90..292d99016 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/IVRDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/IVRDivisionViewEntityListing.cs @@ -26,21 +26,21 @@ public partial class IVRDivisionViewEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public IVRDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public IVRDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public IVRDivisionViewEntityListing(List Entities = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(IVRDivisionViewEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/IVREntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/IVREntityListing.cs index fe0cd534b..270e42e03 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/IVREntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/IVREntityListing.cs @@ -26,21 +26,21 @@ public partial class IVREntityListing : IEquatable, IPagedRes /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public IVREntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public IVREntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public IVREntityListing(List Entities = null, int? PageSize = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(IVREntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/IdentityProviderEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/IdentityProviderEntityListing.cs index a2b05e6fe..e123f111f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/IdentityProviderEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/IdentityProviderEntityListing.cs @@ -25,20 +25,20 @@ public partial class IdentityProviderEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public IdentityProviderEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public IdentityProviderEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public IdentityProviderEntityListing(List Entities = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(IdentityProviderEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ImportTemplateEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ImportTemplateEntityListing.cs index 567abfd5c..61831a4d7 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ImportTemplateEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ImportTemplateEntityListing.cs @@ -25,20 +25,20 @@ public partial class ImportTemplateEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ImportTemplateEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ImportTemplateEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ImportTemplateEntityListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ImportTemplateEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/InboundDomainEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/InboundDomainEntityListing.cs index 4c1a6a64b..e34f62ff9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/InboundDomainEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/InboundDomainEntityListing.cs @@ -25,20 +25,20 @@ public partial class InboundDomainEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public InboundDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public InboundDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public InboundDomainEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(InboundDomainEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/InboundRouteEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/InboundRouteEntityListing.cs index 7ab1878b0..7c69d49d3 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/InboundRouteEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/InboundRouteEntityListing.cs @@ -25,20 +25,20 @@ public partial class InboundRouteEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public InboundRouteEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public InboundRouteEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public InboundRouteEntityListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(InboundRouteEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/InstagramIntegrationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/InstagramIntegrationEntityListing.cs index 495c903ac..612e1eba4 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/InstagramIntegrationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/InstagramIntegrationEntityListing.cs @@ -25,20 +25,20 @@ public partial class InstagramIntegrationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public InstagramIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public InstagramIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public InstagramIntegrationEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(InstagramIntegrationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/IntegrationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/IntegrationEntityListing.cs index e2e58e04d..8739d579c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/IntegrationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/IntegrationEntityListing.cs @@ -25,20 +25,20 @@ public partial class IntegrationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public IntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public IntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public IntegrationEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(IntegrationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/IntegrationTypeEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/IntegrationTypeEntityListing.cs index 1f1f52a1f..35e758385 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/IntegrationTypeEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/IntegrationTypeEntityListing.cs @@ -25,20 +25,20 @@ public partial class IntegrationTypeEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public IntegrationTypeEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public IntegrationTypeEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public IntegrationTypeEntityListing(List Entities = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(IntegrationTypeEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsAlertContainer.cs b/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsAlertContainer.cs index e66340b3f..5d0054c80 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsAlertContainer.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsAlertContainer.cs @@ -25,20 +25,20 @@ public partial class InteractionStatsAlertContainer : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public InteractionStatsAlertContainer(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public InteractionStatsAlertContainer(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public InteractionStatsAlertContainer(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(InteractionStatsAlertContainer other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsRuleContainer.cs b/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsRuleContainer.cs index a1ff1e143..2fbfce8db 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsRuleContainer.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/InteractionStatsRuleContainer.cs @@ -25,20 +25,20 @@ public partial class InteractionStatsRuleContainer : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public InteractionStatsRuleContainer(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public InteractionStatsRuleContainer(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public InteractionStatsRuleContainer(List Entities = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(InteractionStatsRuleContainer other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/IpAddressRange.cs b/build/src/PureCloudPlatform.Client.V2/Model/IpAddressRange.cs index 2b419f742..670bc0766 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/IpAddressRange.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/IpAddressRange.cs @@ -60,7 +60,13 @@ public enum ServiceEnum /// Enum Api for "api" /// [EnumMember(Value = "api")] - Api + Api, + + /// + /// Enum Audioconnector for "audio-connector" + /// + [EnumMember(Value = "audio-connector")] + Audioconnector } /// /// Gets or Sets Service diff --git a/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewElementFilterRangeData.cs b/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewElementFilterRangeData.cs index bfa04a550..0fbe7f0a7 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewElementFilterRangeData.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewElementFilterRangeData.cs @@ -21,9 +21,9 @@ public partial class JourneyViewElementFilterRangeData : IEquatable /// Initializes a new instance of the class. /// - /// an ISO 8601 time duration.Only one of number or duration must be specified. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H. - /// an Integer value.Only one of number or duration must be specified.. - public JourneyViewElementFilterRangeData(string Duration = null, int? Number = null) + /// An ISO 8601 time duration. Only one of number or duration must be specified.. + /// A numeric value. Only one of number or duration must be specified.. + public JourneyViewElementFilterRangeData(string Duration = null, double? Number = null) { this.Duration = Duration; this.Number = Number; @@ -33,20 +33,20 @@ public JourneyViewElementFilterRangeData(string Duration = null, int? Number = n /// - /// an ISO 8601 time duration.Only one of number or duration must be specified. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H + /// An ISO 8601 time duration. Only one of number or duration must be specified. /// - /// an ISO 8601 time duration.Only one of number or duration must be specified. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H + /// An ISO 8601 time duration. Only one of number or duration must be specified. [DataMember(Name="duration", EmitDefaultValue=false)] public string Duration { get; set; } /// - /// an Integer value.Only one of number or duration must be specified. + /// A numeric value. Only one of number or duration must be specified. /// - /// an Integer value.Only one of number or duration must be specified. + /// A numeric value. Only one of number or duration must be specified. [DataMember(Name="number", EmitDefaultValue=false)] - public int? Number { get; set; } + public double? Number { get; set; } /// diff --git a/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewJobListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewJobListing.cs index bb0bb5515..dbcb51073 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewJobListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewJobListing.cs @@ -25,20 +25,20 @@ public partial class JourneyViewJobListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public JourneyViewJobListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public JourneyViewJobListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public JourneyViewJobListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(JourneyViewJobListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewListing.cs index 07d3d6dbb..a2b0497b2 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/JourneyViewListing.cs @@ -25,20 +25,20 @@ public partial class JourneyViewListing : IEquatable, IPage /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public JourneyViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public JourneyViewListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public JourneyViewListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(JourneyViewListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerConfig.cs new file mode 100644 index 000000000..be19a7915 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerConfig.cs @@ -0,0 +1,123 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeAnswerConfig + /// + [DataContract] + public partial class KnowledgeAnswerConfig : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected KnowledgeAnswerConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// Knowledge answer is enabled. (required). + public KnowledgeAnswerConfig(bool? Enabled = null) + { + this.Enabled = Enabled; + + } + + + + /// + /// Knowledge answer is enabled. + /// + /// Knowledge answer is enabled. + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeAnswerConfig {\n"); + + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeAnswerConfig); + } + + /// + /// Returns true if KnowledgeAnswerConfig instances are equal + /// + /// Instance of KnowledgeAnswerConfig to be compared + /// Boolean + public bool Equals(KnowledgeAnswerConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentResponse.cs new file mode 100644 index 000000000..f9b2a42d1 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentResponse.cs @@ -0,0 +1,177 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeAnswerDocumentResponse + /// + [DataContract] + public partial class KnowledgeAnswerDocumentResponse : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The document id.. + /// The document title.. + /// The answer found inside a variationContent.. + /// The variation with the answer's highlight data.. + public KnowledgeAnswerDocumentResponse(string Id = null, string Title = null, string Answer = null, DocumentVariationAnswer Variation = null) + { + this.Id = Id; + this.Title = Title; + this.Answer = Answer; + this.Variation = Variation; + + } + + + + /// + /// The document id. + /// + /// The document id. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + /// + /// The document title. + /// + /// The document title. + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + + + + /// + /// The answer found inside a variationContent. + /// + /// The answer found inside a variationContent. + [DataMember(Name="answer", EmitDefaultValue=false)] + public string Answer { get; set; } + + + + /// + /// The variation with the answer's highlight data. + /// + /// The variation with the answer's highlight data. + [DataMember(Name="variation", EmitDefaultValue=false)] + public DocumentVariationAnswer Variation { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeAnswerDocumentResponse {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append(" Answer: ").Append(Answer).Append("\n"); + sb.Append(" Variation: ").Append(Variation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeAnswerDocumentResponse); + } + + /// + /// Returns true if KnowledgeAnswerDocumentResponse instances are equal + /// + /// Instance of KnowledgeAnswerDocumentResponse to be compared + /// Boolean + public bool Equals(KnowledgeAnswerDocumentResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Title == other.Title || + this.Title != null && + this.Title.Equals(other.Title) + ) && + ( + this.Answer == other.Answer || + this.Answer != null && + this.Answer.Equals(other.Answer) + ) && + ( + this.Variation == other.Variation || + this.Variation != null && + this.Variation.Equals(other.Variation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.Title != null) + hash = hash * 59 + this.Title.GetHashCode(); + + if (this.Answer != null) + hash = hash * 59 + this.Answer.GetHashCode(); + + if (this.Variation != null) + hash = hash * 59 + this.Variation.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentsResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentsResponse.cs new file mode 100644 index 000000000..911457114 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeAnswerDocumentsResponse.cs @@ -0,0 +1,137 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeAnswerDocumentsResponse + /// + [DataContract] + public partial class KnowledgeAnswerDocumentsResponse : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The results with answers if the answerMode request property is not set or contains \"AnswerHighlight\". Empty array otherwise.. + /// The results with AI-generated answer if the answerMode request property contains \"AnswerGeneration\".. + public KnowledgeAnswerDocumentsResponse(List Results = null, KnowledgeAnswerGenerationResponse AnswerGeneration = null) + { + this.Results = Results; + this.AnswerGeneration = AnswerGeneration; + + } + + + + /// + /// The results with answers if the answerMode request property is not set or contains \"AnswerHighlight\". Empty array otherwise. + /// + /// The results with answers if the answerMode request property is not set or contains \"AnswerHighlight\". Empty array otherwise. + [DataMember(Name="results", EmitDefaultValue=false)] + public List Results { get; set; } + + + + /// + /// The results with AI-generated answer if the answerMode request property contains \"AnswerGeneration\". + /// + /// The results with AI-generated answer if the answerMode request property contains \"AnswerGeneration\". + [DataMember(Name="answerGeneration", EmitDefaultValue=false)] + public KnowledgeAnswerGenerationResponse AnswerGeneration { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeAnswerDocumentsResponse {\n"); + + sb.Append(" Results: ").Append(Results).Append("\n"); + sb.Append(" AnswerGeneration: ").Append(AnswerGeneration).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeAnswerDocumentsResponse); + } + + /// + /// Returns true if KnowledgeAnswerDocumentsResponse instances are equal + /// + /// Instance of KnowledgeAnswerDocumentsResponse to be compared + /// Boolean + public bool Equals(KnowledgeAnswerDocumentsResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Results == other.Results || + this.Results != null && + this.Results.SequenceEqual(other.Results) + ) && + ( + this.AnswerGeneration == other.AnswerGeneration || + this.AnswerGeneration != null && + this.AnswerGeneration.Equals(other.AnswerGeneration) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Results != null) + hash = hash * 59 + this.Results.GetHashCode(); + + if (this.AnswerGeneration != null) + hash = hash * 59 + this.AnswerGeneration.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseWithDialectReference.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseWithDialectReference.cs new file mode 100644 index 000000000..1caca7654 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeBaseWithDialectReference.cs @@ -0,0 +1,331 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeBaseWithDialectReference + /// + [DataContract] + public partial class KnowledgeBaseWithDialectReference : IEquatable + { + /// + /// The dialect for the knowledge base. + /// + /// The dialect for the knowledge base. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum LanguageCodeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Enza for "en-ZA" + /// + [EnumMember(Value = "en-ZA")] + Enza, + + /// + /// Enum Enau for "en-AU" + /// + [EnumMember(Value = "en-AU")] + Enau, + + /// + /// Enum Engb for "en-GB" + /// + [EnumMember(Value = "en-GB")] + Engb, + + /// + /// Enum Enie for "en-IE" + /// + [EnumMember(Value = "en-IE")] + Enie, + + /// + /// Enum Enin for "en-IN" + /// + [EnumMember(Value = "en-IN")] + Enin, + + /// + /// Enum Enus for "en-US" + /// + [EnumMember(Value = "en-US")] + Enus, + + /// + /// Enum Esus for "es-US" + /// + [EnumMember(Value = "es-US")] + Esus, + + /// + /// Enum Eses for "es-ES" + /// + [EnumMember(Value = "es-ES")] + Eses, + + /// + /// Enum Nlnl for "nl-NL" + /// + [EnumMember(Value = "nl-NL")] + Nlnl, + + /// + /// Enum Frca for "fr-CA" + /// + [EnumMember(Value = "fr-CA")] + Frca, + + /// + /// Enum Frfr for "fr-FR" + /// + [EnumMember(Value = "fr-FR")] + Frfr, + + /// + /// Enum Dede for "de-DE" + /// + [EnumMember(Value = "de-DE")] + Dede, + + /// + /// Enum Itit for "it-IT" + /// + [EnumMember(Value = "it-IT")] + Itit, + + /// + /// Enum Ptpt for "pt-PT" + /// + [EnumMember(Value = "pt-PT")] + Ptpt, + + /// + /// Enum Ptbr for "pt-BR" + /// + [EnumMember(Value = "pt-BR")] + Ptbr, + + /// + /// Enum Arae for "ar-AE" + /// + [EnumMember(Value = "ar-AE")] + Arae, + + /// + /// Enum Jajp for "ja-JP" + /// + [EnumMember(Value = "ja-JP")] + Jajp, + + /// + /// Enum Svse for "sv-SE" + /// + [EnumMember(Value = "sv-SE")] + Svse, + + /// + /// Enum Deat for "de-AT" + /// + [EnumMember(Value = "de-AT")] + Deat, + + /// + /// Enum Dech for "de-CH" + /// + [EnumMember(Value = "de-CH")] + Dech, + + /// + /// Enum Dadk for "da-DK" + /// + [EnumMember(Value = "da-DK")] + Dadk, + + /// + /// Enum Frbe for "fr-BE" + /// + [EnumMember(Value = "fr-BE")] + Frbe, + + /// + /// Enum Frch for "fr-CH" + /// + [EnumMember(Value = "fr-CH")] + Frch, + + /// + /// Enum Esmx for "es-MX" + /// + [EnumMember(Value = "es-MX")] + Esmx, + + /// + /// Enum Esco for "es-CO" + /// + [EnumMember(Value = "es-CO")] + Esco, + + /// + /// Enum Esar for "es-AR" + /// + [EnumMember(Value = "es-AR")] + Esar + } + /// + /// The dialect for the knowledge base. + /// + /// The dialect for the knowledge base. + [DataMember(Name="languageCode", EmitDefaultValue=false)] + public LanguageCodeEnum? LanguageCode { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected KnowledgeBaseWithDialectReference() { } + /// + /// Initializes a new instance of the class. + /// + /// The globally unique identifier for the knowledge base. (required). + /// The dialect for the knowledge base. (required). + public KnowledgeBaseWithDialectReference(string Id = null, LanguageCodeEnum? LanguageCode = null) + { + this.Id = Id; + this.LanguageCode = LanguageCode; + + } + + + + /// + /// The globally unique identifier for the knowledge base. + /// + /// The globally unique identifier for the knowledge base. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + + + /// + /// The URI for this object + /// + /// The URI for this object + [DataMember(Name="selfUri", EmitDefaultValue=false)] + public string SelfUri { get; private set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeBaseWithDialectReference {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" LanguageCode: ").Append(LanguageCode).Append("\n"); + sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeBaseWithDialectReference); + } + + /// + /// Returns true if KnowledgeBaseWithDialectReference instances are equal + /// + /// Instance of KnowledgeBaseWithDialectReference to be compared + /// Boolean + public bool Equals(KnowledgeBaseWithDialectReference other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.LanguageCode == other.LanguageCode || + this.LanguageCode != null && + this.LanguageCode.Equals(other.LanguageCode) + ) && + ( + this.SelfUri == other.SelfUri || + this.SelfUri != null && + this.SelfUri.Equals(other.SelfUri) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.LanguageCode != null) + hash = hash * 59 + this.LanguageCode.GetHashCode(); + + if (this.SelfUri != null) + hash = hash * 59 + this.SelfUri.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedbackUpdateRequest.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedbackUpdateRequest.cs new file mode 100644 index 000000000..a5b17eab4 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentFeedbackUpdateRequest.cs @@ -0,0 +1,261 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeDocumentFeedbackUpdateRequest + /// + [DataContract] + public partial class KnowledgeDocumentFeedbackUpdateRequest : IEquatable + { + /// + /// Feedback rating. + /// + /// Feedback rating. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum RatingEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Negative for "Negative" + /// + [EnumMember(Value = "Negative")] + Negative, + + /// + /// Enum Positive for "Positive" + /// + [EnumMember(Value = "Positive")] + Positive + } + /// + /// Feedback reason + /// + /// Feedback reason + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum ReasonEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Documentcontent for "DocumentContent" + /// + [EnumMember(Value = "DocumentContent")] + Documentcontent, + + /// + /// Enum Searchresults for "SearchResults" + /// + [EnumMember(Value = "SearchResults")] + Searchresults + } + /// + /// Feedback state + /// + /// Feedback state + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum StateEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Draft for "Draft" + /// + [EnumMember(Value = "Draft")] + Draft, + + /// + /// Enum Final for "Final" + /// + [EnumMember(Value = "Final")] + Final + } + /// + /// Feedback rating. + /// + /// Feedback rating. + [DataMember(Name="rating", EmitDefaultValue=false)] + public RatingEnum? Rating { get; set; } + /// + /// Feedback reason + /// + /// Feedback reason + [DataMember(Name="reason", EmitDefaultValue=false)] + public ReasonEnum? Reason { get; set; } + /// + /// Feedback state + /// + /// Feedback state + [DataMember(Name="state", EmitDefaultValue=false)] + public StateEnum? State { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected KnowledgeDocumentFeedbackUpdateRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// Feedback rating. (required). + /// Feedback reason. + /// Feedback comment. + /// Feedback state. + public KnowledgeDocumentFeedbackUpdateRequest(RatingEnum? Rating = null, ReasonEnum? Reason = null, string Comment = null, StateEnum? State = null) + { + this.Rating = Rating; + this.Reason = Reason; + this.Comment = Comment; + this.State = State; + + } + + + + + + + + /// + /// Feedback comment + /// + /// Feedback comment + [DataMember(Name="comment", EmitDefaultValue=false)] + public string Comment { get; set; } + + + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeDocumentFeedbackUpdateRequest {\n"); + + sb.Append(" Rating: ").Append(Rating).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Comment: ").Append(Comment).Append("\n"); + sb.Append(" State: ").Append(State).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeDocumentFeedbackUpdateRequest); + } + + /// + /// Returns true if KnowledgeDocumentFeedbackUpdateRequest instances are equal + /// + /// Instance of KnowledgeDocumentFeedbackUpdateRequest to be compared + /// Boolean + public bool Equals(KnowledgeDocumentFeedbackUpdateRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Rating == other.Rating || + this.Rating != null && + this.Rating.Equals(other.Rating) + ) && + ( + this.Reason == other.Reason || + this.Reason != null && + this.Reason.Equals(other.Reason) + ) && + ( + this.Comment == other.Comment || + this.Comment != null && + this.Comment.Equals(other.Comment) + ) && + ( + this.State == other.State || + this.State != null && + this.State.Equals(other.State) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Rating != null) + hash = hash * 59 + this.Rating.GetHashCode(); + + if (this.Reason != null) + hash = hash * 59 + this.Reason.GetHashCode(); + + if (this.Comment != null) + hash = hash * 59 + this.Comment.GetHashCode(); + + if (this.State != null) + hash = hash * 59 + this.State.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentsAnswerFilter.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentsAnswerFilter.cs new file mode 100644 index 000000000..3cd815026 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeDocumentsAnswerFilter.cs @@ -0,0 +1,679 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeDocumentsAnswerFilter + /// + [DataContract] + public partial class KnowledgeDocumentsAnswerFilter : IEquatable + { + /// + /// The language of the documents. + /// + /// The language of the documents. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum LanguageEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Enus for "en-US" + /// + [EnumMember(Value = "en-US")] + Enus, + + /// + /// Enum Enuk for "en-UK" + /// + [EnumMember(Value = "en-UK")] + Enuk, + + /// + /// Enum Enau for "en-AU" + /// + [EnumMember(Value = "en-AU")] + Enau, + + /// + /// Enum Enca for "en-CA" + /// + [EnumMember(Value = "en-CA")] + Enca, + + /// + /// Enum Enhk for "en-HK" + /// + [EnumMember(Value = "en-HK")] + Enhk, + + /// + /// Enum Enin for "en-IN" + /// + [EnumMember(Value = "en-IN")] + Enin, + + /// + /// Enum Enie for "en-IE" + /// + [EnumMember(Value = "en-IE")] + Enie, + + /// + /// Enum Ennz for "en-NZ" + /// + [EnumMember(Value = "en-NZ")] + Ennz, + + /// + /// Enum Enph for "en-PH" + /// + [EnumMember(Value = "en-PH")] + Enph, + + /// + /// Enum Ensg for "en-SG" + /// + [EnumMember(Value = "en-SG")] + Ensg, + + /// + /// Enum Enza for "en-ZA" + /// + [EnumMember(Value = "en-ZA")] + Enza, + + /// + /// Enum Dede for "de-DE" + /// + [EnumMember(Value = "de-DE")] + Dede, + + /// + /// Enum Deat for "de-AT" + /// + [EnumMember(Value = "de-AT")] + Deat, + + /// + /// Enum Dech for "de-CH" + /// + [EnumMember(Value = "de-CH")] + Dech, + + /// + /// Enum Esar for "es-AR" + /// + [EnumMember(Value = "es-AR")] + Esar, + + /// + /// Enum Esco for "es-CO" + /// + [EnumMember(Value = "es-CO")] + Esco, + + /// + /// Enum Esmx for "es-MX" + /// + [EnumMember(Value = "es-MX")] + Esmx, + + /// + /// Enum Esus for "es-US" + /// + [EnumMember(Value = "es-US")] + Esus, + + /// + /// Enum Eses for "es-ES" + /// + [EnumMember(Value = "es-ES")] + Eses, + + /// + /// Enum Frfr for "fr-FR" + /// + [EnumMember(Value = "fr-FR")] + Frfr, + + /// + /// Enum Frbe for "fr-BE" + /// + [EnumMember(Value = "fr-BE")] + Frbe, + + /// + /// Enum Frca for "fr-CA" + /// + [EnumMember(Value = "fr-CA")] + Frca, + + /// + /// Enum Frch for "fr-CH" + /// + [EnumMember(Value = "fr-CH")] + Frch, + + /// + /// Enum Ptbr for "pt-BR" + /// + [EnumMember(Value = "pt-BR")] + Ptbr, + + /// + /// Enum Ptpt for "pt-PT" + /// + [EnumMember(Value = "pt-PT")] + Ptpt, + + /// + /// Enum Nlnl for "nl-NL" + /// + [EnumMember(Value = "nl-NL")] + Nlnl, + + /// + /// Enum Nlbe for "nl-BE" + /// + [EnumMember(Value = "nl-BE")] + Nlbe, + + /// + /// Enum Itit for "it-IT" + /// + [EnumMember(Value = "it-IT")] + Itit, + + /// + /// Enum Caes for "ca-ES" + /// + [EnumMember(Value = "ca-ES")] + Caes, + + /// + /// Enum Trtr for "tr-TR" + /// + [EnumMember(Value = "tr-TR")] + Trtr, + + /// + /// Enum Svse for "sv-SE" + /// + [EnumMember(Value = "sv-SE")] + Svse, + + /// + /// Enum Fifi for "fi-FI" + /// + [EnumMember(Value = "fi-FI")] + Fifi, + + /// + /// Enum Nbno for "nb-NO" + /// + [EnumMember(Value = "nb-NO")] + Nbno, + + /// + /// Enum Dadk for "da-DK" + /// + [EnumMember(Value = "da-DK")] + Dadk, + + /// + /// Enum Jajp for "ja-JP" + /// + [EnumMember(Value = "ja-JP")] + Jajp, + + /// + /// Enum Arae for "ar-AE" + /// + [EnumMember(Value = "ar-AE")] + Arae, + + /// + /// Enum Zhcn for "zh-CN" + /// + [EnumMember(Value = "zh-CN")] + Zhcn, + + /// + /// Enum Zhtw for "zh-TW" + /// + [EnumMember(Value = "zh-TW")] + Zhtw, + + /// + /// Enum Zhhk for "zh-HK" + /// + [EnumMember(Value = "zh-HK")] + Zhhk, + + /// + /// Enum Kokr for "ko-KR" + /// + [EnumMember(Value = "ko-KR")] + Kokr, + + /// + /// Enum Plpl for "pl-PL" + /// + [EnumMember(Value = "pl-PL")] + Plpl, + + /// + /// Enum Hiin for "hi-IN" + /// + [EnumMember(Value = "hi-IN")] + Hiin, + + /// + /// Enum Thth for "th-TH" + /// + [EnumMember(Value = "th-TH")] + Thth, + + /// + /// Enum Huhu for "hu-HU" + /// + [EnumMember(Value = "hu-HU")] + Huhu, + + /// + /// Enum Vivn for "vi-VN" + /// + [EnumMember(Value = "vi-VN")] + Vivn, + + /// + /// Enum Ukua for "uk-UA" + /// + [EnumMember(Value = "uk-UA")] + Ukua + } + /// + /// The appType + /// + /// The appType + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum AppTypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Assistant for "Assistant" + /// + [EnumMember(Value = "Assistant")] + Assistant, + + /// + /// Enum Botflow for "BotFlow" + /// + [EnumMember(Value = "BotFlow")] + Botflow, + + /// + /// Enum Messengerknowledgeapp for "MessengerKnowledgeApp" + /// + [EnumMember(Value = "MessengerKnowledgeApp")] + Messengerknowledgeapp, + + /// + /// Enum Smartadvisor for "SmartAdvisor" + /// + [EnumMember(Value = "SmartAdvisor")] + Smartadvisor, + + /// + /// Enum Supportcenter for "SupportCenter" + /// + [EnumMember(Value = "SupportCenter")] + Supportcenter + } + /// + /// The query type + /// + /// The query type + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum QueryTypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Unknown for "Unknown" + /// + [EnumMember(Value = "Unknown")] + Unknown, + + /// + /// Enum Article for "Article" + /// + [EnumMember(Value = "Article")] + Article, + + /// + /// Enum Autosearch for "AutoSearch" + /// + [EnumMember(Value = "AutoSearch")] + Autosearch, + + /// + /// Enum Category for "Category" + /// + [EnumMember(Value = "Category")] + Category, + + /// + /// Enum Manualsearch for "ManualSearch" + /// + [EnumMember(Value = "ManualSearch")] + Manualsearch, + + /// + /// Enum Recommendation for "Recommendation" + /// + [EnumMember(Value = "Recommendation")] + Recommendation, + + /// + /// Enum Suggestion for "Suggestion" + /// + [EnumMember(Value = "Suggestion")] + Suggestion + } + /// + /// Gets or Sets AnswerMode + /// + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum AnswerModeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Answerhighlight for "AnswerHighlight" + /// + [EnumMember(Value = "AnswerHighlight")] + Answerhighlight, + + /// + /// Enum Answergeneration for "AnswerGeneration" + /// + [EnumMember(Value = "AnswerGeneration")] + Answergeneration + } + /// + /// The language of the documents. + /// + /// The language of the documents. + [DataMember(Name="language", EmitDefaultValue=false)] + public LanguageEnum? Language { get; set; } + /// + /// The appType + /// + /// The appType + [DataMember(Name="appType", EmitDefaultValue=false)] + public AppTypeEnum? AppType { get; set; } + /// + /// The query type + /// + /// The query type + [DataMember(Name="queryType", EmitDefaultValue=false)] + public QueryTypeEnum? QueryType { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected KnowledgeDocumentsAnswerFilter() { } + /// + /// Initializes a new instance of the class. + /// + /// The search query.. + /// The language of the documents.. + /// The appType. + /// The query type. + /// The search id.. + /// If specified - insert highlight data into the variation content.. + /// Allows extracted answers from an article (AnswerHighlight) and/or AI-generated answers (AnswerGeneration). Default mode: AnswerHighlight. + /// The variation Ids to answer. (required). + public KnowledgeDocumentsAnswerFilter(string Query = null, LanguageEnum? Language = null, AppTypeEnum? AppType = null, QueryTypeEnum? QueryType = null, string SearchId = null, bool? InsertHighlightIntoVariationContent = null, List AnswerMode = null, List VariationIds = null) + { + this.Query = Query; + this.Language = Language; + this.AppType = AppType; + this.QueryType = QueryType; + this.SearchId = SearchId; + this.InsertHighlightIntoVariationContent = InsertHighlightIntoVariationContent; + this.AnswerMode = AnswerMode; + this.VariationIds = VariationIds; + + } + + + + /// + /// The search query. + /// + /// The search query. + [DataMember(Name="query", EmitDefaultValue=false)] + public string Query { get; set; } + + + + + + + + + + /// + /// The search id. + /// + /// The search id. + [DataMember(Name="searchId", EmitDefaultValue=false)] + public string SearchId { get; set; } + + + + /// + /// If specified - insert highlight data into the variation content. + /// + /// If specified - insert highlight data into the variation content. + [DataMember(Name="insertHighlightIntoVariationContent", EmitDefaultValue=false)] + public bool? InsertHighlightIntoVariationContent { get; set; } + + + + /// + /// Allows extracted answers from an article (AnswerHighlight) and/or AI-generated answers (AnswerGeneration). Default mode: AnswerHighlight + /// + /// Allows extracted answers from an article (AnswerHighlight) and/or AI-generated answers (AnswerGeneration). Default mode: AnswerHighlight + [DataMember(Name="answerMode", EmitDefaultValue=false)] + public List AnswerMode { get; set; } + + + + /// + /// The variation Ids to answer. + /// + /// The variation Ids to answer. + [DataMember(Name="variationIds", EmitDefaultValue=false)] + public List VariationIds { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeDocumentsAnswerFilter {\n"); + + sb.Append(" Query: ").Append(Query).Append("\n"); + sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" AppType: ").Append(AppType).Append("\n"); + sb.Append(" QueryType: ").Append(QueryType).Append("\n"); + sb.Append(" SearchId: ").Append(SearchId).Append("\n"); + sb.Append(" InsertHighlightIntoVariationContent: ").Append(InsertHighlightIntoVariationContent).Append("\n"); + sb.Append(" AnswerMode: ").Append(AnswerMode).Append("\n"); + sb.Append(" VariationIds: ").Append(VariationIds).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeDocumentsAnswerFilter); + } + + /// + /// Returns true if KnowledgeDocumentsAnswerFilter instances are equal + /// + /// Instance of KnowledgeDocumentsAnswerFilter to be compared + /// Boolean + public bool Equals(KnowledgeDocumentsAnswerFilter other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Query == other.Query || + this.Query != null && + this.Query.Equals(other.Query) + ) && + ( + this.Language == other.Language || + this.Language != null && + this.Language.Equals(other.Language) + ) && + ( + this.AppType == other.AppType || + this.AppType != null && + this.AppType.Equals(other.AppType) + ) && + ( + this.QueryType == other.QueryType || + this.QueryType != null && + this.QueryType.Equals(other.QueryType) + ) && + ( + this.SearchId == other.SearchId || + this.SearchId != null && + this.SearchId.Equals(other.SearchId) + ) && + ( + this.InsertHighlightIntoVariationContent == other.InsertHighlightIntoVariationContent || + this.InsertHighlightIntoVariationContent != null && + this.InsertHighlightIntoVariationContent.Equals(other.InsertHighlightIntoVariationContent) + ) && + ( + this.AnswerMode == other.AnswerMode || + this.AnswerMode != null && + this.AnswerMode.SequenceEqual(other.AnswerMode) + ) && + ( + this.VariationIds == other.VariationIds || + this.VariationIds != null && + this.VariationIds.SequenceEqual(other.VariationIds) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Query != null) + hash = hash * 59 + this.Query.GetHashCode(); + + if (this.Language != null) + hash = hash * 59 + this.Language.GetHashCode(); + + if (this.AppType != null) + hash = hash * 59 + this.AppType.GetHashCode(); + + if (this.QueryType != null) + hash = hash * 59 + this.QueryType.GetHashCode(); + + if (this.SearchId != null) + hash = hash * 59 + this.SearchId.GetHashCode(); + + if (this.InsertHighlightIntoVariationContent != null) + hash = hash * 59 + this.InsertHighlightIntoVariationContent.GetHashCode(); + + if (this.AnswerMode != null) + hash = hash * 59 + this.AnswerMode.GetHashCode(); + + if (this.VariationIds != null) + hash = hash * 59 + this.VariationIds.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentResponse.cs new file mode 100644 index 000000000..67da9867f --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentResponse.cs @@ -0,0 +1,177 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeGuestAnswerDocumentResponse + /// + [DataContract] + public partial class KnowledgeGuestAnswerDocumentResponse : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The document id.. + /// The document title.. + /// The answer found inside a variationContent.. + /// The variation with the answer's highlight data.. + public KnowledgeGuestAnswerDocumentResponse(string Id = null, string Title = null, string Answer = null, KnowledgeGuestDocumentVariationAnswer Variation = null) + { + this.Id = Id; + this.Title = Title; + this.Answer = Answer; + this.Variation = Variation; + + } + + + + /// + /// The document id. + /// + /// The document id. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + /// + /// The document title. + /// + /// The document title. + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + + + + /// + /// The answer found inside a variationContent. + /// + /// The answer found inside a variationContent. + [DataMember(Name="answer", EmitDefaultValue=false)] + public string Answer { get; set; } + + + + /// + /// The variation with the answer's highlight data. + /// + /// The variation with the answer's highlight data. + [DataMember(Name="variation", EmitDefaultValue=false)] + public KnowledgeGuestDocumentVariationAnswer Variation { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeGuestAnswerDocumentResponse {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append(" Answer: ").Append(Answer).Append("\n"); + sb.Append(" Variation: ").Append(Variation).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeGuestAnswerDocumentResponse); + } + + /// + /// Returns true if KnowledgeGuestAnswerDocumentResponse instances are equal + /// + /// Instance of KnowledgeGuestAnswerDocumentResponse to be compared + /// Boolean + public bool Equals(KnowledgeGuestAnswerDocumentResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Title == other.Title || + this.Title != null && + this.Title.Equals(other.Title) + ) && + ( + this.Answer == other.Answer || + this.Answer != null && + this.Answer.Equals(other.Answer) + ) && + ( + this.Variation == other.Variation || + this.Variation != null && + this.Variation.Equals(other.Variation) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.Title != null) + hash = hash * 59 + this.Title.GetHashCode(); + + if (this.Answer != null) + hash = hash * 59 + this.Answer.GetHashCode(); + + if (this.Variation != null) + hash = hash * 59 + this.Variation.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentsResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentsResponse.cs new file mode 100644 index 000000000..7078268e9 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeGuestAnswerDocumentsResponse.cs @@ -0,0 +1,117 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeGuestAnswerDocumentsResponse + /// + [DataContract] + public partial class KnowledgeGuestAnswerDocumentsResponse : IEquatable + { + /// + /// Initializes a new instance of the class. + /// + /// The results with answers.. + public KnowledgeGuestAnswerDocumentsResponse(List Results = null) + { + this.Results = Results; + + } + + + + /// + /// The results with answers. + /// + /// The results with answers. + [DataMember(Name="results", EmitDefaultValue=false)] + public List Results { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeGuestAnswerDocumentsResponse {\n"); + + sb.Append(" Results: ").Append(Results).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeGuestAnswerDocumentsResponse); + } + + /// + /// Returns true if KnowledgeGuestAnswerDocumentsResponse instances are equal + /// + /// Instance of KnowledgeGuestAnswerDocumentsResponse to be compared + /// Boolean + public bool Equals(KnowledgeGuestAnswerDocumentsResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Results == other.Results || + this.Results != null && + this.Results.SequenceEqual(other.Results) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Results != null) + hash = hash * 59 + this.Results.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeSuggestionConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeSuggestionConfig.cs new file mode 100644 index 000000000..32dbf8d6d --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/KnowledgeSuggestionConfig.cs @@ -0,0 +1,195 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// KnowledgeSuggestionConfig + /// + [DataContract] + public partial class KnowledgeSuggestionConfig : IEquatable + { + /// + /// The name of vendor used for knowledge suggestions. + /// + /// The name of vendor used for knowledge suggestions. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum VendorNameEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Googledialogflow for "GoogleDialogflow" + /// + [EnumMember(Value = "GoogleDialogflow")] + Googledialogflow, + + /// + /// Enum Genesysknowledge for "GenesysKnowledge" + /// + [EnumMember(Value = "GenesysKnowledge")] + Genesysknowledge, + + /// + /// Enum Unknown for "Unknown" + /// + [EnumMember(Value = "Unknown")] + Unknown + } + /// + /// The name of vendor used for knowledge suggestions. + /// + /// The name of vendor used for knowledge suggestions. + [DataMember(Name="vendorName", EmitDefaultValue=false)] + public VendorNameEnum? VendorName { get; set; } + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected KnowledgeSuggestionConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// The name of vendor used for knowledge suggestions. (required). + /// The ID of knowledge base to query when Genesys is the knowledge suggestions provider.. + /// The knowledge bases to query based on dialect, when Genesys is the knowledge suggestions provider.. + public KnowledgeSuggestionConfig(VendorNameEnum? VendorName = null, KnowledgeBaseReference KnowledgeBase = null, List KnowledgeBases = null) + { + this.VendorName = VendorName; + this.KnowledgeBase = KnowledgeBase; + this.KnowledgeBases = KnowledgeBases; + + } + + + + + + /// + /// The ID of knowledge base to query when Genesys is the knowledge suggestions provider. + /// + /// The ID of knowledge base to query when Genesys is the knowledge suggestions provider. + [DataMember(Name="knowledgeBase", EmitDefaultValue=false)] + public KnowledgeBaseReference KnowledgeBase { get; set; } + + + + /// + /// The knowledge bases to query based on dialect, when Genesys is the knowledge suggestions provider. + /// + /// The knowledge bases to query based on dialect, when Genesys is the knowledge suggestions provider. + [DataMember(Name="knowledgeBases", EmitDefaultValue=false)] + public List KnowledgeBases { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class KnowledgeSuggestionConfig {\n"); + + sb.Append(" VendorName: ").Append(VendorName).Append("\n"); + sb.Append(" KnowledgeBase: ").Append(KnowledgeBase).Append("\n"); + sb.Append(" KnowledgeBases: ").Append(KnowledgeBases).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as KnowledgeSuggestionConfig); + } + + /// + /// Returns true if KnowledgeSuggestionConfig instances are equal + /// + /// Instance of KnowledgeSuggestionConfig to be compared + /// Boolean + public bool Equals(KnowledgeSuggestionConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.VendorName == other.VendorName || + this.VendorName != null && + this.VendorName.Equals(other.VendorName) + ) && + ( + this.KnowledgeBase == other.KnowledgeBase || + this.KnowledgeBase != null && + this.KnowledgeBase.Equals(other.KnowledgeBase) + ) && + ( + this.KnowledgeBases == other.KnowledgeBases || + this.KnowledgeBases != null && + this.KnowledgeBases.SequenceEqual(other.KnowledgeBases) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.VendorName != null) + hash = hash * 59 + this.VendorName.GetHashCode(); + + if (this.KnowledgeBase != null) + hash = hash * 59 + this.KnowledgeBase.GetHashCode(); + + if (this.KnowledgeBases != null) + hash = hash * 59 + this.KnowledgeBases.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LanguageEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LanguageEntityListing.cs index 3c3445b72..f918fd287 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LanguageEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LanguageEntityListing.cs @@ -25,20 +25,20 @@ public partial class LanguageEntityListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LanguageEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LanguageEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LanguageEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LanguageEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentUserListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentUserListing.cs index 173f1cc1b..76762203f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentUserListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentUserListing.cs @@ -26,21 +26,21 @@ public partial class LearningAssignmentUserListing : IEquatablePageNumber. /// The number of users matching search term. /// The total number of users. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LearningAssignmentUserListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, int? UnfilteredTotal = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LearningAssignmentUserListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, int? UnfilteredTotal = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.UnfilteredTotal = UnfilteredTotal; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -93,18 +93,18 @@ public LearningAssignmentUserListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -153,8 +153,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" UnfilteredTotal: ").Append(UnfilteredTotal).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -224,16 +224,16 @@ public bool Equals(LearningAssignmentUserListing other) this.UnfilteredTotal != null && this.UnfilteredTotal.Equals(other.UnfilteredTotal) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -282,12 +282,12 @@ public override int GetHashCode() if (this.UnfilteredTotal != null) hash = hash * 59 + this.UnfilteredTotal.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentsDomainEntity.cs b/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentsDomainEntity.cs index d54bd5f34..2811cc605 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentsDomainEntity.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LearningAssignmentsDomainEntity.cs @@ -25,20 +25,20 @@ public partial class LearningAssignmentsDomainEntity : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LearningAssignmentsDomainEntity(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LearningAssignmentsDomainEntity(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LearningAssignmentsDomainEntity(List Entities = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LearningAssignmentsDomainEntity other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LearningModulesDomainEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LearningModulesDomainEntityListing.cs index 0774eafc2..78d985853 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LearningModulesDomainEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LearningModulesDomainEntityListing.cs @@ -25,20 +25,20 @@ public partial class LearningModulesDomainEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LearningModulesDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LearningModulesDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LearningModulesDomainEntityListing(List Entities = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LearningModulesDomainEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LexBotAliasEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LexBotAliasEntityListing.cs index 6687fa655..d110bc8cb 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LexBotAliasEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LexBotAliasEntityListing.cs @@ -25,20 +25,20 @@ public partial class LexBotAliasEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LexBotAliasEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LexBotAliasEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LexBotAliasEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LexBotAliasEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LexBotEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LexBotEntityListing.cs index c50743771..f0b31a188 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LexBotEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LexBotEntityListing.cs @@ -25,20 +25,20 @@ public partial class LexBotEntityListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LexBotEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LexBotEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LexBotEntityListing(List Entities = null, int? PageSize = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LexBotEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotAliasEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotAliasEntityListing.cs index 72c771411..7a16bab81 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotAliasEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotAliasEntityListing.cs @@ -25,20 +25,20 @@ public partial class LexV2BotAliasEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LexV2BotAliasEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LexV2BotAliasEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LexV2BotAliasEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LexV2BotAliasEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotEntityListing.cs index de24c3e4b..f922501da 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LexV2BotEntityListing.cs @@ -25,20 +25,20 @@ public partial class LexV2BotEntityListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LexV2BotEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LexV2BotEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LexV2BotEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LexV2BotEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LibraryEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LibraryEntityListing.cs index cd99e9c60..494ed0375 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LibraryEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LibraryEntityListing.cs @@ -25,20 +25,20 @@ public partial class LibraryEntityListing : IEquatable, I /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LibraryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LibraryEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LibraryEntityListing(List Entities = null, int? PageSize = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LibraryEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LineBaseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LineBaseEntityListing.cs index 234a0c6a8..5ec242813 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LineBaseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LineBaseEntityListing.cs @@ -26,21 +26,21 @@ public partial class LineBaseEntityListing : IEquatable, /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LineBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LineBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public LineBaseEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(LineBaseEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LineEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LineEntityListing.cs index 7a9a169d3..2278fe319 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LineEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LineEntityListing.cs @@ -26,21 +26,21 @@ public partial class LineEntityListing : IEquatable, IPagedR /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LineEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LineEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public LineEntityListing(List Entities = null, int? PageSize = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(LineEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LocationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LocationEntityListing.cs index 7b71f8508..39b440423 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LocationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LocationEntityListing.cs @@ -25,20 +25,20 @@ public partial class LocationEntityListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LocationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LocationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LocationEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LocationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/LogicalInterfaceEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/LogicalInterfaceEntityListing.cs index 74907f036..9a1398083 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/LogicalInterfaceEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/LogicalInterfaceEntityListing.cs @@ -25,20 +25,20 @@ public partial class LogicalInterfaceEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public LogicalInterfaceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public LogicalInterfaceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public LogicalInterfaceEntityListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(LogicalInterfaceEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ManagementUnitListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ManagementUnitListing.cs index 0fe23be13..4a12a5006 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ManagementUnitListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ManagementUnitListing.cs @@ -25,20 +25,20 @@ public partial class ManagementUnitListing : IEquatable, /// Deprecated, paging is not supported. /// Deprecated, paging is not supported. /// Deprecated, paging is not supported. - /// Deprecated, paging is not supported. /// Deprecated, paging is not supported. + /// Deprecated, paging is not supported. /// Deprecated, paging is not supported. /// Deprecated, paging is not supported. /// Deprecated, paging is not supported. /// SelfUri. - public ManagementUnitListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string NextUri = null, int? PageCount = null, string PreviousUri = null, string SelfUri = null) + public ManagementUnitListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string NextUri = null, int? PageCount = null, string PreviousUri = null, string SelfUri = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.NextUri = NextUri; this.PageCount = PageCount; this.PreviousUri = PreviousUri; @@ -87,8 +87,8 @@ public ManagementUnitListing(List Entities = null, int? PageSize /// Deprecated, paging is not supported /// /// Deprecated, paging is not supported - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } @@ -96,8 +96,8 @@ public ManagementUnitListing(List Entities = null, int? PageSize /// Deprecated, paging is not supported /// /// Deprecated, paging is not supported - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -148,8 +148,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PageCount: ").Append(PageCount).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -214,16 +214,16 @@ public bool Equals(ManagementUnitListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.NextUri == other.NextUri || this.NextUri != null && @@ -269,12 +269,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.NextUri != null) hash = hash * 59 + this.NextUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/MessageConversationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/MessageConversationEntityListing.cs index 855871175..600d349b1 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/MessageConversationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/MessageConversationEntityListing.cs @@ -25,20 +25,20 @@ public partial class MessageConversationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public MessageConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public MessageConversationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public MessageConversationEntityListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(MessageConversationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignDivisionViewEntityListing.cs index c1bb1aafb..890ab220c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignDivisionViewEntityListing.cs @@ -25,20 +25,20 @@ public partial class MessagingCampaignDivisionViewEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public MessagingCampaignDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public MessagingCampaignDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public MessagingCampaignDivisionViewEntityListing(List - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(MessagingCampaignDivisionViewEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignEntityListing.cs index e2c2354c5..33168213d 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignEntityListing.cs @@ -25,20 +25,20 @@ public partial class MessagingCampaignEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public MessagingCampaignEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public MessagingCampaignEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public MessagingCampaignEntityListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(MessagingCampaignEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignScheduleEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignScheduleEntityListing.cs index 007f30915..f9d179396 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignScheduleEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/MessagingCampaignScheduleEntityListing.cs @@ -25,20 +25,20 @@ public partial class MessagingCampaignScheduleEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public MessagingCampaignScheduleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public MessagingCampaignScheduleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public MessagingCampaignScheduleEntityListing(List En /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(MessagingCampaignScheduleEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/MessagingConfigListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/MessagingConfigListing.cs index bd9fdce69..5c39b41ae 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/MessagingConfigListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/MessagingConfigListing.cs @@ -25,20 +25,20 @@ public partial class MessagingConfigListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public MessagingConfigListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public MessagingConfigListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public MessagingConfigListing(List Entities = null, int? PageS /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(MessagingConfigListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/MessagingIntegrationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/MessagingIntegrationEntityListing.cs index f2e8891c3..9cc9e17b1 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/MessagingIntegrationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/MessagingIntegrationEntityListing.cs @@ -25,20 +25,20 @@ public partial class MessagingIntegrationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public MessagingIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public MessagingIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public MessagingIntegrationEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(MessagingIntegrationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/NluConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/NluConfig.cs new file mode 100644 index 000000000..7c6ed568a --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/NluConfig.cs @@ -0,0 +1,143 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// NluConfig + /// + [DataContract] + public partial class NluConfig : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected NluConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// NLU domain. (required). + /// Minimum confidence value of accepting NLU intents, must be greater than 0 and less than 1. (required). + public NluConfig(CopilotNluDomain Domain = null, float? IntentConfidenceThreshold = null) + { + this.Domain = Domain; + this.IntentConfidenceThreshold = IntentConfidenceThreshold; + + } + + + + /// + /// NLU domain. + /// + /// NLU domain. + [DataMember(Name="domain", EmitDefaultValue=false)] + public CopilotNluDomain Domain { get; set; } + + + + /// + /// Minimum confidence value of accepting NLU intents, must be greater than 0 and less than 1. + /// + /// Minimum confidence value of accepting NLU intents, must be greater than 0 and less than 1. + [DataMember(Name="intentConfidenceThreshold", EmitDefaultValue=false)] + public float? IntentConfidenceThreshold { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class NluConfig {\n"); + + sb.Append(" Domain: ").Append(Domain).Append("\n"); + sb.Append(" IntentConfidenceThreshold: ").Append(IntentConfidenceThreshold).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as NluConfig); + } + + /// + /// Returns true if NluConfig instances are equal + /// + /// Instance of NluConfig to be compared + /// Boolean + public bool Equals(NluConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Domain == other.Domain || + this.Domain != null && + this.Domain.Equals(other.Domain) + ) && + ( + this.IntentConfidenceThreshold == other.IntentConfidenceThreshold || + this.IntentConfidenceThreshold != null && + this.IntentConfidenceThreshold.Equals(other.IntentConfidenceThreshold) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Domain != null) + hash = hash * 59 + this.Domain.GetHashCode(); + + if (this.IntentConfidenceThreshold != null) + hash = hash * 59 + this.IntentConfidenceThreshold.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/NluDomainListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/NluDomainListing.cs index 2589b35d1..74613bdcf 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/NluDomainListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/NluDomainListing.cs @@ -25,20 +25,20 @@ public partial class NluDomainListing : IEquatable, IPagedRes /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public NluDomainListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public NluDomainListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public NluDomainListing(List Entities = null, int? PageSize = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(NluDomainListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/NluDomainVersionListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/NluDomainVersionListing.cs index 4c0af70b8..1a8a86fd9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/NluDomainVersionListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/NluDomainVersionListing.cs @@ -25,20 +25,20 @@ public partial class NluDomainVersionListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public NluDomainVersionListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public NluDomainVersionListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public NluDomainVersionListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(NluDomainVersionListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/NluFeedbackListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/NluFeedbackListing.cs index d345a9e9d..8cca38438 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/NluFeedbackListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/NluFeedbackListing.cs @@ -25,20 +25,20 @@ public partial class NluFeedbackListing : IEquatable, IPage /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public NluFeedbackListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public NluFeedbackListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public NluFeedbackListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(NluFeedbackListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/NoteListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/NoteListing.cs index 20e662f9d..8e6e2f0ac 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/NoteListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/NoteListing.cs @@ -26,21 +26,21 @@ public partial class NoteListing : IEquatable, IPagedResourcePageNumber. /// Total. /// PartialResults. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public NoteListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? PartialResults = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public NoteListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? PartialResults = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.PartialResults = PartialResults; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -91,18 +91,18 @@ public NoteListing(List Entities = null, int? PageSize = null, int? PageNu /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -151,8 +151,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" PartialResults: ").Append(PartialResults).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -222,16 +222,16 @@ public bool Equals(NoteListing other) this.PartialResults != null && this.PartialResults.Equals(other.PartialResults) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -280,12 +280,12 @@ public override int GetHashCode() if (this.PartialResults != null) hash = hash * 59 + this.PartialResults.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/NuanceBotEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/NuanceBotEntityListing.cs index a47f2f2df..df9cf75b5 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/NuanceBotEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/NuanceBotEntityListing.cs @@ -25,20 +25,20 @@ public partial class NuanceBotEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public NuanceBotEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public NuanceBotEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public NuanceBotEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(NuanceBotEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OAuthClientEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OAuthClientEntityListing.cs index 54a34c5a0..784408d35 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OAuthClientEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OAuthClientEntityListing.cs @@ -25,20 +25,20 @@ public partial class OAuthClientEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OAuthClientEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OAuthClientEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OAuthClientEntityListing(List Entities = null, int? P /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OAuthClientEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OpenIntegrationEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OpenIntegrationEntityListing.cs index 988114612..b29c48448 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OpenIntegrationEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OpenIntegrationEntityListing.cs @@ -25,20 +25,20 @@ public partial class OpenIntegrationEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OpenIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OpenIntegrationEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OpenIntegrationEntityListing(List Entities = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OpenIntegrationEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OrganizationPresenceEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OrganizationPresenceEntityListing.cs index 0ff87d772..e180f599f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OrganizationPresenceEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OrganizationPresenceEntityListing.cs @@ -25,20 +25,20 @@ public partial class OrganizationPresenceEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OrganizationPresenceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OrganizationPresenceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OrganizationPresenceEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OrganizationPresenceEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OrganizationRoleEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OrganizationRoleEntityListing.cs index a138530c0..008b4e3c1 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OrganizationRoleEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OrganizationRoleEntityListing.cs @@ -25,20 +25,20 @@ public partial class OrganizationRoleEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OrganizationRoleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OrganizationRoleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OrganizationRoleEntityListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OrganizationRoleEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OrphanRecordingListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OrphanRecordingListing.cs index 9cdfbdbd5..084a8db53 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OrphanRecordingListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OrphanRecordingListing.cs @@ -25,20 +25,20 @@ public partial class OrphanRecordingListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OrphanRecordingListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OrphanRecordingListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OrphanRecordingListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OrphanRecordingListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OutboundDetailEventTopicOutboundInitEvent.cs b/build/src/PureCloudPlatform.Client.V2/Model/OutboundDetailEventTopicOutboundInitEvent.cs index 9ec59a60b..199728628 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OutboundDetailEventTopicOutboundInitEvent.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OutboundDetailEventTopicOutboundInitEvent.cs @@ -184,7 +184,13 @@ public enum MessageTypeEnum /// Enum Instagram for "INSTAGRAM" /// [EnumMember(Value = "INSTAGRAM")] - Instagram + Instagram, + + /// + /// Enum Apple for "APPLE" + /// + [EnumMember(Value = "APPLE")] + Apple } /// /// Gets or Sets MediaType diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OutboundDomainEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OutboundDomainEntityListing.cs index 35aa40648..2df9d4f03 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OutboundDomainEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OutboundDomainEntityListing.cs @@ -25,20 +25,20 @@ public partial class OutboundDomainEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OutboundDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OutboundDomainEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OutboundDomainEntityListing(List Entities = null, int? Pa /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OutboundDomainEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteBaseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteBaseEntityListing.cs index e435af632..6244ff17c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteBaseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteBaseEntityListing.cs @@ -26,21 +26,21 @@ public partial class OutboundRouteBaseEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OutboundRouteBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OutboundRouteBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public OutboundRouteBaseEntityListing(List Entities = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(OutboundRouteBaseEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteEntityListing.cs index 2694fbec9..8620f20ed 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OutboundRouteEntityListing.cs @@ -26,21 +26,21 @@ public partial class OutboundRouteEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OutboundRouteEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OutboundRouteEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public OutboundRouteEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(OutboundRouteEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/OutcomeListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/OutcomeListing.cs index 71b096ee4..76a269ebe 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/OutcomeListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/OutcomeListing.cs @@ -25,20 +25,20 @@ public partial class OutcomeListing : IEquatable, IPagedResourc /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public OutcomeListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public OutcomeListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public OutcomeListing(List Entities = null, int? PageSize = null, int? /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(OutcomeListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PermissionCollectionEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PermissionCollectionEntityListing.cs index 2d4ad32c6..7c70aa599 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PermissionCollectionEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PermissionCollectionEntityListing.cs @@ -25,20 +25,20 @@ public partial class PermissionCollectionEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PermissionCollectionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PermissionCollectionEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public PermissionCollectionEntityListing(List Entiti /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(PermissionCollectionEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PhoneBaseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PhoneBaseEntityListing.cs index 72140ffdd..2814735b1 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PhoneBaseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PhoneBaseEntityListing.cs @@ -26,21 +26,21 @@ public partial class PhoneBaseEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PhoneBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PhoneBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public PhoneBaseEntityListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(PhoneBaseEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PhoneEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PhoneEntityListing.cs index 7be859d06..360b9f8ef 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PhoneEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PhoneEntityListing.cs @@ -26,21 +26,21 @@ public partial class PhoneEntityListing : IEquatable, IPage /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PhoneEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PhoneEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public PhoneEntityListing(List Entities = null, int? PageSize = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(PhoneEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PhoneMetaBaseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PhoneMetaBaseEntityListing.cs index 80db75c98..adcaac63f 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PhoneMetaBaseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PhoneMetaBaseEntityListing.cs @@ -26,21 +26,21 @@ public partial class PhoneMetaBaseEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PhoneMetaBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PhoneMetaBaseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public PhoneMetaBaseEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(PhoneMetaBaseEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PhysicalInterfaceEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PhysicalInterfaceEntityListing.cs index a3e96e262..ef969e132 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PhysicalInterfaceEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PhysicalInterfaceEntityListing.cs @@ -25,20 +25,20 @@ public partial class PhysicalInterfaceEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PhysicalInterfaceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PhysicalInterfaceEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public PhysicalInterfaceEntityListing(List Entities = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(PhysicalInterfaceEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PolicyEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PolicyEntityListing.cs index b4c11144f..750d13bef 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PolicyEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PolicyEntityListing.cs @@ -25,20 +25,20 @@ public partial class PolicyEntityListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PolicyEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PolicyEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public PolicyEntityListing(List Entities = null, int? PageSize = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(PolicyEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PromptAssetEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PromptAssetEntityListing.cs index 13a6dc669..2feddb930 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PromptAssetEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PromptAssetEntityListing.cs @@ -25,20 +25,20 @@ public partial class PromptAssetEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PromptAssetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PromptAssetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public PromptAssetEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(PromptAssetEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/PromptEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/PromptEntityListing.cs index f59dad4d0..95e647784 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/PromptEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/PromptEntityListing.cs @@ -25,20 +25,20 @@ public partial class PromptEntityListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public PromptEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public PromptEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public PromptEntityListing(List Entities = null, int? PageSize = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(PromptEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/QueueEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/QueueEntityListing.cs index ce0f089ee..2e4a995e9 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/QueueEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/QueueEntityListing.cs @@ -25,20 +25,20 @@ public partial class QueueEntityListing : IEquatable, IPage /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public QueueEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public QueueEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public QueueEntityListing(List Entities = null, int? PageSize = null, int /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(QueueEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/QueueMemberEntityListingV1.cs b/build/src/PureCloudPlatform.Client.V2/Model/QueueMemberEntityListingV1.cs index 3ee98e2d0..484ac5601 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/QueueMemberEntityListingV1.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/QueueMemberEntityListingV1.cs @@ -25,20 +25,20 @@ public partial class QueueMemberEntityListingV1 : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public QueueMemberEntityListingV1(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public QueueMemberEntityListingV1(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public QueueMemberEntityListingV1(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(QueueMemberEntityListingV1 other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RecipientListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/RecipientListing.cs index 3a20ca6ee..ff32f80c8 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/RecipientListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/RecipientListing.cs @@ -25,20 +25,20 @@ public partial class RecipientListing : IEquatable, IPagedRes /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public RecipientListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public RecipientListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public RecipientListing(List Entities = null, int? PageSize = null, i /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(RecipientListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RecordingJobEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/RecordingJobEntityListing.cs index 76f351bd8..3b68ad73d 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/RecordingJobEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/RecordingJobEntityListing.cs @@ -25,20 +25,20 @@ public partial class RecordingJobEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public RecordingJobEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public RecordingJobEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public RecordingJobEntityListing(List Entities = null, int? PageSi /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(RecordingJobEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RelationshipListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/RelationshipListing.cs index bc5de530e..e902fcc2a 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/RelationshipListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/RelationshipListing.cs @@ -26,21 +26,21 @@ public partial class RelationshipListing : IEquatable, IPa /// PageNumber. /// Total. /// PartialResults. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public RelationshipListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? PartialResults = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public RelationshipListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, bool? PartialResults = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.PartialResults = PartialResults; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -91,18 +91,18 @@ public RelationshipListing(List Entities = null, int? PageSize = n /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -151,8 +151,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" PartialResults: ").Append(PartialResults).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -222,16 +222,16 @@ public bool Equals(RelationshipListing other) this.PartialResults != null && this.PartialResults.Equals(other.PartialResults) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -280,12 +280,12 @@ public override int GetHashCode() if (this.PartialResults != null) hash = hash * 59 + this.PartialResults.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobListing.cs index e80f08cd3..128e54c55 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobListing.cs @@ -25,20 +25,20 @@ public partial class ReportingExportJobListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ReportingExportJobListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ReportingExportJobListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ReportingExportJobListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ReportingExportJobListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobRequest.cs b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobRequest.cs index e6f582547..2ff0ef9ef 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobRequest.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobRequest.cs @@ -742,7 +742,19 @@ public enum ViewTypeEnum /// Enum SocialListeningView for "SOCIAL_LISTENING_VIEW" /// [EnumMember(Value = "SOCIAL_LISTENING_VIEW")] - SocialListeningView + SocialListeningView, + + /// + /// Enum SocialListeningPostsView for "SOCIAL_LISTENING_POSTS_VIEW" + /// + [EnumMember(Value = "SOCIAL_LISTENING_POSTS_VIEW")] + SocialListeningPostsView, + + /// + /// Enum AgentPerformanceTimelineDetailView for "AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW" + /// + [EnumMember(Value = "AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW")] + AgentPerformanceTimelineDetailView } /// /// The user supplied csv delimiter string value either of type 'comma' or 'semicolon' permitted for the export request diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobResponse.cs index e8ffbe953..46c37c700 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobResponse.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportJobResponse.cs @@ -799,7 +799,19 @@ public enum ViewTypeEnum /// Enum SocialListeningView for "SOCIAL_LISTENING_VIEW" /// [EnumMember(Value = "SOCIAL_LISTENING_VIEW")] - SocialListeningView + SocialListeningView, + + /// + /// Enum SocialListeningPostsView for "SOCIAL_LISTENING_POSTS_VIEW" + /// + [EnumMember(Value = "SOCIAL_LISTENING_POSTS_VIEW")] + SocialListeningPostsView, + + /// + /// Enum AgentPerformanceTimelineDetailView for "AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW" + /// + [EnumMember(Value = "AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW")] + AgentPerformanceTimelineDetailView } /// /// The error message in case the export request failed diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobListing.cs index 989b367d5..ef5b0893c 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobListing.cs @@ -25,20 +25,20 @@ public partial class ReportingExportMetadataJobListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ReportingExportMetadataJobListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ReportingExportMetadataJobListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ReportingExportMetadataJobListing(List - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ReportingExportMetadataJobListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobResponse.cs index 9319c3e8f..917d35852 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobResponse.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ReportingExportMetadataJobResponse.cs @@ -715,7 +715,19 @@ public enum ViewTypeEnum /// Enum SocialListeningView for "SOCIAL_LISTENING_VIEW" /// [EnumMember(Value = "SOCIAL_LISTENING_VIEW")] - SocialListeningView + SocialListeningView, + + /// + /// Enum SocialListeningPostsView for "SOCIAL_LISTENING_POSTS_VIEW" + /// + [EnumMember(Value = "SOCIAL_LISTENING_POSTS_VIEW")] + SocialListeningPostsView, + + /// + /// Enum AgentPerformanceTimelineDetailView for "AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW" + /// + [EnumMember(Value = "AGENT_PERFORMANCE_TIMELINE_DETAIL_VIEW")] + AgentPerformanceTimelineDetailView } /// /// The view type of the export metadata diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ReportingTurnAction.cs b/build/src/PureCloudPlatform.Client.V2/Model/ReportingTurnAction.cs index 4dbd8c622..be3731880 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ReportingTurnAction.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ReportingTurnAction.cs @@ -398,6 +398,18 @@ public enum ActionTypeEnum [EnumMember(Value = "TransferPureMatchAction")] Transferpurematchaction, + /// + /// Enum Getattributesaction for "GetAttributesAction" + /// + [EnumMember(Value = "GetAttributesAction")] + Getattributesaction, + + /// + /// Enum Setattributesaction for "SetAttributesAction" + /// + [EnumMember(Value = "SetAttributesAction")] + Setattributesaction, + /// /// Enum Unknown for "Unknown" /// diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityList.cs b/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityList.cs index ac7d5d759..674f6558b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityList.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityList.cs @@ -25,20 +25,20 @@ public partial class ResponseEntityList : IEquatable, IPage /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ResponseEntityList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ResponseEntityList(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ResponseEntityList(List Entities = null, int? PageSize = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ResponseEntityList other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityListing.cs index b037d6fc7..72d34c92e 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ResponseEntityListing.cs @@ -25,20 +25,20 @@ public partial class ResponseEntityListing : IEquatable, /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ResponseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ResponseEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ResponseEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ResponseEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ResponseSetEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ResponseSetEntityListing.cs index 465ec6ed9..1d78a8de6 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ResponseSetEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ResponseSetEntityListing.cs @@ -25,20 +25,20 @@ public partial class ResponseSetEntityListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ResponseSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ResponseSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ResponseSetEntityListing(List Entities = null, int? PageSize /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ResponseSetEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ResponseText.cs b/build/src/PureCloudPlatform.Client.V2/Model/ResponseText.cs index 1036e27ab..dfccfd89e 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ResponseText.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ResponseText.cs @@ -46,11 +46,44 @@ public enum ContentTypeEnum Html } /// + /// Response text type. + /// + /// Response text type. + [JsonConverter(typeof(UpgradeSdkEnumConverter))] + public enum TypeEnum + { + /// + /// Your SDK version is out of date and an unknown enum value was encountered. + /// Please upgrade the SDK using the command "Upgrade-Package PureCloudApiSdk" + /// in the Package Manager Console + /// + [EnumMember(Value = "OUTDATED_SDK_VERSION")] + OutdatedSdkVersion, + + /// + /// Enum Body for "body" + /// + [EnumMember(Value = "body")] + Body, + + /// + /// Enum Subject for "subject" + /// + [EnumMember(Value = "subject")] + Subject + } + /// /// Response text content type. /// /// Response text content type. [DataMember(Name="contentType", EmitDefaultValue=false)] public ContentTypeEnum? ContentType { get; set; } + /// + /// Response text type. + /// + /// Response text type. + [DataMember(Name="type", EmitDefaultValue=false)] + public TypeEnum? Type { get; set; } /// /// Initializes a new instance of the class. @@ -62,10 +95,12 @@ protected ResponseText() { } /// /// Response text content. (required). /// Response text content type.. - public ResponseText(string Content = null, ContentTypeEnum? ContentType = null) + /// Response text type.. + public ResponseText(string Content = null, ContentTypeEnum? ContentType = null, TypeEnum? Type = null) { this.Content = Content; this.ContentType = ContentType; + this.Type = Type; } @@ -81,6 +116,8 @@ public ResponseText(string Content = null, ContentTypeEnum? ContentType = null) + + /// /// Returns the string presentation of the object /// @@ -92,6 +129,7 @@ public override string ToString() sb.Append(" Content: ").Append(Content).Append("\n"); sb.Append(" ContentType: ").Append(ContentType).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -141,6 +179,11 @@ public bool Equals(ResponseText other) this.ContentType == other.ContentType || this.ContentType != null && this.ContentType.Equals(other.ContentType) + ) && + ( + this.Type == other.Type || + this.Type != null && + this.Type.Equals(other.Type) ); } @@ -161,6 +204,9 @@ public override int GetHashCode() if (this.ContentType != null) hash = hash * 59 + this.ContentType.GetHashCode(); + if (this.Type != null) + hash = hash * 59 + this.Type.GetHashCode(); + return hash; } } diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesRequest.cs b/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesRequest.cs index ae1101de4..fa906ffb8 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesRequest.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesRequest.cs @@ -24,12 +24,14 @@ public partial class RoutingConversationAttributesRequest : IEquatablePriority for the conversation. Each point of priority is equivalent to one minute of time in queue. Range:[-25000000, 25000000]. To reset, specify 0.. /// Skill requirements for the conversation. To remove all skill requirements, specify an empty list, i.e. [].. /// Language requirement for the conversation. To remove the language requirement, specify an empty string, i.e., \"\".. + /// Label requirement for the conversation. To remove the label requirement (setting it to System Default Label), specify an empty string, i.e., \"\".. /// RequestScoredAgents. - public RoutingConversationAttributesRequest(int? Priority = null, List SkillIds = null, string LanguageId = null, List RequestScoredAgents = null) + public RoutingConversationAttributesRequest(int? Priority = null, List SkillIds = null, string LanguageId = null, string LabelId = null, List RequestScoredAgents = null) { this.Priority = Priority; this.SkillIds = SkillIds; this.LanguageId = LanguageId; + this.LabelId = LabelId; this.RequestScoredAgents = RequestScoredAgents; } @@ -63,6 +65,15 @@ public RoutingConversationAttributesRequest(int? Priority = null, List S + /// + /// Label requirement for the conversation. To remove the label requirement (setting it to System Default Label), specify an empty string, i.e., \"\". + /// + /// Label requirement for the conversation. To remove the label requirement (setting it to System Default Label), specify an empty string, i.e., \"\". + [DataMember(Name="labelId", EmitDefaultValue=false)] + public string LabelId { get; set; } + + + /// /// Gets or Sets RequestScoredAgents /// @@ -82,6 +93,7 @@ public override string ToString() sb.Append(" Priority: ").Append(Priority).Append("\n"); sb.Append(" SkillIds: ").Append(SkillIds).Append("\n"); sb.Append(" LanguageId: ").Append(LanguageId).Append("\n"); + sb.Append(" LabelId: ").Append(LabelId).Append("\n"); sb.Append(" RequestScoredAgents: ").Append(RequestScoredAgents).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -138,6 +150,11 @@ public bool Equals(RoutingConversationAttributesRequest other) this.LanguageId != null && this.LanguageId.Equals(other.LanguageId) ) && + ( + this.LabelId == other.LabelId || + this.LabelId != null && + this.LabelId.Equals(other.LabelId) + ) && ( this.RequestScoredAgents == other.RequestScoredAgents || this.RequestScoredAgents != null && @@ -165,6 +182,9 @@ public override int GetHashCode() if (this.LanguageId != null) hash = hash * 59 + this.LanguageId.GetHashCode(); + if (this.LabelId != null) + hash = hash * 59 + this.LabelId.GetHashCode(); + if (this.RequestScoredAgents != null) hash = hash * 59 + this.RequestScoredAgents.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesResponse.cs b/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesResponse.cs index bec7aa5fa..e1c5fc180 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesResponse.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/RoutingConversationAttributesResponse.cs @@ -24,12 +24,14 @@ public partial class RoutingConversationAttributesResponse : IEquatableCurrent priority value on in-queue conversation. Range:[-25000000, 25000000]. /// Current routing skills on in-queue conversation. /// Current language on in-queue conversation. + /// Current label on in-queue conversation. /// Current scored agents on in-queue conversation. - public RoutingConversationAttributesResponse(int? Priority = null, List Skills = null, Language Language = null, List ScoredAgents = null) + public RoutingConversationAttributesResponse(int? Priority = null, List Skills = null, Language Language = null, UtilizationLabel Label = null, List ScoredAgents = null) { this.Priority = Priority; this.Skills = Skills; this.Language = Language; + this.Label = Label; this.ScoredAgents = ScoredAgents; } @@ -63,6 +65,15 @@ public RoutingConversationAttributesResponse(int? Priority = null, List + /// Current label on in-queue conversation + /// + /// Current label on in-queue conversation + [DataMember(Name="label", EmitDefaultValue=false)] + public UtilizationLabel Label { get; set; } + + + /// /// Current scored agents on in-queue conversation /// @@ -83,6 +94,7 @@ public override string ToString() sb.Append(" Priority: ").Append(Priority).Append("\n"); sb.Append(" Skills: ").Append(Skills).Append("\n"); sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" Label: ").Append(Label).Append("\n"); sb.Append(" ScoredAgents: ").Append(ScoredAgents).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -139,6 +151,11 @@ public bool Equals(RoutingConversationAttributesResponse other) this.Language != null && this.Language.Equals(other.Language) ) && + ( + this.Label == other.Label || + this.Label != null && + this.Label.Equals(other.Label) + ) && ( this.ScoredAgents == other.ScoredAgents || this.ScoredAgents != null && @@ -166,6 +183,9 @@ public override int GetHashCode() if (this.Language != null) hash = hash * 59 + this.Language.GetHashCode(); + if (this.Label != null) + hash = hash * 59 + this.Label.GetHashCode(); + if (this.ScoredAgents != null) hash = hash * 59 + this.ScoredAgents.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RuleConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/RuleConfig.cs new file mode 100644 index 000000000..07abecece --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/RuleConfig.cs @@ -0,0 +1,163 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// RuleConfig + /// + [DataContract] + public partial class RuleConfig : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected RuleConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// Rule ID.. + /// Rule enabled. (required). + /// Rule configuration. (required). + public RuleConfig(string Id = null, bool? Enabled = null, CopilotRule Rule = null) + { + this.Id = Id; + this.Enabled = Enabled; + this.Rule = Rule; + + } + + + + /// + /// Rule ID. + /// + /// Rule ID. + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + + + /// + /// Rule enabled. + /// + /// Rule enabled. + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + + + /// + /// Rule configuration. + /// + /// Rule configuration. + [DataMember(Name="rule", EmitDefaultValue=false)] + public CopilotRule Rule { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RuleConfig {\n"); + + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" Rule: ").Append(Rule).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RuleConfig); + } + + /// + /// Returns true if RuleConfig instances are equal + /// + /// Instance of RuleConfig to be compared + /// Boolean + public bool Equals(RuleConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Id == other.Id || + this.Id != null && + this.Id.Equals(other.Id) + ) && + ( + this.Enabled == other.Enabled || + this.Enabled != null && + this.Enabled.Equals(other.Enabled) + ) && + ( + this.Rule == other.Rule || + this.Rule != null && + this.Rule.Equals(other.Rule) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Id != null) + hash = hash * 59 + this.Id.GetHashCode(); + + if (this.Enabled != null) + hash = hash * 59 + this.Enabled.GetHashCode(); + + if (this.Rule != null) + hash = hash * 59 + this.Rule.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RuleEngineConfig.cs b/build/src/PureCloudPlatform.Client.V2/Model/RuleEngineConfig.cs new file mode 100644 index 000000000..2e8857655 --- /dev/null +++ b/build/src/PureCloudPlatform.Client.V2/Model/RuleEngineConfig.cs @@ -0,0 +1,143 @@ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using PureCloudPlatform.Client.V2.Client; + +namespace PureCloudPlatform.Client.V2.Model +{ + /// + /// RuleEngineConfig + /// + [DataContract] + public partial class RuleEngineConfig : IEquatable + { + + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected RuleEngineConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// List of rules to evaluate by the engine. (required). + /// Fallback configuration.. + public RuleEngineConfig(List Rules = null, Fallback Fallback = null) + { + this.Rules = Rules; + this.Fallback = Fallback; + + } + + + + /// + /// List of rules to evaluate by the engine. + /// + /// List of rules to evaluate by the engine. + [DataMember(Name="rules", EmitDefaultValue=false)] + public List Rules { get; set; } + + + + /// + /// Fallback configuration. + /// + /// Fallback configuration. + [DataMember(Name="fallback", EmitDefaultValue=false)] + public Fallback Fallback { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RuleEngineConfig {\n"); + + sb.Append(" Rules: ").Append(Rules).Append("\n"); + sb.Append(" Fallback: ").Append(Fallback).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings + { + MetadataPropertyHandling = MetadataPropertyHandling.Ignore, + Formatting = Formatting.Indented + }); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as RuleEngineConfig); + } + + /// + /// Returns true if RuleEngineConfig instances are equal + /// + /// Instance of RuleEngineConfig to be compared + /// Boolean + public bool Equals(RuleEngineConfig other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return true && + ( + this.Rules == other.Rules || + this.Rules != null && + this.Rules.SequenceEqual(other.Rules) + ) && + ( + this.Fallback == other.Fallback || + this.Fallback != null && + this.Fallback.Equals(other.Fallback) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + // credit: http://stackoverflow.com/a/263416/677735 + unchecked // Overflow is fine, just wrap + { + int hash = 41; + // Suitable nullity checks etc, of course :) + if (this.Rules != null) + hash = hash * 59 + this.Rules.GetHashCode(); + + if (this.Fallback != null) + hash = hash * 59 + this.Fallback.GetHashCode(); + + return hash; + } + } + } + +} diff --git a/build/src/PureCloudPlatform.Client.V2/Model/RuleSetEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/RuleSetEntityListing.cs index bb29f316d..8bcc4b37e 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/RuleSetEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/RuleSetEntityListing.cs @@ -25,20 +25,20 @@ public partial class RuleSetEntityListing : IEquatable, I /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public RuleSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public RuleSetEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public RuleSetEntityListing(List Entities = null, int? PageSize = null, /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(RuleSetEntityListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleDivisionViewEntityListing.cs index 72dbfcb84..ff52d9990 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleDivisionViewEntityListing.cs @@ -26,21 +26,21 @@ public partial class ScheduleDivisionViewEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ScheduleDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ScheduleDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ScheduleDivisionViewEntityListing(List Entities = /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ScheduleDivisionViewEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleEntityListing.cs index 6895e0bf0..064525729 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleEntityListing.cs @@ -26,21 +26,21 @@ public partial class ScheduleEntityListing : IEquatable, /// PageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ScheduleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ScheduleEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ScheduleEntityListing(List Entities = null, int? PageSize = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ScheduleEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupDivisionViewEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupDivisionViewEntityListing.cs index 5726c0395..1a1ca25c7 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupDivisionViewEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupDivisionViewEntityListing.cs @@ -26,21 +26,21 @@ public partial class ScheduleGroupDivisionViewEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ScheduleGroupDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ScheduleGroupDivisionViewEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ScheduleGroupDivisionViewEntityListing(List En /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ScheduleGroupDivisionViewEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupEntityListing.cs index fb67fdf3d..ff7946a29 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ScheduleGroupEntityListing.cs @@ -26,21 +26,21 @@ public partial class ScheduleGroupEntityListing : IEquatablePageNumber. /// Total. /// The total organization-wide number of entities.. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ScheduleGroupEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ScheduleGroupEntityListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, long? TotalNumberOfEntities = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; this.TotalNumberOfEntities = TotalNumberOfEntities; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -92,18 +92,18 @@ public ScheduleGroupEntityListing(List Entities = null, int? Page /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -152,8 +152,8 @@ public override string ToString() sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); sb.Append(" TotalNumberOfEntities: ").Append(TotalNumberOfEntities).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -223,16 +223,16 @@ public bool Equals(ScheduleGroupEntityListing other) this.TotalNumberOfEntities != null && this.TotalNumberOfEntities.Equals(other.TotalNumberOfEntities) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -281,12 +281,12 @@ public override int GetHashCode() if (this.TotalNumberOfEntities != null) hash = hash * 59 + this.TotalNumberOfEntities.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ScreenRecordingSessionListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ScreenRecordingSessionListing.cs index 47f6aea93..a05667026 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ScreenRecordingSessionListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ScreenRecordingSessionListing.cs @@ -25,20 +25,20 @@ public partial class ScreenRecordingSessionListing : IEquatablePageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ScreenRecordingSessionListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string LastUri = null, string FirstUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) + public ScreenRecordingSessionListing(List Entities = null, int? PageSize = null, int? PageNumber = null, long? Total = null, string FirstUri = null, string LastUri = null, string SelfUri = null, string NextUri = null, string PreviousUri = null, int? PageCount = null) { this.Entities = Entities; this.PageSize = PageSize; this.PageNumber = PageNumber; this.Total = Total; - this.LastUri = LastUri; this.FirstUri = FirstUri; + this.LastUri = LastUri; this.SelfUri = SelfUri; this.NextUri = NextUri; this.PreviousUri = PreviousUri; @@ -81,18 +81,18 @@ public ScreenRecordingSessionListing(List Entities = nul /// - /// Gets or Sets LastUri + /// Gets or Sets FirstUri /// - [DataMember(Name="lastUri", EmitDefaultValue=false)] - public string LastUri { get; set; } + [DataMember(Name="firstUri", EmitDefaultValue=false)] + public string FirstUri { get; set; } /// - /// Gets or Sets FirstUri + /// Gets or Sets LastUri /// - [DataMember(Name="firstUri", EmitDefaultValue=false)] - public string FirstUri { get; set; } + [DataMember(Name="lastUri", EmitDefaultValue=false)] + public string LastUri { get; set; } @@ -140,8 +140,8 @@ public override string ToString() sb.Append(" PageSize: ").Append(PageSize).Append("\n"); sb.Append(" PageNumber: ").Append(PageNumber).Append("\n"); sb.Append(" Total: ").Append(Total).Append("\n"); - sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" FirstUri: ").Append(FirstUri).Append("\n"); + sb.Append(" LastUri: ").Append(LastUri).Append("\n"); sb.Append(" SelfUri: ").Append(SelfUri).Append("\n"); sb.Append(" NextUri: ").Append(NextUri).Append("\n"); sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); @@ -206,16 +206,16 @@ public bool Equals(ScreenRecordingSessionListing other) this.Total != null && this.Total.Equals(other.Total) ) && - ( - this.LastUri == other.LastUri || - this.LastUri != null && - this.LastUri.Equals(other.LastUri) - ) && ( this.FirstUri == other.FirstUri || this.FirstUri != null && this.FirstUri.Equals(other.FirstUri) ) && + ( + this.LastUri == other.LastUri || + this.LastUri != null && + this.LastUri.Equals(other.LastUri) + ) && ( this.SelfUri == other.SelfUri || this.SelfUri != null && @@ -261,12 +261,12 @@ public override int GetHashCode() if (this.Total != null) hash = hash * 59 + this.Total.GetHashCode(); - if (this.LastUri != null) - hash = hash * 59 + this.LastUri.GetHashCode(); - if (this.FirstUri != null) hash = hash * 59 + this.FirstUri.GetHashCode(); + if (this.LastUri != null) + hash = hash * 59 + this.LastUri.GetHashCode(); + if (this.SelfUri != null) hash = hash * 59 + this.SelfUri.GetHashCode(); diff --git a/build/src/PureCloudPlatform.Client.V2/Model/ScriptEntityListing.cs b/build/src/PureCloudPlatform.Client.V2/Model/ScriptEntityListing.cs index 24d4d97a3..771a8115b 100644 --- a/build/src/PureCloudPlatform.Client.V2/Model/ScriptEntityListing.cs +++ b/build/src/PureCloudPlatform.Client.V2/Model/ScriptEntityListing.cs @@ -25,20 +25,20 @@ public partial class ScriptEntityListing : IEquatable, IPa /// PageSize. /// PageNumber. /// Total. - /// LastUri. /// FirstUri. + /// LastUri. /// SelfUri. /// NextUri. /// PreviousUri. /// PageCount. - public ScriptEntityListing(List