|
|
@ -28,6 +28,7 @@ import io.entgra.device.mgt.core.device.mgt.api.jaxrs.beans.RoleList;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.util.Constants;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.api.jaxrs.util.Constants;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.DeviceIdentifier;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.DeviceIdentifier;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.group.mgt.DeviceGroup;
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.group.mgt.DeviceGroup;
|
|
|
|
|
|
|
|
import io.entgra.device.mgt.core.device.mgt.common.group.mgt.DeviceGroupRoleWrapper;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
@ -1302,11 +1303,11 @@ public interface GroupManagementService {
|
|
|
|
"Server error occurred while creating the group or adding devices or sharing the group.",
|
|
|
|
"Server error occurred while creating the group or adding devices or sharing the group.",
|
|
|
|
response = ErrorResponse.class)
|
|
|
|
response = ErrorResponse.class)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
Response createGroupWithRoles(@ApiParam(
|
|
|
|
Response createGroupWithRoles(
|
|
|
|
name = "group",
|
|
|
|
@ApiParam(
|
|
|
|
value = "Define the group object with data.",
|
|
|
|
name = "group",
|
|
|
|
required = true)
|
|
|
|
value = "Define the group object with data.",
|
|
|
|
@Valid DeviceGroupRoleWrapper group
|
|
|
|
required = true)
|
|
|
|
);
|
|
|
|
@Valid DeviceGroupRoleWrapper group
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|