copyWith method

Input$UpdateEnterpriseMembersCanCreateRepositoriesSettingInput copyWith({
  1. String? clientMutationId()?,
  2. String? enterpriseId,
  3. bool? membersCanCreateInternalRepositories()?,
  4. bool? membersCanCreatePrivateRepositories()?,
  5. bool? membersCanCreatePublicRepositories()?,
  6. bool? membersCanCreateRepositoriesPolicyEnabled()?,
  7. Enum$EnterpriseMembersCanCreateRepositoriesSettingValue? settingValue()?,
})

Implementation

Input$UpdateEnterpriseMembersCanCreateRepositoriesSettingInput copyWith(
        {String? Function()? clientMutationId,
        String? enterpriseId,
        bool? Function()? membersCanCreateInternalRepositories,
        bool? Function()? membersCanCreatePrivateRepositories,
        bool? Function()? membersCanCreatePublicRepositories,
        bool? Function()? membersCanCreateRepositoriesPolicyEnabled,
        Enum$EnterpriseMembersCanCreateRepositoriesSettingValue? Function()?
            settingValue}) =>
    Input$UpdateEnterpriseMembersCanCreateRepositoriesSettingInput(
        clientMutationId: clientMutationId == null
            ? this.clientMutationId
            : clientMutationId(),
        enterpriseId: enterpriseId == null ? this.enterpriseId : enterpriseId,
        membersCanCreateInternalRepositories:
            membersCanCreateInternalRepositories == null
                ? this.membersCanCreateInternalRepositories
                : membersCanCreateInternalRepositories(),
        membersCanCreatePrivateRepositories:
            membersCanCreatePrivateRepositories == null
                ? this.membersCanCreatePrivateRepositories
                : membersCanCreatePrivateRepositories(),
        membersCanCreatePublicRepositories:
            membersCanCreatePublicRepositories == null
                ? this.membersCanCreatePublicRepositories
                : membersCanCreatePublicRepositories(),
        membersCanCreateRepositoriesPolicyEnabled:
            membersCanCreateRepositoriesPolicyEnabled == null
                ? this.membersCanCreateRepositoriesPolicyEnabled
                : membersCanCreateRepositoriesPolicyEnabled(),
        settingValue:
            settingValue == null ? this.settingValue : settingValue());