region

package
v7.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TORegion

type TORegion struct {
	api.APIInfoImpl `json:"-"`
	tc.Region
}

we need a type alias to define functions on

func (*TORegion) Create

func (rg *TORegion) Create() (error, error, int)

func (*TORegion) Delete

func (rg *TORegion) Delete() (error, error, int)

func (TORegion) DeleteKeyOptions

func (region TORegion) DeleteKeyOptions() map[string]dbhelpers.WhereColumnInfo

DeleteKeyOptions returns a map containing the different fields a resource can be deleted by.

func (*TORegion) DeleteQuery

func (v *TORegion) DeleteQuery() string

DeleteQuery returns a query, including a WHERE clause.

func (*TORegion) DeleteQueryBase

func (v *TORegion) DeleteQueryBase() string

DeleteQueryBase returns a query with no WHERE clause.

func (*TORegion) GetAuditName

func (region *TORegion) GetAuditName() string

func (TORegion) GetKeyFieldsInfo

func (region TORegion) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TORegion) GetKeys

func (region TORegion) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TORegion) GetLastUpdated

func (v *TORegion) GetLastUpdated() (*time.Time, bool, error)

func (*TORegion) GetType

func (region *TORegion) GetType() string

func (*TORegion) InsertQuery

func (v *TORegion) InsertQuery() string

func (*TORegion) NewReadObj

func (v *TORegion) NewReadObj() interface{}

func (*TORegion) OptionsDelete

func (rg *TORegion) OptionsDelete() (error, error, int)

OptionsDelete deletes a resource identified either as a route parameter or as a query string parameter.

func (*TORegion) ParamColumns

func (v *TORegion) ParamColumns() map[string]dbhelpers.WhereColumnInfo

func (*TORegion) Read

func (rg *TORegion) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)

func (*TORegion) SelectMaxLastUpdatedQuery

func (v *TORegion) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string

func (*TORegion) SelectQuery

func (v *TORegion) SelectQuery() string

func (*TORegion) SetKeys

func (region *TORegion) SetKeys(keys map[string]interface{})

func (*TORegion) SetLastUpdated

func (v *TORegion) SetLastUpdated(t tc.TimeNoMod)

func (*TORegion) Update

func (rg *TORegion) Update(h http.Header) (error, error, int)

func (*TORegion) UpdateQuery

func (v *TORegion) UpdateQuery() string

func (*TORegion) Validate

func (region *TORegion) Validate() (error, error)

Jump to

Keyboard shortcuts

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