private GroupAddedImpl(GroupAddedBuilder base) { this._buckets = base.getBuckets(); this._containerName = base.getContainerName(); this._groupId = base.getGroupId(); this._groupName = base.getGroupName(); this._groupRef = base.getGroupRef(); this._groupType = base.getGroupType(); this._node = base.getNode(); this._transactionId = base.getTransactionId(); this._transactionUri = base.getTransactionUri(); this._barrier = base.isBarrier(); switch (base.augmentation.size()) { case 0: this.augmentation = Collections.emptyMap(); break; case 1: final Map.Entry<java.lang.Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAdded>>, Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAdded>> e = base.augmentation.entrySet().iterator().next(); this.augmentation = Collections.<java.lang.Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAdded>>, Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupAdded>>singletonMap(e.getKey(), e.getValue()); break; default : this.augmentation = new HashMap<>(base.augmentation); } }