comment

package
v8.0.0-rc0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 14 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(w http.ResponseWriter, r *http.Request)

Create is used to add a new DeliveryServiceRequestCommentV5 to the database.

func Delete

func Delete(w http.ResponseWriter, r *http.Request)

Delete is used to remove an existing DeliveryServiceRequestCommentV5 from the database.

func Get

func Get(w http.ResponseWriter, r *http.Request)

Get is used to read the DeliveryServiceRequestCommentV5 entities from the database.

func Update

func Update(w http.ResponseWriter, r *http.Request)

Update is used to modify an existing DeliveryServiceRequestCommentV5 in the database.

func Validate

func Validate(dsrc tc.DeliveryServiceRequestCommentV5) error

Validate is used to ensure that the DeliveryServiceRequestCommentV5 struct passed in to the function is valid.

Types

type TODeliveryServiceRequestComment

type TODeliveryServiceRequestComment struct {
	api.APIInfoImpl `json:"-"`
	tc.DeliveryServiceRequestCommentNullable
}

we need a type alias to define functions on

func (*TODeliveryServiceRequestComment) Create

func (comment *TODeliveryServiceRequestComment) Create() (error, error, int)

func (*TODeliveryServiceRequestComment) Delete

func (comment *TODeliveryServiceRequestComment) Delete() (error, error, int)

func (*TODeliveryServiceRequestComment) DeleteQuery

func (v *TODeliveryServiceRequestComment) DeleteQuery() string

func (TODeliveryServiceRequestComment) GetAuditName

func (comment TODeliveryServiceRequestComment) GetAuditName() string

func (TODeliveryServiceRequestComment) GetKeyFieldsInfo

func (comment TODeliveryServiceRequestComment) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TODeliveryServiceRequestComment) GetKeys

func (comment TODeliveryServiceRequestComment) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TODeliveryServiceRequestComment) GetLastUpdated

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

func (TODeliveryServiceRequestComment) GetType

func (comment TODeliveryServiceRequestComment) GetType() string

func (*TODeliveryServiceRequestComment) InsertQuery

func (v *TODeliveryServiceRequestComment) InsertQuery() string

func (*TODeliveryServiceRequestComment) NewReadObj

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

func (*TODeliveryServiceRequestComment) ParamColumns

func (*TODeliveryServiceRequestComment) Read

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

func (*TODeliveryServiceRequestComment) SelectMaxLastUpdatedQuery

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

func (*TODeliveryServiceRequestComment) SelectQuery

func (v *TODeliveryServiceRequestComment) SelectQuery() string

func (*TODeliveryServiceRequestComment) SetKeys

func (comment *TODeliveryServiceRequestComment) SetKeys(keys map[string]interface{})

func (*TODeliveryServiceRequestComment) SetLastUpdated

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

func (*TODeliveryServiceRequestComment) Update

func (comment *TODeliveryServiceRequestComment) Update(h http.Header) (error, error, int)

func (*TODeliveryServiceRequestComment) UpdateQuery

func (v *TODeliveryServiceRequestComment) UpdateQuery() string

func (TODeliveryServiceRequestComment) Validate

func (comment TODeliveryServiceRequestComment) Validate() (error, error)

Jump to

Keyboard shortcuts

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