/**
 * DataLabelingService API
 * A description of the DataLabelingService API
 * OpenAPI spec version: 20211001
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Renames a subset of Labels in the Dataset's LabelSet.  The Labels in the source LabelSet will be replaced with the Labels in the target LabelSet.
 * Labels are correlated by index, i.e. the first Label in the source LabelSet will be replaced by the first Label in the target LabelSet.
 * If the size of the\u00A0source and target LabelSets are not equal, the request will be rejected.
 *
 */ export interface RenameDatasetLabelsDetails { "sourceLabelSet" ? : model . LabelSet ; "targetLabelSet" ? : model . LabelSet ; } export namespace RenameDatasetLabelsDetails { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "sourceLabelSet" : obj . sourceLabelSet ? model . LabelSet . getJsonObj ( obj . sourceLabelSet ) : undefined , "targetLabelSet" : obj . targetLabelSet ? model . LabelSet . getJsonObj ( obj . targetLabelSet ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "sourceLabelSet" : obj . sourceLabelSet ? model . LabelSet . getDeserializedJsonObj ( obj . sourceLabelSet ) : undefined , "targetLabelSet" : obj . targetLabelSet ? model . LabelSet . getDeserializedJsonObj ( obj . targetLabelSet ) : undefined } } ; return jsonObj ; } }