update

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package update provides access to the .

Usage example:

import "code.google.com/p/google-api-go-client/update/v1"
...
updateService, err := update.New(oauthHttpClient)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateUserCall

type AdminCreateUserCall struct {
	// contains filtered or unexported fields
}

func (*AdminCreateUserCall) Do

func (c *AdminCreateUserCall) Do() (*AdminUser, error)

type AdminDeleteUserCall

type AdminDeleteUserCall struct {
	// contains filtered or unexported fields
}

func (*AdminDeleteUserCall) Do

func (c *AdminDeleteUserCall) Do() (*AdminUser, error)

type AdminGenTokenCall

type AdminGenTokenCall struct {
	// contains filtered or unexported fields
}

func (*AdminGenTokenCall) Do

func (c *AdminGenTokenCall) Do() (*AdminUser, error)

type AdminGetUserCall

type AdminGetUserCall struct {
	// contains filtered or unexported fields
}

func (*AdminGetUserCall) Do

func (c *AdminGetUserCall) Do() (*AdminUser, error)

type AdminListUsersCall

type AdminListUsersCall struct {
	// contains filtered or unexported fields
}

func (*AdminListUsersCall) Do

type AdminListUsersResp

type AdminListUsersResp struct {
	Users []*AdminUser `json:"users,omitempty"`
}

type AdminService

type AdminService struct {
	// contains filtered or unexported fields
}

func NewAdminService

func NewAdminService(s *Service) *AdminService

func (*AdminService) CreateUser

func (r *AdminService) CreateUser(adminuserreq *AdminUserReq) *AdminCreateUserCall

CreateUser: Create a new user.

func (*AdminService) DeleteUser

func (r *AdminService) DeleteUser(userName string) *AdminDeleteUserCall

DeleteUser: Delete a user.

func (*AdminService) GenToken

func (r *AdminService) GenToken(userName string, adminuserreq *AdminUserReq) *AdminGenTokenCall

GenToken: Generate a new token.

func (*AdminService) GetUser

func (r *AdminService) GetUser(userName string) *AdminGetUserCall

GetUser: Get a user.

func (*AdminService) ListUsers

func (r *AdminService) ListUsers() *AdminListUsersCall

ListUsers: List Users.

type AdminUser

type AdminUser struct {
	Token string `json:"token,omitempty"`

	User string `json:"user,omitempty"`
}

type AdminUserReq

type AdminUserReq struct {
	UserName string `json:"userName,omitempty"`
}

type App

type App struct {
	Description string `json:"description,omitempty"`

	Id string `json:"id,omitempty"`

	Label string `json:"label,omitempty"`
}

type AppChannel

type AppChannel struct {
	AppId string `json:"appId,omitempty"`

	DateCreated string `json:"dateCreated,omitempty"`

	Label string `json:"label,omitempty"`

	Publish bool `json:"publish,omitempty"`

	Upstream string `json:"upstream,omitempty"`

	Version string `json:"version,omitempty"`
}

type AppDeleteCall

type AppDeleteCall struct {
	// contains filtered or unexported fields
}

func (*AppDeleteCall) Do

func (c *AppDeleteCall) Do() (*App, error)

type AppGetCall

type AppGetCall struct {
	// contains filtered or unexported fields
}

func (*AppGetCall) Do

func (c *AppGetCall) Do() (*App, error)

type AppInsertCall added in v1.3.0

type AppInsertCall struct {
	// contains filtered or unexported fields
}

func (*AppInsertCall) Do added in v1.3.0

func (c *AppInsertCall) Do() (*App, error)

type AppInsertReq added in v1.3.0

type AppInsertReq struct {
	Description string `json:"description,omitempty"`

	Id string `json:"id,omitempty"`

	Label string `json:"label,omitempty"`
}

type AppListCall

type AppListCall struct {
	// contains filtered or unexported fields
}

func (*AppListCall) Do

func (c *AppListCall) Do() (*AppListResp, error)

type AppListResp

type AppListResp struct {
	Items []*App `json:"items,omitempty"`
}

