import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationTopologyOperationInputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationTopologyOperationOutputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationNotificationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GenericConfigurationNotificationOutputBuilder;
+
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GetpathsegmentTopologyOperationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.GetpathsegmentTopologyOperationOutputBuilder;
+
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PolicyUpdateNotifyOperationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PolicyUpdateNotifyOperationOutputBuilder;
+
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PortMirrorTopologyOperationInputBuilder;
+import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.PortMirrorTopologyOperationOutputBuilder;
+
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.SecurityZoneTopologyOperationInputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.SecurityZoneTopologyOperationOutputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.ServiceTopologyOperationInputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.pnf.details.PnfDetailsBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.pnf.response.information.PnfResponseInformationBuilder;
import org.opendaylight.yang.gen.v1.org.onap.sdnc.northbound.generic.resource.rev170824.pnf.topology.identifier.structure.PnfTopologyIdentifierStructureBuilder;
-import org.opendaylight.yangtools.concepts.Builder;
import org.opendaylight.yangtools.yang.common.RpcResult;
return new GenericConfigurationTopologyOperationInputBuilder();
}
+ public static GenericConfigurationNotificationInputBuilder GenericConfigurationNotificationInput() {
+ return new GenericConfigurationNotificationInputBuilder();
+ }
+
+ public static GetpathsegmentTopologyOperationInputBuilder GetpathsegmentTopologyOperationInput() {
+ return new GetpathsegmentTopologyOperationInputBuilder();
+ }
+
+ public static PolicyUpdateNotifyOperationInputBuilder PolicyUpdateNotifyOperationInput() {
+ return new PolicyUpdateNotifyOperationInputBuilder();
+ }
+
+ public static PortMirrorTopologyOperationInputBuilder PortMirrorTopologyOperationInput() {
+ return new PortMirrorTopologyOperationInputBuilder();
+ }
+
public static PreloadVfModuleTopologyOperationOutputBuilder preloadVfModuleTopologyOperationOutput() {
return new PreloadVfModuleTopologyOperationOutputBuilder();
}
return new ServiceLevelOperStatusBuilder();
}
- public static <P> P build(Builder<P> b) {
- return b == null ? null : b.build();
- }
-
- public static <P, B extends Builder<P>> P build(Function<P, B> builderConstructor, P sourceDataObject) {
- if (sourceDataObject == null) {
- return null;
- }
- B bp = builderConstructor.apply(sourceDataObject);
- return bp.build();
- }
-
- public static <P, B extends Builder<P>> P build(Function<P, B> builderConstructor, P sourceDataObject,
- Consumer<B> builder) {
- if (sourceDataObject == null) {
- return null;
- }
- B bp = builderConstructor.apply(sourceDataObject);
- builder.accept(bp);
- return bp.build();
- }
-
public static <I, O> O exec(Function<I, Future<RpcResult<O>>> rpc, I rpcParameter,
Function<RpcResult<O>, O> rpcResult) throws Exception {
Future<RpcResult<O>> future = rpc.apply(rpcParameter);