structuredvalue

package
v1.3.61 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTotalStructuredValueCount added in v1.3.41

func GetTotalStructuredValueCount() (*int, error)

func InsertStructuredValue

func InsertStructuredValue(structuredValue StructuredValue) (int, error)

func RemoveStructuredValue

func RemoveStructuredValue(structuredValueID int) error

func UpdateStructuredValue

func UpdateStructuredValue(structuredValue StructuredValue) error

Types

type StructuredValue

type StructuredValue struct {
	ID                    *int      `json:"id"`
	UUID                  string    `json:"uuid"`
	Name                  string    `json:"name"`
	AlternateName         string    `json:"alternateName"`
	StructuredValueTypeID *int      `json:"structuredValueTypeId"`
	CreatedBy             string    `json:"createdBy"`
	CreatedAt             time.Time `json:"createdAt"`
	UpdatedBy             string    `json:"updatedBy"`
	UpdatedAt             time.Time `json:"updatedAt"`
}

StructuredValue

func GetStructuredValue

func GetStructuredValue(structuredValueID int) (*StructuredValue, error)

func GetStructuredValueByStructuredValueTypeIDList

func GetStructuredValueByStructuredValueTypeIDList(structuredValueID int) ([]StructuredValue, error)

func GetStructuredValueList

func GetStructuredValueList(ids []int) ([]StructuredValue, error)

func GetStructuredValueListByPagination added in v1.3.41

func GetStructuredValueListByPagination(_start, _end *int, _order, _sort string, _filters []string) ([]StructuredValue, error)

func GetTopTenStructuredValues

func GetTopTenStructuredValues() ([]StructuredValue, error)

Jump to

Keyboard shortcuts

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