type AppPackageDeleteCall

type AppPackageDeleteCall struct {
	// contains filtered or unexported fields
}

func (*AppPackageDeleteCall) Do

func (c *AppPackageDeleteCall) Do() (*Package, error)

func (*AppPackageDeleteCall) MetadataSignatureRsa

func (c *AppPackageDeleteCall) MetadataSignatureRsa(metadataSignatureRsa string) *AppPackageDeleteCall

MetadataSignatureRsa sets the optional parameter "metadataSignatureRsa":

func (*AppPackageDeleteCall) MetadataSize

func (c *AppPackageDeleteCall) MetadataSize(metadataSize string) *AppPackageDeleteCall

MetadataSize sets the optional parameter "metadataSize":

func (*AppPackageDeleteCall) ReleaseNotes added in v1.3.1

func (c *AppPackageDeleteCall) ReleaseNotes(releaseNotes string) *AppPackageDeleteCall

ReleaseNotes sets the optional parameter "releaseNotes":

func (*AppPackageDeleteCall) Required

func (c *AppPackageDeleteCall) Required(required bool) *AppPackageDeleteCall

Required sets the optional parameter "required":

func (*AppPackageDeleteCall) Sha1Sum

func (c *AppPackageDeleteCall) Sha1Sum(sha1Sum string) *AppPackageDeleteCall

Sha1Sum sets the optional parameter "sha1Sum":

func (*AppPackageDeleteCall) Sha256Sum

func (c *AppPackageDeleteCall) Sha256Sum(sha256Sum string) *AppPackageDeleteCall

Sha256Sum sets the optional parameter "sha256Sum":

func (*AppPackageDeleteCall) Size

Size sets the optional parameter "size":

func (*AppPackageDeleteCall) Url

Url sets the optional parameter "url":

type AppPackageInsertCall

type AppPackageInsertCall struct {
	// contains filtered or unexported fields
}

func (*AppPackageInsertCall) Do

func (c *AppPackageInsertCall) Do() (*Package, error)

type AppPackageListCall

type AppPackageListCall struct {
	// contains filtered or unexported fields
}

func (*AppPackageListCall) Do

func (c *AppPackageListCall) Do() (*PackageList, error)

func (*AppPackageListCall) Limit added in v1.2.0

func (c *AppPackageListCall) Limit(limit int64) *AppPackageListCall

Limit sets the optional parameter "limit":

func (*AppPackageListCall) Skip added in v1.2.0

Skip sets the optional parameter "skip":

func (*AppPackageListCall) Version

func (c *AppPackageListCall) Version(version string) *AppPackageListCall

Version sets the optional parameter "version":

type AppPackagePublicListCall added in v1.2.0

type AppPackagePublicListCall struct {
	// contains filtered or unexported fields
}

func (*AppPackagePublicListCall) Do added in v1.2.0

type AppPackageService

type AppPackageService struct {
	// contains filtered or unexported fields
}

func NewAppPackageService

func NewAppPackageService(s *Service) *AppPackageService

func (*AppPackageService) Delete

func (r *AppPackageService) Delete(appId string, version string) *AppPackageDeleteCall

Delete: Delete an package.

func (*AppPackageService) Insert

func (r *AppPackageService) Insert(appId string, version string, package_ *Package) *AppPackageInsertCall

Insert: Insert a new package version.

func (*AppPackageService) List

List: List all of the package versions.

func (*AppPackageService) PublicList added in v1.2.0

PublicList: List all of the publicly available published packages.

type AppPatchCall

type AppPatchCall struct {
	// contains filtered or unexported fields
}

func (*AppPatchCall) Do

func (c *AppPatchCall) Do() (*App, error)

type AppService

type AppService struct {
	Package *AppPackageService
	// contains filtered or unexported fields
}

func NewAppService

func NewAppService(s *Service) *AppService

func (*AppService) Delete

func (r *AppService) Delete(id string) *AppDeleteCall

Delete: Delete an application.

func (*AppService) Get

func (r *AppService) Get(id string) *AppGetCall

Get: Get an application.

