ShoppingAdsProgramStatusRegionStatus.fromJson constructor

ShoppingAdsProgramStatusRegionStatus.fromJson(
  1. Map json_
)

Implementation

ShoppingAdsProgramStatusRegionStatus.fromJson(core.Map json_)
    : this(
        disapprovalDate: json_.containsKey('disapprovalDate')
            ? json_['disapprovalDate'] as core.String
            : null,
        eligibilityStatus: json_.containsKey('eligibilityStatus')
            ? json_['eligibilityStatus'] as core.String
            : null,
        onboardingIssues: json_.containsKey('onboardingIssues')
            ? (json_['onboardingIssues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        regionCodes: json_.containsKey('regionCodes')
            ? (json_['regionCodes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        reviewEligibilityStatus: json_.containsKey('reviewEligibilityStatus')
            ? json_['reviewEligibilityStatus'] as core.String
            : null,
        reviewIneligibilityReason:
            json_.containsKey('reviewIneligibilityReason')
                ? json_['reviewIneligibilityReason'] as core.String
                : null,
        reviewIneligibilityReasonDescription:
            json_.containsKey('reviewIneligibilityReasonDescription')
                ? json_['reviewIneligibilityReasonDescription'] as core.String
                : null,
        reviewIneligibilityReasonDetails:
            json_.containsKey('reviewIneligibilityReasonDetails')
                ? ShoppingAdsProgramStatusReviewIneligibilityReasonDetails
                    .fromJson(json_['reviewIneligibilityReasonDetails']
                        as core.Map<core.String, core.dynamic>)
                : null,
        reviewIssues: json_.containsKey('reviewIssues')
            ? (json_['reviewIssues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );