client_customerdb

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client client.Client

func (*Client) GetAllCustomers

func (c *Client) GetAllCustomers() ([]Customer, error)

func (*Client) GetCustomer

func (c *Client) GetCustomer(id string) (*Customer, error)

func (*Client) GetTranslation

func (c *Client) GetTranslation(id, sourceServiceName, targetSerivceName string) (*Translation, error)

type Customer

type Customer struct {
	ShortNameID                 string `json:"SHORT_NAME_ID"`
	SnowBusinessUnitDescription string `json:"SNOW_BUSINESS_UNIT_DESCRIPTION"`
	SnowSysID                   string `json:"SNOW_SYS_ID"`
	SnowBusinessUnitName        string `json:"SNOW_BUSINESS_UNIT_NAME"`
	SnowBusinessUnitID          string `json:"SNOW_BUSINESS_UNIT_ID"`
	McmAccountID                string `json:"MCM_ACCOUNT_ID"`
	SnowNumberID                string `json:"SNOW_NUMBER_ID"`
	UReportLanguage             string `json:"u_report_language"`
	Name                        string `json:"name"`
	IsOnboarded                 string `json:"is_onboarded"`
}

type Translation

type Translation struct {
	SourceServiceName   string `json:"sourceServiceName"`
	TargetServiceName   string `json:"targetServiceName"`
	ServiceID           string `json:"serviceId"`
	TranslatedServiceID string `json:"translatedServiceId"`
}

Jump to

Keyboard shortcuts

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