func (*AppService) Insert added in v1.3.0

func (r *AppService) Insert(appinsertreq *AppInsertReq) *AppInsertCall

Insert: Insert an application.

func (*AppService) List

func (r *AppService) List() *AppListCall

List: List all application.

func (*AppService) Patch

func (r *AppService) Patch(id string, appupdatereq *AppUpdateReq) *AppPatchCall

Patch: Update an application. This method supports patch semantics.

func (*AppService) Update

func (r *AppService) Update(id string, appupdatereq *AppUpdateReq) *AppUpdateCall

Update: Update an application.

type AppUpdateCall

type AppUpdateCall struct {
	// contains filtered or unexported fields
}

func (*AppUpdateCall) Do

func (c *AppUpdateCall) Do() (*App, error)

type AppUpdateReq

type AppUpdateReq struct {
	Description string `json:"description,omitempty"`

	Id string `json:"id,omitempty"`

	Label string `json:"label,omitempty"`
}

type AppVersionItem

type AppVersionItem struct {
	AppId string `json:"appId,omitempty"`

	Count int64 `json:"count,omitempty"`

	GroupId string `json:"groupId,omitempty"`

	Version string `json:"version,omitempty"`
}

type AppVersionList

type AppVersionList struct {
	Items []*AppVersionItem `json:"items,omitempty"`
}

type AppversionListCall

type AppversionListCall struct {
	// contains filtered or unexported fields
}

func (*AppversionListCall) AppId

func (c *AppversionListCall) AppId(appId string) *AppversionListCall

AppId sets the optional parameter "appId":

func (*AppversionListCall) DateEnd

func (c *AppversionListCall) DateEnd(dateEnd int64) *AppversionListCall

DateEnd sets the optional parameter "dateEnd":

func (*AppversionListCall) DateStart

func (c *AppversionListCall) DateStart(dateStart int64) *AppversionListCall

DateStart sets the optional parameter "dateStart":

func (*AppversionListCall) Do

func (*AppversionListCall) EventResult

func (c *AppversionListCall) EventResult(eventResult string) *AppversionListCall

EventResult sets the optional parameter "eventResult":

func (*AppversionListCall) EventType

func (c *AppversionListCall) EventType(eventType string) *AppversionListCall

EventType sets the optional parameter "eventType":

func (*AppversionListCall) GroupId

func (c *AppversionListCall) GroupId(groupId string) *AppversionListCall

GroupId sets the optional parameter "groupId":

func (*AppversionListCall) Oem

Oem sets the optional parameter "oem":

func (*AppversionListCall) Version

func (c *AppversionListCall) Version(version string) *AppversionListCall

Version sets the optional parameter "version":

type AppversionService

type AppversionService struct {
	// contains filtered or unexported fields
}

func NewAppversionService

func NewAppversionService(s *Service) *AppversionService

func (*AppversionService) List

List: List Client updates grouped by app/version.

type ChannelDeleteCall

type ChannelDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ChannelDeleteCall) Do

func (*ChannelDeleteCall) Publish added in v1.2.0

func (c *ChannelDeleteCall) Publish(publish bool) *ChannelDeleteCall

Publish sets the optional parameter "publish":

func (*ChannelDeleteCall) Version

func (c *ChannelDeleteCall) Version(version string) *ChannelDeleteCall

Version sets the optional parameter "version":

type ChannelInsertCall added in v1.3.0

type ChannelInsertCall struct {
	// contains filtered or unexported fields
}

func (*ChannelInsertCall) Do added in v1.3.0

func (c *ChannelInsertCall) Do() (*AppChannel, error)

type ChannelListCall

type ChannelListCall struct {
	// contains filtered or unexported fields
}

func (*ChannelListCall) Do

type ChannelListResp

type ChannelListResp struct {
	Items []*AppChannel `json:"items,omitempty"`
}

type ChannelPublicListCall added in v1.2.0

type ChannelPublicListCall struct {
	// contains filtered or unexported fields
}

func (*ChannelPublicListCall) Do added in v1.2.0

type ChannelRequest

