public AllowBuilder(Allow base) { this._allow = base.getAllow(); if (base instanceof AllowImpl) { AllowImpl impl = (AllowImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.intent.rev150122.intent.actions.action.Allow> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.intent.rev150122.intent.actions.action.Allow>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
if (other.getAllow() != null) { return false; } else if(!_allow.equals(other.getAllow())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;
if (!Objects.equals(_allow, other.getAllow())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;
public AllowBuilder(Allow base) { this._allow = base.getAllow(); if (base instanceof AllowImpl) { AllowImpl impl = (AllowImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.intent.rev150122.intent.actions.action.Allow> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.intent.rev150122.intent.actions.action.Allow>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }