sqlfilter

package
v0.0.0-...-63319d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MPL-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetResult

type GetResult struct {
	golangsdk.Result
}

func Get

func Get(c *golangsdk.ServiceClient, instanceId string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*SqlFilter, error)

type JobResponse

type JobResponse struct {
	JobID string `json:"job_id"`
}

type JobResult

type JobResult struct {
	golangsdk.Result
}

func Update

func Update(c *golangsdk.ServiceClient, instanceId string, opts UpdateBuilder) (r JobResult)

func (JobResult) ExtractJobResponse

func (r JobResult) ExtractJobResponse() (*JobResponse, error)

type SqlFilter

type SqlFilter struct {
	SwitchStatus string `json:"switch_status"`
}

type UpdateBuilder

type UpdateBuilder interface {
	ToUpdateMap() (map[string]interface{}, error)
}

type UpdateSqlFilterOpts

type UpdateSqlFilterOpts struct {
	SwitchStatus string `json:"switch_status" required:"true"`
}

func (UpdateSqlFilterOpts) ToUpdateMap

func (opts UpdateSqlFilterOpts) ToUpdateMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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