type ChannelRequest struct {
	AppId string `json:"appId,omitempty"`

	Label string `json:"label,omitempty"`

	Publish bool `json:"publish,omitempty"`

	Version string `json:"version,omitempty"`
}

type ChannelService

type ChannelService struct {
	// contains filtered or unexported fields
}

func NewChannelService

func NewChannelService(s *Service) *ChannelService

func (*ChannelService) Delete

func (r *ChannelService) Delete(appId string, label string) *ChannelDeleteCall

Delete: Delete a channel.

func (*ChannelService) Insert added in v1.3.0

func (r *ChannelService) Insert(appId string, channelrequest *ChannelRequest) *ChannelInsertCall

Insert: Insert a channel.

func (*ChannelService) List

func (r *ChannelService) List(appId string) *ChannelListCall

List: List channels.

func (*ChannelService) PublicList added in v1.2.0

func (r *ChannelService) PublicList() *ChannelPublicListCall

PublicList: List all publicly available published channels.

func (*ChannelService) Update

func (r *ChannelService) Update(appId string, label string, channelrequest *ChannelRequest) *ChannelUpdateCall

Update: Update a channel.

type ChannelUpdateCall

type ChannelUpdateCall struct {
	// contains filtered or unexported fields
}

func (*ChannelUpdateCall) Do

func (c *ChannelUpdateCall) Do() (*AppChannel, error)

type ClientCountResp

type ClientCountResp struct {
	Count int64 `json:"count,omitempty"`
}

type ClientHistoryCall

type ClientHistoryCall struct {
	// contains filtered or unexported fields
}

func (*ClientHistoryCall) Do

type ClientHistoryItem

type ClientHistoryItem struct {
	DateTime int64 `json:"dateTime,omitempty,string"`

	ErrorCode string `json:"errorCode,omitempty"`

	EventResult string `json:"eventResult,omitempty"`

	EventType string `json:"eventType,omitempty"`

	GroupId string `json:"groupId,omitempty"`

	Version string `json:"version,omitempty"`
}

type ClientHistoryResp

type ClientHistoryResp struct {
	Items []*ClientHistoryItem `json:"items,omitempty"`
}

type ClientService

type ClientService struct {
	// contains filtered or unexported fields
}

func NewClientService

func NewClientService(s *Service) *ClientService

func (*ClientService) History

func (r *ClientService) History(clientId string) *ClientHistoryCall

History: Get the update history of a single client.

type ClientUpdate

type ClientUpdate struct {
	AppId string `json:"appId,omitempty"`

	ClientId string `json:"clientId,omitempty"`

	ErrorCode string `json:"errorCode,omitempty"`

	EventResult string `json:"eventResult,omitempty"`

	EventType string `json:"eventType,omitempty"`

	GroupId string `json:"groupId,omitempty"`

	LastSeen string `json:"lastSeen,omitempty"`

	Oem string `json:"oem,omitempty"`

	Version string `json:"version,omitempty"`
}

type ClientUpdateList

type ClientUpdateList struct {
	Items []*ClientUpdate `json:"items,omitempty"`
}

type ClientupdateCountCall

type ClientupdateCountCall struct {
	// contains filtered or unexported fields
}

func (*ClientupdateCountCall) AppId

AppId sets the optional parameter "appId":

func (*ClientupdateCountCall) DateEnd

func (c *ClientupdateCountCall) DateEnd(dateEnd int64) *ClientupdateCountCall

DateEnd sets the optional parameter "dateEnd":

func (*ClientupdateCountCall) DateStart

func (c *ClientupdateCountCall) DateStart(dateStart int64) *ClientupdateCountCall

DateStart sets the optional parameter "dateStart":

func (*ClientupdateCountCall) Do

func (*ClientupdateCountCall) EventResult

func (c *ClientupdateCountCall) EventResult(eventResult string) *ClientupdateCountCall

EventResult sets the optional parameter "eventResult":

func (*ClientupdateCountCall) EventType

func (c *ClientupdateCountCall) EventType(eventType string) *ClientupdateCountCall

