







#import "EntityMenuIconDiagnoseRingModel.h"
#import "SobMinConfig.h"
#import "OurDragFitConfig.h"

@interface EntityMenuIconDiagnoseRingModel ()
@end

@implementation EntityMenuIconDiagnoseRingModel

+ (instancetype)biotinBookAuthorsIntroPowerCommandsIdentifier:(NSString *)productIdentifier applicationUsername:(NSString *)applicationUsername {
    NSParameterAssert(productIdentifier);
    EntityMenuIconDiagnoseRingModel *model = [EntityMenuIconDiagnoseRingModel new];
    model.bounceBedCutIdentifier = productIdentifier;
    model.mobileJobDrivenRelayLegacyBegin = applicationUsername;
    model.delayedEditorsAppearSafariActivatedStatus = 0;
    model.vitalIconCompletedItsNativeDate = [NSDate date];

    if (applicationUsername) {
        NSError *error = nil;
        NSData *data = [applicationUsername dataUsingEncoding:NSUTF8StringEncoding];
        if (data) {
            NSDictionary *CreditInfo = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableLeaves error:&error];
            if (!error && [CreditInfo isKindOfClass:[NSDictionary class]]) {
                model.presenceCombiningKnowProvidesBurmese = [CreditInfo objectForKey:tooPolicies.notifyingWinToggleLoseWorkflowGreat];
                model.succeededStrategyWhoPreparingCube =  [CreditInfo objectForKey:tooPolicies.cadenceExtraBayerSheToneHour];
                model.dublinSetup =  [CreditInfo objectForKey:tooPolicies.flipBookDetermineFilenameBitPacket];
                model.seeCurrencyStripNineSwap = [CreditInfo objectForKey:tooPolicies.genreDueZipStorageOutFitness];
            }
        }
    }
    return model;
}

+ (EntityMenuIconDiagnoseRingModel *)programTryIssuerClampBend:(NSDictionary *)ear {
    EntityMenuIconDiagnoseRingModel *model = [[EntityMenuIconDiagnoseRingModel alloc] init];
    model.bounceBedCutIdentifier = ear[tooPolicies.behaviorsAngleHomepageScannerGlyphSoloistIdentifier];
    model.mobileJobDrivenRelayLegacyBegin = ear[tooPolicies.pasteUppercaseSegmentsContentsProviderRearrangeRectum];
    model.delayedEditorsAppearSafariActivatedStatus = [ear[tooPolicies.selectorsIgnoringTemplatePinOwnerTooStatus] integerValue];
    model.vitalIconCompletedItsNativeDate =  [NSDate dateWithTimeIntervalSince1970:[ear[tooPolicies.gatherSlabMathColumnMinSemanticDate] doubleValue]];
    return model;
}

- (NSMutableDictionary *)oldDomains {
    NSMutableDictionary *unwind = [[NSMutableDictionary alloc] init];
    unwind[tooPolicies.behaviorsAngleHomepageScannerGlyphSoloistIdentifier] = self.bounceBedCutIdentifier;
    unwind[tooPolicies.pasteUppercaseSegmentsContentsProviderRearrangeRectum] = self.mobileJobDrivenRelayLegacyBegin;
    unwind[tooPolicies.selectorsIgnoringTemplatePinOwnerTooStatus] = @(self.delayedEditorsAppearSafariActivatedStatus);
    unwind[tooPolicies.gatherSlabMathColumnMinSemanticDate] = @([self.vitalIconCompletedItsNativeDate timeIntervalSince1970]);
    return unwind;
}



- (BOOL)isEqual:(id)object {
    if (!object) {
        return NO;
    }

    if (self == object) {
        return YES;
    }

    if (![object isKindOfClass:[EntityMenuIconDiagnoseRingModel class]]) {
        return NO;
    }

    return [self hasInlandModel:((EntityMenuIconDiagnoseRingModel *)object)];
}

- (BOOL)hasInlandModel:(EntityMenuIconDiagnoseRingModel *)object {

    BOOL obscuredObscuresNegateEraserWetAmbience = [self.bounceBedCutIdentifier isEqualToString:object.bounceBedCutIdentifier];

    
    if (self.bagMonotonicTelephonyYearMissingIdentifier && object.bagMonotonicTelephonyYearMissingIdentifier) {
        return obscuredObscuresNegateEraserWetAmbience && [self.bagMonotonicTelephonyYearMissingIdentifier isEqualToString:object.bagMonotonicTelephonyYearMissingIdentifier];
    }

    
    if (self.mobileJobDrivenRelayLegacyBegin && object.mobileJobDrivenRelayLegacyBegin) {
        return obscuredObscuresNegateEraserWetAmbience && [self.mobileJobDrivenRelayLegacyBegin isEqualToString:object.mobileJobDrivenRelayLegacyBegin];
    }

    
    if (self.succeededStrategyWhoPreparingCube && object.succeededStrategyWhoPreparingCube) {
        return obscuredObscuresNegateEraserWetAmbience && [self.succeededStrategyWhoPreparingCube isEqualToString:object.succeededStrategyWhoPreparingCube];
    }

    
    if (self.vitalIconCompletedItsNativeDate && object.vitalIconCompletedItsNativeDate) {
        NSTimeInterval bedHeavy = fabs([self.vitalIconCompletedItsNativeDate timeIntervalSinceDate:object.vitalIconCompletedItsNativeDate]);
        return obscuredObscuresNegateEraserWetAmbience && (bedHeavy < 60.0); 
    }

    
    return NO;
}



- (void)setDublinSetup:(NSString *)dublinSetup {
    if (dublinSetup) {
        _dublinSetup = dublinSetup;
    }
}
- (void)setBounceBedCutIdentifier:(NSString *)bounceBedCutIdentifier {
    if (bounceBedCutIdentifier) {
        _bounceBedCutIdentifier = bounceBedCutIdentifier;
    }
}

-(void)setVitalIconCompletedItsNativeDate:(NSDate *)vitalIconCompletedItsNativeDate {
    if (vitalIconCompletedItsNativeDate) {
        _vitalIconCompletedItsNativeDate = vitalIconCompletedItsNativeDate;
    }
}

-(void)setSucceededStrategyWhoPreparingCube:(NSString *)succeededStrategyWhoPreparingCube {
    if (succeededStrategyWhoPreparingCube) {
        _succeededStrategyWhoPreparingCube = succeededStrategyWhoPreparingCube;
    }
}

-(void)setMobileJobDrivenRelayLegacyBegin:(NSString *)mobileJobDrivenRelayLegacyBegin {
    _mobileJobDrivenRelayLegacyBegin = mobileJobDrivenRelayLegacyBegin;
    if (mobileJobDrivenRelayLegacyBegin != nil) {
        NSError *error = nil;
        NSData *data = [mobileJobDrivenRelayLegacyBegin dataUsingEncoding:NSUTF8StringEncoding];
        if (data) {
            NSDictionary *CreditInfo = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableLeaves error:&error];
            if (!error && [CreditInfo isKindOfClass:[NSDictionary class]]) {
                _presenceCombiningKnowProvidesBurmese = [CreditInfo objectForKey:tooPolicies.notifyingWinToggleLoseWorkflowGreat];
                _succeededStrategyWhoPreparingCube =  [CreditInfo objectForKey:tooPolicies.cadenceExtraBayerSheToneHour];
                _dublinSetup =  [CreditInfo objectForKey:tooPolicies.flipBookDetermineFilenameBitPacket];
                _seeCurrencyStripNineSwap = [CreditInfo objectForKey:tooPolicies.genreDueZipStorageOutFitness];
            }
        }
    }
}

@end
