clientutil

package
v0.2.60 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeURL

func DescribeURL(instance, version, sobjectName string) string

Types

type ClientUtil

type ClientUtil struct {
	HTTPClient *http.Client
	Instance   string
	Version    string
}

type Describe

type Describe struct {
	Fields []Field `json:"fields,omitempty"`
}

type Field

type Field struct {
	Name           string          `json:"name,omitempty"`
	PicklistValues []PicklistValue `json:"picklistValues,omitempty"`
	Type           string          `json:"type,omitempty"`
}

type PicklistValue

type PicklistValue struct {
	Active       bool   `json:"active"`
	DefaultValue bool   `json:"defaultValue"`
	Label        string `json:"label,omitempty"`
	Value        string `json:"value,omitempty"`
}

Jump to

Keyboard shortcuts

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