EventType sets the optional parameter "eventType":

func (*ClientupdateCountCall) GroupId

func (c *ClientupdateCountCall) GroupId(groupId string) *ClientupdateCountCall

GroupId sets the optional parameter "groupId":

func (*ClientupdateCountCall) Oem

Oem sets the optional parameter "oem":

func (*ClientupdateCountCall) Version

func (c *ClientupdateCountCall) Version(version string) *ClientupdateCountCall

Version sets the optional parameter "version":

type ClientupdateListCall

type ClientupdateListCall struct {
	// contains filtered or unexported fields
}

func (*ClientupdateListCall) AppId

AppId sets the optional parameter "appId":

func (*ClientupdateListCall) ClientId

func (c *ClientupdateListCall) ClientId(clientId string) *ClientupdateListCall

ClientId sets the optional parameter "clientId":

func (*ClientupdateListCall) DateEnd

func (c *ClientupdateListCall) DateEnd(dateEnd int64) *ClientupdateListCall

DateEnd sets the optional parameter "dateEnd":

func (*ClientupdateListCall) DateStart

func (c *ClientupdateListCall) DateStart(dateStart int64) *ClientupdateListCall

DateStart sets the optional parameter "dateStart":

func (*ClientupdateListCall) Do

func (*ClientupdateListCall) EventResult

func (c *ClientupdateListCall) EventResult(eventResult string) *ClientupdateListCall

EventResult sets the optional parameter "eventResult":

func (*ClientupdateListCall) EventType

func (c *ClientupdateListCall) EventType(eventType string) *ClientupdateListCall

EventType sets the optional parameter "eventType":

func (*ClientupdateListCall) GroupId

func (c *ClientupdateListCall) GroupId(groupId string) *ClientupdateListCall

GroupId sets the optional parameter "groupId":

func (*ClientupdateListCall) Limit

Limit sets the optional parameter "limit":

func (*ClientupdateListCall) Oem

Oem sets the optional parameter "oem":

func (*ClientupdateListCall) Skip

Skip sets the optional parameter "skip":

func (*ClientupdateListCall) Version

func (c *ClientupdateListCall) Version(version string) *ClientupdateListCall

Version sets the optional parameter "version":

type ClientupdateService

type ClientupdateService struct {
	// contains filtered or unexported fields
}

func NewClientupdateService

func NewClientupdateService(s *Service) *ClientupdateService

func (*ClientupdateService) Count

Count: Get client count for criteria.

func (*ClientupdateService) List

List: List all client updates.

type GenerateUuidResp

type GenerateUuidResp struct {
	Uuid string `json:"uuid,omitempty"`
}

type Group

type Group struct {
	AppId string `json:"appId,omitempty"`

	ChannelId string `json:"channelId,omitempty"`

	Id string `json:"id,omitempty"`

	Label string `json:"label,omitempty"`

	OemBlacklist string `json:"oemBlacklist,omitempty"`

	UpdateCount int64 `json:"updateCount,omitempty"`

	UpdateInterval int64 `json:"updateInterval,omitempty"`

	UpdatePooling bool `json:"updatePooling,omitempty"`

	UpdatesPaused bool `json:"updatesPaused,omitempty"`
}

type GroupDeleteCall

type GroupDeleteCall struct {
	// contains filtered or unexported fields
}

func (*GroupDeleteCall) ChannelId

func (c *GroupDeleteCall) ChannelId(channelId string) *GroupDeleteCall

ChannelId sets the optional parameter "channelId":

func (*GroupDeleteCall) Do

func (c *GroupDeleteCall) Do() (*Group, error)

func (*GroupDeleteCall) Label

func (c *GroupDeleteCall) Label(label string) *GroupDeleteCall

Label sets the optional parameter "label":

func (*GroupDeleteCall) OemBlacklist added in v1.3.4

func (c *GroupDeleteCall) OemBlacklist(oemBlacklist string) *GroupDeleteCall

OemBlacklist sets the optional parameter "oemBlacklist":

func (*GroupDeleteCall) UpdateCount

