copyWith method

Input$CreateBranchProtectionRuleInput copyWith({
  1. bool? allowsDeletions()?,
  2. bool? allowsForcePushes()?,
  3. List<String>? bypassForcePushActorIds()?,
  4. List<String>? bypassPullRequestActorIds()?,
  5. String? clientMutationId()?,
  6. bool? dismissesStaleReviews()?,
  7. bool? isAdminEnforced()?,
  8. String? pattern,
  9. List<String>? pushActorIds()?,
  10. String? repositoryId,
  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$CreateBranchProtectionRuleInput copyWith(
        {bool? Function()? allowsDeletions,
        bool? Function()? allowsForcePushes,
        List<String>? Function()? bypassForcePushActorIds,
        List<String>? Function()? bypassPullRequestActorIds,
        String? Function()? clientMutationId,
        bool? Function()? dismissesStaleReviews,
        bool? Function()? isAdminEnforced,
        String? pattern,
        List<String>? Function()? pushActorIds,
        String? repositoryId,
        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$CreateBranchProtectionRuleInput(
        allowsDeletions: allowsDeletions == null
            ? this.allowsDeletions
            : allowsDeletions(),
        allowsForcePushes: allowsForcePushes == null
            ? this.allowsForcePushes
            : allowsForcePushes(),
        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(),
        repositoryId: repositoryId == null ? this.repositoryId : repositoryId,
        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());