application

package
v0.0.0-...-e633676 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
}

Application is

func (Application) GetAllApplications

func (a Application) GetAllApplications() []byte

GetAllApplications is

func (Application) GetApplications

func (a Application) GetApplications(packageName string, versionCode string) string

GetApplications is

func (Application) Uninstall

func (a Application) Uninstall(notifyUser bool, packageName []string, deviceID ...string) bool

Uninstall is

type ResponseApplicationList

type ResponseApplicationList struct {
	Links []struct {
		Rel  string `json:"rel"`
		Href string `json:"href"`
	} `json:"links"`
	Content []struct {
		PackageName   string      `json:"packageName"`
		Notify        bool        `json:"notify"`
		Name          string      `json:"name"`
		VersionCode   string      `json:"versionCode"`
		VersionName   string      `json:"versionName"`
		Type          interface{} `json:"type"`
		Size          int         `json:"size"`
		Code          string      `json:"code"`
		Desc          string      `json:"desc"`
		Version       string      `json:"version"`
		OsVersion     string      `json:"osVersion"`
		Location      string      `json:"location"`
		DeviceModel   string      `json:"deviceModel"`
		URL           string      `json:"url"`
		Token         string      `json:"token"`
		ExternalURL   string      `json:"externalUrl"`
		Hidden        bool        `json:"hidden"`
		DownloadCount int         `json:"downloadCount"`
		RatingCount   int         `json:"ratingCount"`
		CreateDate    int64       `json:"createDate"`
		Rating        int         `json:"rating"`
		AppType       string      `json:"appType"`
		Category      struct {
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"category"`
		Icons       []interface{} `json:"icons"`
		Videos      []interface{} `json:"videos"`
		Screenshots []interface{} `json:"screenshots"`
		Comments    []interface{} `json:"comments"`
		Tags        []interface{} `json:"tags"`
		Permissions interface{}   `json:"permissions"`
		Links       []interface{} `json:"links"`
	} `json:"content"`
	Page struct {
		Size          int `json:"size"`
		TotalElements int `json:"totalElements"`
		TotalPages    int `json:"totalPages"`
		Number        int `json:"number"`
	} `json:"page"`
}

ResponseApplicationList is

type UninstallApplicationJSON

type UninstallApplicationJSON struct {
	Apps []struct {
		PackageName string `json:"packageName"`
	} `json:"apps"`
	Devices []struct {
		Code string `json:"code"`
	} `json:"devices"`
	NotifyUser bool `json:"notifyUser"`
}

UninstallApplicationJSON is

Jump to

Keyboard shortcuts

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