func (c *GroupDeleteCall) UpdateCount(updateCount int64) *GroupDeleteCall

UpdateCount sets the optional parameter "updateCount":

func (*GroupDeleteCall) UpdateInterval

func (c *GroupDeleteCall) UpdateInterval(updateInterval int64) *GroupDeleteCall

UpdateInterval sets the optional parameter "updateInterval":

func (*GroupDeleteCall) UpdatePooling

func (c *GroupDeleteCall) UpdatePooling(updatePooling bool) *GroupDeleteCall

UpdatePooling sets the optional parameter "updatePooling":

func (*GroupDeleteCall) UpdatesPaused

func (c *GroupDeleteCall) UpdatesPaused(updatesPaused bool) *GroupDeleteCall

UpdatesPaused sets the optional parameter "updatesPaused":

type GroupGetCall

type GroupGetCall struct {
	// contains filtered or unexported fields
}

func (*GroupGetCall) ChannelId

func (c *GroupGetCall) ChannelId(channelId string) *GroupGetCall

ChannelId sets the optional parameter "channelId":

func (*GroupGetCall) Do

func (c *GroupGetCall) Do() (*Group, error)

func (*GroupGetCall) Label

func (c *GroupGetCall) Label(label string) *GroupGetCall

Label sets the optional parameter "label":

func (*GroupGetCall) OemBlacklist added in v1.3.4

func (c *GroupGetCall) OemBlacklist(oemBlacklist string) *GroupGetCall

OemBlacklist sets the optional parameter "oemBlacklist":

func (*GroupGetCall) UpdateCount

func (c *GroupGetCall) UpdateCount(updateCount int64) *GroupGetCall

UpdateCount sets the optional parameter "updateCount":

func (*GroupGetCall) UpdateInterval

func (c *GroupGetCall) UpdateInterval(updateInterval int64) *GroupGetCall

UpdateInterval sets the optional parameter "updateInterval":

func (*GroupGetCall) UpdatePooling

func (c *GroupGetCall) UpdatePooling(updatePooling bool) *GroupGetCall

UpdatePooling sets the optional parameter "updatePooling":

func (*GroupGetCall) UpdatesPaused

func (c *GroupGetCall) UpdatesPaused(updatesPaused bool) *GroupGetCall

UpdatesPaused sets the optional parameter "updatesPaused":

type GroupInsertCall

type GroupInsertCall struct {
	// contains filtered or unexported fields
}

func (*GroupInsertCall) Do

func (c *GroupInsertCall) Do() (*Group, error)

type GroupList

type GroupList struct {
	Items []*Group `json:"items,omitempty"`
}

type GroupListCall

type GroupListCall struct {
	// contains filtered or unexported fields
}

func (*GroupListCall) Do

func (c *GroupListCall) Do() (*GroupList, error)

func (*GroupListCall) Limit

func (c *GroupListCall) Limit(limit int64) *GroupListCall

Limit sets the optional parameter "limit":

type GroupPatchCall

type GroupPatchCall struct {
	// contains filtered or unexported fields
}

func (*GroupPatchCall) Do

func (c *GroupPatchCall) Do() (*Group, error)

type GroupRequestsEventsRollupCall

type GroupRequestsEventsRollupCall struct {
	// contains filtered or unexported fields
}

func (*GroupRequestsEventsRollupCall) Do

func (*GroupRequestsEventsRollupCall) Resolution

Resolution sets the optional parameter "resolution":

func (*GroupRequestsEventsRollupCall) Versions

Versions sets the optional parameter "versions":

type GroupRequestsEventsService

type GroupRequestsEventsService struct {
	// contains filtered or unexported fields
}

func NewGroupRequestsEventsService

func NewGroupRequestsEventsService(s *Service) *GroupRequestsEventsService

func (*GroupRequestsEventsService) Rollup

func (r *GroupRequestsEventsService) Rollup(appId string, groupId string, dateStart int64, dateEnd int64) *GroupRequestsEventsRollupCall

Rollup: Rollup all client requests by event for this group.

type GroupRequestsItem

