developers

package
v1.113.2-beta Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Adjust

func Adjust(email string, adjust string) (respBody []byte, err error)

func Create

func Create(email string, firstName string, lastName string, username string, attrs map[string]string) (respBody []byte, err error)

Create

func CreateSubscription

func CreateSubscription(email string, name string, apiproduct string, startTime string, endTime string) (respBody []byte, err error)

func Credit

func Credit(email string, transact string) (respBody []byte, err error)

func Delete

func Delete(email string) (respBody []byte, err error)

Delete

func ExpireSubscriptions

func ExpireSubscriptions(email string, subscription string) (respBody []byte, err error)

ExpireSubscriptions

func Export

func Export() (respBody []byte, err error)

Export

func ExportSubscriptions

func ExportSubscriptions(email string) (respBody []byte, err error)

ExportSubscriptions

func Get

func Get(email string) (respBody []byte, err error)

Get

func GetApps

func GetApps(name string, expand bool) (respBody []byte, err error)

GetApps

func GetDeveloperId

func GetDeveloperId(email string) (developerId string, err error)

GetDeveloperId

func GetSubscriptions

func GetSubscriptions(email string, subscription string) (respBody []byte, err error)

GetSubscriptions

func Import

func Import(conn int, filePath string) error

Import

func List

func List(count int, expand bool, ids string) (respBody []byte, err error)

List

func ListSubscriptions

func ListSubscriptions(email string) (respBody []byte, err error)

ListSubscriptions

Types

type Appdeveloper

type Appdeveloper struct {
	EMail       string      `json:"email,omitempty"`
	FirstName   string      `json:"firstName,omitempty"`
	LastName    string      `json:"lastName,omitempty"`
	Attributes  []Attribute `json:"attributes,omitempty"`
	Username    string      `json:"userName,omitempty"`
	DeveloperId string      `json:"developerId,omitempty"`
}

Appdevelopers holds a single developer

type Appdevelopers

type Appdevelopers struct {
	Developer []Appdeveloper `json:"developer,omitempty"`
}

Appdevelopers hold an array of developers

func ReadDevelopersFile

func ReadDevelopersFile(filePath string) (Appdevelopers, error)

ReadDevelopersFile

type Attribute

type Attribute struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

Attribute to used to hold custom attributes for entities

Jump to

Keyboard shortcuts

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