autogits/bots-common/gitea-generated/models/create_hook_option_config.go

29 lines
817 B
Go
Raw Normal View History

2024-07-07 21:08:41 +02:00
// Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
)
// CreateHookOptionConfig CreateHookOptionConfig has all config options in it
// required are "content_type" and "url" Required
//
// swagger:model CreateHookOptionConfig
type CreateHookOptionConfig map[string]string
// Validate validates this create hook option config
func (m CreateHookOptionConfig) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this create hook option config based on context it is used
func (m CreateHookOptionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}