type GroupRequestsItem struct {
	Result string `json:"result,omitempty"`

	Type string `json:"type,omitempty"`

	Values []*GroupRequestsValues `json:"values,omitempty"`

	Version string `json:"version,omitempty"`
}

type GroupRequestsRollup

type GroupRequestsRollup struct {
	Items []*GroupRequestsItem `json:"items,omitempty"`
}

type GroupRequestsService

type GroupRequestsService struct {
	Events *GroupRequestsEventsService

	Versions *GroupRequestsVersionsService
	// contains filtered or unexported fields
}

func NewGroupRequestsService

func NewGroupRequestsService(s *Service) *GroupRequestsService

type GroupRequestsValues

type GroupRequestsValues struct {
	Count int64 `json:"count,omitempty,string"`

	Timestamp int64 `json:"timestamp,omitempty,string"`
}

type GroupRequestsVersionsRollupCall

type GroupRequestsVersionsRollupCall struct {
	// contains filtered or unexported fields
}

func (*GroupRequestsVersionsRollupCall) Do

func (*GroupRequestsVersionsRollupCall) Resolution

Resolution sets the optional parameter "resolution":

func (*GroupRequestsVersionsRollupCall) Versions

Versions sets the optional parameter "versions":

type GroupRequestsVersionsService

type GroupRequestsVersionsService struct {
	// contains filtered or unexported fields
}

func NewGroupRequestsVersionsService

func NewGroupRequestsVersionsService(s *Service) *GroupRequestsVersionsService

func (*GroupRequestsVersionsService) Rollup

func (r *GroupRequestsVersionsService) Rollup(appId string, groupId string, dateStart int64, dateEnd int64) *GroupRequestsVersionsRollupCall

Rollup: Rollup all clients requests by version for this group.

type GroupService

type GroupService struct {
	Requests *GroupRequestsService
	// contains filtered or unexported fields
}

func NewGroupService

func NewGroupService(s *Service) *GroupService

func (*GroupService) Delete

func (r *GroupService) Delete(appId string, id string) *GroupDeleteCall

Delete: Delete a group.

func (*GroupService) Get

func (r *GroupService) Get(appId string, id string) *GroupGetCall

Get: Get a group.

func (*GroupService) Insert

func (r *GroupService) Insert(appId string, group *Group) *GroupInsertCall

Insert: Create a new group.

func (*GroupService) List

func (r *GroupService) List(appId string) *GroupListCall

List: List all of the groups.

func (*GroupService) Patch

func (r *GroupService) Patch(appId string, id string, group *Group) *GroupPatchCall

Patch: Patch a group. This method supports patch semantics.

func (*GroupService) Update added in v1.3.1

func (r *GroupService) Update(appId string, id string, group *Group) *GroupUpdateCall

Update: Patch a group.

type GroupUpdateCall added in v1.3.1

type GroupUpdateCall struct {
	// contains filtered or unexported fields
}

func (*GroupUpdateCall) Do added in v1.3.1

func (c *GroupUpdateCall) Do() (*Group, error)

type Package

type Package struct {
	AppId string `json:"appId,omitempty"`

	DateCreated string `json:"dateCreated,omitempty"`

	MetadataSignatureRsa string `json:"metadataSignatureRsa,omitempty"`

	MetadataSize string `json:"metadataSize,omitempty"`

	ReleaseNotes string `json:"releaseNotes,omitempty"`

	Required bool `json:"required,omitempty"`

	Sha1Sum string `json:"sha1Sum,omitempty"`

	Sha256Sum string `json:"sha256Sum,omitempty"`

	Size string `json:"size,omitempty"`

	Url string `json:"url,omitempty"`

	Version string `json:"version,omitempty"`
}

type PackageList

type PackageList struct {
	Items []*Package `json:"items,omitempty"`

	Total int64 `json:"total,omitempty"`
}

type PublicPackageItem added in v1.2.0

type PublicPackageItem struct {
	AppId string `json:"AppId,omitempty"`

	Packages []*Package `json:"packages,omitempty"`
}

type PublicPackageList added in v1.2.0

