public class LabelMappingUtil extends Object
| Constructor and Description |
|---|
LabelMappingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static LabelListDTO |
fromLabelListToLabelListDTO(List<org.wso2.carbon.apimgt.api.model.Label> label)
Convert list of Label to LabelListDTO
|
static LabelDTO |
fromLabelToLabelDTO(org.wso2.carbon.apimgt.api.model.Label label)
Converts label List to LabelDTO List.
|
static org.wso2.carbon.apimgt.api.model.Label |
labelDTOToLabel(LabelDTO labelDTO)
Converts LabelDTO List to Label.
|
static org.wso2.carbon.apimgt.api.model.Label |
labelDTOToLabelPut(String labelId,
LabelDTO labelDTO)
Converts LabelDTO List to Label PUT.
|
public static LabelListDTO fromLabelListToLabelListDTO(List<org.wso2.carbon.apimgt.api.model.Label> label)
label - List of labelspublic static LabelDTO fromLabelToLabelDTO(org.wso2.carbon.apimgt.api.model.Label label)
label - labelpublic static org.wso2.carbon.apimgt.api.model.Label labelDTOToLabel(LabelDTO labelDTO)
labelDTO - label DTOCopyright © 2019 WSO2. All rights reserved.