/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export const $ApiResponse_BranchProtectionRule = {
	properties: {
		data: {
			properties: {
				allow_deletions: {
					type: 'boolean',
					isRequired: true,
				},
				allow_force_pushes: {
					type: 'boolean',
					isRequired: true,
				},
				created_at: {
					type: 'string',
					isRequired: true,
					format: 'date-time',
				},
				created_by: {
					type: 'string',
					isNullable: true,
					format: 'uuid',
				},
				dismiss_stale_reviews: {
					type: 'boolean',
					isRequired: true,
				},
				dismissal_allowances: {
					type: 'array',
					contains: {
						type: 'string',
						format: 'uuid',
					},
					isRequired: true,
				},
				id: {
					type: 'string',
					isRequired: true,
					format: 'uuid',
				},
				pattern: {
					type: 'string',
					isRequired: true,
				},
				push_allowances: {
					type: 'array',
					contains: {
						type: 'string',
						format: 'uuid',
					},
					isRequired: true,
				},
				repo_id: {
					type: 'string',
					isRequired: true,
					format: 'uuid',
				},
				require_approvals: {
					type: 'number',
					isRequired: true,
					format: 'int32',
				},
				require_code_owner_review: {
					type: 'boolean',
					isRequired: true,
				},
				require_conversation_resolution: {
					type: 'boolean',
					isRequired: true,
				},
				require_linear_history: {
					type: 'boolean',
					isRequired: true,
				},
				require_signed_commits: {
					type: 'boolean',
					isRequired: true,
				},
				require_status_checks: {
					type: 'boolean',
					isRequired: true,
				},
				required_status_checks: {
					type: 'array',
					contains: {
						type: 'string',
					},
					isRequired: true,
				},
				restrict_pushes: {
					type: 'boolean',
					isRequired: true,
				},
				restrict_review_dismissal: {
					type: 'boolean',
					isRequired: true,
				},
				updated_at: {
					type: 'string',
					isRequired: true,
					format: 'date-time',
				},
			},
			isRequired: true,
		},
	},
} as const;
