models

package
v0.0.0-...-ea88fcb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGenTemplate

type CodeGenTemplate struct {

	// CodeGen Argument
	Arguments []*CodeGenTemplateArgument `json:"arguments"`

	// Template Name
	Name string `json:"name,omitempty"`
}

CodeGenTemplate code gen template swagger:model CodeGenTemplate

func (*CodeGenTemplate) MarshalBinary

func (m *CodeGenTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeGenTemplate) UnmarshalBinary

func (m *CodeGenTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeGenTemplate) Validate

func (m *CodeGenTemplate) Validate(formats strfmt.Registry) error

Validate validates this code gen template

type CodeGenTemplateArgument

type CodeGenTemplateArgument struct {

	// Argument constraint
	Contrainst string `json:"contrainst,omitempty"`

	// Argument key to generate codegen
	Key string `json:"key,omitempty"`

	// Argument value to generate codegen
	Value string `json:"value,omitempty"`
}

CodeGenTemplateArgument code gen template argument swagger:model CodeGenTemplateArgument

func (*CodeGenTemplateArgument) MarshalBinary

func (m *CodeGenTemplateArgument) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeGenTemplateArgument) UnmarshalBinary

func (m *CodeGenTemplateArgument) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeGenTemplateArgument) Validate

func (m *CodeGenTemplateArgument) Validate(formats strfmt.Registry) error

Validate validates this code gen template argument

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL