copyWith method

Input$UpdateBranchProtectionRuleInput copyWith({
  1. bool? allowsDeletions()?,
  2. bool? allowsForcePushes()?,
  3. String? branchProtectionRuleId,
  4. List<String>? bypassForcePushActorIds()?,
  5. List<String>? bypassPullRequestActorIds()?,
  6. String? clientMutationId()?,
  7. bool? dismissesStaleReviews()?,
  8. bool? isAdminEnforced()?,
  9. String? pattern()?,
  10. List<String>? pushActorIds()?,
  11. int? requiredApprovingReviewCount()?,
  12. List<String>? requiredStatusCheckContexts()?,
  13. List<Input$RequiredStatusCheckInput>? requiredStatusChecks()?,
  14. bool? requiresApprovingReviews()?,
  15. bool? requiresCodeOwnerReviews()?,
  16. bool? requiresCommitSignatures()?,
  17. bool? requiresConversationResolution()?,
  18. bool? requiresLinearHistory()?,
  19. bool? requiresStatusChecks()?,
  20. bool? requiresStrictStatusChecks()?,
  21. bool? restrictsPushes()?,
  22. bool? restrictsReviewDismissals()?,
  23. List<String>? reviewDismissalActorIds()?,
})

Implementation

Input$UpdateBranchProtectionRuleInput copyWith(
        {bool? Function()? allowsDeletions,
        bool? Function()? allowsForcePushes,
        String? branchProtectionRuleId,
        List<String>? Function()? bypassForcePushActorIds,
        List<String>? Function()? bypassPullRequestActorIds,
        String? Function()? clientMutationId,
        bool? Function()? dismissesStaleReviews,
        bool? Function()? isAdminEnforced,
        String? Function()? pattern,
        List<String>? Function()? pushActorIds,
        int? Function()? requiredApprovingReviewCount,
        List<String>? Function()? requiredStatusCheckContexts,
        List<Input$RequiredStatusCheckInput>? Function()?
            requiredStatusChecks,
        bool? Function()? requiresApprovingReviews,
        bool? Function()? requiresCodeOwnerReviews,
        bool? Function()? requiresCommitSignatures,
        bool? Function()? requiresConversationResolution,
        bool? Function()? requiresLinearHistory,
        bool? Function()? requiresStatusChecks,
        bool? Function()? requiresStrictStatusChecks,
        bool? Function()? restrictsPushes,
        bool? Function()? restrictsReviewDismissals,
        List<String>? Function()? reviewDismissalActorIds}) =>
    Input$UpdateBranchProtectionRuleInput(
        allowsDeletions: allowsDeletions == null
            ? this.allowsDeletions
            : allowsDeletions(),
        allowsForcePushes: allowsForcePushes == null
            ? this.allowsForcePushes
            : allowsForcePushes(),
        branchProtectionRuleId: branchProtectionRuleId == null
            ? this.branchProtectionRuleId
            : branchProtectionRuleId,
        bypassForcePushActorIds: bypassForcePushActorIds == null
            ? this.bypassForcePushActorIds
            : bypassForcePushActorIds(),
        bypassPullRequestActorIds: bypassPullRequestActorIds == null
            ? this.bypassPullRequestActorIds
            : bypassPullRequestActorIds(),
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        dismissesStaleReviews: dismissesStaleReviews == null
            ? this.dismissesStaleReviews
            : dismissesStaleReviews(),
        isAdminEnforced: isAdminEnforced == null
            ? this.isAdminEnforced
            : isAdminEnforced(),
        pattern: pattern == null ? this.pattern : pattern(),
        pushActorIds:
            pushActorIds == null ? this.pushActorIds : pushActorIds(),
        requiredApprovingReviewCount: requiredApprovingReviewCount == null
            ? this.requiredApprovingReviewCount
            : requiredApprovingReviewCount(),
        requiredStatusCheckContexts: requiredStatusCheckContexts == null
            ? this.requiredStatusCheckContexts
            : requiredStatusCheckContexts(),
        requiredStatusChecks: requiredStatusChecks == null
            ? this.requiredStatusChecks
            : requiredStatusChecks(),
        requiresApprovingReviews: requiresApprovingReviews == null
            ? this.requiresApprovingReviews
            : requiresApprovingReviews(),
        requiresCodeOwnerReviews: requiresCodeOwnerReviews == null
            ? this.requiresCodeOwnerReviews
            : requiresCodeOwnerReviews(),
        requiresCommitSignatures: requiresCommitSignatures == null
            ? this.requiresCommitSignatures
            : requiresCommitSignatures(),
        requiresConversationResolution: requiresConversationResolution == null
            ? this.requiresConversationResolution
            : requiresConversationResolution(),
        requiresLinearHistory: requiresLinearHistory == null
            ? this.requiresLinearHistory
            : requiresLinearHistory(),
        requiresStatusChecks: requiresStatusChecks == null
            ? this.requiresStatusChecks
            : requiresStatusChecks(),
        requiresStrictStatusChecks: requiresStrictStatusChecks == null
            ? this.requiresStrictStatusChecks
            : requiresStrictStatusChecks(),
        restrictsPushes: restrictsPushes == null
            ? this.restrictsPushes
            : restrictsPushes(),
        restrictsReviewDismissals: restrictsReviewDismissals == null
            ? this.restrictsReviewDismissals
            : restrictsReviewDismissals(),
        reviewDismissalActorIds: reviewDismissalActorIds == null ? this.reviewDismissalActorIds : reviewDismissalActorIds());