Documentation ¶
Index ¶
- func Create(w http.ResponseWriter, r *http.Request)
- func Delete(w http.ResponseWriter, r *http.Request)
- func Get(w http.ResponseWriter, r *http.Request)
- func Update(w http.ResponseWriter, r *http.Request)
- func Validate(staticDNSEntry tc.StaticDNSEntryV5, tx *sql.Tx) (error, error)
- type TOStaticDNSEntry
- func (en *TOStaticDNSEntry) Create() (error, error, int)
- func (en *TOStaticDNSEntry) Delete() (error, error, int)
- func (v *TOStaticDNSEntry) DeleteQuery() string
- func (staticDNSEntry TOStaticDNSEntry) GetAuditName() string
- func (staticDNSEntry TOStaticDNSEntry) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (staticDNSEntry TOStaticDNSEntry) GetKeys() (map[string]interface{}, bool)
- func (v *TOStaticDNSEntry) GetLastUpdated() (*time.Time, bool, error)
- func (staticDNSEntry TOStaticDNSEntry) GetType() string
- func (v *TOStaticDNSEntry) InsertQuery() string
- func (v *TOStaticDNSEntry) NewReadObj() interface{}
- func (v *TOStaticDNSEntry) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (en *TOStaticDNSEntry) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TOStaticDNSEntry) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
- func (v *TOStaticDNSEntry) SelectQuery() string
- func (staticDNSEntry *TOStaticDNSEntry) SetKeys(keys map[string]interface{})
- func (v *TOStaticDNSEntry) SetLastUpdated(t tc.TimeNoMod)
- func (en *TOStaticDNSEntry) Update(h http.Header) (error, error, int)
- func (v *TOStaticDNSEntry) UpdateQuery() string
- func (staticDNSEntry TOStaticDNSEntry) Validate() (error, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(w http.ResponseWriter, r *http.Request)
Create will add a new StaticDNSEntry entity into the database, for api v5.0.
func Delete ¶
func Delete(w http.ResponseWriter, r *http.Request)
Delete removes a staticDNSEntry from the database, for api v5.0.
func Get ¶
func Get(w http.ResponseWriter, r *http.Request)
Get : function to read the staticDNSEntries, for api version 5.0.
Types ¶
type TOStaticDNSEntry ¶
type TOStaticDNSEntry struct { api.APIInfoImpl `json:"-"` tc.StaticDNSEntryNullable }
func (*TOStaticDNSEntry) DeleteQuery ¶
func (v *TOStaticDNSEntry) DeleteQuery() string
func (TOStaticDNSEntry) GetAuditName ¶
func (staticDNSEntry TOStaticDNSEntry) GetAuditName() string
func (TOStaticDNSEntry) GetKeyFieldsInfo ¶
func (staticDNSEntry TOStaticDNSEntry) GetKeyFieldsInfo() []api.KeyFieldInfo
func (TOStaticDNSEntry) GetKeys ¶
func (staticDNSEntry TOStaticDNSEntry) GetKeys() (map[string]interface{}, bool)
Implementation of the Identifier, Validator interface functions
func (*TOStaticDNSEntry) GetLastUpdated ¶
func (v *TOStaticDNSEntry) GetLastUpdated() (*time.Time, bool, error)
func (TOStaticDNSEntry) GetType ¶
func (staticDNSEntry TOStaticDNSEntry) GetType() string
func (*TOStaticDNSEntry) InsertQuery ¶
func (v *TOStaticDNSEntry) InsertQuery() string
func (*TOStaticDNSEntry) NewReadObj ¶
func (v *TOStaticDNSEntry) NewReadObj() interface{}
func (*TOStaticDNSEntry) ParamColumns ¶
func (v *TOStaticDNSEntry) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TOStaticDNSEntry) SelectMaxLastUpdatedQuery ¶
func (v *TOStaticDNSEntry) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
func (*TOStaticDNSEntry) SelectQuery ¶
func (v *TOStaticDNSEntry) SelectQuery() string
func (*TOStaticDNSEntry) SetKeys ¶
func (staticDNSEntry *TOStaticDNSEntry) SetKeys(keys map[string]interface{})
func (*TOStaticDNSEntry) SetLastUpdated ¶
func (v *TOStaticDNSEntry) SetLastUpdated(t tc.TimeNoMod)
func (*TOStaticDNSEntry) UpdateQuery ¶
func (v *TOStaticDNSEntry) UpdateQuery() string
func (TOStaticDNSEntry) Validate ¶
func (staticDNSEntry TOStaticDNSEntry) Validate() (error, error)
Validate fulfills the api.Validator interface.
Click to show internal directories.
Click to hide internal directories.