/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export const $CreateProtectionRuleParams = {
	properties: {
		allow_deletions: {
			type: 'boolean',
			isNullable: true,
		},
		allow_force_pushes: {
			type: 'boolean',
			isNullable: true,
		},
		dismiss_stale_reviews: {
			type: 'boolean',
			isNullable: true,
		},
		dismissal_allowances: {
			type: 'any[]',
			isNullable: true,
		},
		pattern: {
			type: 'string',
			isRequired: true,
		},
		push_allowances: {
			type: 'any[]',
			isNullable: true,
		},
		require_approvals: {
			type: 'number',
			isNullable: true,
			format: 'int32',
		},
		require_code_owner_review: {
			type: 'boolean',
			isNullable: true,
		},
		require_conversation_resolution: {
			type: 'boolean',
			isNullable: true,
		},
		require_linear_history: {
			type: 'boolean',
			isNullable: true,
		},
		require_signed_commits: {
			type: 'boolean',
			isNullable: true,
		},
		require_status_checks: {
			type: 'boolean',
			isNullable: true,
		},
		required_status_checks: {
			type: 'any[]',
			isNullable: true,
		},
		restrict_pushes: {
			type: 'boolean',
			isNullable: true,
		},
		restrict_review_dismissal: {
			type: 'boolean',
			isNullable: true,
		},
	},
} as const;