type PublicPackageList struct {
	Items []*PublicPackageItem `json:"items,omitempty"`
}

type Service

type Service struct {
	BasePath string // API endpoint base URL

	Admin *AdminService

	App *AppService

	Appversion *AppversionService

	Channel *ChannelService

	Client *ClientService

	Clientupdate *ClientupdateService

	Group *GroupService

	Upstream *UpstreamService

	Util *UtilService
	// contains filtered or unexported fields
}

func New

func New(client *http.Client) (*Service, error)

type Upstream added in v1.2.0

type Upstream struct {
	Id int64 `json:"id,omitempty"`

	Label string `json:"label,omitempty"`

	Url string `json:"url,omitempty"`
}

type UpstreamDeleteCall added in v1.2.0

type UpstreamDeleteCall struct {
	// contains filtered or unexported fields
}

func (*UpstreamDeleteCall) Do added in v1.2.0

func (c *UpstreamDeleteCall) Do() (*Upstream, error)

func (*UpstreamDeleteCall) Label added in v1.2.0

func (c *UpstreamDeleteCall) Label(label string) *UpstreamDeleteCall

Label sets the optional parameter "label":

func (*UpstreamDeleteCall) Url added in v1.2.0

Url sets the optional parameter "url":

type UpstreamInsertCall added in v1.3.0

type UpstreamInsertCall struct {
	// contains filtered or unexported fields
}

func (*UpstreamInsertCall) Do added in v1.3.0

func (c *UpstreamInsertCall) Do() (*Upstream, error)

type UpstreamListCall added in v1.2.0

type UpstreamListCall struct {
	// contains filtered or unexported fields
}

func (*UpstreamListCall) Do added in v1.2.0

type UpstreamListResp added in v1.2.0

type UpstreamListResp struct {
	Items []*Upstream `json:"items,omitempty"`
}

type UpstreamService added in v1.2.0

type UpstreamService struct {
	// contains filtered or unexported fields
}

func NewUpstreamService added in v1.2.0

func NewUpstreamService(s *Service) *UpstreamService

func (*UpstreamService) Delete added in v1.2.0

func (r *UpstreamService) Delete(id int64) *UpstreamDeleteCall

Delete: Delete an upstream.

func (*UpstreamService) Insert added in v1.3.0

func (r *UpstreamService) Insert(upstream *Upstream) *UpstreamInsertCall

Insert: Insert an upstream.

func (*UpstreamService) List added in v1.2.0

func (r *UpstreamService) List() *UpstreamListCall

List: List all upstreams.

func (*UpstreamService) Sync added in v1.2.0

func (r *UpstreamService) Sync() *UpstreamSyncCall

Sync: Synchronize all upstreams.

func (*UpstreamService) Update added in v1.2.0

func (r *UpstreamService) Update(id int64, upstream *Upstream) *UpstreamUpdateCall

Update: Update an upstream.

type UpstreamSyncCall added in v1.2.0

type UpstreamSyncCall struct {
	// contains filtered or unexported fields
}

func (*UpstreamSyncCall) Do added in v1.2.0

type UpstreamSyncResp added in v1.2.0

type UpstreamSyncResp struct {
	Detail string `json:"detail,omitempty"`

	Status string `json:"status,omitempty"`
}

type UpstreamUpdateCall added in v1.2.0

type UpstreamUpdateCall struct {
	// contains filtered or unexported fields
}

func (*UpstreamUpdateCall) Do added in v1.2.0

func (c *UpstreamUpdateCall) Do() (*Upstream, error)

type UtilService

type UtilService struct {
	// contains filtered or unexported fields
}

func NewUtilService

func NewUtilService(s *Service) *UtilService

func (*UtilService) Uuid

func (r *UtilService) Uuid() *UtilUuidCall

Uuid: Generate a new UUID.

type UtilUuidCall

type UtilUuidCall struct {
	// contains filtered or unexported fields
}

func (*UtilUuidCall) Do

func (c *UtilUuidCall) Do() (*GenerateUuidResp, error)

Jump to

Keyboard shortcuts

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