@@ -1459,34 +1459,34 @@ func (s *SchServiceConnectorResourceCrud) mapToSourceDetails(fieldKeyFormat stri
14591459 return baseObject , nil
14601460}
14611461
1462- func SourceDetailsResponseToMap (obj * oci_sch.SourceDetailsResponse ) map [string ]interface {} {
1462+ func SourceDetailsResponseToMap (obj * oci_sch.SourceDetails ) map [string ]interface {} {
14631463 result := map [string ]interface {}{}
14641464 switch v := (* obj ).(type ) {
1465- case oci_sch.LoggingSourceDetailsResponse :
1465+ case oci_sch.LoggingSourceDetails :
14661466 result ["kind" ] = "logging"
14671467
14681468 logSources := []interface {}{}
14691469 for _ , item := range v .LogSources {
14701470 logSources = append (logSources , LogSourceToMap (item ))
14711471 }
14721472 result ["log_sources" ] = logSources
1473- case oci_sch.MonitoringSourceDetailsResponse :
1473+ case oci_sch.MonitoringSourceDetails :
14741474 result ["kind" ] = "monitoring"
14751475
14761476 monitoringSources := []interface {}{}
14771477 for _ , item := range v .MonitoringSources {
14781478 monitoringSources = append (monitoringSources , MonitoringSourceToMap (item ))
14791479 }
14801480 result ["monitoring_sources" ] = monitoringSources
1481- case oci_sch.PluginSourceDetailsResponse :
1481+ case oci_sch.PluginSourceDetails :
14821482 result ["kind" ] = "plugin"
14831483
14841484 result ["config_map" ] = ConfigMapJsonObjectToString (v .ConfigMap )
14851485
14861486 if v .PluginName != nil {
14871487 result ["plugin_name" ] = string (* v .PluginName )
14881488 }
1489- case oci_sch.StreamingSourceDetailsResponse :
1489+ case oci_sch.StreamingSourceDetails :
14901490 result ["kind" ] = "streaming"
14911491
14921492 if v .Cursor != nil {
@@ -1669,10 +1669,10 @@ func (s *SchServiceConnectorResourceCrud) mapToTargetDetails(fieldKeyFormat stri
16691669 return baseObject , nil
16701670}
16711671
1672- func TargetDetailsResponseToMap (obj * oci_sch.TargetDetailsResponse ) map [string ]interface {} {
1672+ func TargetDetailsResponseToMap (obj * oci_sch.TargetDetails ) map [string ]interface {} {
16731673 result := map [string ]interface {}{}
16741674 switch v := (* obj ).(type ) {
1675- case oci_sch.FunctionsTargetDetailsResponse :
1675+ case oci_sch.FunctionsTargetDetails :
16761676 result ["kind" ] = "functions"
16771677
16781678 if v .BatchSizeInKbs != nil {
@@ -1690,7 +1690,7 @@ func TargetDetailsResponseToMap(obj *oci_sch.TargetDetailsResponse) map[string]i
16901690 if v .FunctionId != nil {
16911691 result ["function_id" ] = string (* v .FunctionId )
16921692 }
1693- case oci_sch.LoggingAnalyticsTargetDetailsResponse :
1693+ case oci_sch.LoggingAnalyticsTargetDetails :
16941694 result ["kind" ] = "loggingAnalytics"
16951695
16961696 if v .LogGroupId != nil {
@@ -1700,7 +1700,7 @@ func TargetDetailsResponseToMap(obj *oci_sch.TargetDetailsResponse) map[string]i
17001700 if v .LogSourceIdentifier != nil {
17011701 result ["log_source_identifier" ] = string (* v .LogSourceIdentifier )
17021702 }
1703- case oci_sch.MonitoringTargetDetailsResponse :
1703+ case oci_sch.MonitoringTargetDetails :
17041704 result ["kind" ] = "monitoring"
17051705
17061706 if v .CompartmentId != nil {
@@ -1720,7 +1720,7 @@ func TargetDetailsResponseToMap(obj *oci_sch.TargetDetailsResponse) map[string]i
17201720 if v .MetricNamespace != nil {
17211721 result ["metric_namespace" ] = string (* v .MetricNamespace )
17221722 }
1723- case oci_sch.NotificationsTargetDetailsResponse :
1723+ case oci_sch.NotificationsTargetDetails :
17241724 result ["kind" ] = "notifications"
17251725
17261726 if v .EnableFormattedMessaging != nil {
@@ -1730,7 +1730,7 @@ func TargetDetailsResponseToMap(obj *oci_sch.TargetDetailsResponse) map[string]i
17301730 if v .TopicId != nil {
17311731 result ["topic_id" ] = string (* v .TopicId )
17321732 }
1733- case oci_sch.ObjectStorageTargetDetailsResponse :
1733+ case oci_sch.ObjectStorageTargetDetails :
17341734 result ["kind" ] = "objectStorage"
17351735
17361736 if v .BatchRolloverSizeInMBs != nil {
@@ -1752,7 +1752,7 @@ func TargetDetailsResponseToMap(obj *oci_sch.TargetDetailsResponse) map[string]i
17521752 if v .ObjectNamePrefix != nil {
17531753 result ["object_name_prefix" ] = string (* v .ObjectNamePrefix )
17541754 }
1755- case oci_sch.StreamingTargetDetailsResponse :
1755+ case oci_sch.StreamingTargetDetails :
17561756 result ["kind" ] = "streaming"
17571757
17581758 if v .StreamId != nil {
@@ -1805,10 +1805,10 @@ func (s *SchServiceConnectorResourceCrud) mapToTaskDetails(fieldKeyFormat string
18051805 return baseObject , nil
18061806}
18071807
1808- func TaskDetailsResponseToMap (obj oci_sch.TaskDetailsResponse ) map [string ]interface {} {
1808+ func TaskDetailsResponseToMap (obj oci_sch.TaskDetails ) map [string ]interface {} {
18091809 result := map [string ]interface {}{}
18101810 switch v := (obj ).(type ) {
1811- case oci_sch.FunctionTaskDetailsResponse :
1811+ case oci_sch.FunctionTaskDetails :
18121812 result ["kind" ] = "function"
18131813
18141814 if v .BatchSizeInKbs != nil {
@@ -1822,7 +1822,7 @@ func TaskDetailsResponseToMap(obj oci_sch.TaskDetailsResponse) map[string]interf
18221822 if v .FunctionId != nil {
18231823 result ["function_id" ] = string (* v .FunctionId )
18241824 }
1825- case oci_sch.LogRuleTaskDetailsResponse :
1825+ case oci_sch.LogRuleTaskDetails :
18261826 result ["kind" ] = "logRule"
18271827
18281828 if v .Condition != nil {
0 commit comments